Dear Experts,
I'm developer of Microsoft Dynamic AX 2012
I want to reverse some voucher automatically
I have this code , but it shows prompt for parameter
TransactionReversal_Cust transactionReversal = new TransactionReversal_Cust();
GeneralJournalEntry generalJournalEntry;
GeneralJournalAccountEntry generalJournalAccountEntry;
Args args = new Args();
CustTrans custTrans = CustTrans::findByVoucher('VCR-100000714');
;
args.record(custTrans);
transactionReversal.parmReversalDate(systemdateget());
transactionReversal.reversal(args);
How to add value of parameter then execute it directly?
Thanks before
Regards,
Bintang
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (