MODCHQCF - NATIONAL CONFIGURATION
Ó UNCTAD - SITE (V1.15)
8.14
Creating New Global Taxation Rules
To create a new Global taxation rule is a simple process. With an existing rule highlighted on the
screen, click Insert or press I. This will insert a new rule name in the list. It copies the name and
the priority but not the rule itself. The priority is the order in which the rules are calculated by the
system, with the lowest number first, 01 to 99.
To change the name and priority, simply over type the details for the new tax and click Modify or
press M. The new rule can then be defined. With the new rule highlighted, click Edit or press E.
A blank screen is displayed in which the rule may be defined.
Copying in other Rules
Another rule can be copied to modify or insert by highlighting the rule with the mouse and
<Control> <Insert>. This copies the rule and it can then be pasted by <Shift> <Insert> .
Look Up Facility
The Lookup <F9> box provides the facility to consult the list of Variables, Functions and
Keywords. See Appendix A of this Reference Document for a full listing.
Examples of Global Taxation Rules
Example 1: Here is an example of a rule to calculate a charge per entry of 2 NCU per item:
Rule "COMPUTER FEE";
Action IS DoTax("CF", "1", ItmTotal, 2, ItmTotal * 2);
This calculates CF with number of Declaration items as the taxbase, tax rate of 2 NCU and
calculates the tax as number of Declaration items times 2 NCU.
Example 2: This rule calculates a flat rate of 5 NCU for each import and 2 NCU for each export .
Rule "PROCESSING FEE";
If TypProc = "4" Then
Action IS DoTax("PFI", "1", 1, 5, 5);
Endif;
If TypProc = "1" Then
Action IS DoTax("PFE", "1", 1, 2, 2);
Endif;
This tells the system to calculate PFI or PFE with 1 Declaration as the taxbase, tax rate of 5
NCU at import or 2 NCU at export and calculates the tax as the tax rate times 1.
Syntax Check and Saving New Rules
After defining the rule click OK or press K. This will close the rule editing screen and return to the
Global Taxation Rules screen after first checking that the syntax is correct. Click OK or press K
to save the new rule. This will open a screen asking if you want to save the new configuration.
When checking the syntax it is a good practice to use the Tab key to move out
of the rule-editing field. If syntax is correct the cursor will move to OK . If the
check fails, an error message appears. Syntax must be correct before the rule
can be saved. However, you can save the rule at any time as a text file using
Local Menu, Write file.
Saving the new configuration will save it to your Client. Send the Rule to the Server uses the
Configuration transfer option from the Functions menu. This is explained later in this Section.