LedgerPostBatch.new Method [AX 2012]

Constructs derivative objects. This is an abstract class so it should not be used in the context of 'new LedgerPostBatch(...)'.

NoteNote

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 new(
            str _journalId, 
            boolean _transferErrors, 
           [boolean _isJournalSplitForbidden, 
            int _numberOfJournalLines])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void new(
            str _journalId, 
            boolean _transferErrors, 
           [boolean _isJournalSplitForbidden])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void new(
            str _journalId, 
            boolean _transferErrors, 
           [boolean _isJournalSplitForbidden])

  Microsoft Dynamics AX 2012 (FPK)
          protected void new(
            str _journalId, 
            boolean _transferErrors, 
           [boolean _isJournalSplitForbidden])

  Microsoft Dynamics AX 2012 (SYS)
          protected void new(
            str _journalId, 
            boolean _transferErrors, 
           [boolean _isJournalSplitForbidden])

Run On

Called

Parameters

_journalId
Type: str
The ID of the journal to post.
_transferErrors
Type: boolean
A Boolean flag that determines if errors will be transferred to a new journal. If true, errors will be transferred.
_isJournalSplitForbidden
Type: boolean
A Boolean value that determines whether journal splits are forbidden; optional. If true, journal splits are forbidden.
_numberOfJournalLines
Type: int

You should not override this method in your derivative class.

Community Additions

ADD
Show: