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++
Category: Sales Orders
AX / D365FO – Create Sales order and Purchase order using X++
In this article, we will see how to create sales order and purchase order using x++ >> Create Sales order and Purchase order 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?