Search Results get_default_value
Overview
APP.ONT_D2_ORDERED_QUANTITY_UOM is a Defaulting Extension package (the "D2" naming convention places it within the Oracle Order Management extensibility framework used by the Order Management Defaulting Engine) shipped with Oracle E-Business Suite Release 12.1.1 and 12.2.2. Its role is to supply a default value for the ORDERED_QUANTITY_UOM2 attribute of an order line when no default value can be derived from the standard, seeded defaulting rules configured against that attribute.
The package is part of the Order Management Defaulting Framework package family (prefixed ONT_). Each package in this family is bound to a specific attribute or attribute group and exposes a single, standardized entry point, GET_DEFAULT_VALUE, which the defaulting engine invokes whenever the corresponding attribute is resolved against a rule set that references a customized or "D2" defaulting source. The business purpose is to allow Oracle EBS implementations to supply site-specific logic for deriving the secondary ordered quantity unit of measure on an order line without modifying seeded Oracle code.
Key Procedures and Functions
- GET_DEFAULT_VALUE — The package's sole documented program unit. It accepts the order line context (passed as a record based on the OE_AK_ORDER_LINES_V view row type) and returns a VARCHAR2 value representing the computed default for the ORDERED_QUANTITY_UOM2 attribute. The function body is deliberately not fully shipped: the source excerpt shows a placeholder token where the customer- or implementation-specific logic is inserted. On any unexpected error the exception handler calls ONT_Def_Util.Add_Invalid_Rule_Message, recording an invalid-rule message against the attribute code 'ORDERED_QUANTITY_UOM2' and the rule identifier, then returns NULL so the defaulting engine can continue gracefully. No other procedures or functions are documented for this package.
Tables Accessed
The ETRM metadata for this package lists no tables referenced through APPS synonyms. Because the function's formal parameter is based on OE_AK_ORDER_LINES_V, the caller supplies the entire order line context to the function; the implementation logic inserted into the placeholder may therefore read from that record rather than performing its own SQL. Any direct table access would be implementation-supplied and is not part of the documented interface.
Usage Notes
This package is not intended to be called directly from forms, concurrent programs, or custom code. It is invoked indirectly by the Oracle Order Management Defaulting Engine when the defaulting rule assigned to ORDERED_QUANTITY_UOM2 selects this extension package as its defaulting source. The engine passes the current order line record and substitutes the returned value into the attribute.
The package is referenced by one other package, consistent with its position as a leaf-node defaulting extension called by the framework driver. Customizations should populate the <<RETURN_VALUE>> placeholder with business logic and redeploy the package body; the wrapper, signature, and exception handling should be preserved to maintain compatibility with the defaulting framework. Because the placeholder token appears in the shipped source, a fresh installation or patch application can overwrite the customization, so change control procedures should treat this object as an extension point rather than a seeded object.
-
PACKAGE BODY: APPS.ONT_D2_ORDERED_QUANTITY_UOM
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_EARLIEST_SCHEDULE_LI
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_IB_CURRENT_LOCATION
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_LATEST_SCHEDULE_LIMI
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_EARLIEST_ACCEPTABLE
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_SERVICE_START_DATE
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_PACKING_INSTRUCTIONS
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_END_CUSTOMER_ID
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_SERVICE_DURATION
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_CUSTOMER_SHIPMENT_NU
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_BLANKET_NUMBER
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_SERVICE_COV_TEMPLATE
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_SHIP_TOLERANCE_BELOW
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_END_CUSTOMER_SITE_US
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_SHIP_TOLERANCE_BELOW
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_LATEST_ACCEPTABLE_DA
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_AGREEMENT_ID
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_PACKING_INSTRUCTIONS
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_IB_INSTALLED_AT_LOCA
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_IB_CURRENT_LOCATION
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_IB_CURRENT_LOCATION
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_CONVERSION_RATE_DATE
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_ITEM_IDENTIFIER_TYPE
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_END_ITEM_UNIT_NUMBER
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_CUSTOMER_LINE_NUMBER
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_EXPIRATION_DATE
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_ORDERED_QUANTITY_UOM
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_IB_OWNER
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_PREFERRED_GRADE
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_SHIPPING_INSTRUCTION
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_SERVICE_DURATION
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_TAX_EXEMPT_REASON_CO
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_ACCOUNTING_RULE_DURA
12.1.1
-
PACKAGE BODY: APPS.ONT_D1024_PAYMENT_TYPE_CODE
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_END_CUSTOMER_SITE_US
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_SHIPPING_INSTRUCTION
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_PREFERRED_GRADE
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_COMMITMENT_ID
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_SHIP_TOLERANCE_ABOVE
12.1.1
-
PACKAGE BODY: APPS.ONT_D2_CUSTOMER_LINE_NUMBER
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_ORDER_FIRMED_DATE
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_SOLD_TO_ORG_ID
12.1.1
-
PACKAGE BODY: APPS.ONT_D1_SHIPPING_INSTRUCTION
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_IB_OWNER
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_SHIP_TOLERANCE_ABOVE
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_COMMITMENT_ID
12.2.2
-
PACKAGE BODY: APPS.ONT_D2_INTERMED_SHIP_TO_ORG
12.2.2
-
PACKAGE BODY: APPS.ONT_D1025_PAYMENT_TYPE_CODE
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_CONVERSION_RATE_DATE
12.2.2
-
PACKAGE BODY: APPS.ONT_D1_IB_OWNER
12.2.2