Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the voucher from the log text.
Syntax
client server public static Voucher getVoucherFromLogText(Log _logText)
Run On
Called
Parameters
- _logText
Type: Log Extended Data Type
The log text.
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.