Quantcast
Channel: Microsoft Dynamics AX
Viewing all articles
Browse latest Browse all 101540

Forum Post: RE: Fixed Asset Depreciation Transaction Reversal through x++ code

$
0
0
Hi Hamza, You need to pass correction reversal date to newArgs.parm(); Use date2str() to convert date to string before. if(assetTrans.RecId){ newArgs = new Args(); //correction date here newArgs.parm("31/12/2015"); newArgs.record(assetTrans); transactionReversal = new TransactionReversal_Asset(); transactionReversal.parmReversalDate(assetTrans.TransDate); transactionReversal.reversal(newArgs); info("DONE"); }

Viewing all articles
Browse latest Browse all 101540

Trending Articles



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