AX / D365FO – Adding ConfigId in SALESLINE using X++

Code below shows the proper way of adding SalesLine with ConfigId SalesLine salesLine; InventDim inventDim; SalesId salesId = '100001' ItemId itemId = 'ITM1001'; ConfigId configId = 'CFG1001'; salesLine.initValue(); /* Init SalesLine from SalesTable*/ salesLine.SalesId = salesId; salesLine.initFromSalesTable(salesTable); /* End*/ /* Set SalesLine Item*/ salesLine.ItemId = itemId; /* End*/ /* Set Retail Variant Id*/ inventDim.configId = … Continue reading AX / D365FO – Adding ConfigId in SALESLINE using X++

AX/ D365FO – Delivery Schedule in Sales Line: What is the relation among splitted lines?

"Delivery Schedule" in SalesOrders is a useful functionality that allow split Sales Line in multiple lines. But once i split the rows how can we find the link between parent row and child rows. It's simply...you can find inside SalesDeliverySchedule Table Put the InventTransId of Parent line in "Orderline" field and get InventtransId of child … Continue reading AX/ D365FO – Delivery Schedule in Sales Line: What is the relation among splitted lines?