Share via


LedgerJournalCheckPostResults::getVoucherFromLogText Method [AX 2012]

Gets the voucher from the log text.

Syntax

client server public static Voucher getVoucherFromLogText(Log _logText)

Run On

Called

Parameters

Return Value

Type: Voucher Extended Data Type
The voucher.

Remarks

This method splits the log text by comma and then searches each split looking for a voucher. A split that contains a voucher is expected to be in the pattern "Voucher XXXX" which is common in journal posting. Label @SYS27675 is an example of what is expected before the split.

See Also

Reference

LedgerJournalCheckPostResults Class