How do I get "Ledger Account" querying CustInvoiceJour in AX 2012?

Hi ,

earlier in AX 4.0 we had this relation :

LedgerTrans.TransDate==CustInvoiceJour.InvoiceDate

LedgerTrans.Voucher==CustInvoiceJour.LedgerVoucher

but now i am working on an upgrade project .

Can anyone help me how do I get “ledger account” number querying CustInvoiceJournal table in AX 2012?

Thanks :slight_smile: