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 / columnTypeDescription & valuesUpdated by
PTH-COMPANY PK
COMPANY
Numeric 4The company number.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-RETURN-NUMBER PK
RETURN_NUMBER
Numeric 10This 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-NO
REFERENCE_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-LOC
RETURN_FRM_LOC
Alpha 5This 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-ID
USER_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-DATE
CREATION_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-CODE
REASON_CODE
Alpha 4This 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-VENDOR
VENDOR
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-LOC
PURCH_FR_LOC
Alpha 4This 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-DATE
AUTHORIZE_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-NUMBER
RMA_NUMBER
Alpha 64This 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-FL
RMA_PRINTED_FL
Alpha 1
  • N No
  • Y Yes
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-CURRENCY-CODE
CURRENCY_CODE
Alpha 5The 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-CONTACT
CONTACT
Alpha 20This 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-PREFIX
PHONE_PREFIX
Alpha 6The 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-NUM
PHONE_NUM
Alpha 15Phone number.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-PHONE-EXT
PHONE_EXT
Alpha 5This 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-FL
DROPSHIP_FL
Alpha 1This flag indicates whether goods being shipped by the vendor directly to a non standard location need to have the receiving process performed.
  • N Not Drop Shipped
  • Y Drop Shipped
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-SH-NAME
SH_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-ADDR1
SH_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-ADDR2
SH_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-ADDR3
SH_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-ADDR4
SH_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-ADDR5
SH_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-PROV
SH_STATE_PROV
Alpha 2This 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-COUNTY
SH_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-CODE
SH_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-COUNTRY
SH_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-AM
ORIG_FRT_CR_AM
Signed 18.2AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-ORIG-FRT-CR-AU
ORIG_FRT_CR_AU
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.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-ORIG-FRT-CR-AC
ORIG_FRT_CR_AC
Numeric 6This 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-SA
ORIG_FRT_CR_SA
Numeric 4This 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-ACTV
ORIG_FRT_ACTV
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.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-ORIG-FRT-ACCAT
ORIG_FRT_ACCAT
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 thruAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-RTV-FRT-CR-AM
RTV_FRT_CR_AM
Signed 18.2AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-RTV-FRT-CR-AU
RTV_FRT_CR_AU
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.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-RTV-FRT-CR-ACT
RTV_FRT_CR_ACT
Numeric 6This 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-SA
RTV_FRT_CR_SA
Numeric 4This 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-ACTV
RTV_FRT_ACTV
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.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-RTV-FRT-ACCAT
RTV_FRT_ACCAT
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 thruAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-HANDLING-AM
HANDLING_AM
Signed 18.2AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-HANDLING-AU
HANDLING_AU
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.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-HANDLING-AC
HANDLING_AC
Numeric 6This 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-SA
HANDLING_SA
Numeric 4This 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-ACTV
HANDLING_ACTV
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.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-HANDLING-ACCAT
HANDLING_ACCAT
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 thruAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-REPL-FRT-AM
REPL_FRT_AM
Signed 18.2AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-AOC-CODE
AOC_CODE
Alpha 2This 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-TYPE
VEN_CLAIM_TYPE
Alpha 2
  • CB Chargeback
  • CM Credit Memo
  • NC No Charge
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-REPLACE-GOODS
REPLACE_GOODS
Alpha 1
  • Y Yes
  • N No
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-SHIP-OR-HOLD
SHIP_OR_HOLD
Alpha 1
  • S Ship
  • H Hold
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-RET-PO-NUMBER
RET_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-CODE
RET_PO_CODE
Alpha 4This 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-BUYER
RET_PO_BUYER
Alpha 3AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-PROCESS-LEVEL
PROCESS_LEVEL
Alpha 5This 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-VIA
IVEND_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-DATE
VEND_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-VIA
OVEND_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-CARRIER
CARRIER
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-DATE
OVEND_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-TIME
OVEND_SHP_TIME
Numeric 6AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-OVEND-BOL
OVEND_BOL
Alpha 10The 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-ID
OVEND_USER_ID
Alpha 10This 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-VALUE
RETURN_VALUE
Signed 18.2AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-CREDIT-RECVD
CREDIT_RECVD
Signed 18.2AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-CREDIT-CL-FL
CREDIT_CL_FL
Alpha 1
  • N No
  • Y Yes
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-REPL-CL-FL
REPL_CL_FL
Alpha 1
  • N No
  • Y Yes
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-LAST-LINE-NBR
LAST_LINE_NBR
Numeric 6This 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-OPTIONS
CANCEL_OPTIONS
Alpha 1This 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
  • Y Canceled
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-CANCEL-USERID
CANCEL_USERID
Alpha 10This 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-DATE
CLOSE_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-STATUS
STATUS
Numeric 1This is the status of the return.
  • 0 Added
  • 1 Authorized By Vendor
  • 2 Waiting For Vendor Action
  • 9 Closed
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-JRNL-BOOK-NBR
JRNL_BOOK_NBR
Alpha 12The 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-CODE
FOB_CODE
Alpha 3The 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-PORT
LOADING_PORT
Alpha 5The 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-NOTC
NOTC
Alpha 2The 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-PROC
STAT_PROC
Alpha 6The statistical procedure code applied to the data. The code must be defined in IN06.1. (Statistical Procedure Maintenance).
PTH-DEST-REGION
DEST_REGION
Alpha 2The 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-SOH
VR_CXL_UPD_SOH
Numeric 1AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-CREATED-BY
CREATED_BY
Alpha 10AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-LAST-UPDT-DATE
LAST_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-TIME
LAST_UPDT_TIME
Numeric 8AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-LAST-UPDATE-BY
LAST_UPDATE_BY
Alpha 10AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-GLBL-DOC-TYPE
GLBL_DOC_TYPE
Alpha 10AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
PTH-TEMP-HOLD
TEMP_HOLD
Alpha 1
  • S Sent for Approval
  • A Approved by Engine
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.

IndexKeysFlagsConditionUsed in
PTHSET1COMPANY, RETURN-NUMBER*PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
PTHSET2COMPANY, VENDOR, CREATION-DATE*, RETURN-NUMBERPO231, PO300, POD0.1
PTHSET3COMPANY, REFERENCE-NO, RETURN-NUMBERSubsetWhere REFERENCE-NO != Spaces

Relations

One to one (9) — lookups and parents

RelationTableRulesConditionField map
Aoc CodePOAOCMASTRequiredPTH-COMPANYPAM-COMPANY (PAMSET1), PTH-AOC-CODEPAM-AOC-CODE
ApcompanyAPCOMPANYRequiredPTH-COMPANYCPY-COMPANY
Carrier VendrAPVENMASTRequiredWhen PTH-CARRIER != SpacesCPY-VENDOR-GROUPVEN-VENDOR-GROUP, PTH-CARRIERVEN-VENDOR
PocompanyPOCOMPANYRequiredPTH-COMPANYPCY-COMPANY
PthbodPTHBODNot Required, Delete CascadesPTH-COMPANYPBF-COMPANY, PTH-RETURN-NUMBERPBF-RETURN-NUMBER
Purchase FromAPVENLOCRequiredWhen PTH-PURCH-FR-LOC != SpacesCPY-VENDOR-GROUPVLO-VENDOR-GROUP, PTH-VENDORVLO-VENDOR, PTH-PURCH-FR-LOCVLO-LOCATION-CODE
Reason CodeREASONRequiredPTH-COMPANYREA-COMPANY, PTH-REASON-CODEREA-REASON-CODE
Return Frm LocICLOCATIONRequiredPTH-COMPANYICL-COMPANY, PTH-RETURN-FRM-LOCICL-LOCATION
VendorAPVENMASTRequiredCPY-VENDOR-GROUPVEN-VENDOR-GROUP, PTH-VENDORVEN-VENDOR

One to many (2) — child tables

RelationTableRulesConditionField map
Replcmnt Po LnPOLINEValid When PTH-RET-PO-NUMBER != SpacesPTH-COMPANYPLI-COMPANY, PTH-RET-PO-NUMBERPLI-PO-NUMBER, ZeroesPLI-PO-RELEASE, PTH-RET-PO-CODEPLI-PO-CODE, PLI-LINE-NBR
ReturnlinePORETURNLNDelete CascadesPTH-COMPANYPTL-COMPANY, PTH-RETURN-NUMBERPTL-RETURN-NUMBER, PTL-RET-LINE-NBR

Programs

Updated by (221)

Referenced by (17)