POAOCSPRD – Add On Cost Spread
- System
- Purchase Order (PO)
- Prefix
PSP- Primary key
COMPANY,PO-NUMBER,PO-RELEASE,PO-CODE,AOC-CODE,INVOICE- Fields
- 27
- Updated by
- 233 programs
- Referenced by
- 5 programs
POAOCSPRD is the Add On Cost Spread table in Lawson Purchase Order (prefix PSP). It is indexed by COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, AOC-CODE, INVOICE (PSPSET1); alternate indexes: PSPSET2, PSPSET3 and PSPSET4. It is related 1:1 to POAOCMAST and TXTAXCODE and 1:M to POAUDIT. It is updated by AP115, AP125, AP126, AP131, AP180, AP181, AP190, AP198 and 225 more and referenced by API5.1, MA26.1, MA540, POI7.1 and POIT.1. The table has 27 fields, 4 indexes and 3 documented relations.
About POAOCSPRD
This file is used internally to document the add on cost spread method used when entering or invoicing a Lawson Purchase Order.
Fields (27)
Column = COBOL field name without the PSP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PSP-COMPANY PKCOMPANY | Numeric 4 | The company number. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-PO-NUMBER PKPO_NUMBER | Alpha 14 (Right Justified) | This field contains the number representing the purchase order. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-PO-RELEASE PKPO_RELEASE | Numeric 4 | Used to identify a purchase order release (created from a Blanket or Standing order). | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-PO-CODE PKPO_CODE | Alpha 4 | This is the purchase order code. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-AOC-CODE PKAOC_CODE | Alpha 2 | This field contains the identifier for the add-on cost associated with this line item. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-INVOICE PKINVOICE | Alpha 22 | Used to identify the invoice. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-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 purchase order line. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-ENT-AOC-AMOUNTENT_AOC_AMOUNT | Signed 18.2 | The amount, which is to be spread by the defined method across the purchase order or invoice. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-CALC-SPRD-AMTCALC_SPRD_AMT | Signed 18.2 | This calculated amount is the accumulation of all add-on cost unit costs extended for the purchase order after using the spread feature. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +31 more |
PSP-SPREAD-DIFFSPREAD_DIFF | Signed 18.2 | The difference between the entered spread amount and the accumulated spread amount for the purchase order. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +31 more |
PSP-SPREAD-METHODSPREAD_METHOD | Alpha 1 | A method of spreading add-on cost amounts across the purchase order line level.
| AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-TAX-CODETAX_CODE | Alpha 10 | This field contains a code representing specific tax information. This must be valid Tax Code. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-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. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-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. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-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. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-TAXABLE-FLAGTAXABLE_FLAG | Alpha 1 | Defines if taxable.
| AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-ACCRUAL-FLACCRUAL_FL | Alpha 1 | —
| AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +25 more |
PSP-TAX-AMOUNTTAX_AMOUNT | Signed 18.5 | — | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +25 more |
PSP-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.
| AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-SUMMARY-FLAGSUMMARY_FLAG | Alpha 1 | Defines if the add-on cost is printed in summary or at a detail level on the purchase order.
| AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-VENDORVENDOR | Alpha 9 (Right Justified) | The vendor's identification code. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-PURCH-FR-LOCPURCH_FR_LOC | Alpha 4 | The vendor's purchase from location. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +30 more |
PSP-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. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +25 more |
PSP-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. | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +25 more |
PSP-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 | AP115, AP180, AP181, AP190, AP20.1, AP20.2, AP20.3, AP20.4 +25 more |
PSP-BILL-CATEGORYBILL_CATEGORY | Alpha 32 | — | AP115, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7, AP21.1 +19 more |
PSP-GLBL-DOC-TYPEGLBL_DOC_TYPE | Alpha 10 | — | — |
Indexes (4)
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 |
|---|---|---|---|---|
PSPSET1 | COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, AOC-CODE, INVOICE | Primary | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) | |
PSPSET2 | COMPANY, PO-NUMBER, PO-RELEASE, PO-CODE, AOC-CODE, INVOICE | Subset | Where INVOICE = Spaces | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) |
PSPSET3 | COMPANY, INVOICE, AOC-CODE, PO-NUMBER, PO-RELEASE, PO-CODE | Subset | Where INVOICE != Spaces | — |
PSPSET4 | COMPANY, VENDOR, INVOICE, AOC-CODE | KeyChange, Subset | Where INVOICE != Spaces | AP115, AP125, AP126, AP198, AP20.1, AP20.2, AP20.3, AP20.4 +22 more (list truncated in source) |
Relations
One to one (2) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Poaocmast | POAOCMAST | Required | PSP-COMPANY → PAM-COMPANY, PSP-AOC-CODE → PAM-AOC-CODE | |
| Txtaxcode | TXTAXCODE | Required | PSP-COMPANY → TAC-COMPANY, PSP-TAX-CODE → TAC-TAX-CODE |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Poaudit | POAUDIT | PSP-COMPANY → PAU-COMPANY, PSP-PO-NUMBER → PAU-PO-NUMBER, PSP-PO-RELEASE → PAU-PO-RELEASE, PSP-PO-CODE → PAU-PO-CODE, Zeroes → PAU-PO-LINE-NBR, PSP-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 (233)
- AP115 Vendor Merge
- AP125 Batch Release
- AP126 Mass Invoice Release
- AP131 Chargeback
- 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.1 Batch Control
- AP25.2 Batch Review
- AP26.1 Invoice Release
- 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
- AP510 Vendor Conversion
- API1.1 Add Invoice
- API2.1 Add Invoice
- API6.4 Invoke for POSAC70PD
- CX100 Pick List Print
- CX20.1 Case Build
- CX20.2 Case Detail
- CX20.4 Substitute Items
- CX20.5 Insert line
- CX220 Case, Preference Listing
- CX30.1 Case Completion Feedback
- CX300 Preference List Purge
- CX506 HL7 Schedules Import Interface
- CXCP.1 Copy preference to case
- DR100 Distribution Requirements Report
- IC12.1 Item Location
- IC140 Vendor Reorder Advice
- IC141 Location Replenishment Report
- IC142 Replenishment by Requisition PO's
- IC145 Stock Status Report
- IC243 Killed Item Report
- IC330 Item Mass Change
- IC64.1 Global Location Nbr Assignment GL/IC Company
- IC64.2 Global Location Nbr Assignment IC Location
- IC64.3 Global Location Number Assignment RQ Location
- IC64.4 Global Location Number Assignment Manuf Code
- IC64.5 Global Location Number Assignment Manuf Div
- IC64.6 Global Location Number Assignment Vendor
- IC64.7 Global Location Number Assignment Vendor Location
- IC64.8 Global Location Number Assignment IC Bin
- IC64.9 Global Location Number Assignment Buyer
- IC66.1 Replenishment PO Worksheet
- IC83.1 Par Location Counts
- MA180 Open Receipt Archive
- MA278 Cost Variance Analysis
- 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
- MA43.7 GL Distribution
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service
- MA53.1 Receipt Interface
- MA530 ERS Invoice Creation
- MA531 Receipt Interface
- MA60.2 Invoice Level Match
- MA60.3 Detail Level Match
- MA60.5 Receipt Match Reference Adjustment
- MA61.1 Match Invoice Approval
- MA66.2 Invoice Message - Details
- MA67.2 Invoice Match from frontend
- MA67.3 Detail Match from frontend
- MA68.2 Invoice Level Match - Prepaid
- MA68.3 Detail Level Match - Prepaid
- MA68.5 Receipt Match Reference Adjustment
- MA70.1 Invoice Unmatch
- MA75.1 PO Invoice Cancel
- MA80.1 Receipt Archive
- MAI1.1 Invoke for MAMATCH Object
- PD10.1 P-Card Card Request
- PD10.2 P-Card Cardholder
- PD130 P-Card Invoice and Release
- PD20.1 P-Card Charge Approval
- PD20.2 P-Card Charge Approval Level
- PD20.3 P-Card Charge Approval SEA
- PD570 P-Card Charge Import
- PO04.1 Buyer
- PO04.2 Buyer Purchasing Class
- PO10.1 PO Vendor
- PO10.2 Vendor Purchase From Location
- PO100 Purchase Order Interface from Lawson Applications
- PO101 Create Standing PO Release
- PO115 Procurement Template Mass Changes
- PO120 Mass PO Issue
- PO122 Transmitted PO Acknowledgement
- PO131 Receiving Log
- PO132 Print Vendor Return Material Authorization
- PO136 Matched, Not Received Report
- PO15.1 Procurement Templates
- PO15.2 Procurement Template Participants
- PO15.4 Procurement Template Line Detail
- PO150 Bid Load to Contract or Catalog
- PO17.1 Purchase Order Approval Review
- PO190 Close Purchase Order Header
- PO20.1 Purchase Order Entry
- PO20.6 Substitute Vendor Items
- PO20.9 Multiple Lines
- PO204 Buyer Master Listing
- PO21.1 Select and Copy
- PO21.2 Add-On Cost Spread
- PO21.3 Account Distribution
- PO21.4 Miscellaneous Add-On Cost
- PO21.5 Item Add-On Cost
- PO22.1 Authorization, Release
- PO22.3 Mass Cancel or Delete Purchase Orders
- PO22.4 Mass Cancel or Delete Purchase Order Lines
- PO220 PO Status Report
- PO222 Remaining PO Balance Report
- PO224 PO Revision Report
- PO225 Vendor Agreement Listing
- PO229 Vendor Agreement Format Print
- PO23.1 Purchase Order Worksheet
- PO230 Unreleased Receivings Listing
- PO234 PO Interface Listing Report
- PO24.1 Purchase Order Direct Approval
- PO25.1 Vendor Agreements
- PO25.5 Vendor Agreement Item Add-On Cost
- PO25.6 Vendor Agreement Line
- PO25.7 Service Agreement Line
- PO251 PO Buyer Message Listing
- PO26.3 Vendor Agreement Commitments Spread
- PO26.7 Mass Release of Vendor Agreements
- PO26.9 Vendor Agreement Release
- PO27.2 Select Blanket Lines
- PO27.3 Create PO From Procurement Template
- PO27.4 Select and Copy Template
- PO275 Delivery Date Analysis
- PO276 Deliver Quantity Analysis
- PO277 Deliver Quality Analysis
- PO28.2 Vendor Agreement Line Detail List
- PO280 Purchases By Class
- PO29.1 Copy Purchase Order
- PO30.1 PO Receiving
- PO30.2 Substitute Item
- PO30.3 Additional Tracking Numbers
- PO30.4 PO Receiving Line Detail List
- PO300 PO and Receipt Purge
- PO31.1 Vendor Return
- PO31.2 Vendor Return Item Selection
- PO32.2 Item Detail
- PO32.4 Cancel Detail
- PO33.1 Receiving Adjustment
- PO34.1 Inspection Accept or Reject
- PO35.1 Receiving Approval and Release
- PO36.1 Identify Lawson Items by Vendor Agreement Line
- PO36.2 Vendor Agreement Import Manual Input
- PO38.1 Invoice AOC
- PO39.1 Additional Receiving Entry
- PO39.2 Additional Adjustment/Rejection Entry
- PO44.1 PO Line Source
- PO50.1 Buyer Message Entry
- PO52.1 Buyer Message - Receiving
- PO520 Purchase Order Interface from Non Lawson
- PO536 Vendor Price Agreement Load
- PO54.5 PO Line Detail List
- POCP.1 POC Comments Copy
- POD0.1 Po Orphan Record Check
- POI3.1 Invoke for POPI70PD
- POID.1 PO Delivery Ticket Select
- POII.1 Invoke for POPCRUPD
- POIJ.1 Invoke for POPLIUPD
- RQ01.1 Requesting Locations
- RQ10.1 Requisition
- RQ10.2 Account Distribution
- RQ10.3 Select and Copy
- RQ10.4 Requisition Line Entry Detail
- RQ10.5 Substitutes
- RQ11.1 Kit Accessories
- RQ12.1 Approval Review
- RQ13.1 Direct Approval
- RQ13.2 Direct Line Approval
- RQ35.1 Requisition Returns
- RQ44.1 Requisition Inquiry
- RQ500 Requisition Interface
- RQ810 Request Location Load
- RQIB.1 RQRQHUPD Invoke Object
- RQIF.1 RQRLNUPD Invoke Object
- RQII.1 Invoke for Reqheader Inquiry
- RQIJ.1 Requisition Copy
- WH130 Pick List Print
- WH132 Batch Feedback
- WH190 Shipment Release
- WH20.2 Nonstock and Special Allocation
- WH20.7 Substitute Location
- WH222 Shipments In Process
- WH30.1 Picking Feedback by Document
- WH30.2 Picking Feedback by Shipment
- WH30.3 Picking by Batch
- WH30.4 Bin Sequence Picking Feedback
- WH31.1 Packing Feedback by Document
- WH31.2 Packing Feedback by Shipment
- WH31.3 Packing by Batch
- WH31.4 Bin Sequence Packing Feedback
- WH32.1 Shipping Feedback by Document
- WH32.2 Shipping Feedback by Shipment
- WH32.3 Shipping by Batch
- WH32.4 Bin Sequence Shipping Feedback
- WH32.5 Shipping Line Feedback
- WH33.1 Bins
- WH33.2 Lots
- WH33.3 Serials
- WH33.4 UOMs
- WH33.5 Additional Shipment Information
- WH33.6 Catch Weight
- WH33.8 Preassembled Kits
- WH33.9 Line Options
- WH34.1 Component Bins
- WH34.2 Component Lots
- WH34.3 Component Serials
- WH34.4 Component UOMs
- WH40.1 Bill of Lading
- WH40.2 Bill of Lading Feedback
- WH520 Batch Feedback Interface
- WH830 Shipment Load Program