RefreshQuantity

Refresh Quantity from sub components if quantity of main components changed.

 

Example:

Pos 10: 5 Pcs
Pos 20: Subassembly from Pos 10: 5 Pcs

 

if you change quantity from Pos 10, then the system does not change the quantity from Pos 20 automatically.

With this function you can calculate all necessary quantities of sub-assemblies.

 

WorkorderPos/RefreshQuantity(DocEntry,LineNumber) 

 

Return

 

{"value": "BarCodeString"}

 

Note: Only working, if  Work order existing and Work order not closed

If refresh is possible, the system return

{"value": 1}

 

In all other cases the system return

{"value": -1}