This functionality works for franchise flow when a purchase advise is converted to a purchase invoice. During this conversion, the user will have the option to scan a barcode and load quantity in the screen. This will temporarily save the purchase invoice. Once all the items of the purchase invoice are scanned and saved, then need to click update stock button so that inventory is updated and accounts posting is completed.
Note:- As of now only batchwise barcode item is supported in this flow and not piecewise barcode.
Detailed steps below:-
Need to select value in business configuration 'Save purchase temporarily and load quantity based on unicode scanning'. You will be shown 3 options
i. None - to convert purchase advise into purchase invoice without scan barcode feature.
ii. Item-Wise - to scan barcodes of particular item and load quantity against respective item.
iii. All items - to scan barcodes of all items and load quantity correctly against each item. 
Perform franchise flow and complete sale of goods from warehouse. To know operation of franchise model refer help doc - https://help.true-pos.com/Franchise-flow.html
Set business configuration Value - "Item Wise".
Load purchase advise by selecting "Load PI Advice" function key.

The details of purchase advise will be loaded on the screen with 0 quantity.
Upon clicking on the quantity, then a modal popup will open and we can scan barcode and click OK.
Click "Save" function key and it will temporarily save the purchase invoice.
Note:- Here, it will allow to save only if recieved quantity in purchase advise and scanned barcode quantity is the same.
Click on "Update Stock" function key and from the LOV, load the invoice in the screen. Click 'Save' and stock will get updated in inventory against item.

Note:- After doing update stock functionality only the inventory will get updated and accounts posting will also happen.
Set business configuration Value - "None".
Then will work as per existing flow where barcode scan modal will not come upon click quantity and inventory, accounts posting will happen upon saving invoice. 
Set business configuration Value - "All items".
Use this configuration when you need to scan quantities of multiple barcode mapped items, randomly without any order, but the quantity must get updated against the correct item. 
Load the purchase advise and select the quantity field of first item.
Now you can start scanning barcode of both first item and second item(as many items available in advise) irrespective of the order. 
After completed scanning of barcodes, you can notice the quantity gets calculated and updated correctly against respective item. 
Reports
We can verify that by checking stock in Current stock Branchwise report and check in column 'Unicode' to check for the barcode.
