You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--APIv1EndpointOrgProcurePurchaseOrderFromSupplier.java
Added method to be able to obtain the index of the purchase order record and line that contains the unstocked supplier products.
--APIv1EndpointResponseESD.java
Added property to be able to obtain unstock order lines from procurement endpoint.
--APIv1ExampleRunnerProcurePurchaseOrderFromSupplier.java
Modified main method to show example of how to set text line in purchase orders, as well as how to handle unstocked error exception.
//if one or more products in the purchase order did not have stock available by the supplier organisation then find the order line that caused the problem
System.out.println("For purchase order: "+ orderPurchaseESD.dataRecords[orderIndex].purchaseOrderCode + " the supplier has no stock available for line number: " + (lineIndex+1));
0 commit comments