Good Day To All.
I am working in a Retail shop, and the Items that I sell are sold by Piece or Box or any other type of UOM.
Every UOM type of the same Item has a different Barcode.
Is there a way for an Item to have multiple Barcodes, and each of those Barcodes represents its own UOM type and Price Rate?
It will make the POS a lot easier.
I actualy make a customized doctype for my POS to get price by UOM. The problem with this is only work in my POS and not the ERP. This is very important feature becuase some customer used UOM meaure to set wholesale or reatil price.
Yes this would be great to have. my client does not used the build in POS becuase for them POS must be offline. however i can share how i achive this in my POS and may be ERPNext can make in the POS for you.
Create a item in ERP with multiple barcode, on this new item setup your unit of measure in your case “Box and Piece” make sure the box include the correct conversion factore. Example 10 in one box.
This is where i make my customization and how ERPNext can include in base product.
In Item Price i create create a custom doctype for additional price. This doctye should be a child table if your are usning version 13.
On our POS it would look like this when i select/scan that product.
In the ERPNext
If you are using multiple barcode for the same item in the ERP you should also get the smae display.
When a product is sold with one of the UOM the ERP will deduce the amout of stock from inventory base on the UOM conversion factor. Example 1 box of RUM & RAISIN would dudect 60 each (smallest) from inventory.
There are lots of other thing we used UOM for.
This is just one example.
The puzzling thing is, if you check barcode table in version 13, there is a UOM field besides the barcodes, but it does not work.
UOM Field in Item Barcodes in your particular case was added by POSAwsome. Its not In V13 By default.
If you enable Show Barcode Field in Stock Transactions in stock transactions and scan a barcode on anything else It uses the Default Unit of Measure | Default Sales Unit of Measure | Default Purchase Unit of Measure Depending on the Document Type
set the uom field in scan_barcode when it fetches from Item Barcode
You might want to modify the existing_item_row find statement on line 405 to include the UOM as it will replace the UOM every time. Example. purchasing 1 box and 2 items. scanning the box barcode will create a new item, scanning a single item barcode afterwards will update the existing item to 2 items instead of 1 box and 1 item.