Hi guys,
I encountered an error during creating purchase lines using x++ code. The error is "The purchase lines cannot be created because the purchase order has been finalized.". How can I solve this case? I used this code in creating purchase lines:
purchLine.createLine(true, true, true, true, true, false);
Thank you.
BR,
Ron