Pick from sales order and post packing slip

SalesTable salesTable = SalesTable::find(“SO100053”); SalesLine salesLine; Query inventTransQuery; QueryBuildDataSource inventTransQbds; InventTrans inventTrans; InventTransOrigin inventTransOrigin; TmpInventTransWMS tmpInventTransWMS; InventTransWMS_Pick inventTransWMS_Pick; while select salesLine where salesLine.SalesId == salesTable.SalesId { inventTransQuery                = new Query();     inventTransQbds = inventTransQuery.addDataSource(tableNum(InventTrans));     inventTrans                     … Read morePick from sales order and post packing slip

Table to line update || AX 2012

    The following framework is used in AX 2012 for updating data from table to the lines when you updated the table fields. The example is for the Salestable / Salesline.   Create a new field in the SalesTable and SalesLine. Add the field to the FieldGroup HeaderToLineUpdate in the SalesTable Add the new … Read moreTable to line update || AX 2012