LedgerJournalEngine.deleteReasonCode Method [AX 2012]
Deletes the ReasonTableRef record referenced by the LedgerJournalTrans record.
Syntax
protected void deleteReasonCode(LedgerJournalTrans _ledgerJournalTrans)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The record that stores the LedgerJournalTrans record of the transaction.
Remarks
This method is used to delete the ReasonCode record when the LedgerJournalTrans record is deleted before it is committed to the database.