Set default currency values in create apyment proposals in ax2012



 if daxtest is checked to yes automatically currency field will set to default in create payment propsals 

for that

 \Classes\CustVendCreatePaymJournal 

 //Ns by thiru

     select ledgerJournalName where ledgerJournalName.JournalName=='custpay';

    if (ledgerJournalName.DaxTest==NoYes::yes)

    {

        dialogPaymCurrency.value(Ledger::accountingCurrency(CompanyInfo::current()));

        dialogPaymCurrency.enabled(false);

    }



No comments:

Post a Comment