POPSPHIST – No description in the Lawson data dictionary

System
Purchase Order (PO)
Prefix
PH1
Primary key
COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, AOC-CODE, INVOICE
Fields
26
Updated by
35 programs
Referenced by
0 programs

POPSPHIST is a Lawson Purchase Order table (prefix PH1); no description in the lawson data dictionary. It is indexed by COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, AOC-CODE, INVOICE (PH1SET1); alternate indexes: PH1SET4. It is related 1:M to POAUDIT. It is updated by AP115, AP180, AP181, AP190, AP198, AP20.1, AP20.2, AP20.3 and 27 more. The table has 26 fields, 2 indexes and 1 documented relation.

About POPSPHIST

No description in the Lawson data dictionary.

Fields (26)

Column = COBOL field name without the PH1- 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 / columnTypeDescription & valuesUpdated by
#PH1-COMPANY PK
COMPANY
Numeric 4Identifies 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.AP198
#PH1-PO-NUMBER PK
PO_NUMBER
Alpha 14 (Right Justified)This field contains the number representing the purchase order.AP198
#PH1-PO-RELEASE PK
PO_RELEASE
Numeric 4Used to identify a purchase order release (created from a Blanket or Standing order).AP198
#PH1-PO-CODE PK
PO_CODE
Alpha 4This is the purchase order code.AP198
#PH1-AOC-CODE PK
AOC_CODE
Alpha 2This field contains the identifier for the add on cost associated with this line item.AP198
#PH1-INVOICE PK
INVOICE
Alpha 22Used to identify the invoice.AP115, AP198, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +20 more
#PH1-AOC-RATE
AOC_RATE
Percent 7.3 (Percent)Add On Cost Percentage Rate. If add on cost is spread by rate, this value times the line unit cost is the unit add on cost for the PO line.AP198
#PH1-ENT-AOC-AMOUNT
ENT_AOC_AMOUNT
Signed 18.2—AP198
#PH1-CALC-SPRD-AMT
CALC_SPRD_AMT
Signed 18.2—AP198
#PH1-SPREAD-DIFF
SPREAD_DIFF
Signed 18.2—AP198
#PH1-SPREAD-METHOD
SPREAD_METHOD
Alpha 1A method of spreading Add On Cost amounts across the Purchase Order line level.AP198
#PH1-TAX-CODE
TAX_CODE
Alpha 10This field contains a code representing specific tax information. This must be valid Tax Code.AP198
#PH1-DST-ACCT-UNIT
DST_ACCT_UNIT
Alpha 15The 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
#PH1-DST-ACCOUNT
DST_ACCOUNT
Numeric 6This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored.AP198
#PH1-DST-SUB-ACCT
DST_SUB_ACCT
Numeric 4This field contains the subaccount from your general ledger chart of accounts that was charged with the amount carried on this record.AP198
#PH1-TAXABLE-FLAG
TAXABLE_FLAG
Alpha 1Defines if Taxable.AP198
#PH1-ACCRUAL-FL
ACCRUAL_FL
Alpha 1—AP198
#PH1-TAX-AMOUNT
TAX_AMOUNT
Signed 18.5—AP198
#PH1-AOC-ON-PO
AOC_ON_PO
Alpha 1Indicates if the add-on cost is to appear on the Purchase Order document that is issued to the vendor.AP198
#PH1-SUMMARY-FLAG
SUMMARY_FLAG
Alpha 1Defines if add on cost is printed in summary or at a detail level on the Lawson Purchase Order document.AP198
#PH1-VENDOR SET4
VENDOR
Alpha 9 (Right Justified)The vendor's identification code.AP115, AP198, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +20 more
#PH1-PURCH-FR-LOC
PURCH_FR_LOC
Alpha 4The vendor's purchase from location.AP198
#PH1-SEGMENT-BLOCK
SEGMENT_BLOCK
Alpha 103This field identifies the user analysis values included in the transaction. You can either type up to four values or use Define (F6) to open the User Analysis Entry subform. Use this subform to select the user analysis values you want to include in the transaction. If you choose to type values, use commas to separate them. For example: value1,value2,value3,value4 There are three conditions that affect how you can select user analysis values. See the User Analysis Entry form help or the Strategic Ledger procedures manual for additional information.AP198
#PH1-ACTIVITY
ACTIVITY
Alpha 15Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity.AP198
#PH1-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in the Activity Management system. All transactions are posted to an account category within an activity. You can assign a specific General Ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using AC07.1 (Account Assignment). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing. Valid account category types are: cost revenue accrual pass thruAP198
#PH1-BILL-CATEGORY
BILL_CATEGORY
Alpha 32—AP198

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.

IndexKeysFlagsConditionUsed in
PH1SET1
  1. COMPANY
  2. PO-NUMBER
  3. PO-RELEASE
  4. PO-CODE
  5. AOC-CODE
  6. INVOICE
Primary—
PH1SET4
  1. COMPANY
  2. VENDOR
  3. INVOICE
  4. AOC-CODE
SubsetWhere INVOICE != SpacesAP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +22 more (list truncated in source)

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
POAUDITPOPSPHIST

One to many (1) — child tables

RelationTableRulesConditionField map
PoauditPOAUDIT
PH1-COMPANY→PAU-COMPANY
PH1-PO-NUMBER→PAU-PO-NUMBER
PH1-PO-RELEASE→PAU-PO-RELEASE
PH1-PO-CODE→PAU-PO-CODE
Zeroes→PAU-PO-LINE-NBR
PH1-AOC-CODE→PAU-AOC-CODE
—→PAU-LINE-SEQ
—→PAU-PO-REVISION
—→PAU-UPDATE-DATE
—→PAU-UPDATE-TIME
—→PAU-FLD-NBR
—→PAU-AUDIT-TYPE
—→PAU-AUDIT-ACTION

Programs

Updated by (35)