Share via


LedgerJournalTable.distributeJournalLines Method

Distributes the lines of a journal into several new journals.

Syntax

public RecordSortedList distributeJournalLines([boolean _suppressClientMessages])

Run On

ClientOrServer

Parameters

  • _suppressClientMessages
    Type: boolean
    A Boolean value that indicates whether items, such as dialog boxes, should be suppressed during the distribution process. Infolog messages are okay. The default is false.

Return Value

Type: RecordSortedList Class
A RecordSortedList object that holds the record buffers for the new journals.

Remarks

The original journal is not contained by the list returned by this method.The number of lines in each journal might not match the requested number because all lines with the same voucher number must remain in the same journal.The journal is split across voucher boundaries when the total size of the journal is larger than the amount set by the user. For example, if the maximum size of a journal is 1000, but the first voucher boundary occurs at 1278, the original journal will have 1277 records in it. The newly created journal will have the next 1000+ records starting at 1278.

See Also

Reference

LedgerJournalTable Table