armh
6 years agoContributing User
Purchase Order Type Mismatch
Hello,
We are having an issue where we have a Supplier setup as a 'ITEM' purchasing type.
However when any order is raised, when queried through the API, the PO is being returned on the service order endpoint.
our supplier:
https://ar1.api.myob.com/accountright/XXXXXXX/Contact/Supplier/ZZZZZZZ
PrintedForm | "CS Purchase Order" | string | |
PurchaseComment | null | string | |
PurchaseLayout | Item | MYOB.AccountRight.SDK.Contracts.Version2.Contact.PurchaseLayoutType | |
PurchaseOrderDelivery | Nothing | MYOB.AccountRight.SDK.Contracts.Version2.Sale.DocumentAction? | |
ShippingMethod | null | string |
The order returned
https://ar1.api.myob.com/accountright/XXXXXXX/Purchase/Order/Service/YYYYYY
We are attempting to integrate MYOB to our suppliers system, but to do so we need the inventory codes that are only available with an ITEM Purchase order line item payload.
Service type orders do not offer this.
Attached screenshot of the Order, shows that Items have been selected. Dispite this the order is still returned on the service endpoint