How to confirm Sales Return if the following error ‘Account Code Sale not defined in item account detr master.’ occurs on confirm button click?

Cause: 1) System will not allow to confirm Sales Return if new Item series is used in Sales and it is not mapped with Tran type in Item Account Determination. 2) System will show the error ‘Account Code Sale not defined in item account detr master’.

Remedies: 1) User need to check the mapping of Item Series and Tran Type used in Item Account Determination master.
2) For Item Account Determination master, go to Finance->Finance Setup-> Masters->Item Account Determination.