Cause: 1) System will not allow to confirm Sales Return if tran_type in transaction is saved with leading space .Hence system not able to pick acount code from Item Account Determination. 2) System will show the error ‘Account Code is null’.
Remedies: 1) User should ensure that Return type field is selected from pophelp.
2) User need to check the mapping of Tran Type and Sales Return ReturnType used in Item Account Determination master.