Auto Generate Code Tab
Use the Auto Generate Code tab to specify whether you want generate purchase order numbers and/or receipt transaction reference numbers, and define the auto-numbering parameters.
If you select the option to automatically generate numbers, you do not need to enter a reference when you create an order or receipt. Greentree Desktop allocates one when the transaction is saved.
There are two tabs on the form: Orders and PO receipts. Settings are unique to each form.
Options Reference
Each option and field on the form is described below. Mandatory options and fields are highlighted in red.
Auto generate order numbers
Select this option to generate a purchase order reference number on the Purchase Order Entry form. If the option is not selected, you must enter an order number.
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 you are using the Point of Sale module and eXchange is in use.
Use it to set up auto-numbering parameters for individual 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 this 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 associated with the recipient.
Station
This field is enabled if Point of Sale is in use.
Use it to 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 recipient and branch 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.
If the length of No. of Digits + Prefix + Suffix 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 increments 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 to validate a manual entry of a transaction reference using the auto-numbering parameters.