This function will look up and validate a group table successfully in class 1 table 18th
The key for the group tables is
· 4 bytes key group (eg '0001 'Customer grouping 1, '0002' Customer grouping 2, '0101 'Part 1 grouping, etc.) and
· 18 bytes group number (eg '01 'Country 01, '010001' Country 1, 0001 Region within country)
Parameter |
Value |
Description |
0 |
2-17 |
Record area |
1 |
0-9999 |
Group Key |
Default |
Group key from last read validation table 0081 (Product description) |
|
2 |
4 |
Group number length |
Default |
4 |
|
3 |
Default |
Abortion on update. K in inquiry mode if condition fails dove two tangling |
3-5 |
Action |
Passed two function G as parameter 1, 4 and 7 if group is not valid. Not performed when printing totals. |
9 |
1-8192 |
Valid for the subset of group |
This function will look up a validation code successfully in class 1 1st table
The function can either translate the code supplied into text or validate the code and translate it into an integer, If the field is defined without editing code.
If the field is defined with editing code, the function will validate if the supplied value has a text attached to it.
Parameter |
Value |
Parameter |
Value |
Description |
0 |
2-18 |
Record the area code information |
||
1 |
1-9999 |
The visual key specifies Which type of parameter is to be translated. (Eg 0001 = currency). |
||
AZ |
If this entry is a single alpha character, the visual key will defaulted to this letter followed by the 3 digit table number of the current record.If the record has a seen the Key will be followed by the 2 digit set number. |
|||
2 |
0-255 |
Default value for extension 1st |
||
Default |
Mandatory |
|||
_ (Underscore) |
No change if the item is blank |
|||
3 |
1-9999 |
4 |
H |
Parameter 1 is modified with value in address. |
3 |
1-9999 |
4 |
h |
Parameter 1 is modified with value in address plus the current duplication controlled by the F function. |
4 |
H |
3 |
1-9999 |
See parameter 3 |
H |
3 |
1-9999 |
See Parameter 3 |
|
3-5 |
Default |
No continuation form. |
||
3-5 |
1-9999 |
4 |
Not H or h |
Continuation form for extension 1 value between 1 and 3 |
6-8 |
Passed two function G as parameter 1, 4 and 7 if the translation fails. Not performed when printing totals. |
|||
9 |
1-9999 |
Subset of Code |
||
Default |
Any subset |
T Code translations use both the visual key and extension 1stThe visual key is the same for all parameters of the same type (Oak Currency).Extension 1 contains the actual numeric code for the table record.
Currency Table
Table |
Visual Key |
Extension 1 |
Code |
Description |
1 |
0001 |
1 |
GBP |
Great British Pounds |
1 |
0001 |
2 |
EURO |
Euros |
1 |
0001 |
3 |
USD |
Danish Crown |
Yes / No
Table |
Visual Key |
Extension 1 |
Code |
Description |
1 |
0025 |
1 |
NO |
No. |
1 |
0025 |
2 |
YES |
Yes |