Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a reversing entry LedgerJournalTrans record that uses the specified voucher and transaction text that offsets the LedgerJournalTrans record.
Syntax
protected void createReverseEntryJournalLine(
LedgerJournalTrans _ledgerJournalTrans,
Voucher _voucher,
LedgerJournalTransTxt _transactionTxt)
Run On
Server
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The LedgerJournalTrans record for which to create the reversing entry LedgerJournalTrans record.
- _voucher
Type: Voucher Extended Data Type
The voucher to use when you are creating the reversing LedgerJournalTrans record.
- _transactionTxt
Type: LedgerJournalTransTxt Extended Data Type
The transaction text to use when you are creating the reversing LedgerJournalTrans record.
Remarks
This method also creates reversing child records in the LedgerJournalTrans_Asset table and the LedgerJournalTrans_Project tables, if the LedgerJournalTrans record being reversed had child records in those tables.