Search Results mrp_line_schedule_algorithm
Overview
The APPS.MRP_LINE_SCHEDULE_ALGORITHM package body implements the line scheduling algorithm used by Oracle E-Business Suite manufacturing and planning modules. Its business purpose is to sequence and time production orders against a production line, respecting line capacity, resource constraints, calendar availability, and the applicable scheduling rule. It is one of the core computational engines behind repetitive scheduling, flow schedule creation, and mixed-model line sequencing in Oracle Manufacturing and Oracle Advanced Supply Chain Planning.
The package is classified as an OTHER API in the ETRM registry and holds a VALID status in the APPS schema. It is documented as referencing fifteen database objects through APPS synonyms and as being referenced by six other packages, which confirms its role as a shared scheduling service rather than a standalone utility. All scheduling activity is performed inside the APPS schema, with no evidence of public synonyms beyond those already exposed through the standard product schemas.
Key Procedures and Functions
ETRM documents nineteen procedures and functions within the package body. They are best understood in functional groups.
- Scheduling entry points: SCHEDULE, SCHEDULE_ORDERS, SCHEDULE_ORDERS_LEVEL, SCHEDULE_MIX_MODEL, MIX_MODEL, and ORDER_SCHEDULING_RULE initiate scheduling for a set of orders or a model mix, applying the chosen scheduling rule.
- Quantity and capacity calculation: CALCULATE_ORDER_QUANTITIES, CALCULATE_LINECAP, CALCULATE_PRODUCTION_PLAN, and ROUNDING_PROCESS derive order quantities, line capacity, and the rounded production plan.
- Timing calculation: CALCULATE_BEGIN_TIME, CALCULATE_COMPLETION_TIME, and TIME_EXISTING_FS compute start and end timestamps, including the timing of existing flow schedules.
- Sequencing: CALCULATE_BUILD_SEQUENCES and UPDATE_BUILDSEQ establish and persist build sequence numbers for scheduled orders.
- Demand and flow schedule creation: CALCULATE_DEMAND, CALCULATE_DEMAND_MIX, and CREATE_PO_FS build demand records and create flow schedules from the schedule output.
- Infrastructure: CREATE_CURSOR supports dynamic SQL cursor construction for the algorithm's query processing.
Tables Accessed
The package reads and writes through APPS synonyms. Scheduling rules and line parameters are sourced from MRP_SCHEDULING_RULES, MTL_PARAMETERS, and MTL_SYSTEM_ITEMS. Calendar and resource availability are read from BOM_CALENDAR_DATES, BOM_RESOURCE_FLEX_FENCES, and MRP_CALENDAR. Order and line entities are handled through WIP_DISCRETE_JOBS, WIP_REPETITIVE_SCHEDULES, WIP_FLOW_SCHEDULES, WIP_LINES, WIP_ENTITIES_S, and BOM_REVISIONS. Query metadata for the scheduling forms is held in MRP_FORM_QUERY and MRP_FORM_QUERY_S. DBMS_SQL, DUAL, and PLITBLM are used for dynamic SQL execution and internal PL/SQL table handling.
Usage Notes
This package is an internal engine rather than a user-facing API. It is normally invoked through the Oracle Manufacturing scheduling forms, through concurrent programs that generate flow schedules and repetitive schedules, and by the six dependent packages identified in the ETRM dependency listing. Custom code should avoid calling individual internal procedures directly, because the algorithm depends on consistent setup of scheduling rules, calendars, and line definitions. Where integration is required, the supported entry points are the higher-level scheduling procedures. The presence of FND_API and FND_MSG_PUB in the dependency list indicates that error handling and messages follow the standard Oracle Application Object Library conventions, and callers should expect scheduling failures to be reported through the standard message stack.
-
PACKAGE BODY: APPS.MRP_LINE_SCHEDULE_ALGORITHM
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_LINE_SCHEDULE_ALGORITHM, status:VALID,
-
PACKAGE BODY: APPS.MRP_LINE_SCHEDULE_ALGORITHM
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_LINE_SCHEDULE_ALGORITHM, status:VALID,
-
PACKAGE: APPS.MRP_LINE_SCHEDULE_ALGORITHM
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_LINE_SCHEDULE_ALGORITHM, status:VALID,
-
PACKAGE: APPS.MRP_LINE_SCHEDULE_ALGORITHM
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_LINE_SCHEDULE_ALGORITHM, status:VALID,
-
SYNONYM: APPS.BOM_RESOURCE_FLEX_FENCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BOM_RESOURCE_FLEX_FENCES, status:VALID,
-
SYNONYM: APPS.BOM_RESOURCE_FLEX_FENCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BOM_RESOURCE_FLEX_FENCES, status:VALID,
-
SYNONYM: APPS.MRP_SCHEDULING_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_SCHEDULING_RULES, status:VALID,
-
SYNONYM: APPS.MRP_SCHEDULING_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_SCHEDULING_RULES, status:VALID,
-
PACKAGE: APPS.MRP_HORIZONTAL_PLAN_SC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_HORIZONTAL_PLAN_SC, status:VALID,
-
PACKAGE: APPS.FLM_TIMEZONE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FLM_TIMEZONE, status:VALID,
-
PACKAGE: APPS.MRP_HORIZONTAL_PLAN_SC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_HORIZONTAL_PLAN_SC, status:VALID,
-
SYNONYM: APPS.MRP_FORM_QUERY_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_FORM_QUERY_S, status:VALID,
-
PACKAGE: APPS.FLM_TIMEZONE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FLM_TIMEZONE, status:VALID,
-
SYNONYM: APPS.MRP_FORM_QUERY_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_FORM_QUERY_S, status:VALID,
-
PACKAGE BODY: APPS.MRP_DEFAULT_FLOW_SCHEDULE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_DEFAULT_FLOW_SCHEDULE, status:VALID,
-
SYNONYM: APPS.WIP_ENTITIES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_ENTITIES_S, status:VALID,
-
PACKAGE BODY: APPS.FLM_CREATE_PRODUCT_SYNCH
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FLM_CREATE_PRODUCT_SYNCH, status:VALID,
-
PACKAGE BODY: APPS.FLM_CREATE_PRODUCT_SYNCH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FLM_CREATE_PRODUCT_SYNCH, status:VALID,
-
SYNONYM: APPS.WIP_ENTITIES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WIP_ENTITIES_S, status:VALID,
-
PACKAGE BODY: APPS.MRP_DEFAULT_FLOW_SCHEDULE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_DEFAULT_FLOW_SCHEDULE, status:VALID,
-
PACKAGE BODY: APPS.FLM_AUTO_REPLENISHMENT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FLM_AUTO_REPLENISHMENT, status:VALID,
-
PACKAGE BODY: APPS.MRP_FLOW_SCHEDULE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_FLOW_SCHEDULE_PUB, status:VALID,
-
PACKAGE BODY: APPS.MRP_FLOW_SCHEDULE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_FLOW_SCHEDULE_PUB, status:VALID,
-
SYNONYM: APPS.MRP_FORM_QUERY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MRP_FORM_QUERY, status:VALID,
-
SYNONYM: APPS.MRP_FORM_QUERY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_FORM_QUERY, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.FLM_AUTO_REPLENISHMENT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FLM_AUTO_REPLENISHMENT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.MRP_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MRP_CALENDAR, status:VALID,
-
PACKAGE BODY: APPS.MRP_FLOW_SCHEDULE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_FLOW_SCHEDULE_UTIL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.INV_KANBAN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_KANBAN_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_KANBAN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_KANBAN_PVT, status:VALID,
-
PACKAGE BODY: APPS.MRP_FLOW_SCHEDULE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_FLOW_SCHEDULE_UTIL, status:VALID,
-
PACKAGE: APPS.MRP_CALENDAR
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MRP_CALENDAR, status:VALID,
-
PACKAGE: APPS.BOM_REVISIONS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BOM_REVISIONS, status:VALID,
-
PACKAGE: APPS.BOM_REVISIONS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BOM_REVISIONS, status:VALID,
-
PACKAGE: APPS.MRP_LINE_SCHEDULE_ALGORITHM
12.2.2
-
SYNONYM: APPS.WIP_REPETITIVE_SCHEDULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_REPETITIVE_SCHEDULES, status:VALID,
-
SYNONYM: APPS.WIP_REPETITIVE_SCHEDULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WIP_REPETITIVE_SCHEDULES, status:VALID,
-
SYNONYM: APPS.WIP_FLOW_SCHEDULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WIP_FLOW_SCHEDULES, status:VALID,
-
SYNONYM: APPS.BOM_CALENDAR_DATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BOM_CALENDAR_DATES, status:VALID,
-
SYNONYM: APPS.BOM_CALENDAR_DATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BOM_CALENDAR_DATES, status:VALID,
-
PACKAGE: APPS.MRP_LINE_SCHEDULE_ALGORITHM
12.1.1
-
SYNONYM: APPS.WIP_FLOW_SCHEDULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_FLOW_SCHEDULES, status:VALID,
-
SYNONYM: APPS.WIP_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_LINES, status:VALID,
-
SYNONYM: APPS.WIP_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WIP_LINES, status:VALID,
-
APPS.FLM_CREATE_PRODUCT_SYNCH dependencies on MRP_LINE_SCHEDULE_ALGORITHM
12.1.1
-
APPS.MRP_DEFAULT_FLOW_SCHEDULE dependencies on MRP_LINE_SCHEDULE_ALGORITHM
12.2.2