Share via


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.
  • _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.

See Also

Reference

CustVendCheque Class