Hi,
I am evaluating ERPNext for my wholesale and retail pharmacy business. On the whole, I am very impressed with many aspects of the system and the value for money that it presents.
I am posting this message as I would like to seek the community’s advice on how to manage my product information.
In terms of product information, a bit of background first. Since we are buying medicines we have two broad categories of medicine: branded and generic. Branded refers to the innovator e.g. Panadol. Generic refers to the non-proprietary name e.g. Paracetamol is the generic name for Panadol. For each product there will be many different pack sizes and strengths. In the UK, the government has come up with a naming scheme as follows:
- The Virtual Medicinal Product (VMP) describes the generic title for a product including the form and strength, for example ‘Atenolol 100mg tablets’.
- The Virtual Medicinal Product Pack (VMPP)describes the generic title for a generic or proprietary product pack which is known to have been available. The description includes the pack size, for example ‘Atenolol 100mg tablets 28 tablet’.
- The Actual Medicinal Product (AMP) describes an actual product which is known to have been available linked to the name of a particular supplier, for example ‘Tenormin 100mg tablets (AstraZeneca UK Ltd)’ (branded) Or ‘Atenelol 100mg Tablets (Teva UK Ltd)’ (generic).
- The Actual Medicinal Product Pack (AMPP)describes an actual product which is known to have been available linked to both the name of a particular supplier and information on the pack size of the product, for example ‘Tenormin 100mg tablets (AstraZeneca UK Ltd) 28 tablet 2 x 14 tablets’ (branded) or ‘Atenolol 100mg Tablets (Teva UK Ltd) 28 tablet 2 x 14 tablets’ (generic).
Each of these four types of product have different codes (DMD codes) in the government database. A normalised structure is present so the AMPP will have a reference to an AMP and VMPP which will in turn will have reference to a VMP.
To add to the level of complexity, the DMD code is rarely used when buying or selling the product and therefore two other product codes are used:
- We have an industry wide database (CDData) that contains a PIP Code for every product and some of these products are mapped to the DMD database but not all.
- Every product has a barcode.
Now this is where the even greater challenge starts. The various wholesalers in the industry will buy whatever is available and then provide price lists with a single Pip Code for a product even though multiple manufacturers make the product. For example, for Atenolol 100mg Tablets 28 as in the example above, the wholesaler will list only one pip code and as a pharmacy when we order, we may get a Teva branded pack but we may also get a Dr Reddys branded product.
As pharmacies, we are not usually concerned with which brand we get though there may be certain instances where if a patient requests it then we can try and procure it. As a business, we have made a strategic decision that so long as we are getting the cheapest pack, we don’t mind what we get.
So my question is how do I accommodate for all of these different variations of the product? I would like to make sure that the following are possible:
- Every product should link back to the relevant DMD code.
- All generic products should be tracked separately to branded products.
- I want to be able to use a barcode scanner to manage stock in the warehouse.
- Where there is more than one manufacturer for the product, I want to have a master product to which all the other manufacturer products are linked.
- Sales and purchase history should be able to be tracked across all the different levels of product in the hierarchy.
I had a look at item variants and initially thought that I would be able to create the following structure:
- Master product
- Attribute sets for the following: pip code, barcode and various dmd codes.
However, it seems that one has to specify the attribute values up front so that they can be selected/generated. This causes issues as there are hundreds of thousands of combinations.
I’m not sure how to proceed further. I really like ERPNext but am not sure how to get started with this fundamental aspect of operations. Your help and advice would be much appreciated.
Regards,
Shaheed