Search Results acct_rule
Overview
APPS.OEFV_SALES_ORDER_TYPES is a reporting and forms-support view in Oracle E-Business Suite that exposes the configuration of Order Management sales order (transaction) types alongside their descriptive and translated attributes. It is defined over OE_TRANSACTION_TYPES_ALL and its translation table OE_TRANSACTION_TYPES_TL, and it enriches those records with lookups, currencies, price lists, warehouses, invoicing rules and accounting rules. In the ETRM reference model it is classified under the Order Management transaction type family and is used both by concurrent reporting and by the Order Management setup forms that render descriptive flexfields and value-set driven fields using the special _LA, _DF and _KF tagged pseudo-columns.
Because the view is owned by APPS and the base objects are consumed through synonyms, it is queried by Oracle Application Object Library, Order Management, Receivables and general ledger reporting components, and it is frequently used as a source for integration extracts that require order type attributes in a decoder-friendly form.
Underlying Base Objects
The documented base objects, all referenced through APPS synonyms, are:
- OE_TRANSACTION_TYPES_ALL — the driving table, one row per order type per operating unit.
- OE_TRANSACTION_TYPES_TL — translation table supplying NAME and DESCRIPTION by language.
- FND_CURRENCIES_TL — currency name, joined on CURRENCY_CODE and the session language.
- GL_CODE_COMBINATIONS — resolves the COST_OF_GOODS_SOLD_ACCOUNT to a code combination.
- GL_DAILY_CONVERSION_TYPES — the currency conversion type.
- QP_LIST_HEADERS_TL — the default price list header.
- RA_RULES — used twice, once for the invoicing rule and once for the accounting rule.
- HR_ALL_ORGANIZATION_UNITS — the owning and shipping/warehouse organizations.
- MTL_PARAMETERS — the inventory organization parameter rows for warehouse and shipping organizations.
- ORG_FREIGHT — freight terms organization context.
All non-driving joins are outer joins, so every order type row is returned even when a related rule, price list or currency reference is missing. Because the view exposes the account rule and invoicing rule identifiers obtained through RA_RULES, it is a legitimate starting point for enquiries about the acct_rule referenced by an order type, although the rule detail itself resides in RA_RULES and RA_RULE_DETAILS.
Key Columns
- TRANSACTION_TYPE_ID — primary key of the underlying order type record.
- NAME, DESCRIPTION — translated order type name and description from OE_TRANSACTION_TYPES_TL.
- ACCOUNTING_RULE_ID, ACCOUNTING_CREDIT_METHOD_CODE — the accounting rule and its credit method; the column relevant to the
acct_ruleenquiry. - INVOICING_RULE_ID — the invoicing rule identifier.
- PRICE_LIST_ID, AGREEMENT_TYPE_CODE, AGREEMENT_REQUIRED_FLAG, ENFORCE_LINE_PRICES_FLAG — pricing controls.
- SHIPMENT_PRIORITY_CODE, SHIPPING_METHOD_CODE, FREIGHT_TERMS_CODE — fulfillment attributes.
- ORDER_CATEGORY_CODE, START_DATE_ACTIVE, END_DATE_ACTIVE — classification and effective dates.
- WAREHOUSE_ID, ORG_ID, and the associated organization names and codes.
- COST_OF_GOODS_SOLD_ACCOUNT, CURRENCY_CODE — accounting and currency defaults.
- Descriptive flexfield, key flexfield and lookup-tagged columns prefixed with
_LA:,_DF:and_KF:.
Common Use Cases and Queries
Typical scenarios include reporting all active order types with their accounting rule and invoicing rule, validating pricing defaults, and feeding integration extracts that need order type configuration.
SELECT transaction_type_id,
name,
order_category_code,
account_rule_id,
accounting_credit_method_code,
invoicing_rule_id,
currency_code,
start_date_active,
end_date_active
FROM apps.oefv_sales_order_types
WHERE order_category_code = 'ORDER'
AND SYSDATE BETWEEN start_date_active AND NVL(end_date_active, SYSDATE + 1)
ORDER BY name;
To examine the accounting rule linked to each sales order type:
SELECT t.name order_type,
t.account_rule_id,
r.name accounting_rule,
t.accounting_credit_method_code
FROM apps.oefv_sales_order_types t,
apps.ra_rules r
WHERE t.account_rule_id = r.rule_id
ORDER BY t.name;
Because the view is a denormalized convenience layer, request-level reporting should filter by ORG_ID to honor operating unit security, and should reference TRANSACTION_TYPE_ID rather than description text when joining to transactional tables such as OE_ORDER_HEADERS_ALL.
-
VIEW: APPS.OEFV_SALES_ORDER_TYPES
12.2.2
-
VIEW: APPS.OEFV_SALES_ORDER_TYPES
12.1.1
-
View: OEFV_SALES_ORDER_TYPES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.OEFV_SALES_ORDER_TYPES ONT.OEFV_SALES_ORDER_TYPES, object_name:OEFV_SALES_ORDER_TYPES, status:VALID, product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: APPS.OEFV_SALES_ORDER_TYPES ,
-
View: OEFV_SALES_ORDER_TYPES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.OEFV_SALES_ORDER_TYPES ONT.OEFV_SALES_ORDER_TYPES, object_name:OEFV_SALES_ORDER_TYPES, status:VALID, product: ONT - Order Management , description: Full BIS Business View for Sales Order Types. , implementation_dba_data: APPS.OEFV_SALES_ORDER_TYPES ,
-
Lookup Type: OKS_MASS_CHANGE_ATTRIBUTE
12.1.1
product: OKS - Service Contracts , meaning: Mass Change Attributes , description: Mass Change Attributes ,
-
View: OEFV_SALES_ORDER_TYPES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.OEFV_SALES_ORDER_TYPES ONT.OEFV_SALES_ORDER_TYPES, object_name:OEFV_SALES_ORDER_TYPES, status:VALID, product: OE - Order Entry , description: - Retrofitted , implementation_dba_data: APPS.OEFV_SALES_ORDER_TYPES ,
-
View: OEFV_SALES_ORDER_TYPES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.OEFV_SALES_ORDER_TYPES ONT.OEFV_SALES_ORDER_TYPES, object_name:OEFV_SALES_ORDER_TYPES, status:VALID, product: ONT - Order Management , description: Full BIS Business View for Sales Order Types. , implementation_dba_data: APPS.OEFV_SALES_ORDER_TYPES ,
-
Lookup Type: OKS_MASS_CHANGE_ATTRIBUTE
12.2.2
product: OKS - Service Contracts , meaning: Mass Change Attributes , description: Mass Change Attributes ,
-
PACKAGE BODY: APPS.OKS_MASSCHANGE_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_MASSCHANGE_PVT
12.2.2
-
APPS.OKS_MASSCHANGE_PVT SQL Statements
12.1.1
-
APPS.OKS_MASSCHANGE_PVT SQL Statements
12.2.2