Forum Discussion
Han-Solo
4 years agoMYOB Moderator
HI sankhala,
Thanks for reaching out and apologies for the delay in getting back to you.
Looking at the error messages `"Message": "BusinessLine_AccountRequired",` that you have provided and the body request it does not look like you are passing the AccountField.
"Account": {
"UID": "87967d0a-9e23-433e-b9dc-4304XXXXXXXXX",
Response error
{
"Errors": [
{
"Name": "ValidationError",
"Message": "BusinessLine_AccountRequired",
"AdditionalDetails": "AccountIdPurchaseOrderItemLine)",
"ErrorCode": 4239,
"Severity": "Error",
"LearnMore": null
},
In regards to the second error PurchaseOrderLine_ItemBoughtOrInventoriedRequired", Suggest to me that the item being used has not been setup to Buy or inventory which means we would not be able to put a purchase or through before setting this up.
Creating Items - http://help.myob.com/wiki/x/IoFW
{
"Name": "ValidationError",
"Message": "PurchaseOrderLine_ItemBoughtOrInventoriedRequired",
"AdditionalDetails": "ItemIdPurchaseOrderItemLine)",
"ErrorCode": 4302,
"Severity": "Error",
"LearnMore": null
}
],
"Information": "Warning, error messages have not been finalised in this release and may change"
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.