LedgerPostBatch.getJournalsToPost Method [AX 2012]

Gets the list of journals to post.

protected abstract Array getJournalsToPost(Common _journalRecord)

Run On

Called

Parameters

_journalRecord
Type: Common Table
The journal record that may have to be split.

Return Value

Type: Array Class
A RecordSortedList of journals to be posted.

This is called within a transaction in the run method. If no splitting, etc., is needed you may just construct an Array object and add the _journalRecord record to the list. See the LedgerJournalPostBatch class for an example.

Community Additions

ADD
Show: