Auto Generate Code
Use this form to specify whether you want generate customer codes and/or transaction reference numbers, and define the auto-numbering parameters. If the option to automatically generate numbers is selected, you do not need to enter a code or reference when you are creating a customer or transaction.
Options Reference
Each option and field on the form is described below. Mandatory options and fields are highlighted in red.
Automatically generate customer codes
Select this option to generate a customer code number when you are creating a new customer on the AR Customer Maintenance form.
If you don't select this option, enter customer codes.
Validate entered values
Select this option to update the Validate checkbox to true for all lines in the table.
Details Table
Recipient
This field is enabled if the eXchange module is in use.
Use it to set up auto-numbering parameters for each recipient and branch combination.
Branch
You can assign details at a branch level by first selecting the branch, and then defining the auto-numbering parameters for the branch. Leave the Branch field empty to define system wide parameters that apply to all branches.
If you are using Point of Sale and eXchange, each recipient and branch combination must be unique. If multiple branches exist and only one recipient and branch combination is defined, you must create a line for the recipient with a empty branch. This acts as a catch-all for the other branches of the recipient.
Station
This field is enabled if the Point of Sale module is in use.
This field enables you do define auto-numbering parameters by station. Leave the field empty if you want the parameters to apply to all stations. Each recipient, branch, or station combination must be unique.
If multiple stations exist and only one recipient and branch combination is defined for one station, you must create a line for the combination with a empty station. This acts as a catch-all for the other stations of the recipient and branch combination.
Length
This field displays the maximum length for the automatically-generated code, in read-only format.
Enable
This field is enabled if both Point of Sale and eXchange are in use. Select the option if the recipient, branch, or station combination creates automatically-generated codes.
Prefix
Enter a prefix value. If the length of No. of Digits + Prefix + Suffix exceeds the Length, Greentree Desktop prompts you to change the parameters.
No. of Digits
Enter the length that applies to the numerical part of the automatically-generated code. The prefix and suffix are additional in determining the final code. Where the No. of Digits + Prefix + Suffix length exceeds the Length, Greentree Desktop prompts you to change the parameters.
Pad Leading Zero
Select this option to calculate the number of digits to pad. This is determined by the No. of Digits and the Next number. For example, if the No. of Digits is 5, and the next number is 2, Greentree Desktop pads the number to 00002.
From
Enter the start value for the range of the numerical part of the code.
To
Enter the end value for the range of the numerical part of the code.
Next
Enter the value of the next number to use when the code is generated. The default value is the To value when you are first defining the parameters. The value will increment each time a new code is generated.
Suffix
Enter a suffix value. If the length of No. of Digits + Prefix + Suffix exceeds the Length, Greentree Desktop prompts you to change the parameters.
Validate
Select this option if a manual entry of a transaction reference is to be validated using the auto-numbering parameters.
The same parameters apply to Invoice, Credit Note, Journal and Receipt reference numbers, if the option to Automatically generate numbers is selected for each transaction type.