16 days ago
Item Purchase Order Validation Errors
I am trying to POST a new item purchase order but am encountering validation errors I am unable to interpret. The payload below is being sent to /Purchase/Order/Item using the POST method. {
"L...
- 16 days ago
Hi mdaniels , a couple of suggestions:
Line RowVersion is not required for a new transaction
ReceivedQuantity is not required for an order
OrderType is not a valid element (posting to Purchase/Order/Item)
I would put the date in as "Date": "2024-11-08T00:00:00" as MYOB only ever displays the date.
imo SubTotal, TotalTax and TotalAmount should have correct values
The second error suggests that the item definition in MYOB is missing or incomplete - the item must be ticked as "I buy" or "I inventory" to be included on a purchase transaction. (And the item must pre-exist).
The first error may be due to one or more of the above.