ACPERCCMPL – Activity Percent Complete
- System
- Activity Management (AC)
- Prefix
PEC- Primary key
RECORD-TYPE,ACTIVITY,BUDGET-TYPE,DATE- Fields
- 13
- Updated by
- 9 programs
- Referenced by
- 31 programs
ACPERCCMPL is the Activity Percent Complete table in Lawson Activity Management (prefix PEC). It is indexed by RECORD-TYPE, ACTIVITY, BUDGET-TYPE, DATE (PECSET1); alternate indexes: PECSET2. It is related 1:M to ACPERCMPLX. It is updated by AC10.1, AC165, AC300, AC65.1, AC65.2, BR165, BR65.1, BR65.2 and 1 more and referenced by AC121, AC123, AC130, AC20.1, AC20.2, AC20.3, AC20.4, AC20.5 and 23 more. The table has 13 fields, 2 indexes and 1 documented relation.
About ACPERCCMPL
This file contains activity percent complete information from AC65.1 (Activity Percentage of Completion) and AC65.2 (Percent Complete by Account Category). It includes activity, budget number, total budget, date, cost-to-complete, as well as gross margin, and contract amount.
Fields (13)
Column = COBOL field name without the PEC- 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 |
|---|---|---|---|
#PEC-RECORD-TYPE PKRECORD_TYPE | Alpha 1 | This field identifies the type of record defined. Valid values are:
| AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-ACTIVITY PKACTIVITY | Alpha 15 | Required key. This is the activity for the percent complete information. | AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-DATE PKDATE | Numeric 8 (yyyymmdd) | Required key. This is the date as of which the percentage complete was calculated. | AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-BUDGET-NBRBUDGET_NBR | Numeric 3 | This is the budget number for the percent complete information. | AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-GROUPGROUP | Alpha 15 | If you are using the Percent Complete method of revenue recognition, you can use an account category group to determine the account categories used to calculate total cost-to-date and total budget. | AC165, AC65.1, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-PERC-COMPLETEPERC_COMPLETE | Signed 7.3 | This is the percentage of completion for the activity. | AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-BASE-NDBASE_ND | Numeric 1 | This is the number of decimal positions defined for the activity group base currency. | AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-TOTAL-BUDGETTOTAL_BUDGET | Signed 18.2 | This is the total budget for the activity. | AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-COST-TO-DATECOST_TO_DATE | Signed 18.2 | This is the cost to date for the activity. | AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-COST-TO-CMPLTCOST_TO_CMPLT | Signed 18.2 | This is the cost to complete for the activity, or the cost remaining to expend the total budget. | AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
#PEC-GROSS-MARGINGROSS_MARGIN | Signed 7.3 | This is the gross margin for the activity. Gross margin is calculated as follows: Budgeted Costs
| BR165, BR65.1, BR65.2, BR65.3 |
#PEC-CONTRACT-AMTCONTRACT_AMT | Signed 18.2 | This is the contract amount for the activity. | BR65.1, BR65.2 |
#PEC-BUDGET-TYPE PKBUDGET_TYPE | Alpha 1 | This field indicates the budget type: Amount or Units.
| AC165, AC65.1, AC65.2, BR165, BR65.1, BR65.2, BR65.3 |
Indexes (2)
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 |
|---|---|---|---|---|
PECSET1 |
| Primary | AC10.1, AC121, AC123, AC130, AC165, AC20.1, AC20.2, AC20.3 +22 more (list truncated in source) | |
PECSET2 |
| AC300 |
Relations
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acpercmplx | ACPERCMPLX |
|
Programs
Updated by (9)
- AC10.1 Activity
- AC165 Percent Complete Calculation
- AC300 Activity Group Purge
- AC65.1 Activity Percentage of Completion
- AC65.2 Percent Complete by Account Category
- BR165 Percent Complete Calculation
- BR65.1 Percent Complete by Contract
- BR65.2 Percent Complete by Activity
- BR65.3 Percent Complete by Account Category
Referenced by (31)
- AC121 Budget Calculation
- AC123 Budget Copy
- AC130 Allocation Calculation
- 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
- AC265 Percent Complete Report
- AC32.1 Allocation Pool
- AC37.1 Allocation Group
- AC490 Activity Reconciliation
- BR02.3 Retainer Invoice Entry
- BR120 Invoice Calculation
- BR121 Invoice Print and Interface
- BR122 Online batch invoice process
- BR123 Product Invoice Cancel
- BR130 Revenue Calculation
- BR140 Billing and Revenue Backout
- BR151 Product Invoicing
- BR152 Maintenance Invoicing
- BR156 Maintenance Quote
- BR20.1 Invoice Edit Contract
- BR20.2 Invoice Edit Line
- BR20.3 Invoice Edit Activity
- BR20.4 Invoice Edit Activity and Account Category
- BR20.5 Invoice Edit Transaction
- BR265 Percent of Completion Report
- BR420 Billing Invoice Report
- BR521 Billing Import
- BR530 Revenue Import