Search Results msc_sch_wb
Overview
ORDER_SCH_WB is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the Order Management and Advanced Supply Chain Planning scheduling infrastructure, providing the shared workbench ("WB") logic that supports available-to-promise (ATP) processing, scheduling, and supply/demand resolution across the EBS order fulfillment and planning modules.
The package sits at a foundational layer of the scheduling stack. ETRM metadata classifies it as a package in VALID status with an API classification of OTHER, meaning it is an internal utility routine rather than a public, supported open interface. Its primary consumers are the MSC (Advanced Planning) ATP family of packages and the OE (Order Management) availability routines, indicating that ORDER_SCH_WB centralizes scheduling logic so that both the planning engine and the order entry forms operate against a consistent timing and availability model.
Key Procedures and Functions
The ETRM metadata documents 16 procedures and functions. Notable ones include:
- GET_SUPPLY_SOURCES_LOCAL — retrieves the supply sources applicable to the local organization context used during scheduling.
- GET_ATP_RESULT — returns available-to-promise results for the requested item/date criteria.
- GET_ATP_RULE_NAME — resolves the ATP rule name applicable to the current scheduling context.
- GET_ASSIGNMENT_SET — identifies the assignment set associated with the ATP or sourcing setup.
- MRP_TIMING — applies MRP-based timing logic to scheduling calculations.
- ATP_DEBUG — provides diagnostic output for ATP processing.
- GET_PERIOD_ATP_STRINGS — builds the period-level ATP string representations used in availability display and calculation.
- CALC_EXCEPTIONS — computes scheduling or ATP exceptions.
- PIPE_UTILITY — provides pipelined or delimiter-based utility handling for internal data processing.
- SET_SESSION_ID — establishes the session identifier used by dependent scheduling calls.
- GET_MASTER_ORG — returns the master organization for the current item/organization context.
- DELETE_LINES — removes transient scheduling work lines.
- GET_SUPPLY_DEMAND_SOURCE_NAME — resolves display names for supply and demand sources.
- EXTEND_OTHER_COLS — extends a record or collection with additional columns required by callers.
- COMMIT_DB — performs an explicit database commit for changes made within the package's processing.
- GET_PROFILE — wraps FND_PROFILE lookups for scheduling-related profile options.
Tables Accessed
The ETRM excerpt does not enumerate base tables directly; it documents dependencies on APPS.FND_GLOBAL, APPS.FND_PROFILE, and SYS.STANDARD. FND_GLOBAL supplies the runtime context (user ID, responsibility, organization) that governs which supply sources, ATP rules, and assignment sets are visible. FND_PROFILE provides the profile option values consumed by GET_PROFILE. Any persistent scheduling results and exceptions are written through the MSC and OE scheduling tables owned by the calling packages.
Usage Notes
ORDER_SCH_WB is not intended to be called directly from custom code. ETRM records that it is referenced by 12 other packages, including MSC_ATP_24X7, MSC_ATP_EXCEPTIONS, MSC_ATP_FUNC, MSC_ATP_PEG, MSC_ATP_PROC, MSC_ATP_PUB, MSC_ATP_PVT, MSC_BAL_UTILS, MSC_SATP_FUNC, MSC_SCH_WB, OE_OE_AVAILABILITY, and OE_OE_PRICING_AVAILABILITY. This dependency graph demonstrates that it is invoked indirectly whenever ATP is calculated, when the 24x7 ATP engine runs, during planning workbench scheduling, and when order entry forms display item availability. The user search term "msc_sch_wb" reflects this relationship: MSC_SCH_WB is one of the direct callers of ORDER_SCH_WB. Because the package performs explicit commits through COMMIT_DB, custom code should not wrap it in a transaction that assumes rollback control.
-
PACKAGE: APPS.ORDER_SCH_WB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ORDER_SCH_WB, status:VALID,
-
PACKAGE: APPS.ORDER_SCH_WB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ORDER_SCH_WB, status:VALID,
-
PACKAGE BODY: APPS.MSC_SCH_WB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SCH_WB, status:VALID,
-
PACKAGE BODY: APPS.MSC_SCH_WB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_SCH_WB, status:VALID,
-
PACKAGE: APPS.MSC_SCH_WB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_SCH_WB, status:VALID,
-
PACKAGE: APPS.MSC_SCH_WB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_SCH_WB, status:VALID,
-
SYNONYM: APPS.MSC_DEMAND_CLASSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_DEMAND_CLASSES, status:VALID,
-
PACKAGE BODY: APPS.ORDER_SCH_WB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ORDER_SCH_WB, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_BPEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_BPEL, status:VALID,
-
PACKAGE: APPS.OWB_TREE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OWB_TREE, status:VALID,
-
PACKAGE BODY: APPS.MSC_AATP_FUNC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_AATP_FUNC, status:VALID,
-
SYNONYM: PUBLIC.V$PARAMETER2
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:V$PARAMETER2, status:VALID,
-
PACKAGE BODY: APPS.ORDER_SCH_WB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ORDER_SCH_WB, status:VALID,
-
PACKAGE: APPS.MSC_OWB_TREE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_OWB_TREE, status:VALID,
-
PACKAGE: APPS.OWB_TREE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OWB_TREE, status:VALID,
-
PACKAGE: APPS.MSC_OWB_TREE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_OWB_TREE, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_BPEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_BPEL, status:VALID,
-
PACKAGE BODY: APPS.MSC_AATP_PROC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_AATP_PROC, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_EXCEPTIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_EXCEPTIONS, status:VALID,
-
PACKAGE: APPS.MSC_BAL_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_BAL_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_GLOBAL, status:VALID,
-
SYNONYM: APPS.MSC_DEMAND_CLASSES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_DEMAND_CLASSES, status:VALID,
-
SYNONYM: APPS.MSC_ASSIGNMENT_SETS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_ASSIGNMENT_SETS, status:VALID,
-
PACKAGE BODY: APPS.MSC_WF_ALLOC_ATP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WF_ALLOC_ATP, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_CUSTOM
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_CUSTOM, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_PUB, status:VALID,
-
SYNONYM: APPS.MSC_ASSIGNMENT_SETS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ASSIGNMENT_SETS, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_UTILS, status:VALID,
-
SYNONYM: PUBLIC.GV$INSTANCE
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:GV$INSTANCE, status:VALID,
-
PACKAGE BODY: APPS.MRP_OM_API_PK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_OM_API_PK, status:VALID,
-
PACKAGE BODY: APPS.MRP_OM_API_PK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_OM_API_PK, status:VALID,
-
PACKAGE BODY: APPS.MSC_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CALENDAR, status:VALID,
-
SYNONYM: PUBLIC.V$PARAMETER2
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:V$PARAMETER2, status:VALID,
-
PACKAGE BODY: APPS.MSC_WF_ALLOC_ATP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WF_ALLOC_ATP, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_UTILS, status:VALID,
-
PACKAGE: APPS.MSC_BAL_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_BAL_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_EXCEPTIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_EXCEPTIONS, status:VALID,
-
PACKAGE BODY: APPS.MRP_ATP_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_ATP_PUB, status:VALID,
-
PACKAGE BODY: APPS.MRP_AATP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_AATP_PVT, status:VALID,
-
PACKAGE BODY: APPS.MRP_AATP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_AATP_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSC_AATP_FUNC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_AATP_FUNC, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_GLOBAL, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_CUSTOM
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_CUSTOM, status:VALID,
-
PACKAGE: APPS.MSC_ATP_CTO
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_CTO, status:VALID,
-
SYNONYM: APPS.MTL_ATP_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_ATP_RULES, status:VALID,
-
PACKAGE: APPS.MSC_ATP_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_OWB_TREE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_OWB_TREE, status:VALID,
-
SYNONYM: APPS.MTL_ATP_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_ATP_RULES, status:VALID,
-
PACKAGE: APPS.MSC_ATP_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MSC_ATP_UTILS, status:VALID,
-
PACKAGE BODY: APPS.MSC_AATP_PROC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_AATP_PROC, status:VALID,