Forum Discussion
Hi dlarosa,
It sounds like we are having the same issue with Sales rather than Purchases. I am not using the SDK/API but have been testing using Insomnia to look at the raw returns for various GETs. I have also been in touch with the apisupport team and they have confirmed that there is a bug with Items / Services.
As suggested by John, I have attempted to return the line items using a filter, but again the return only works if I request Service types and I am missing specifically the ShipQuantity line. Looking at the documentation the Service GET doesn't return ShipQuantity.
So far it has only happened for 2 Items that I have found, but there doesn't appear to be a reason for it. API support have suggested recreating the Invoice in MYOB but for us this hasn't worked as the recreated Invoice is still a Service type when it should be an Item.
Hi TamworthIT
to summarise, there appears to be three issues:
1) some (only some) item invoices are not available through the item invoice endpoint, no matter how you try and query for it... Querying by invoice number, by client, by all invoices - none of these methods will retrieve the effected invoice.. this only effects some invoices, and it is not obvious why this happens.. MYOB application shows as an item invoice correctly.. you can get the invoice from the service invoice endpoint instead and also from the generic invoice endpoint, neither of which has item lines.. the service invoice returns service lines, and the generic invoice returns no lines..
2) indentical to problem 1), but in the realm of purchases.
3) the item purchase endpoint incorrectly returns OrdeyType as OrderLayoutType of Service instead of Item.
- SteveTWark5 years agoMember
DLarosa,
ARMH is no longer withus so your query was forwarded to me.
We encountered this issue for a particular supplier and no matter what we tried we could not resolve. We contacted MYOB and got them to investigate and the only advice offered was to create a new supplier card.
This we did and since then we have had no issues with the orders being picked up as a Item type.
So, whatever MYOB spotted, it had to be an issue with the supplier and creating a new supplier card for going forward with solved the issue.
Cheers
Steve
- dlarosa5 years agoContributing User
Hi Steve
Thanks for the reply.. We have the issue with multiple suppliers, but I will try make a brand new supplier card and see if it resolves the issue.
Thanks, and I will let you know how our test goes.
Cheers
- dlarosa5 years agoContributing User
We created a new Supplier Card and the issue still happens.
We have now narrowed down the scenario that causes the issue.
Step 1) Create a Sale Order in MYOB.
Step 2) Click the "Create PO" button from the Sale Order.
Step 3) Save the PO that MYOB creates.
In other words, the issue occurs if you use the "Create PO" button from a Sale Order.
This "Item" PO will not be available from the Item Purchase Endpoint, and will only be available from the Service Purchase Endpoint and the Generic Purchase endpoint, neither of which gives you the Item Lines, as described earlier in this post.
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Find technical support and help for all MYOB products in our online help centre
Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.