GetSubPositions

Return this and all sub position from defined Work order position

 

WorkorderPos/GetSubPositions(DocEntry,LineNumber)

 

Return

Property

Description

value

List of work order position with comma separator

include current position too

count

Count of sub position with current position

positions

Array with all Positions

LineNumber: The work order position

Barcode: The barcode from this work order position

 

Example:

WorkorderPos/GetSubPositions(6002528,10)

{

  "value": "10,20,30",

  "count": 3,

  "positions": [

       {

          "LineNumber": 10,

          "Barcode": "A2Z7Z4010"

       },

       {

          "LineNumber": 20,

          "Barcode": "A2Z7Z4020"

       },

       {

          "LineNumber": 30,

          "Barcode": "A2Z7Z4030"

       }

   ]

}