Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: AR payment journal-how to change the default account type for the line

$
0
0

The default account type of Customer is set in class LedgerJournalEngine_CustPayment method initValue().

void initValue(LedgerJournalTrans _ledgerJournalTrans, LedgerJournalTrans_Asset _ledgerJournalTrans_Asset = null)
{
    super(_ledgerJournalTrans);

    this.initOffsetFromLedgerJournalTable(_ledgerJournalTrans);

    _ledgerJournalTrans.AccountType       = LedgerJournalACType::Cust;
    _ledgerJournalTrans.SettleVoucher     = CustParameters::find().AutoSettle ?
                                           SettlementType::OpenTransact : SettlementType::None;



Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>