CustVendCheque.getSlipText Method [AX 2012]
Returns a container that contains the text to be used in a check slip and the number of empty lines that should follow the text
Syntax
public container getSlipText(
LedgerJournalTrans _ledgerJournalTrans,
Counter _startLines,
Counter _endLines,
BankChequeNum _chequeNum,
ChequeFormType _chequeFormType,
CustVendPaym _custVendPaym)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The LedgerJournalTrans record containing the transaction information.
- _startLines
Type: Counter Extended Data Type
The number of lines that should be before the check slip information.
- _endLines
Type: Counter Extended Data Type
The number of lines that should be after the check slip information.
- _chequeNum
Type: BankChequeNum Extended Data Type
The cheque number.
- _chequeFormType
Type: ChequeFormType Enumeration
The CheckFormType of the cheque.
- _custVendPaym
Type: CustVendPaym Class
The CustVendPaym class that contains the transaction information that is needed for the check.
Return Value
Type: container
A container that contains the ChequeSlipTxt text and endlines count.
Exceptions
Exception | Condition |
---|---|
Error | Thrown if the _ledgerJournalTrans parameter contains an invalid AccountType value. -or- Thrown if an invalid _chequeFormType parameter value is passed in. |