Payment Dump Entry Numbers

From TMMwiki
Jump to: navigation, search
NATS 4
Payments Admin
The Payments Admin
Creating and Editing PayVia Options and Dump Formats
Pay Via Types
Check Functions
Payment Dump Entry Numbers
Bulk Invoice Import
Payment Dump Variables
Payment Periods
Payout Period Configuration

NATS 3
Payments Admin
Payment Dump
Setting Up Pay Vias
Hidden Payout Options
Temporary Payout
Payment Option
Webmasterchecks
Affiliate Payout
Domestic Wire
Instant Payments
Intercash
International Wire
Moneybookers
RevUpCard
NATS Payments
PayPal
Payment Dump Entry Numbers
Payment Dump Variables
Payout Scales
Epassporte

Add a number to every banking check in a dump using the Smarty {counter} function in the entry header. For example:

Check #{counter}

You can use {counter} multiple times in the same header, or generate a unique number across all dumps, by assigning a number to a variable and updating it after each run. For example, to print a series of checks starting with check #100:

{counter assign=mycounter}Row:{$mycounter} Check #{math equation="x+y" x=100 y=$mycounter}

The next time you want to print checks, update the 100 in x=100. For example, to print a new series of checks starting with check #177:

{counter assign=mycounter}Row:{$mycounter} Check #{math equation="x+y" x=177 y=$mycounter}