LedgerVoucherList.add Method [AX 2012]
Adds a posting reference to the collection.
Syntax
public boolean add(LedgerVoucherObject _postingReference)
Run On
Called
Parameters
- _postingReference
Type: LedgerVoucherObject Class
The posting reference to add to the collection.
Return Value
Type: boolean
true if successful; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The reference number is an empty string or the accounting date is an empty date. |
Error | The reference number is an empty string. |