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.
↧