Create new Purchase Order Line with X++


Example on how to create a new PO line: 
purchLine.clear();purchLine.purchId = purchTable.PurchId;
purchLine.ItemId = itemId;
purchLine.createLine(NoYes::Yes, NoYes::Yes, NoYes::Yes,
                     NoYes::Yes, NoYes::Yes, NoYes::Yes);

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.