OEMISC – Customer Order Misc Charges

System
Billing (BL)
Prefix
OEM
Primary key
COMPANY, MISC, CURRENCY-CODE
Fields
31
Updated by
1 program
Referenced by
0 programs

OEMISC is the Customer Order Misc Charges table in Lawson Billing (prefix OEM). It is indexed by COMPANY, MISC, CURRENCY-CODE (OEMSET1); alternate indexes: OEMSET2. It is related 1:1 to CUCODES, GLCHARTDTL, GLMASTER, GLSYSTEM, ICCOMPANY, MAJORCL, MINORCL, OECOMPANY and 2 more. It is updated by WH20.7. The table has 31 fields, 2 indexes and 14 documented relations.

About OEMISC

No description in the Lawson data dictionary.

Fields (31)

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

Field / columnTypeDescription & valuesUpdated by
OEM-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.
OEM-MISC PK
MISC
Alpha 16User-defined value that can be set up as an add-on charge and tied to either the order header or the individual lines on the order at entry time.
OEM-CURRENCY-CODE PK
CURRENCY_CODE
Alpha 5The currency code indicating the currency that will be used when the add-on charge is assessed.
OEM-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)The description of the add-on charge. When the add-on charge is added to the order, this description will display on the form and print on invoices.
OEM-ORD-DISC-FL
ORD_DISC_FL
Alpha 1This flag indicates whether the add-on charge should be included in the order total when the system is assessing any order-level discounts.
  • N No
  • Y Yes
OEM-CHARGE-TYPE
CHARGE_TYPE
Numeric 1Indicates whether the charge is a flat monetary amount, an amount per unit, or a percentage. Amount per unit is based on stock unit of measure.
  • 1 Flat Amount
  • 2 Unit Price
  • 3 Percentage
OEM-AOC-CODE
AOC_CODE
Alpha 2This field contains the purchase order add-on cost code to be used if an order line is causing a purchase order to be created. Purchase order add-on cost codes are added and maintained in the Invoice Matching system.
OEM-UNIT-PRICE
UNIT_PRICE
Signed 18.5The unit price. Only valid if attached to an order line. This is the amount to be charged per stock unit of measure sold on the order line.
OEM-PRICE-PCT
PRICE_PCT
Percent 5.3 (Percent)The price percent. This is the percent applied to the order line extension (if attached to an order line) or to the order total goods amount (if attached to an order) to determine the amount to be charged.
OEM-PRICE
PRICE
Signed 18.2The flat monetary amount to be charged to the customer.
OEM-UNIT-COST
UNIT_COST
Signed 18.5Only valid if attached to an order line. This is the cost amount and will be posted to cost of goods sold.
OEM-COST-PCT
COST_PCT
Percent 5.3 (Percent)Cost percent. The percent applied to either the order line extension (if attached to an order line) or to the total order goods amount (if attached to an order) to determine the amount to be charged.
OEM-COST
COST
Signed 18.5The flat monetary amount to be posted to cost of goods sold.
OEM-UPD-SA-FL
UPD_SA_FL
Alpha 1Determines whether the add-on charge should update the Sales Analysis system for reporting purposes.
  • N No
  • Y Yes
OEM-TAX-EXEMPT-CD
TAX_EXEMPT_CD
Alpha 1Determines whether the add-on charge amount will be included when the system calculates tax amounts for the order.
  • E Exempt
  • T Taxable
OEM-TAX-CODE
TAX_CODE
Alpha 10Tax code this charge is subject to. Only used for Value-Added Tax (VAT). Domestic sales tax does not differ by charge. Tax exempt flag is sufficient.
OEM-SALES-MAJCL
SALES_MAJCL
Alpha 4Sales major class code. If the add-on charge is passed to the Sales Analysis system for reporting purposes, the user can assign the charge to a sales major/minor class for subtotaling.
OEM-SALES-MINCL
SALES_MINCL
Alpha 4Sales minor class code within the major class. If the add-on charge is passed to the Sales Analysis system for reporting purposes, it can be assigned to a sales major/minor class for subtotaling.
OEM-PROD-TAX-CAT
PROD_TAX_CAT
Alpha 15The product's tax category. Used to override taxability by specific taxing authority.
OEM-SLS-ACCT-UNIT
SLS_ACCT_UNIT
Alpha 15The general ledger account unit that will be credited as the revenue account when the add-on charge is assessed.
OEM-SLS-ACCOUNT
SLS_ACCOUNT
Numeric 6This is the general ledger account number that will be credited as the revenue account when the add-on charge is assessed.
OEM-SLS-SUB-ACCT
SLS_SUB_ACCT
Numeric 4The general ledger subaccount number that is credited as revenue when an add-on charge is assessed.
OEM-OFF-ACCT-UNIT
OFF_ACCT_UNIT
Alpha 15The general ledger account unit that will be credited as the offset to COGS when the add-on charge is assessed.
OEM-OFF-ACCOUNT
OFF_ACCOUNT
Numeric 6The general ledger account number that is credited as the offset to COGS when the add-on charge is assessed.
OEM-OFF-SUB-ACCT
OFF_SUB_ACCT
Numeric 4The general ledger subaccount that is credited as the offset to COGS when the add-on charge is posted to general ledger.
OEM-CGS-ACCT-UNIT
CGS_ACCT_UNIT
Alpha 15The account unit that will be debited as the COGS account unit when an add-on charge is assessed.
OEM-CGS-ACCOUNT
CGS_ACCOUNT
Numeric 6The general ledger account number that will be debited as the COGS account when the add-on charge is assessed.
OEM-CGS-SUB-ACCT
CGS_SUB_ACCT
Numeric 4The subaccount number that will be debited as the COGS subaccount number when an add-on charge is assessed.
OEM-ACTIVE-FLAG
ACTIVE_FLAG
Alpha 1Indicates the active status of the add-on charge.
  • A Active
  • I Inactive
OEM-USED-FL
USED_FL
Alpha 1Indicates whether the add-on charge has ever been used.
  • Y Yes
  • N No
WH20.7
OEM-TRACK-TYPE
TRACK_TYPE
Alpha 1" " = Other AOC
  • I Insurance
  • F Freight
  • C Customs Charges

Indexes (2)

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

IndexKeysFlagsConditionUsed in
OEMSET1COMPANY, MISC, CURRENCY-CODEPrimaryWH20.2, WH20.7
OEMSET2COMPANY, CURRENCY-CODE, MISC

Relations

One to one (14) — lookups and parents

RelationTableRulesConditionField map
CucodesCUCODESRequiredWhen OEM-CURRENCY-CODE != SpacesOEM-CURRENCY-CODECUC-CURRENCY-CODE
GlchartcogsGLCHARTDTLNot RequiredValid When OEM-CGS-ACCT-UNIT != Spaces Or OEM-CGS-ACCOUNT != Zeroes Or OEM-CGS-SUB-ACCT != ZeroesGLS-CHART-NAMEGDT-CHART-NAME, GLM-SUMM-ACCT-IDGDT-SUMRY-ACCT-ID, OEM-CGS-ACCOUNTGDT-ACCOUNT, OEM-CGS-SUB-ACCTGDT-SUB-ACCOUNT
GlchartoffsetGLCHARTDTLNot RequiredValid When OEM-OFF-ACCT-UNIT != Spaces Or OEM-OFF-ACCOUNT != Zeroes Or OEM-OFF-SUB-ACCT != ZeroesGLS-CHART-NAMEGDT-CHART-NAME, GLM-SUMM-ACCT-IDGDT-SUMRY-ACCT-ID, OEM-OFF-ACCOUNTGDT-ACCOUNT, OEM-OFF-SUB-ACCTGDT-SUB-ACCOUNT
GlchartsalesGLCHARTDTLNot RequiredValid When OEM-SLS-ACCT-UNIT != Spaces Or OEM-SLS-ACCOUNT != Zeroes Or OEM-SLS-SUB-ACCT != ZeroesGLS-CHART-NAMEGDT-CHART-NAME, GLM-SUMM-ACCT-IDGDT-SUMRY-ACCT-ID, OEM-SLS-ACCOUNTGDT-ACCOUNT, OEM-SLS-SUB-ACCTGDT-SUB-ACCOUNT
Glmaster CogsGLMASTERRequiredWhen OEM-CGS-ACCT-UNIT != Spaces Or OEM-CGS-ACCOUNT != Zeroes Or OEM-CGS-SUB-ACCT != ZeroesOEM-COMPANYGLM-COMPANY, OEM-CGS-ACCT-UNITGLM-ACCT-UNIT, OEM-CGS-ACCOUNTGLM-ACCOUNT, OEM-CGS-SUB-ACCTGLM-SUB-ACCOUNT
Glmaster OffstGLMASTERRequiredWhen OEM-OFF-ACCT-UNIT != Spaces Or OEM-OFF-ACCOUNT != Zeroes Or OEM-OFF-SUB-ACCT != ZeroesOEM-COMPANYGLM-COMPANY, OEM-OFF-ACCT-UNITGLM-ACCT-UNIT, OEM-OFF-ACCOUNTGLM-ACCOUNT, OEM-OFF-SUB-ACCTGLM-SUB-ACCOUNT
Glmaster SalesGLMASTERRequiredWhen OEM-SLS-ACCT-UNIT != Spaces Or OEM-SLS-ACCOUNT != Zeroes Or OEM-SLS-SUB-ACCT != ZeroesOEM-COMPANYGLM-COMPANY, OEM-SLS-ACCT-UNITGLM-ACCT-UNIT, OEM-SLS-ACCOUNTGLM-ACCOUNT, OEM-SLS-SUB-ACCTGLM-SUB-ACCOUNT
GlsystemGLSYSTEMRequiredOEM-COMPANYGLS-COMPANY
IccompanyICCOMPANYRequiredWhen OEM-SALES-MAJCL != Spaces Or OEM-SALES-MINCL != SpacesOEM-COMPANYICC-COMPANY
MajorclMAJORCLRequiredWhen OEM-SALES-MAJCL != Spaces Or OEM-SALES-MINCL != SpacesICC-ITEM-GROUPMAJ-ITEM-GROUP, "S"MAJ-CLASS-TYPE, OEM-SALES-MAJCLMAJ-MAJOR-CLASS
MinorclMINORCLRequiredWhen OEM-SALES-MINCL != SpacesICC-ITEM-GROUPMIN-ITEM-GROUP, "S"MIN-CLASS-TYPE, OEM-SALES-MAJCLMIN-MAJOR-CLASS, OEM-SALES-MINCLMIN-MINOR-CLASS
OecompanyOECOMPANYRequiredOEM-COMPANYOEC-COMPANY
PoaocmastPOAOCMASTRequiredWhen OEM-AOC-CODE != SpacesOEM-COMPANYPAM-COMPANY, OEM-AOC-CODEPAM-AOC-CODE
TxtaxcodeTXTAXCODERequiredWhen OEM-TAX-CODE != SpacesOEM-COMPANYTAC-COMPANY, OEM-TAX-CODETAC-TAX-CODE

Programs

Updated by (1)