|
PayMethodName() 
Returns the name of the payment method relating
to system cash management.
Syntax
PayMethodName((<PaymentNo>) -->
cName
Arguments
<cPaymentNo> --> The payment method
number. This number may range between 1 and 10. A single
transaction can hold up to 10 different methods of payment
simultaneously.
Returns
The name of the payment method. For payment
number 1, the character return string is always "Cash".
Description
This function returns the payment method
description based on the payment number specified. Payment methods
are user configurable and may include cash, cheque, various types
of credit cards, direct transfers (such as direct deposits) and
other types of payment. This function can be used to query the
various types of payment descriptions that have been defined in the
system.
The payment description cross references to the
payment amount stored in the database table INVOICE->PAYMENTn.
If the field's value is non-zero, that payment method has been
assigned to the transaction. The function PayMethodName(1) refers
to the contents of INVOICE->PAYMENT0 , PayMethodName(2) refers
to the contents of INVOICE->PAYMENT1 and so forth.
____________________________
Related Topics
Business
Function List
|