APAPSHIST – No description in the Lawson data dictionary
- System
- Accounts Payable (AP)
- Prefix
AH4- Primary key
API-OBJ-ID,DIST-SEQ-NBR- Fields
- 26
- Updated by
- 9 programs
- Referenced by
- 0 programs
APAPSHIST is a Lawson Accounts Payable table (prefix AH4); no description in the lawson data dictionary. It is indexed by API-OBJ-ID, DIST-SEQ-NBR (AH4SET1). It is updated by AP180, AP181, AP190, AP198, AP28.1, AP28.2, AP300, AP305 and 1 more. The table has 26 fields, 1 index and 0 documented relations.
About APAPSHIST
No description in the Lawson data dictionary.
Fields (26)
Column = COBOL field name without the AH4- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
AH4-API-OBJ-ID PKAPI_OBJ_ID | Numeric 12 | This is the object identifier. It is used to relate commitments or posted transactions back to the originating subsystems. Each subsystem record that is updated as a commitment or posted transaction is assigned an object identifier. The object identifier is maintained in the subsystem files and in the Activity Commitments Detail and Activity Transaction files. The object identifier is a unique key used to drill back from Activity Management to the subsystems. | AP198 |
AH4-DIST-SEQ-NBR PKDIST_SEQ_NBR | Numeric 6 | A unique sequence number. | AP198 |
AH4-ASSET-DESCASSET_DESC | Alpha 30 (Lower Case) | This field displays the description. | AP198 |
AH4-TAG-NBRTAG_NBR | Alpha 12 | The tag is a user definable identifier assigned to an asset. | AP198 |
AH4-ITEM-NBRITEM_NBR | Alpha 32 | This field contains the item identifier. | AP198 |
AH4-INSRV-DATEINSRV_DATE | Numeric 8 (yyyymmdd) | The book in-service date for the asset. Note: The in-service date can be different for each depreciation book used. | AP198 |
AH4-PURCHASE-DATEPURCHASE_DATE | Numeric 8 (yyyymmdd) | The date the asset was purchased. This purchased date can be different from the in-service dates for the depreciation books used. | AP198 |
AH4-MODEL-NUMBERMODEL_NUMBER | Alpha 30 | — | AP198 |
AH4-SERIAL-NUMBERSERIAL_NUMBER | Alpha 30 | This optional field is used for the serial number of the asset. | AP198 |
AH4-HOLD-AMHOLD_AM | Alpha 1 | — | AP198 |
AH4-COMBINECOMBINE | Alpha 10 | — | AP198 |
AH4-ITEM-DESCITEM_DESC | Alpha 30 | This field contains the description for stock and non-stock items. | AP198 |
AH4-ITEM-QUANTITYITEM_QUANTITY | Numeric 8 | The number of units that make up the asset item. Each unit of an item is exactly the same as every other unit of the item. | AP198 |
AH4-ITEM-TAX-TRANITEM_TAX_TRAN | Signed 18.2 | — | AP198 |
AH4-ITEM-TAX-BASEITEM_TAX_BASE | Signed 18.2 | — | AP198 |
AH4-ASSET-GROUPASSET_GROUP | Alpha 10 | — | AP198 |
AH4-ACCT-UNITACCT_UNIT | Alpha 15 | The accounting unit is a shorthand notation representing the variable level number. When used in the General Ledger Account Master file, the accounting unit must be defined in the General Ledger Names file as a posting accounting unit. | AP198 |
AH4-ASSET-TEMPLATEASSET_TEMPLATE | Alpha 10 | A user-defined asset template identifies general asset creation parameters that you can use to quickly add assets with minimal keying. Using a template lets you default many data items associated with a new asset. You can use an asset template to process quick asset additions in AM20.1 (Quick Addition) and to create assets and asset books from Accounts Payable and Activity Management interface information. Asset templates are required if you define new assets as a result of transactions interfaced from the Lawson Purchase Order or Accounts Payable systems. | AP198 |
AH4-ASSETASSET | Numeric 10 | The asset number contains up to ten numeric characters that uniquely identify an asset. Assets are automatically numbered system-wide. | AP198 |
AH4-LOCATION-NAMELOCATION_NAME | Alpha 15 | A user-defined location name which represents where an asset is physically located. Locations are used to report asset information. | AP198 |
AH4-DIVISIONDIVISION | Alpha 15 | A user-defined division which is used for reporting assets. | AP198 |
AH4-AU-GROUPAU_GROUP | Alpha 10 | Accounting unit groups group and identify the accounting units to use when you create journal entries for adding, adjusting, transferring, or disposing of assets. Changes to accounting unit groups are dynamic, affecting all assets using the accounting unit group. Accounting unit group names are user-definable, and accounting unit groups are set up by company. | AP198 |
AH4-BAR-CODEBAR_CODE | Alpha 30 | — | — |
AH4-ITEM-LOC-DTLITEM_LOC_DTL | Alpha 14 | — | — |
AH4-AP-DISTRIB-FLAP_DISTRIB_FL | Alpha 1 | — | — |
AH4-LAND-COST-FLLAND_COST_FL | Alpha 1 | — | — |
Indexes (1)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
AH4SET1 | API-OBJ-ID, DIST-SEQ-NBR | Primary | AP180, AP181, AP190, AP28.1, AP28.2, AP300, AP305, AP45.1 |
Programs
Updated by (9)
- AP180 Bill of Exchange Cashing Update
- AP181 Bill of Exchange Statement Update
- AP190 Invoice Reinstatement
- AP198 Invoice Data Archival
- AP28.1 Bill of Exchange Acceptance by Vendor
- AP28.2 Bill of Exchange Acceptance by Date
- AP300 Invoice and Vendor History Purge
- AP305 Accounts Payable Company Purge
- AP45.1 Reportable Income Adjustment