LedgerJournalCheckPost.createRevEntries Method [AX 2012]

Creates a reversing entry record in the LedgerJournalTrans table for the current journal number that is being posted.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          protected void createRevEntries(RefRecId _numberSequenceTableRecId)

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void createRevEntries(RefRecId _numberSequenceTableRecId)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void createRevEntries(NumberSequenceCode _voucherSeries)

  Microsoft Dynamics AX 2012 (FPK)
          protected void createRevEntries(NumberSequenceCode _voucherSeries)

  Microsoft Dynamics AX 2012 (SYS)
          protected void createRevEntries(NumberSequenceCode _voucherSeries)

Run On

Server

Parameters

  • _numberSequenceTableRecId
    Type: RefRecId Extended Data Type
    The number sequence ID to use when you are retrieving voucher numbers for the reversing entries.

Remarks

For the current record being posted, each LedgerJournalTrans record that has a ReverseEntry field value of true and has a ReverseDate field value that is not empty will have a reversing entry created for it in the LedgerJournalTrans table. New vouchers will be created to hold the reversing entries. Each unique originating voucher will have a new reversing voucher created for it. If the journal is set up to use one voucher number only or Manual voucher numbers, the Voucher on each reversing line will be taken from its originating line. Each originating voucher line will be updated with a link to its corresponding new reversing line.

See Also

Reference

LedgerJournalCheckPost Class