OEPROCLEV – Order Entry Process Level

System
Billing (BL)
Prefix
OEP
Primary key
COMPANY, PROCESS-LEVEL
Fields
73
Updated by
3 programs
Referenced by
3 programs

OEPROCLEV is the Order Entry Process Level table in Lawson Billing (prefix OEP). It is indexed by COMPANY, PROCESS-LEVEL (OEPSET1). It is related 1:1 to ARCOMP, ARPROCLEVL, HOLDCODES, GLMASTER, OECOMPANY, OEREASON and ORDERTYPE and 1:M to OECOMPREF. It is updated by TX140, WH20.2 and WH20.7 and referenced by TX00.1, TX40.1 and WH120. The table has 73 fields, 1 index and 13 documented relations.

About OEPROCLEV

The Order Entry Process Level file contains the valid process levels for the entire system. Each is attached to a company and can only be used in that company. A process level can be a division, a department, a group of departments, and so on. An entity that will enter, process, and track customer orders separately should be defined as a process level.

Fields (73)

Column = COBOL field name without the OEP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
OEP-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.
OEP-PROCESS-LEVEL PK
PROCESS_LEVEL
Alpha 5This field contains the process level, which is the reporting hierarchy below company.
OEP-NAME
NAME
Alpha 30 (Lower Case)The name of the process level. This is the remit-to name that will print on the invoice.
OEP-POA-NAME
POA_NAME
Alpha 30 (Lower Case)Displays the company description.
OEP-POA-ADDR1
POA_ADDR1
Alpha 30 (Lower Case)This field contains the first line of address information.
OEP-POA-ADDR2
POA_ADDR2
Alpha 30 (Lower Case)This field contains the first line of address information.
OEP-POA-ADDR3
POA_ADDR3
Alpha 30 (Lower Case)This field contains the first line of address information.
OEP-POA-ADDR4
POA_ADDR4
Alpha 30 (Lower Case)This field contains the first line of address information.
OEP-POA-CITY
POA_CITY
Alpha 18
OEP-POA-STATE
POA_STATE
Alpha 2
OEP-POA-ZIP
POA_ZIP
Alpha 10This field contains the postal code of the address.
OEP-POA-COUNTRY
POA_COUNTRY
Alpha 30 (Lower Case)
OEP-POA-COUNTY
POA_COUNTY
Alpha 25 (Lower Case)The county for the company address.TX140
OEP-RMT-NAME
RMT_NAME
Alpha 30 (Lower Case)The first line of the remit-to address is entered in this field.
OEP-RMT-ADDR1
RMT_ADDR1
Alpha 30 (Lower Case)The remit-to address that will print on documents created using this process level.
OEP-RMT-ADDR2
RMT_ADDR2
Alpha 30 (Lower Case)The remit-to address that will print on documents created for this process level.
OEP-RMT-ADDR3
RMT_ADDR3
Alpha 30 (Lower Case)The remit-to address that will print on documents created for this process level.
OEP-RMT-ADDR4
RMT_ADDR4
Alpha 30 (Lower Case)The remit-to address that will print on documents created for this process level.
OEP-RMT-CITY
RMT_CITY
Alpha 18The remit-to city that will print on documents created for this process level.
OEP-RMT-STATE
RMT_STATE
Alpha 2The remit-to state that will print on documents created for this process level.
OEP-RMT-ZIP
RMT_ZIP
Alpha 10The remit-to postal code that will print on documents created for this process level.
OEP-RMT-COUNTRY
RMT_COUNTRY
Alpha 30 (Lower Case)The remit-to country that will print on documents created for this process level.
OEP-RMT-COUNTY
RMT_COUNTY
Alpha 25 (Lower Case)The county for the company address.
OEP-DEF-LOCATION
DEF_LOCATION
Alpha 5The default location that will be used when placing an order for this process level.
OEP-DEF-ORDER-TYP
DEF_ORDER_TYP
Alpha 2The default order type that will be used when placing an order for this process level when the operator's default order type is blank. Order types are set up on OE51.1 (Order Type).
OEP-DEF-REASON
DEF_REASON
Alpha 4The default cancellation reason code to be used by the system when canceling an order for this process level. These codes are defined on BL07.1 (Reason Codes).
OEP-DEF-COD-HOLD
DEF_COD_HOLD
Alpha 4The default hold code that the system will use for Cash on Delivery invoices placed on hold that belong to this process level. Hold codes are established in the Accounts Receivable system. Cash on delivery invoices are placed on hold after the shipment record has been created and the invoice sent. To process the invoice it must be taken off hold.
OEP-DEF-CIA-HOLD
DEF_CIA_HOLD
Alpha 4The default hold code that the system will use for orders placed on hold if cash in advance has not been paid yet for all invoices that belong to this process level. Hold codes are established in the Accounts Receivable system.
OEP-SLS-ACCT-UNIT
SLS_ACCT_UNIT
Alpha 15Safety default general ledger account unit to be credited for items ordered using this process level. This account unit will be disregarded and the sales account unit on the sales major/minor classes will be used instead. The sales major/minor class accounts are established on BL05.1 (Sales Class Accounts). This sales account found on the process level serves as somewhat of a safety net - if something goes wrong and for some reason the sales class record is not found, the system will use this account. Therefore, it should never really be used.
OEP-SLS-ACCOUNT
SLS_ACCOUNT
Numeric 6Default general ledger account number to be credited for items ordered using this process level. This account number will be disregarded and the sales account number on the sales major/minor classes will be used instead. The sales major/minor class accounts are established on BL05.1 (Sales Class Accounts). This sales account found on the process level serves as somewhat of a safety net - if something goes wrong and for some reason the sales class record is not found, the system will use this account. Therefore, it should never really be used.
OEP-SLS-SUB-ACCT
SLS_SUB_ACCT
Numeric 4Default general ledger subaccount number to be credited for items ordered using this process level. This account unit will be disregarded and the sales account unit on the sales major/minor classes will be used instead. The sales major/minor class accounts are established on BL05.1 (Sales Class Accounts). This sales account found on the process level serves as somewhat of a safety net - if something goes wrong and for some reason the sales class record is not found, the system will use this account. Therefore, it should never really be used.
OEP-MI-ACCT-UNIT
MI_ACCT_UNIT
Alpha 15This is the sales general ledger account unit to be credited for special orders placed using this process level.
OEP-MI-ACCOUNT
MI_ACCOUNT
Numeric 6This is the sales general ledger account number to be credited for special orders placed using this process level.
OEP-MI-SUB-ACCT
MI_SUB_ACCT
Numeric 4This is the sales general ledger subaccount number to be credited for special orders placed using this process level.
OEP-MCG-ACCT-UNIT
MCG_ACCT_UNIT
Alpha 15This is the general ledger account unit that is debited for cost of goods sold when a special order is placed for this process level.
OEP-MCG-ACCOUNT
MCG_ACCOUNT
Numeric 6This is the general ledger account number that is debited for cost of goods sold when a special order is placed for this process level.
OEP-MCG-SUB-ACCT
MCG_SUB_ACCT
Numeric 4This is the general ledger subaccount number that is debited for cost of goods sold when a special order is placed for this process level.
OEP-EXP-ACCT-UNIT
EXP_ACCT_UNIT
Alpha 15This is the general ledger account unit to be credited as an offset to COGS when placing a special order for this process level.
OEP-EXP-ACCOUNT
EXP_ACCOUNT
Numeric 6This is the general ledger account number to be credited as the offset to COGS when placing a special order using this process level.
OEP-EXP-SUB-ACCT
EXP_SUB_ACCT
Numeric 4This is the general ledger subaccount number to be credited as the offset to COGS for special orders placed using this process level.
OEP-DSC-ACCT-UNIT
DSC_ACCT_UNIT
Alpha 15Default general ledger accounting unit that will be debited when add-on discounts are used. An add-on discount can be either entered for an order line or an order header by using some of the options available at order entry time.
OEP-DSC-ACCOUNT
DSC_ACCOUNT
Numeric 6Default general ledger accounting number that will be debited when add-on discounts are used. An add-on discount can be either entered for an order line or an order header by using some of the options available at order entry time.
OEP-DSC-SUB-ACCT
DSC_SUB_ACCT
Numeric 4Default general ledger subaccount number that will be debited when add-on discounts are used. An add-on discount can be either entered for an order line or an order header by using some of the options available at order entry time.
OEP-INVC-EDIT-OPT
INVC_EDIT_OPT
Alpha 1Option that determines whether or not users are required to run an invoice edit report before the invoice is printed out. If the invoice edit is required, users will need to run BL121 (Invoice Print Edit Report).
  • N No
  • Y Yes
OEP-INTF-COST-FL
INTF_COST_FL
Alpha 1This field indicates whether or not to post cost for interfaced invoice.
  • Y Yes
  • N No
OEP-INTF-INV-FL
INTF_INV_FL
Alpha 1This field indicates whether or not to post cost for interfaced invoices.
  • Y Yes
  • N No
OEP-TAX-PRINT-CD
TAX_PRINT_CD
Alpha 1Code indicating whether the tax lines should print in summary or detail on the invoice.
  • D Calc by line - print detail
  • S Calc by line - print summary
  • T Calc and print in summary
  • P Price incl tax - print summary
  • B Calc Line - Print Dtl & Summ
  • X Calc Summ - Print Dtl & Summ
OEP-TAX-PRICE-FL
TAX_PRICE_FL
Alpha 1Flag to indicate that prices printed on the customer's invoice include taxes.
  • Y Yes
  • N No
OEP-DISC-AOC-FL
DISC_AOC_FL
Alpha 1Flag to indicate whether add-on charges are included in order-level discount calculations.
  • Y Yes
  • N No
OEP-TERMS-AOC-FL
TERMS_AOC_FL
Alpha 1" "
  • Y Yes
  • N No
OEP-INVC-CR-FL
INVC_CR_FL
Alpha 1If invoicing is done at the process level and OE129 (Daily Shipment Journal) is running (this program creates invoices), this flag will be set to Yes to indicate that other invoice update programs cannot be run.
  • N No
  • Y Yes
OEP-INVC-EDIT-FL
INVC_EDIT_FL
Alpha 1If invoicing is done at the process level and BL121 (Invoice Print Edit Report) is running, this flag will be set to Yes to indicate that other invoice update programs cannot be run.
  • N No
  • Y Yes
OEP-INVC-PRT-FL
INVC_PRT_FL
Alpha 1If invoicing is done at the process level and BL122 (Invoice and Register Print) is running, this flag will be set to Yes to indicate that other invoice update programs cannot be run.
  • N No
  • Y Yes
OEP-INVC-UPD-FL
INVC_UPD_FL
Alpha 1If invoicing is done at the company level and BL123 (Sub-System Update) is running, this flag will be set to Yes to indicate that other invoice update programs cannot be run.
  • N No
  • Y Yes
OEP-INVC-DTL-FL
INVC_DTL_FL
Alpha 1This flag indicates whether lots/sublots and serial numbers of items ordered should print on the invoice.
  • N No
  • Y Yes
OEP-COD-INVC-OPT
COD_INVC_OPT
Alpha 1This option determines whether invoices should be created and printed twice for Cash on Delivery orders. If Yes is selected, an invoice will be printed to be sent with the goods (invoice at this time is placed on hold until the driver returns with the payment) and when the driver returns with the payment, that invoice will be printed again to send to the customer for their records. This final invoice will reflect any corrections made after the driver returns. The invoice for the COD order is printed right after the packing step by the COD invoice print program to accompany the shipping. This option determines whether an additional invoice is to be printed by BL122 (Invoice and Register Print).
  • Y Yes
  • N No
OEP-SHIP-DAYS
SHIP_DAYS
Numeric 3Number of days to be added to the order date when an order is added to the system to calculate the default expected ship date for the orders. Orders are printed on the pick list based upon their expected ship date.
OEP-EDI-NUMBER
EDI_NUMBER
Alpha 15Electronic Data Interface (EDI) number.
OEP-USED-FL
USED_FL
Alpha 1Flag indicating whether the process level has been used or not.
  • Y Yes
  • N No
WH20.2, WH20.7
OEP-TAX-EXEMPT-CD
TAX_EXEMPT_CD
Alpha 1Code indicating the taxing status. E - Exempt, T - Taxable.
OEP-TAX-CODE
TAX_CODE
Alpha 10This field contains a code representing specific tax information. This must be valid Tax Code.TX140
OEP-POA-CTRY-CD
POA_CTRY_CD
Alpha 2
OEP-POA-REGION
POA_REGION
Alpha 2
OEP-POA-EC-CTRY
POA_EC_CTRY
Numeric 3
OEP-POA-ISO-CTRY
POA_ISO_CTRY
Numeric 3
OEP-RMT-CTRY-CD
RMT_CTRY_CD
Alpha 2
OEP-RMT-REGION
RMT_REGION
Alpha 2
OEP-RMT-EC-CTRY
RMT_EC_CTRY
Numeric 3
OEP-RMT-ISO-CTRY
RMT_ISO_CTRY
Numeric 3
OEP-TERMS-FRT-FL
TERMS_FRT_FL
Alpha 1
OEP-RND-ACCT-UNIT
RND_ACCT_UNIT
Alpha 15
OEP-RND-ACCOUNT
RND_ACCOUNT
Numeric 6
OEP-RND-SUB-ACCT
RND_SUB_ACCT
Numeric 4

Indexes (1)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
OEPSET1COMPANY, PROCESS-LEVELPrimaryTX00.1, TX140, TX40.1, WH120, WH20.2, WH20.7

Relations

One to one (12) — lookups and parents

RelationTableRulesConditionField map
ArcompARCOMPRequiredOEP-COMPANYACO-COMPANY
ArproclevlARPROCLEVLRequiredOEP-COMPANYAPV-COMPANY, OEP-PROCESS-LEVELAPV-PROCESS-LEVEL
Def Cia HoldHOLDCODESRequiredWhen OEP-DEF-CIA-HOLD != SpacesACO-CUST-GROUPHDD-CUST-GROUP, OEP-DEF-CIA-HOLDHDD-HOLD-CODE
Def Cod HoldHOLDCODESRequiredWhen OEP-DEF-COD-HOLD != SpacesACO-CUST-GROUPHDD-CUST-GROUP, OEP-DEF-COD-HOLDHDD-HOLD-CODE
Exp AcctGLMASTERRequiredWhen OEP-EXP-ACCT-UNIT != Spaces Or OEP-EXP-ACCOUNT != Zeroes Or OEP-EXP-SUB-ACCT != ZeroesOEP-COMPANYGLM-COMPANY, OEP-EXP-ACCT-UNITGLM-ACCT-UNIT, OEP-EXP-ACCOUNTGLM-ACCOUNT, OEP-EXP-SUB-ACCTGLM-SUB-ACCOUNT
Misc CsgsGLMASTERRequiredWhen OEP-MCG-ACCT-UNIT != Spaces Or OEP-MCG-ACCOUNT != Zeroes Or OEP-MCG-SUB-ACCT != ZeroesOEP-COMPANYGLM-COMPANY, OEP-MCG-ACCT-UNITGLM-ACCT-UNIT, OEP-MCG-ACCOUNTGLM-ACCOUNT, OEP-MCG-SUB-ACCTGLM-SUB-ACCOUNT
Misc Sls AcctGLMASTERRequiredOEP-COMPANYGLM-COMPANY, OEP-MI-ACCT-UNITGLM-ACCT-UNIT, OEP-MI-ACCOUNTGLM-ACCOUNT, OEP-MI-SUB-ACCTGLM-SUB-ACCOUNT
OecompanyOECOMPANYRequiredOEP-COMPANYOEC-COMPANY
OereasonOEREASONRequiredWhen OEP-DEF-REASON != SpacesOEP-COMPANYOER-COMPANY, OEP-DEF-REASONOER-REASON-CODE
Ord DiscountGLMASTERRequiredWhen OEP-DSC-ACCT-UNIT != Spaces Or OEP-DSC-ACCOUNT != Zeroes Or OEP-DSC-SUB-ACCT != ZeroesOEP-COMPANYGLM-COMPANY, OEP-DSC-ACCT-UNITGLM-ACCT-UNIT, OEP-DSC-ACCOUNTGLM-ACCOUNT, OEP-DSC-SUB-ACCTGLM-SUB-ACCOUNT
OrdertypeORDERTYPERequiredOEP-COMPANYOTP-COMPANY, OEP-DEF-ORDER-TYPOTP-ORDER-TYPE
Sales AccountGLMASTERRequiredOEP-COMPANYGLM-COMPANY, OEP-SLS-ACCT-UNITGLM-ACCT-UNIT, OEP-SLS-ACCOUNTGLM-ACCOUNT, OEP-SLS-SUB-ACCTGLM-SUB-ACCOUNT

One to many (1) — child tables

RelationTableRulesConditionField map
OecomprefOECOMPREFOEP-COMPANYOEL-COMPANY, OEP-PROCESS-LEVELOEL-PROCESS-LEVEL, OEL-TYPE

Programs

Updated by (3)

Referenced by (3)