ACCHGORDER – Activity Change Order
- System
- Activity Management (AC)
- Prefix
CHO- Primary key
ACTIVITY-GRP,ACTIVITY,BUDGET-NBR,CHG-ORDER-NBR- Fields
- 12
- Updated by
- 23 programs
- Referenced by
- 4 programs
ACCHGORDER is the Activity Change Order table in Lawson Activity Management (prefix CHO). It is indexed by ACTIVITY-GRP, ACTIVITY, BUDGET-NBR, CHG-ORDER-NBR (CHOSET1); alternate indexes: CHOSET2 and CHOSET3. It is related 1:1 to ACACTGRP, ACACTIVITY and ACBUDHDR and 1:M to ACCHGORDX. It is updated by AC10.1, AC10.5, AC120, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 and 15 more and referenced by AC121, AC127, AC27.1 and AC310. The table has 12 fields, 3 indexes and 5 documented relations.
About ACCHGORDER
This file contains budget change order information from AC21.1 (Budget Change Orders). It includes activity group, activity, budget number, change order number, approval information, maintenance date and time, and a released flag.
Fields (12)
Column = COBOL field name without the CHO- 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 |
|---|---|---|---|
#CHO-ACTIVITY-GRP PKACTIVITY_GRP | Alpha 15 | Required key. This is the activity group for the change order.. | AC120, AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1, BR22.1 |
#CHO-ACTIVITY PKACTIVITY | Alpha 15 | Required key. This is the activity for the change order. | AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1, BR22.1 |
#CHO-BUDGET-NBR PKBUDGET_NBR | Numeric 3 | Required key. This is the budget number uniquely defined in budget setup. | AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1 |
#CHO-CHG-ORDER-NBR PKCHG_ORDER_NBR | Alpha 5 | Required key. This is the identification number for the change order. | AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1, BR22.1 |
#CHO-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This field displays the description. | AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1 |
#CHO-APPROVAL-FLAGAPPROVAL_FLAG | Alpha 1 | This flag indicates whether the change order is approved.. Use Yes if the change order is approved. Use No if the change order is not approved.
| AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1, BR22.1 |
#CHO-APPROVALAPPROVAL | Alpha 15 | This field is for the name of the person who approved the change order. | AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1, BR22.1 |
#CHO-MAINT-DATE SET3MAINT_DATE | Numeric 8 (yyyymmdd) | This is the date the budget was last changed. | AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1, BR22.1 |
#CHO-MAINT-TIME SET3MAINT_TIME | Numeric 6 (hhmmss) | This is the time the budget was last changed. | AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1, BR22.1 |
#CHO-RELEASEDRELEASED | Alpha 1 | This flag indicates whether the change order has been released. Budgets are not changed until the change orders are released.
| AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, AC22.1, BR22.1 |
#CHO-EFFECTIVE-DATEEFFECTIVE_DATE | Numeric 8 (yyyymmdd) | The date a vendor's prices will be in effect. | AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1 |
#CHO-FORMED-USEDFORMED_USED | Numeric 1 | This field indicates the form used to define the change order. Use 1 for AC21.1 (Activity Group Budget Change Orders) and use 2 for AC21.2 (Activity Budget Change Orders). You must maintain a change order on the same form where you defined it originally.
| AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1 |
Indexes (3)
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 |
|---|---|---|---|---|
CHOSET1 |
| Primary | AC10.1, AC10.5, AC120, AC121, AC127, AC20.1, AC20.2, AC20.3 +19 more | |
CHOSET2 |
| KeyChange, Subset | Where (RELEASED = "N") | AC21.1, AC21.2, AC21.3, AC21.4, BR22.1 |
CHOSET3 |
| KeyChange | AC21.1, AC21.2, AC21.3, AC21.4, AC421 |
Relations
One to one (3) — lookups and parents
| Relation | Table | Rules | Condition | Field map | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acactgrp | ACACTGRP | Required |
| ||||||||||
| Acactivity | ACACTIVITY | Required |
| ||||||||||
| Acbudhdr | ACBUDHDR | Required |
|
One to many (2) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acchgordx | ACCHGORDX | Valid When CHO-BUDGET-NBR != Zeroes |
| ||||||||||||||||||||||
| Acchgordx Cnt | ACCHGORDX | Valid When CHO-BUDGET-NBR = Zeroes |
|
Programs
Updated by (23)
- AC10.1 Activity
- AC10.5 Mass Activity Move
- AC120 Level Reorganization
- AC20.1 Life Only Budget
- AC20.2 Annual Budget
- AC20.3 Period Budget
- AC20.4 Activity Budgets by Activity
- AC20.5 Activity Budgets by Account Category
- AC20.6 Activity Group Budget Header
- AC20.7 Activity Budget Header
- AC21.1 Life Only Budget Change Order
- AC21.2 Annual Budget Change Order
- AC21.3 Period Budget Change Order
- AC21.4 Activity Budget Change Orders by Activity
- AC21.5 Period Budget Change Order Import
- AC22.1 Change Order Approval
- AC300 Activity Group Purge
- AC311 Purge and Archive
- AC421 Change Order History
- BR10.1 Contract Parameters
- BR10.2 Contract Detail
- BR22.1 Contract Change Orders
- BR422 Contract Change Order History Report