Bridge transaction is not reflecting in General journal line in Ax 2012,
Solution
Solution
Need to write
code on
Table : LedgerTransFurtherPosting
Method : CreateledgerjournaltransfromGenJour
ledgerJournalTransTaxExtensionIN =
LedgerJournalTransTaxExtensionIN::findByLedgerJournalTrans(ledgerJournalTrans.RecId);
if (!ledgerJournalTransTaxExtensionIN.RecId)
{
ledgerJournalTransTaxExtensionIN.clear();
ledgerJournalTransTaxExtensionIN.initValue();
ledgerJournalTransTaxExtensionIN.TaxModelDocLineExtensionIN::init(ledgerJournalTrans);
ledgerJournalTransTaxExtensionIN.LedgerJournalTrans =
ledgerJournalTrans.RecId;
if
(ledgerJournalTransTaxExtensionIN.validateWrite())
{
ledgerJournalTransTaxExtensionIN.insert();
}
}
No comments:
Post a Comment