Forum Discussion

AdamGG's avatar
2 years ago

SaleOrderLine_ItemSoldRequired error

Getting this error from our MYOB integration when trying to create an order via the API. Not sure what it means?

 

{"Name"=>"ValidationError", "Message"=>"SaleOrderLine_ItemSoldRequired", "AdditionalDetails"=>"ItemId:(SaleOrderItemLine)", "ErrorCode"=>4364, "Severity"=>"Error", "LearnMore"=>nil}

 

I assume there is something wrong with the "item" that the order line is referencing. But I don't get what, it's not really clear to me.

 

(I'm a developer, not a MYOB user...)

 

 

Any ideas?  I just need to translate this to a human-readable message, so the end user can correct the issue themselves.

 

cheers

  • Hi AdamGG,

     

    Do you get this error for every item or just one (or some)?

    There is an 'I Sell This Item' checkbox for each item (go to Inventory > Items List and double click on the relevant item).

    Perhaps you need to be selling the item to order it?

     

    Just a thought. 

     

    John.

     

     

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.