CalcTotalQuantity

Function

 

WorkorderBom/CalcTotalQuantity(DocEntry,LineNumber,LineNumber2)

 

Calculate total quantity for this Bill of Materials position and return

OpenRoundQuantity

OpenQuantity

PlannedQuantity

RoundingRule

 

If LineNumber2 is 0 then the system calculate total quantity for all positions and save this in database

and return only status 200 for OK.

 

Example: Check Quantity for one Bill of Materials position.

 

{

  "OpenRoundQuantity": "9,000000",

  "OpenQuantity": "9,000000",

  "PlannedQuantity": "10,000000",

  "RoundingRule": "0, Dec.: 0"

}