hello all,
good day.
In my requirement I need to display Ledger Accounts from LedgerTrans table wrt to CustTrans table
I'm bit confuse how the fields LedgerTransType ,LedgerPostingType fields populated in Ledger trans table
Let’s have a look on the tables
1) CustTrans table
AccountNum(CustAccount) | Voucher | AmountMst | TransType(LedgerTransType) |
Customer_1 | V1 | 100 | Exchange adjustment |
Customer_1 | V2 | 200 | Sales order |
2) LedgerTrans table
Voucher | AccountNum(LedgerAccount) | AmountMst | Posting(LedgerPostingType) | TransType |
V1 | AcNum1( Posting profile for the cust group ) | 100 | Exchange rate profit |
|
V1 | AcNum2 (Exchange rate profit account) | -100 | Exchange rate profit |
|
V2 | AcNum1 | 300 | Customer balance | Sales order |
V2 | AcNum3 | -300 | Sales order revenue | Sales order |
Outpoot should be like this
Customer_1 | V1 | 100 | Exchange adjustment | AcNum2 |
Customer_1 | V2 | 200 | Sales order | AcNum3 |
could you please share your experience to solve this.