Cause:- System shows the error msg on confirmation of distribution receipt, because Distribution tran_type is not define properly
Solution:- User has to Check the Branch account flag in the distribution order_type
SCM > SCM Setting > Logistics setup > Distribution Order type
If its set to yes then Branch account code need to be define in the item account determination distribution