COMISC – Customer Order Miscellaneous
- System
- OE (OE)
- Prefix
CMC- Primary key
COMPANY,ORDER-NBR,LINE-NBR,SEQ- Fields
- 65
- Updated by
- 1 program
- Referenced by
- 0 programs
COMISC is the Customer Order Miscellaneous table in Lawson OE (prefix CMC). It is indexed by COMPANY, ORDER-NBR, LINE-NBR, SEQ (CMCSET1); alternate indexes: CMCSET3, CMCSET4, CMCSET5, CMCSET6 and CMCSET7. It is related 1:1 to GLMASTER, COLINE, COSGBLK, CUCODES, CUSTORDER, OEMISC and TXTAXCODE. It is updated by WH20.7. The table has 65 fields, 6 indexes and 9 documented relations.
About COMISC
No description in the Lawson data dictionary.
Fields (65)
Column = COBOL field name without the CMC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
#CMC-COMPANY PKCOMPANY | Numeric 4 | Identifies 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. | WH20.7 |
#CMC-ORDER-NBR PKORDER_NBR | Numeric 8 | Each order is assigned a unique number. Order numbers are either manually assigned or system assigned based on a company-level option. | WH20.7 |
#CMC-LINE-NBR PKLINE_NBR | Numeric 6 | This field contains the line number. Add-on charges that are associated with the order header and not the line number on which they appear have a line number of zero. | WH20.7 |
#CMC-SEQ PKSEQ | Numeric 3 | This field contains the number of the add-on charge tied to the line on an order. | WH20.7 |
#CMC-MISCMISC | Alpha 16 | This field contains the add-on charge code set up on BL09.1 (Add-on Charges). Add-on charges can be tied to the order or line of an order. | WH20.7 |
#CMC-AOC-CODE SET3AOC_CODE | Alpha 2 | This 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 updated in the Invoice Matching system. | WH20.7 |
#CMC-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the currency code defined to the add-on charge in BL09.1 (Add-on Charges). | WH20.7 |
#CMC-STATUSSTATUS | Numeric 1 | This field contains the status of the add-on charge.
| WH20.7 |
#CMC-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This field contains the description of the add-on charge as defined in BL09.1 (Add-on Charges). | WH20.7 |
#CMC-ORD-DISC-FLORD_DISC_FL | Alpha 1 | This field indicates whether this add-on charge is included when calculating the discount amount of the order.
| WH20.7 |
#CMC-UPD-SA-FLUPD_SA_FL | Alpha 1 | This field indicates whether this add-on charge is updated into the Sales Analysis system for reporting purposes.
| WH20.7 |
#CMC-BOOKED-DATEBOOKED_DATE | Numeric 8 (yyyymmdd) | This field contains the date this add-on charge was booked in the Sales Analysis system. | — |
#CMC-TAX-EXEMPT-CDTAX_EXEMPT_CD | Alpha 1 | This field indicates if this add-on charge is taxed.
| WH20.7 |
#CMC-TAX-CODE SET6TAX_CODE | Alpha 10 | This field contains a code representing the tax authorities this ship-to pays sales tax to. This must be valid in the Tax Code file. | WH20.7 |
#CMC-TAX-AMT-CURRTAX_AMT_CURR | Signed 18.2 | This field contains the tax amount of the add-on charge in billing currency. | WH20.7 |
#CMC-MULT-TAX-AMTMULT_TAX_AMT | Derived | This field contains the multiplier used to convert foreign currency to the base amount of tax. | — |
#CMC-DIV-TAX-AMTDIV_TAX_AMT | Derived | This field contains the divider used to convert foreign currency to the base amount of tax. | — |
#CMC-TAX-AMT-BASETAX_AMT_BASE | Derived | This field contains the tax amount of add-on charge in company base currency. | — |
#CMC-ENT-TAXABLEENT_TAXABLE | Signed 18.2 | This field contains the taxable amount of the add-on charge. This defaults to the charge amount but can be overridden at entry time. | — |
#CMC-MULT-TAXABLEMULT_TAXABLE | Derived | This field contains the taxable amount of the add-on charge in base currency, if a multiplier is used when converting from original to base currency. | — |
#CMC-DIV-TAXABLEDIV_TAXABLE | Derived | This field contains the taxable amount of the add-on charge in base currency, if a multiplier is used in the conversion from original to base currency. | — |
#CMC-TAXABLE-BASETAXABLE_BASE | Derived | This field contains the taxable amount of the add-on charge in company base currency. | — |
#CMC-CHARGE-TYPECHARGE_TYPE | Numeric 1 | This field indicates whether the charge is lump sum, unit price (per stock unit of measure) or percent.
| WH20.7 |
#CMC-ENT-UNIT-PRCENT_UNIT_PRC | Signed 18.5 | This field contains the unit price in the order's currency. | WH20.7 |
#CMC-UNIT-PRICEUNIT_PRICE | Signed 18.5 | This field contains the unit price of the add-on charge in company base currency. This is a flat monetary amount or a per unit amount, depending on the charge type. | WH20.7 |
#CMC-PRICE-PCTPRICE_PCT | Percent 5.3 (Percent) | Price percent. This is the percent applied to either the line net or order net amount to calculate the amount to charge for this add-on charge. | WH20.7 |
#CMC-ENT-PRICEENT_PRICE | Signed 18.2 | This field contains the flat amount at which the add-on charge is priced in original billing currency. | WH20.7 |
#CMC-PRICEPRICE | Signed 18.2 | This field contains the flat price amount of the add-on charge in company base currency. | WH20.7 |
#CMC-UNIT-COSTUNIT_COST | Signed 18.5 | This field contains the cost amount of the add-on charge as established in BL09.1 (Add-on Charges). This can be overridden, and is always in company base currency. Enter a flat monetary cost amount or a per unit cost, depending on the charge type. | WH20.7 |
#CMC-COST-PCTCOST_PCT | Percent 5.3 (Percent) | This field contains the cost percent, which is applied to the add-on charge resulting in the cost for the line. If the add-on charge is added to the header, this is the percent applied to the order amount to arrive at the cost of this charge. | WH20.7 |
#CMC-COSTCOST | Signed 18.5 | This field contains the cost tied to the add-on charge in BL09.1 (Add-on Charges), if the charge is the flat type. | WH20.7 |
#CMC-BILLED-CURRBILLED_CURR | Signed 18.2 | This field contains the amount billed to the customer for this add-on charge in original currency. | — |
#CMC-MULT-BILLEDMULT_BILLED | Derived | This field contains the amount billed to the customer for this add-on charge in base currency, if a multiplier is used when converting from original to base currency. | — |
#CMC-DIV-BILLEDDIV_BILLED | Derived | This field contains the amount billed to the customer for this add-on charge in company base currency, if a divider is used when converting from original to base currency. | — |
#CMC-BILLED-BASEBILLED_BASE | Derived | This field contains the amount billed to the customer for this add-on charge in company base currency. | — |
#CMC-ACTIVITYACTIVITY | Alpha 15 | In this file the Activity field is used for revenue (sales) postings whereas the Activity-C field is used for Cost (COGS) postings. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in the Activity Management system. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. Activities are grouped or organized by activity levels. There are two types of activities: "posting allowed" and "summary only." Use posting level activities to budget and maintain all posted transactions. Summary activities or macro activities combine information and balances from lower level activities for reporting and inquiries. | WH20.7 |
#CMC-ACCT-CATEGORYACCT_CATEGORY | Alpha 5 | In this file the Acct-Category field is used for revenue (sales) postings whereas the Acct-Categ-C field is used for Cost (COGS) postings. 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. | WH20.7 |
#CMC-ATN-OBJ-ID SET4ATN_OBJ_ID | Numeric 12 | Represents Activity Management object ID for the revenue (sales) Activity. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in the Activity Management system. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. | WH20.7 |
#CMC-ACTIVITY-CACTIVITY_C | Alpha 15 | In this file the Activity-C field is used for Cost (COGS) postings whereas the Activity field is used for revenue (sales) postings. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in the Activity Management system. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. Activities are grouped or organized by activity levels. There are two types of activities: "posting allowed" and "summary only." Use posting level activities to budget and maintain all posted transactions. Summary activities or macro activities combine information and balances from lower level activities for reporting and inquiries. | WH20.7 |
#CMC-ACCT-CATEG-CACCT_CATEG_C | Alpha 5 | In this file the Acct-Categ-C field is used for Cost (COGS) postings whereas the Acct-Category field is used for revenue (sales) postings. 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. | WH20.7 |
#CMC-ATN-OBJ-ID-C SET5ATN_OBJ_ID_C | Numeric 12 | The system defined object id representing the Activity Management commitment for Cost (COGS). | WH20.7 |
#CMC-SLS-ACCT-UNITSLS_ACCT_UNIT | Alpha 15 | This field contains the sales account unit that is credited when the add-on charge is assessed. This defaults from BL09.1 (Add-on Charges). | WH20.7 |
#CMC-SLS-ACCOUNTSLS_ACCOUNT | Numeric 6 | This field contains the general ledger account number that is credited when the add-on charge is assessed. This defaults from BL09.1 (Add-on Charges). | WH20.7 |
#CMC-SLS-SUB-ACCTSLS_SUB_ACCT | Numeric 4 | This field contains the general ledger subaccount that is credited when the add-on charge is assessed. This defaults from the add-on charge set up in the Billing system. | WH20.7 |
#CMC-OFF-ACCT-UNITOFF_ACCT_UNIT | Alpha 15 | This field contains the general ledger account unit that is credited as an offset to the cost of goods sold when assessing a charge. | WH20.7 |
#CMC-OFF-ACCOUNTOFF_ACCOUNT | Numeric 6 | This field contains the general ledger account number that is credited as an offset to the cost of goods sold when the add-on charge is assessed. This defaults from the add-on charge set up in the Billing system. | WH20.7 |
#CMC-OFF-SUB-ACCTOFF_SUB_ACCT | Numeric 4 | This field contains the general ledger subaccount that is credited as an offset to the cost of goods sold. This defaults from the add-on charge set up in the Billing system. | WH20.7 |
#CMC-CGS-ACCT-UNITCGS_ACCT_UNIT | Alpha 15 | This field contains the general ledger account unit of the cost of goods that is debited when the add-on charge is assessed. This defaults from the add-on charge set up in the Billing system. | WH20.7 |
#CMC-CGS-ACCOUNTCGS_ACCOUNT | Numeric 6 | Cost of goods sold general ledger account number to be debited when the add-on charge is assessed. Defaults from the add-on charge set up in the Billing system. | WH20.7 |
#CMC-CGS-SUB-ACCTCGS_SUB_ACCT | Numeric 4 | This field contains the general ledger subaccount number of the cost of goods sold that is debited when the add-on charge is assessed. This defaults from the add-on charge set up in the Billing system. | WH20.7 |
#CMC-SHIPMENT-NBRSHIPMENT_NBR | Numeric 10 | This field contains the shipment number. One order can have several shipment numbers if the items of the order were not shipped at the same time. | — |
#CMC-BOOK-TO-SA-FLBOOK_TO_SA_FL | Alpha 1 | This field indicates if this charge line is updated to the Sales Analysis system.
| — |
#CMC-PROD-TAX-CAT SET6PROD_TAX_CAT | Alpha 15 | A classification of items for determining taxes using the VERTEX system in Lawson Order Entry system or the cash receipts programs in the Lawson Cash Ledger system. | WH20.7 |
#CMC-ORD-PCT-AMTORD_PCT_AMT | Derived | This field contains the amount billed to the customer if the add-on charge is tied to the order header and is a percentage type. This amount is in company base currency. | — |
#CMC-ORD-PCT-CURRORD_PCT_CURR | Derived | This field contains the amount billed to the customer if the add-on charge is tied to the order header and is a percentage type. This amount is in original billing currency. | — |
#CMC-LINE-PCT-AMTLINE_PCT_AMT | Derived | This field contains the amount to bill if attached to an order line. | — |
#CMC-LINE-PCT-CURRLINE_PCT_CURR | Derived | This field contains the amount billed to the customer if the add-on charge is tied to the line and is a percentage type charge. This amount is in original billing currency. | — |
#CMC-UNIT-AMOUNTUNIT_AMOUNT | Derived | This field contains the amount that is charged per unit of the item ordered at the line level. The add-on charge amount is the sum total of the charges per unit. | — |
#CMC-UNIT-AMT-CURRUNIT_AMT_CURR | Derived | This field contains the amount that is charged per unit of the item ordered at the line level. The add-on charge amount is the sum total of the charges per unit. This amount is in billing currency. | — |
#CMC-PRT-PRICEPRT_PRICE | Derived | This field contains the unit amount that is billed for the add-on charge line. | — |
#CMC-PRT-PRC-CURRPRT_PRC_CURR | Derived | This field contains the unit amount that is billed for the add-on charge line in billing currency. | — |
#CMC-UNBILLED-AMTUNBILLED_AMT | Derived | This field contains the amount remaining to be billed. | — |
#CMC-UNBILLED-CURRUNBILLED_CURR | Derived | This field contains the amount remaining to be billed in billing currency. | — |
#CMC-PER-UNIT-FLPER_UNIT_FL | Derived | This field indicates if the add-on charge is a per unit type. | — |
#CMC-TRACK-TYPETRACK_TYPE | Alpha 1 | " " = Other AOC
| WH20.7 |
Indexes (6)
Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
CMCSET1 |
| Primary | WH20.2, WH20.7 | |
CMCSET3 |
| Subset | Where AOC-CODE != Spaces And STATUS != 8 | WH20.2, WH20.7 |
CMCSET4 |
| KeyChange, Subset | Where ATN-OBJ-ID != Zeroes | — |
CMCSET5 |
| KeyChange, Subset | Where ATN-OBJ-ID-C != Zeroes | — |
CMCSET6 |
| KeyChange | WH20.2, WH20.7 | |
CMCSET7 |
| — |
Relations
One to one (9) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cgs Account | GLMASTER | Required | When CMC-CGS-ACCT-UNIT != Spaces Or CMC-CGS-ACCOUNT != Zeroes Or CMC-CGS-SUB-ACCT != Zeroes |
| ||||||||||||
| Coline | COLINE | Required | When CMC-LINE-NBR != Zeroes |
| ||||||||||||
| Cosgblk | COSGBLK | Not Required |
| |||||||||||||
| Cucodes | CUCODES | Required |
| |||||||||||||
| Custorder | CUSTORDER | Required |
| |||||||||||||
| Oemisc | OEMISC | Required |
| |||||||||||||
| Off Account | GLMASTER | Required | When CMC-OFF-ACCT-UNIT != Spaces Or CMC-OFF-ACCOUNT != Zeroes Or CMC-OFF-SUB-ACCT != Zeroes |
| ||||||||||||
| Sales Account | GLMASTER | Required | When CMC-SLS-ACCT-UNIT != Spaces Or CMC-SLS-ACCOUNT != Zeroes Or CMC-SLS-SUB-ACCT != Zeroes |
| ||||||||||||
| Txtaxcode | TXTAXCODE | Not Required |
|
Programs
Updated by (1)
- WH20.7 Substitute Location