CalcTotalQuantity

Function

 

WorkorderBom/CalcTotalQuantity(DocEntry,LineNumber,LineNumber2)

 

Calculates total quantity for this Bill of Materials position and returns

OpenRoundQuantity

OpenQuantity

PlannedQuantity

RoundingRule

 

If LineNumber2 is 0, the system calculates total quantity for all positions and saves this in the database

and returns 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"

}