ITEMADDON – Item Add On Cost
- System
- Billing (BL)
- Prefix
ITA- Primary key
COMPANY,ITEM,STATE,CUSTOMER,MISC- Fields
- 5
- Updated by
- 0 programs
- Referenced by
- 0 programs
ITEMADDON is the Item Add On Cost table in Lawson Billing (prefix ITA). It is indexed by COMPANY, ITEM, STATE, CUSTOMER, MISC (ITASET1). It is related 1:1 to ICCOMPANY, ITEMMAST and OECOMPANY and 1:M to OEMISC. The table has 5 fields, 1 index and 4 documented relations.
About ITEMADDON
The Item Add-on Cost file. Whenever a line is added to an order or invoice, the program checks this file. If an Item Add-on record exists for the company, item, and state in this file (or for the company, item, and a blank state), an add-on charge record is attached to the order and/or invoice line automatically.
Fields (5)
Column = COBOL field name without the ITA- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
#ITA-COMPANY PKCOMPANY | Numeric 4 | Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources. | — |
#ITA-ITEM PKITEM | Alpha 32 | This field contains the item identifier. | — |
#ITA-STATE PKSTATE | Alpha 2 | This field contains the two-character state code of the address of customers that are to be assessed this charge. | — |
#ITA-CUSTOMER PKCUSTOMER | Alpha 9 (Right Justified) | This field contains the number that represents a customer. | — |
#ITA-MISC PKMISC | Alpha 16 | This is the add-on charge code that is attached to a percentage or amount that is to be assessed to the line of the order or invoice. | — |
Indexes (1)
Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
ITASET1 |
| Primary | WH20.2, WH20.7 |
Relations
One to one (3) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Iccompany | ICCOMPANY | Required |
| |||||||
| Itemmast | ITEMMAST | Required |
| |||||||
| Oecompany | OECOMPANY | Required |
|
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Oemisc | OEMISC | Required |
|
Programs
No Lawson programs are documented as updating or referencing this table.