PORETURNHD – PO Return Header
- System
- Purchase Order (PO)
- Prefix
PTH- Primary key
COMPANY,RETURN-NUMBER- Fields
- 85
- Updated by
- 221 programs
- Referenced by
- 17 programs
PORETURNHD is the PO Return Header table in Lawson Purchase Order (prefix PTH). It is indexed by COMPANY, RETURN-NUMBER (PTHSET1); alternate indexes: PTHSET2 and PTHSET3. It is related 1:1 to POAOCMAST, APCOMPANY, APVENMAST, POCOMPANY, PTHBOD, APVENLOC, REASON and ICLOCATION and 1:M to POLINE and PORETURNLN. It is updated by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 213 more and referenced by IC11.1, IC130, IC216, IC282, MM280, MM80.1, MM80.2, PO01.1 and 9 more. The table has 85 fields, 3 indexes and 11 documented relations.
About PORETURNHD
No description in the Lawson data dictionary.
Fields (85)
Column = COBOL field name without the PTH- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PTH-COMPANY PKCOMPANY | Numeric 4 | The company number. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RETURN-NUMBER PKRETURN_NUMBER | Numeric 10 | This is the number assigned to the return for purposes of referencing the return internally and with the customer or vendor. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-REFERENCE-NOREFERENCE_NO | Alpha 25 (Right Justified) | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RETURN-FRM-LOCRETURN_FRM_LOC | Alpha 5 | This field contains a valid stocking location within the company inventory. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-USER-IDUSER_ID | Alpha 10 (Lower Case) | This is the user ID of the person who created the return. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CREATION-DATECREATION_DATE | Numeric 8 (yyyymmdd) | This is the date the return was created. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-REASON-CODEREASON_CODE | Alpha 4 | This field is the code that indicates the reason the return was created. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-VENDORVENDOR | Alpha 9 (Right Justified) | The vendor's identification code. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-PURCH-FR-LOCPURCH_FR_LOC | Alpha 4 | This is the address of the vendor location the goods are being returned to, if it is different than the main vendor address. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-AUTHORIZE-DATEAUTHORIZE_DATE | Numeric 8 (yyyymmdd) | This is the date the return was authorized by the vendor. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RMA-NUMBERRMA_NUMBER | Alpha 64 | This is the number of the RMA (Return Material Authorization) given by the vendor. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RMA-PRINTED-FLRMA_PRINTED_FL | Alpha 1 | —
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CURRENCY-CODECURRENCY_CODE | Alpha 5 | The base currency defined for the company in the General Ledger system. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CONTACTCONTACT | Alpha 20 | This is the name of the main contact. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-PHONE-PREFIXPHONE_PREFIX | Alpha 6 | The telephone number country code. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-PHONE-NUMPHONE_NUM | Alpha 15 | Phone number. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-PHONE-EXTPHONE_EXT | Alpha 5 | This field contains the telephone extension number. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-DROPSHIP-FLDROPSHIP_FL | Alpha 1 | This flag indicates whether goods being shipped by the vendor directly to a non standard location need to have the receiving process performed.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-NAMESH_NAME | Alpha 30 (Lower Case) | This is the ship-to name for a non-standard ship-to address. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-ADDR1SH_ADDR1 | Alpha 30 (Lower Case) | This is the ship-to address line one. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-ADDR2SH_ADDR2 | Alpha 30 (Lower Case) | This is the ship-to address line two. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-ADDR3SH_ADDR3 | Alpha 30 (Lower Case) | This is the ship-to address line three. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-ADDR4SH_ADDR4 | Alpha 30 (Lower Case) | This is the ship-to address line four. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-CITY-ADDR5SH_CITY_ADDR5 | Alpha 18 (Lower Case) | This is the ship-to city or the ship-to address line five. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-STATE-PROVSH_STATE_PROV | Alpha 2 | This is the ship-to state or the ship-to province. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-COUNTYSH_COUNTY | Alpha 25 (Lower Case) | The county for the company address. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-POST-CODESH_POST_CODE | Alpha 10 (Lower Case) | This is the ship-to mail code. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SH-COUNTRYSH_COUNTRY | Alpha 30 (Lower Case) | This is the ship-to country. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-ORIG-FRT-CR-AMORIG_FRT_CR_AM | Signed 18.2 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-ORIG-FRT-CR-AUORIG_FRT_CR_AU | 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. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-ORIG-FRT-CR-ACORIG_FRT_CR_AC | Numeric 6 | This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-ORIG-FRT-CR-SAORIG_FRT_CR_SA | Numeric 4 | This is the subaccount that freight credit will be applied against. This may default from the return location. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-ORIG-FRT-ACTVORIG_FRT_ACTV | 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. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-ORIG-FRT-ACCATORIG_FRT_ACCAT | 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 | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RTV-FRT-CR-AMRTV_FRT_CR_AM | Signed 18.2 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RTV-FRT-CR-AURTV_FRT_CR_AU | 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. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RTV-FRT-CR-ACTRTV_FRT_CR_ACT | Numeric 6 | This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RTV-FRT-CR-SARTV_FRT_CR_SA | Numeric 4 | This is the subaccount that freight credit will be applied against. This may default from the return location. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RTV-FRT-ACTVRTV_FRT_ACTV | 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. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RTV-FRT-ACCATRTV_FRT_ACCAT | 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 | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-HANDLING-AMHANDLING_AM | Signed 18.2 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-HANDLING-AUHANDLING_AU | 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. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-HANDLING-ACHANDLING_AC | Numeric 6 | This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-HANDLING-SAHANDLING_SA | Numeric 4 | This is the subaccount that handling charges will be applied against. This may default from the return location. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-HANDLING-ACTVHANDLING_ACTV | 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. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-HANDLING-ACCATHANDLING_ACCAT | 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 | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-REPL-FRT-AMREPL_FRT_AM | Signed 18.2 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-AOC-CODEAOC_CODE | Alpha 2 | This field contains the identifier for the add-on cost associated with this line item. This is the add-on cost code that will be carried on the replacement purchase order created from the return. It will be carried as a miscellaneous add-on cost. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-VEN-CLAIM-TYPEVEN_CLAIM_TYPE | Alpha 2 | —
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-REPLACE-GOODSREPLACE_GOODS | Alpha 1 | —
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-SHIP-OR-HOLDSHIP_OR_HOLD | Alpha 1 | —
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RET-PO-NUMBERRET_PO_NUMBER | Alpha 14 (Right Justified) | This is the purchase order number attached to the return purchase order created to replace return goods. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RET-PO-CODERET_PO_CODE | Alpha 4 | This is the PO code that will be used on the return purchase order created from a vendor return. It can be entered when the return is created, or defaulted from PO code defaults. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RET-PO-BUYERRET_PO_BUYER | Alpha 3 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-PROCESS-LEVELPROCESS_LEVEL | Alpha 5 | This field indicates the process level to be used if a debit memo is created. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-IVEND-SHIP-VIAIVEND_SHIP_VIA | Alpha 12 (Lower Case) | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-VEND-REQ-DATEVEND_REQ_DATE | Numeric 8 (yyyymmdd) | This is the date a replacement shipment is required to be received. This date will be used for the early delivery date on the replacement purchase order. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-OVEND-SHIP-VIAOVEND_SHIP_VIA | Alpha 12 (Lower Case) | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CARRIERCARRIER | Alpha 9 (Right Justified) | The vendor's identification code. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-OVEND-SHP-DATEOVEND_SHP_DATE | Numeric 8 (yyyymmdd) | This field displays the system date when this was created. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-OVEND-SHP-TIMEOVEND_SHP_TIME | Numeric 6 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-OVEND-BOLOVEND_BOL | Alpha 10 | The is the bill of lading number assigned to the vendor return shipment. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-OVEND-USER-IDOVEND_USER_ID | Alpha 10 | This is the user ID of the person returning the goods to the vendor. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-RETURN-VALUERETURN_VALUE | Signed 18.2 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CREDIT-RECVDCREDIT_RECVD | Signed 18.2 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CREDIT-CL-FLCREDIT_CL_FL | Alpha 1 | —
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-REPL-CL-FLREPL_CL_FL | Alpha 1 | —
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-LAST-LINE-NBRLAST_LINE_NBR | Numeric 6 | This is the number of the last line item added to the return. It is used to determine the number when the next line is added to the return. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CANCEL-OPTIONSCANCEL_OPTIONS | Alpha 1 | This option indicates at header or line level, whether both a return and return purchase order should be canceled, or just one or the other. If a cancel option is chosen at line level, a cancel quantity must also be entered. Once a cancel option is set, it cannot be changed or undone. N
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CANCEL-USERIDCANCEL_USERID | Alpha 10 | This is the user ID of the person who performed a cancel action at whole return level. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CLOSE-DATECLOSE_DATE | Numeric 8 (yyyymmdd) | This is the date the return was closed. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-STATUSSTATUS | Numeric 1 | This is the status of the return.
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-JRNL-BOOK-NBRJRNL_BOOK_NBR | Alpha 12 | The journal book assigned to the transaction. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-FOB-CODEFOB_CODE | Alpha 3 | The user defined Free On Board Code. | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-LOADING-PORTLOADING_PORT | Alpha 5 | The port where the goods are loaded, if required. The port code must be defined in IN04.1 (Port Maintenance) | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-NOTCNOTC | Alpha 2 | The Nature of Transaction code. Must be a valid code defined in IN07.1 (NOTC Maintenance). | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-STAT-PROCSTAT_PROC | Alpha 6 | The statistical procedure code applied to the data. The code must be defined in IN06.1. (Statistical Procedure Maintenance). | — |
PTH-DEST-REGIONDEST_REGION | Alpha 2 | The region of the country to which the goods were shipped, if required. Must be a valid region in IN02.1 (Region Maintenance) | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-VR-CXL-UPD-SOHVR_CXL_UPD_SOH | Numeric 1 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-CREATED-BYCREATED_BY | Alpha 10 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-LAST-UPDT-DATELAST_UPDT_DATE | Numeric 8 (yyyymmdd) | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-LAST-UPDT-TIMELAST_UPDT_TIME | Numeric 8 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-LAST-UPDATE-BYLAST_UPDATE_BY | Alpha 10 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-GLBL-DOC-TYPEGLBL_DOC_TYPE | Alpha 10 | — | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
PTH-TEMP-HOLDTEMP_HOLD | Alpha 1 | —
| AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source) |
Indexes (3)
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 |
|---|---|---|---|---|
PTHSET1 | COMPANY, RETURN-NUMBER* | Primary | AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source) | |
PTHSET2 | COMPANY, VENDOR, CREATION-DATE*, RETURN-NUMBER | PO231, PO300, POD0.1 | ||
PTHSET3 | COMPANY, REFERENCE-NO, RETURN-NUMBER | Subset | Where REFERENCE-NO != Spaces | — |
Relations
One to one (9) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Aoc Code | POAOCMAST | Required | PTH-COMPANY → PAM-COMPANY (PAMSET1), PTH-AOC-CODE → PAM-AOC-CODE | |
| Apcompany | APCOMPANY | Required | PTH-COMPANY → CPY-COMPANY | |
| Carrier Vendr | APVENMAST | Required | When PTH-CARRIER != Spaces | CPY-VENDOR-GROUP → VEN-VENDOR-GROUP, PTH-CARRIER → VEN-VENDOR |
| Pocompany | POCOMPANY | Required | PTH-COMPANY → PCY-COMPANY | |
| Pthbod | PTHBOD | Not Required, Delete Cascades | PTH-COMPANY → PBF-COMPANY, PTH-RETURN-NUMBER → PBF-RETURN-NUMBER | |
| Purchase From | APVENLOC | Required | When PTH-PURCH-FR-LOC != Spaces | CPY-VENDOR-GROUP → VLO-VENDOR-GROUP, PTH-VENDOR → VLO-VENDOR, PTH-PURCH-FR-LOC → VLO-LOCATION-CODE |
| Reason Code | REASON | Required | PTH-COMPANY → REA-COMPANY, PTH-REASON-CODE → REA-REASON-CODE | |
| Return Frm Loc | ICLOCATION | Required | PTH-COMPANY → ICL-COMPANY, PTH-RETURN-FRM-LOC → ICL-LOCATION | |
| Vendor | APVENMAST | Required | CPY-VENDOR-GROUP → VEN-VENDOR-GROUP, PTH-VENDOR → VEN-VENDOR |
One to many (2) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Replcmnt Po Ln | POLINE | Valid When PTH-RET-PO-NUMBER != Spaces | PTH-COMPANY → PLI-COMPANY, PTH-RET-PO-NUMBER → PLI-PO-NUMBER, Zeroes → PLI-PO-RELEASE, PTH-RET-PO-CODE → PLI-PO-CODE, → PLI-LINE-NBR | |
| Returnline | PORETURNLN | Delete Cascades | PTH-COMPANY → PTL-COMPANY, PTH-RETURN-NUMBER → PTL-RETURN-NUMBER, → PTL-RET-LINE-NBR |
Programs
Updated by (221)
- AP125 Batch Release
- AP126 Mass Invoice Release
- AP131 Chargeback
- 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
- AP23.1 Transit Invoice Entry
- AP25.1 Batch Control
- AP25.2 Batch Review
- AP26.1 Invoice Release
- AP27.1 Single Invoice Release
- AP30.4 Invoice Cancel
- AP510 Vendor Conversion
- API1.1 Add Invoice
- API2.1 Add Invoice
- 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
Referenced by (17)
- IC11.1 Item Master
- IC130 General Ledger Interface
- IC216 Open Transaction Report
- IC282 Requesting Location Usage
- MM280 Departmental Procurement Expense Report
- MM80.1 Departmental Procurement Expense Inquiry Selection
- MM80.2 Departmental Procurement Expense Inquiry Detail
- PO01.1 PO Company Setup
- PO231 Return Status Report
- PO274 Returns Analysis
- PO64.1 PO Line Item History
- PO81.1 Vendor Return Inquiry
- POBD.1 Po Bod Maintenance
- POBD.2 PO BOD Inquiry
- POED.1 PO Edits
- POI4.1 PODOCREF Invoked Oject
- POI6.1 Assign Doc Number Oject