Basic payments template variables
The following variables can be used to create payment templates
VARIABLE
|
DESCRIPTION
|
\PAYMENT_CODE\
\CODE\
|
Payment code.
|
\PAYMENT_DATE\
\PDATE\
|
Date payment received in following format: 10/4/2006.
|
\PAYMENT_DATE_LONG\
\PLONGDATE\
|
Date payment received in following format: Monday, October 04, 2006.
|
\PAYMENT_NOTES\
|
Notes about payment.
|
\TOTAL_PAID\
\TOTAL\
|
Total paid.
|
\NOT_LINKED\
|
Amount not linked with invoices.
|
\LINKED\
|
Amount linked with invoices.
|
\IS_LINKED\
|
Used in algorithms (If payment is linked with invoice = True, if it’s not = False)
|
\PAYMENT_NOTES\
\NOTES\
|
Payment notes
|
Linked invoice variables
These variables can add information from linked invoices to payment template
DATASET WITH COLUMN NAME
|
DESCRIPTION
|
\DTLINKINVOICES:IDATE\
|
Linked invoice date.
|
\DTLINKINVOICES:ICODE\
|
Linked invoice code.
|
\DTLINKINVOICES:GNUMB\
|
Linked invoice global code.
|
\DTLINKINVOICES:TOTAL\
|
Linked invoice total.
|
\DTLINKINVOICES:OTHER\
|
The part of the linked invoice total covered by other payments.
|
\DTLINKINVOICES:ADJUST\
|
The sum of the phantom payment of the linked invoice.
|
\DTLINKINVOICES:LINKED\
|
The part of the current payment total linked to the invoice.
|
\DTLINKINVOICES:BALANCE\
|
Balance Due of the linked invoice.
|
\DTLINKINVOICES:DATEDUE\
|
Linked invoice due date.
|

See also:
Logic of Templates
|