ACCHGORDX – Activity Change Order Detail

System
Activity Management (AC)
Prefix
CHX
Primary key
ACTIVITY-GRP, ACTIVITY, BUDGET-NBR, CHG-ORDER-NBR, ACCT-CATEGORY, FISCAL-YEAR, PERIOD
Fields
23
Updated by
17 programs
Referenced by
5 programs

ACCHGORDX is the Activity Change Order Detail table in Lawson Activity Management (prefix CHX). It is indexed by ACTIVITY-GRP, ACTIVITY, BUDGET-NBR, CHG-ORDER-NBR, ACCT-CATEGORY, FISCAL-YEAR, PERIOD (CHXSET1); alternate indexes: CHXSET3. It is related 1:1 to ACACCTCAT, ACACTIVITY, ACBUDHDR and ACCHGORDER and 1:M to ACCHGORDX. It is updated by AC120, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5, AC20.7, AC21.1 and 9 more and referenced by AC10.1, AC10.5, AC310, AC421 and BR422. The table has 23 fields, 2 indexes and 6 documented relations.

About ACCHGORDX

This file contains budget change order detailed information from AC21.1 (Activity Group Budget Change Order) and AC21.2 (Activity Budget Change Order).

Fields (23)

Column = COBOL field name without the CHX- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
CHX-ACTIVITY-GRP PK
ACTIVITY_GRP
Alpha 15Required key. This is the activity group for the change order.AC120, AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1
CHX-ACTIVITY PK
ACTIVITY
Alpha 15Required key. This is the activity for the change order.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1
CHX-BUDGET-NBR PK
BUDGET_NBR
Numeric 3Required key. This is the budget number uniquely defined in budget setup.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-CHG-ORDER-NBR PK
CHG_ORDER_NBR
Alpha 5Required key. This is the identification number for the change order.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1
CHX-ACCT-CATEGORY PK
ACCT_CATEGORY
Alpha 5Required key. This is the account category for the change order.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-FISCAL-YEAR PK
FISCAL_YEAR
Numeric 4Required key. This is the fiscal year for the budget.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-PERIOD PK
PERIOD
Numeric 2Required key. This is the fiscal period for the budget.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-BASE-ND
BASE_ND
Numeric 1Required. This is the number of decimal positions defined for the budget currency.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1
CHX-AMOUNT
AMOUNT
Signed 18.2Required. This is the calculated amount, including the change order, for the account category for the period.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1
CHX-ENTERED-AMT
ENTERED_AMT
Signed 18.2This is the new amount, including the change order, as entered for the account category for the period.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1
CHX-PRIOR-AMOUNT
PRIOR_AMOUNT
Signed 18.2This is the period amount for the account category prior to the budget change order.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1
CHX-UNIT
UNIT
Signed 15.2This is the calculated units budget, including the change order, for the account category for the period.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-ENTERED-UNIT
ENTERED_UNIT
Signed 15.2This is the new units budget, including the change order, as entered for the account category for the period.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-PRIOR-UNIT
PRIOR_UNIT
Signed 15.2This is the period units budget for the account category prior to the budget change order.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-BLANK
BLANK
DerivedThis derived field is always blank. It is used in the Drill Around feature for column headings.
CHX-FACTOR
FACTOR
Alpha 15This is the calculated factor, including the change order, for the budget.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-PRIOR-FACTOR
PRIOR_FACTOR
Alpha 15This is the prior factor for the budget.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-FACTOR-RATE
FACTOR_RATE
Signed 14.7This is the calculated factor rate, including the change order, for the budget.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-ENTERED-F-RATE
ENTERED_F_RATE
Signed 14.7This is the factor rate, including the change order, as entered for the budget.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-PRIOR-F-RATE
PRIOR_F_RATE
Signed 14.7This is the prior factor rate for the budget.AC21.1, AC21.2, AC21.3, AC21.4, AC21.5
CHX-SPREAD-CODE
SPREAD_CODE
Alpha 3A spread code is a formula for budgeting spending activity that can be set up in AC23.1 (Spread Codes) for each account category. You can use a spread code to schedule spending over the life of the activity or activity group. Spread codes can be used to represent the characteristic spending pattern of each account category.AC21.2
CHX-CHANGE-AMOUNT
CHANGE_AMOUNT
DerivedThis is the change amount (the change order information) for the account category for the period.
CHX-CHANGE-UNITS
CHANGE_UNITS
DerivedThis is the change number of units (the change order information) for the account category for the period.

Indexes (2)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
CHXSET1ACTIVITY-GRP, ACTIVITY, BUDGET-NBR, CHG-ORDER-NBR, ACCT-CATEGORY, FISCAL-YEAR, PERIODPrimaryAC10.1, AC10.5, AC120, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 +14 more
CHXSET3ACTIVITY-GRP, ACTIVITY, BUDGET-NBR, CHG-ORDER-NBR, FISCAL-YEAR, PERIOD, ACCT-CATEGORYKeyChangeAC21.1, AC21.2, AC21.3, AC21.4, AC21.5, BR22.1, BR422

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
AcacctcatACACCTCATRequiredCHX-ACCT-CATEGORYAAX-ACCT-CATEGORY
AcactivityACACTIVITYNot RequiredCHX-ACTIVITYACV-ACTIVITY
AcbudhdrACBUDHDRRequiredCHX-ACTIVITY-GRPBDH-ACTIVITY-GRP, CHX-ACTIVITYBDH-ACTIVITY, CHX-BUDGET-NBRBDH-BUDGET-NBR
AcchgorderACCHGORDERRequiredWhen CHX-BUDGET-NBR != ZeroesCHX-ACTIVITY-GRPCHO-ACTIVITY-GRP, CHX-ACTIVITYCHO-ACTIVITY, CHX-BUDGET-NBRCHO-BUDGET-NBR, CHX-CHG-ORDER-NBRCHO-CHG-ORDER-NBR
Acchgorder CntACCHGORDERRequiredWhen ACV-POSTING-FLAG = "C"CHX-ACTIVITY-GRPCHO-ACTIVITY-GRP, CHX-ACTIVITYCHO-ACTIVITY, CHX-BUDGET-NBRCHO-BUDGET-NBR, CHX-CHG-ORDER-NBRCHO-CHG-ORDER-NBR

One to many (1) — child tables

RelationTableRulesConditionField map
Acchgordx DtlACCHGORDXValid When ACV-POSTING-FLAG = "C"CHX-ACTIVITY-GRPCHX-ACTIVITY-GRP, CHX-ACTIVITY, CHX-BUDGET-NBR, CHX-CHG-ORDER-NBR, CHX-ACCT-CATEGORY, CHX-FISCAL-YEAR, CHX-PERIOD

Programs

Updated by (17)

Referenced by (5)