Forum Discussion

AdamGG's avatar
3 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

1 Reply

Replies have been turned off for this discussion
  • 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.