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.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PH1-COMPANY PKCOMPANY | Numeric 4 | Identifies 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 PKPO_NUMBER | Alpha 14 (Right Justified) | This field contains the number representing the purchase order. | AP198 |
PH1-PO-RELEASE PKPO_RELEASE | Numeric 4 | Used to identify a purchase order release (created from a Blanket or Standing order). | AP198 |
PH1-PO-CODE PKPO_CODE | Alpha 4 | This is the purchase order code. | AP198 |
PH1-AOC-CODE PKAOC_CODE | Alpha 2 | This field contains the identifier for the add on cost associated with this line item. | AP198 |
PH1-INVOICE PKINVOICE | Alpha 22 | Used to identify the invoice. | AP115, AP198, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +20 more |
PH1-AOC-RATEAOC_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-AMOUNTENT_AOC_AMOUNT | Signed 18.2 | — | AP198 |
PH1-CALC-SPRD-AMTCALC_SPRD_AMT | Signed 18.2 | — | AP198 |
PH1-SPREAD-DIFFSPREAD_DIFF | Signed 18.2 | — | AP198 |
PH1-SPREAD-METHODSPREAD_METHOD | Alpha 1 | A method of spreading Add On Cost amounts across the Purchase Order line level. | AP198 |
PH1-TAX-CODETAX_CODE | Alpha 10 | This field contains a code representing specific tax information. This must be valid Tax Code. | AP198 |
PH1-DST-ACCT-UNITDST_ACCT_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 |
PH1-DST-ACCOUNTDST_ACCOUNT | Numeric 6 | This 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-ACCTDST_SUB_ACCT | Numeric 4 | This field contains the subaccount from your general ledger chart of accounts that was charged with the amount carried on this record. | AP198 |
PH1-TAXABLE-FLAGTAXABLE_FLAG | Alpha 1 | Defines if Taxable. | AP198 |
PH1-ACCRUAL-FLACCRUAL_FL | Alpha 1 | — | AP198 |
PH1-TAX-AMOUNTTAX_AMOUNT | Signed 18.5 | — | AP198 |
PH1-AOC-ON-POAOC_ON_PO | Alpha 1 | Indicates if the add-on cost is to appear on the Purchase Order document that is issued to the vendor. | AP198 |
PH1-SUMMARY-FLAGSUMMARY_FLAG | Alpha 1 | Defines if add on cost is printed in summary or at a detail level on the Lawson Purchase Order document. | AP198 |
PH1-VENDORVENDOR | 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-LOCPURCH_FR_LOC | Alpha 4 | The vendor's purchase from location. | AP198 |
PH1-SEGMENT-BLOCKSEGMENT_BLOCK | Alpha 103 | This 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-ACTIVITYACTIVITY | Alpha 15 | Activities 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-CATEGORYACCT_CATEGORY | Alpha 5 | Account 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 thru | AP198 |
PH1-BILL-CATEGORYBILL_CATEGORY | Alpha 32 | — | AP198 |
Indexes (2)
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 |
|---|---|---|---|---|
PH1SET1 | COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, AOC-CODE, INVOICE | Primary | — | |
PH1SET4 | COMPANY, VENDOR, INVOICE, AOC-CODE | Subset | Where INVOICE != Spaces | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +22 more (list truncated in source) |
Relations
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Poaudit | POAUDIT | 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)
- AP115 Vendor Merge
- AP180 Bill of Exchange Cashing Update
- AP181 Bill of Exchange Statement Update
- AP190 Invoice Reinstatement
- AP198 Invoice Data Archival
- AP20.1 Basic Invoice
- AP20.2 Taxed Invoice
- AP20.3 Detail Invoice
- AP20.4 Invoice Line Detail
- AP20.5 Multiple Invoice
- AP20.7 Distributions
- AP21.1 View Distributions
- AP220 Invoice Edit Report
- AP23.1 Transit Invoice Entry
- AP25.2 Batch Review
- AP27.1 Single Invoice Release
- AP28.1 Bill of Exchange Acceptance by Vendor
- AP28.2 Bill of Exchange Acceptance by Date
- AP30.4 Invoice Cancel
- AP300 Invoice and Vendor History Purge
- AP305 Accounts Payable Company Purge
- AP45.1 Reportable Income Adjustment
- API1.1 Add Invoice
- API2.1 Add Invoice
- API6.4 Invoke for POSAC70PD
- MA41.1 Add-On Cost Detail - Purchase Order
- MA41.2 Add On Cost Lookup
- MA41.4 Miscellaneous Add-On Cost
- MA41.7 AOC Approval Entry
- MA42.2 Memo Line AOC Detail
- MA43.2 Purchase Order Lookup
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service
- MA70.1 Invoice Unmatch
- MA75.1 PO Invoice Cancel