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

Forum Post: RE: Posting Payment from customer to LedgerJournal and mark invoice

$
0
0
Hi, Andre. Thanks for advices. I am using now JournalTableData and JournalTransData. But i failed to find siutable examples how to use SpecTransManager. Can yo help me with this? I found examples like: specOffsetVoucher = SpecTransManager::construct(custTable); specOffsetVoucher.insert(invCustTrans.dataAreaId, invCustTrans.TableId, invCustTrans.RecId, invCustTrans.AmountCur, invCustTrans.CurrencyCode, NoYes::No); specOffsetVoucher.insert(payCustTrans.dataAreaId, payCustTrans.TableId, payCustTrans.RecId, payCustTrans.AmountCur, payCustTrans.CurrencyCode, true); specOffsetVoucher.updateMarkedPayment(payCustTrans.dataAreaId, payCustTrans.TableId, payCustTrans.RecId, true); but I did not understand how to use it in my case. As I understood it can be used only when Ledger is already posted. I did not understand how to use it when Ledger is not posted yet.

Viewing all articles
Browse latest Browse all 101540

Trending Articles



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