30
8/29/13 Document Display https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 1/30 R12 Scheduling In Order Management (Doc ID 1551848.1) Modified: May 29, 2013 Type: BULLETIN Status: PUBLISHED Priority: 3 In this Document Purpose Scope Details Functional Overview Manual Scheduling Upon Entry Scheduling during Booking Scheduling after Booking Deferred Scheduling Manual Scheduling Scheduling Groups of Lines Business Scenarios (Test Flows) Calculation of Latest Acceptable Date (LAD) Calculation of Schedule Arrival Date References APPLIES TO: Oracle Order Management - Version 12.0 and later Information in this document applies to any platform. PURPOSE The purpose of this bulletin is to provide Oracle Customers with a good understanding of the Scheduling process and the profiles and setup steps required to obtain the desired scheduling results. SCOPE This document helps the Support Engineers and Oracle Customers to understand basic scheduling concepts within Order Management and also addresses the functionality of scheduling in detail along with business scenarios. This page describes in detail about the various profile options and setups which affect Scheduling. Screen shots and testing of sample insert scripts in this page were done in a 12.1.2 Oracle Vision Instance. DETAILS Introduction: Scheduling is a concept, which helps to place the demand in the inventory based on the availability. Scheduling helps with the following: * Find the availability of the items * Populate the Schedule ship date, arrival date and last acceptable date based on the calculated ATP Date * Performs the reservation based on Scheduled Ship Date * Calculates the delivery lead time based on as ship method * Prevents over demand by setting the items attribute Check ATP Scheduling also allows you to check ATP (Available to Promise), and display availability automatically as soon as the line is entered. Setup is required to perform ATP on an item. A sample scenario is provided in the testflow for ATP item below. From the availability window, ATP availability button guides to APS's Global ATP window to view availability across the global supply chain. This page describes in detail about the various profile options and setups, which affect the scheduling. Functional Overview Sales order line would be scheduled for both the ATP as well non-ATP items based on the availability of the item. When scheduling is not performed during sales order entry (either manually or automatically), then as part of standard functionality, scheduling will be done by the workflow process. Scheduling is done by the workflow process associated with the order line (OEOL). For example: Considering the Line Flow – Generic work flow Once the order is Booked, the workflow completes the Booking activity and proceed to the next stage i.e. Scheduling. This is when Scheduling is performed. Open the process 'Line Flow - Generic' in the Workflow Builder. The 'Line Flow - Generic' process looks as below * 'Line Flow – Generic' Process

Atp Basics II

Embed Size (px)

Citation preview

Page 1: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 1/30

R12 Scheduling In Order Management (Doc ID 1551848.1)

Modified: May 29, 2013 Type: BULLETIN Status: PUBLISHED Priority: 3

In this Document

Purpose

Scope

Details

Functional Overview

Manual Scheduling Upon Entry

Scheduling during Booking

Scheduling after Booking

Deferred Scheduling

Manual Scheduling

Scheduling Groups of Lines

Business Scenarios (Test Flows)

Calculation of Latest Acceptable Date (LAD)

Calculation of Schedule Arrival Date

References

APPLIES TO:

Oracle Order Management - Version 12.0 and laterInformation in this document applies to any platform.

PURPOSE

The purpose of this bulletin is to provide Oracle Customers with a good understanding of the Scheduling process and the profiles and setup steps required to obtain the desired schedulingresults.

SCOPE

This document helps the Support Engineers and Oracle Customers to understand basic scheduling concepts within Order Management and also addresses the functionality of scheduling indetail along with business scenarios.

This page describes in detail about the various profile options and setups which affect Scheduling. Screen shots and testing of sample insert scripts in this page were done in a 12.1.2 Oracle Vision Instance.

DETAILS

Introduction:

Scheduling is a concept, which helps to place the demand in the inventory based on the availability.

Scheduling helps with the following:

* Find the availability of the items * Populate the Schedule ship date, arrival date and last acceptable date based on the calculated ATP Date * Performs the reservation based on Scheduled Ship Date * Calculates the delivery lead time based on as ship method * Prevents over demand by setting the items attribute Check ATP

Scheduling also allows you to check ATP (Available to Promise), and display availability automatically as soon as the line is entered. Setup is required to perform ATP on an item. A samplescenario is provided in the testflow for ATP item below. From the availability window, ATP availability button guides to APS's Global ATP window to view availability across the global supplychain.

This page describes in detail about the various profile options and setups, which affect the scheduling.

Functional Overview

Sales order line would be scheduled for both the ATP as well non-ATP items based on the availability of the item. When scheduling is not performed during sales order entry (either manuallyor automatically), then as part of standard functionality, scheduling will be done by the workflow process.

Scheduling is done by the workflow process associated with the order line (OEOL). For example: Considering the Line Flow – Generic work flow Once the order is Booked, the workflowcompletes the Booking activity and proceed to the next stage i.e. Scheduling. This is when Scheduling is performed.

Open the process 'Line Flow - Generic' in the Workflow Builder. The 'Line Flow - Generic' process looks as below

* 'Line Flow – Generic' Process

Page 2: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 2/30

Double click on the 'Enter - Line'subprocess, it will open the subprocess which looks as below

* 'Enter - Line' Subprocess

Order will wait at "Wait for Booking" till booking action is performed. The work flow will progress to next stage.

Double click on the 'Schedule - Line' subprocess in 'Line Flow - Generic' process. Double clicking opens 'Schedule - Line' subprocess which looks as below

* 'Schedule - Line' Subprocess

Once the line is scheduled, SCHEDULE_SHIP_DATE is populated into the OE_ORDER_LINES_ALL.

The SCHEDULE_SHIP_DATE should be a value between the REQUEST_DATE and the LATEST_ACCEPTABLE_DATE.

Table Level Changes

Scheduling sets the VISIBLE_DEMAND_FLAG, SCHEDULE_STATUS_CODE as soon as the lines are scheduled. The two columns are independent and are not based on the setups

Scheduling controls following sets of data along with the above. SCHEDULE_ARRIVAL_DATESCHEDULE_SHIP_DATELATEST_ACCEPTABLE_DATE SHIPPING_METHOD, if the shipping network is set up DELIVERY_LEAD_TIME, if the shipping network is set up SHIP_FROM_ORG_ID (Warehouse) VISIBLE_DEMAND_FLAG is set to yes when the line is scheduled. Demand is visible to the planning applications when the line is scheduled. SCHEDULE_STATUS_CODE is set to the SCHEDULED

Events Controlling Scheduling

Scheduling happens during any one of the following events

1. Automatic scheduling upon entry 2. Manual Scheduling upon entry 3. Scheduling during booking 4. Scheduling after Booking

Automatic scheduling upon entry

OM: Auto Schedule

If the profile OM: Auto Schedule is set to Yes, then line is scheduled at the time of saving. i.e. Scheduling is done at the moment if cursor is moved from current line or Block, to next line orBlock, manual save.

Ship Sets and Arrival Sets

You can include lines in Ship Sets or Arrival Sets depending on how you want to group them. Ship Sets and Arrival Sets are based on similar dates: Ship Set (Schedule Ship Date) and ArrivalSet (Schedule Arrival Date). Refer to the documentation for further details.

Go to the Shipping tab of the order lines and notice the Ship Set and Arrival Set fields. The following methods can be used to set a value in these fields. 1) Enter a value directly in one of these fields. 2) Right click on the order line and go to Sets > New > Ship Set to create a new ship set, or Sets > Add to Set > Ship Sets to add to an existing set. 3) When entering the order header, enter either Ship or Arrival in the Line Sets field (Others tab). This will set the ship set or arrival set field in the order lines by default. 4) To set a default value in the Line Sets field from the Others tab, set up Defaulting Rules for the entity 'Order Header', Attribute 'Line Sets'.

Following screen shot shows one of the places the default value can be set up Customer Level. Navigation is Customers > Standard Customers > Query Customer > Click on Customer link >

Page 3: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 3/30

Following screen shot shows one of the places the default value can be set up Customer Level. Navigation is Customers > Standard Customers > Query Customer > Click on Customer link >Order Management Tab

When lines are entered into a Ship Set or Arrival Set, the scheduling would be done on saving the lines.

Why does the scheduling happen while using the Ship Set or Arrival Set? All of the lines in the set would have the same value for Schedule Ship Date. However we do have option to include lines of same order in different ship set / Arrival set. Order entry processing uses the warehouse, ship to location, shipment priority, and shipment method for scheduling

If the default Order Header value for sets is set to Ship, and

a. if the profile option, "OM: Assign new set for each line," is set to "N," Order Management will automatically determine the earliest Scheduled Ship Date, based upon your setup, and create acommon ship set for all order lines in that order.

b. if the profile "OM: Assign new set for each line," is set to "Y," Order Management will automatically determine the earliest Scheduled Ship Date, based upon your setup, and create a uniqueship set for each line in an order.

Tools > Auto Schedule

If the Auto Schedule flag is set from the sales order line, the lines will get scheduled when they are saved.

The Auto Schedule set flag can be set by following ways:

1) Setting the profile OM: Auto Schedule to Yes

2) Setting the Transaction Type > Shipping Tab > Auto Schedule flag

Page 4: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 4/30

Verify the Scheduling Levels on Transaction Types:

Page 5: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 5/30

The scheduling level on the order transaction type determines what type of scheduling is allowed. The possible values for this are:

ATP Only - You will not be able to schedule or reserve lines on the order. This could be used for Bill-Only or Bill-Only with Inventory Interface flows, or possibly for quoting scenarios.No Reservations - You can perform all scheduling functions except for reserving inventory.Allow All Scheduling Actions - All scheduling actions can be performed.Inactive Demand With Reservations - You can manually enter any schedule date, but the system does not schedule. The line can be reserved. The schedule date is not visible to MRP /APS. This functionality is only for standard items, and it does not support ship or arrival sets.Inactive Demand Without Reservations - You can manually enter any schedule date, but the system does not schedule. No reservation can be placed on the line. The schedule date isnot visible to MRP/APS. This functionality is only for standard items, and it does not support ship or arrival sets.

3) Manual checking

If profile OM: Auto Schedule is set to No and the Transactin Type Auto Schedule is not checked, then Auto Schedule needs to be manually checked. Navigate to Tools > Auto Schedule fromthe Sales Order forms.

Manual Scheduling Upon Entry

If the profile OM: Auto Schedule is set to No, then line is not scheduled at the time of order entry. This would require manual scheduling or this is postponed till booking activity. Three ways todo manual scheduling

1) Tools > Scheduling > Schedule 2) Enter the Schedule Ship Date (or the Schedule Arrival Date if the Order Date Type in order header is 'Arrival') 3) Keep the cursor on the line > Right Click > Scheduling > Schedule

Scheduling during Booking

When scheduling is not performed during sales order entry (either manually or automatically), then as part of standard functionality, scheduling will be done by the workflow process at thetime of booking.

Scheduling is done by the work flow process associated with the order line. For example: Consider the Line Flow – Generic work flow. Once the order is Booked, Workflow completes theBooking activity and proceed to the next stage i.e. Scheduling. This is when Scheduling is performed.

Open the process 'Line Flow - Generic' in the Workflow Builder. The 'Line Flow - Generic' process looks as below

* 'Line Flow – Generic' Process

Double click on the 'Enter - Line' subprocess, it will open the subprocess which looks as below

* 'Enter – Line' Subprocess

Order will wait at “Wait for Booking” until Booking action is performed. Workflow will progress to the next stage. Double click on the 'Schedule - Line' subprocess in 'Line Flow - Generic'process. Double clicking opens 'Schedule - Line' subprocess which looks as below

Page 6: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 6/30

* 'Schedule – Line' Subprocess

The Schedule activity attempts to schedule the order line. If the Schedule activity returns a result of Incomplete or On Hold, the process moves to the Schedule - Eligible, activity. From therethe process must be manually progressed to return to the Schedule activity.

'Schedule' activity has the function OE_OEOL_SCH.SCHEDULE_LINE which performs the scheduling.

Scheduling after Booking

Scheduling after Booking can be achieved by two different work flow process, which has deferred activity before 'Schedule - Line' activity.

Deferred Scheduling

'Schedule - Line, Deferred' subprocess is identical to the 'Schedule - Line', except two new activities. An activity to determine whether the line is scheduled, and a defer activity.

The 'Schedule - Line, Deferred subprocess begins with the Start activity. The 'Is Line Scheduled' activity checks whether the line is scheduled or not.

If scheduling is complete or if the line is not eligible for scheduling, then the process ends and the work flow moves to next activity in the parent flow. If scheduling has not yet been completed,the process moves to the 'Schedule - Deferred' activity. This activity moves scheduling to the background engine.

Manual Scheduling

From Release 12, a new scheduling sub-process named 'Schedule-Line, Manual' is introduced to control scheduling manually after the order is booked. If the new sub-process is used in theline workflow, then after booking the order, lines are blocked at the 'Schedule - Eligible' activity. From 'Schedule - Eligible' activity the lines can be progressed from Sales Orders window or theSchedule Orders concurrent program can be used to schedule the lines.

Scheduling Groups of Lines

The following table explains how does the ATP calculation, scheduling and reservations happens for different types of item.

Page 7: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 7/30

Business Scenarios (Test Flows)

This section includes testflows to understand some common business scenarios around scheduling.

How does one control Scheduling after booking an Order?

As we have already seen either the lines get automatically scheduled or these are scheduled when the order is booked. But if you want to postpone scheduling still further…

This can be achieved by two ways. a. Changing of workflow definition b. Applying hold at the time of order entry

Changing of work flow definition

Along with 'Schedule - Line, Deferred' a new sub process 'Schedule - Line, Manual' is introduced.

Deferred scheduling work flow process to be used in place of the default 'Schedule - Line' activity.

Page 8: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 8/30

Deferred scheduling work flow process to be used in place of the default 'Schedule - Line' activity.

One of the above sub-process can be copied and customized to the generic line process.

For example let us consider “Schedule - Line, Deferred” here The process “Schedule - Line, Deferred” should be used in place of “Schedule – Line” in the Line work flow.

1. Copy “Line Flow – Generic” to some other name for example XX Line Flow -Generic.2. Copy “Schedule - Line Deferred” sub process into the new work flow process XX Line Flow -Generic.

3. Replace this with the new one.

The new workflow would look as below:

Understanding Schedule – Line, Deferred

Once booking is done then the workflow stops at “Schedule – Deferred” status and this would remain at “Schedule – Deferred” activity. Since this is a deferred activity, we need manualintervention to push this further and this is done using the Workflow Background process request.

Applying hold at the time of order entry

Apply hold once the line is saved and when booking “Could not Schedule. Line on Hold” processing message pops up. Please apply the hold which is not an workflow activity-specific hold.

Note: If the hold is specific to workflow activity, then the Workflow Activity attached should be 'Line Scheduling' for Workflow Item 'OM Order Line' or Workflow Activity attached should be'Book Order' for Workflow Item 'OM Order Header'

Sample Test case showing the above

1. Create an Order and apply the hold at the time of order entry. 2. Book the Order following error message pops up:

Page 9: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 9/30

See the Order is Booked but Schedule Ship Date is not populated (Scheduling not done) and Order Line is on Hold.

Workflow status diagram shows:

Once the hold is released, one would need to select Actions > Progress Order on the line, or run the Schedule Order concurrent request to schedule the order.

Note: “OM: Schedule Line on Hold” should be set to No. If the profile is Yes, then the workflow would complete the scheduling activity.

Page 10: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 10/30

Calculation of Latest Acceptable Date (LAD)

LAD is populated only when the Latest Schedule Limit (LSL) is provided at the time of order creation. Latest Schedule Limit is defaulted from the site level or customer level based on defaultingrules.

Latest Acceptable Date (LAD) = Request Date + Latest Schedule Limit (LSL)

a. Set the Latest Schedule Limit

At Customer level:

b. Set Defaulting Rules:

Test Case

Page 11: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 11/30

The following test flow is created to demonstrate how to calculate the Latest Acceptable Date.

Create an Order with the setups mentioned above.

In Others Tab latest Schedule Limit defaulted from Customer Level which has higher precedence in Defaulting Rules

i.e. The LSL in this case is 10.

Request date + Latest Schedule Limit = Latest Acceptable Date

Page 12: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 12/30

Calculation of Schedule Arrival Date

Schedule Arrival Date = Schedule Ship Date + Delivery Lead Time

Delivery Lead Time needs to be calculated in order to calculate the Schedule Arrival Date. Delivery Lead Time is the Transit time taken. There are two possible ways to set this: InternalLocation Assigned to the Customer or by setting up Regions and Zones.

Internal Location Assigned to the Customer

Step 1 Identify the “Ship To” Address for which Delivery Lead time is to be specified

Page 13: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 13/30

Step 2

Create a Location for the ship to Address in Inventory Module. Navigation: Inventory responsibility > Set up > Organizations > Locations

Click Address tab

Page 14: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 14/30

Step 3

Inter-location transit time needs to be defined for the specific ship method, to be used for the transit from Source Location to Destination Location. Navigation: Inventory responsibility > Set up> Organizations > Inter-Location transit times

Page 15: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 15/30

Step 4

Associate this internal location to the customer ship to location on customer standard Form Navigation: Customers > Standard > Query the Customer > Click on Customer hyperlinkClick on the primary ship-to site > Details > Order Management tab > Enter the 'Internal Location'

Click the Ship To Location

Open the Ship to address at site level Define the Internal Location in Ship to Location

Page 16: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 16/30

Step 5

Run ATP Data collections. Navigation: Order Management > Scheduling > ATP Data Collection Run it as "Complete Refresh" Every time that a static setup is changed a Complete Refresh is needed.

Step 6 Add the 'Request Date type' as Arrival on the Customer Standard Form.

Page 17: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 17/30

Regions and Zones

Step 1 Setup regions and zones.

Navigation: Order Management > Set up > Shipping > Regions and Zones > Regions and Zones

Define Regions or Zones.

Step 2 Set up region level and zone level in-transit times in the “Transit Times” form Navigation: Order Management > Setup > Regions and Zones > Transit Times

a. Set the "From Location" to the Shipping Org b. Set the "Destination Type" to [Region] or [Zone] as appropriate. c. Set the "Destination" to the appropriate Region or Zone (ship to location) d. Enter the Ship Methods for that Region or Zone and the Intransit Times

Page 18: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 18/30

Page 19: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 19/30

Step 3

Run the following programs OM > Shipping > Interfaces > Run

a. Import Shipping Locations (WSHMLOCR)

Parameters: --------------------------------------------------------------------------------

Map Regions : Yes Location Type : Both (Process both Internal and External Locations) Start Date : as required End Date : as required

b. Location to Region Mapping (WSHLRMA) Parameters: --------------------------------------------------------------------------------Insert Flag : Yes Location Start Date : as required Location End Date : as required

c. Region Interface (WSHRGINT) (no parameters)

Step 4

Run ATP collections. Nav > Order Mangement > Scheduling > ATP Data Collection It needs to be a "Complete Refresh" Every time that a static setup is changed a Complete Refresh is needed.

Test case created by using General Setup process

The following test flow is created to demonstrate how lead time is used to calculate the schedule arrival date.

1. Enter a sales order for that specific 'customer' and 'ship to'

Page 20: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 20/30

2. In Others tab the values would be defaulted as below

3. Enter the lines details

Page 21: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 21/30

4. Book the Order

For the particular 'In-transit Delivery' Delivery lead-time and Schedule Ship Date on the order lines under shipping alternative region would be populated. When the order date type is Arrival then Schedule Ship Date cannot be changed. The following error occurs

Page 22: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 22/30

When the order date type is Arrival then Schedule Ship Date cannot be changed. The following error occurs

Test case created by using Regions or Zone Setup process

1. Enter a sales order for that specific 'customer' and 'ship to' 2. In Others tab the values would be defaulted as below 3. Enter the lines details 4. Book the Order

Test flow for ATP Item (calculation of Schedule Ship Date/ Available Date)

Available Date / Schedule Ship Date = Request date + Use defined time fence in ATP Rule i.e. For ATP items.

Scenario explains how to Schedule Ship Date / Available date for the ATP item is Request date + 1 day. Schedule Ship Date is the date on which the item can be shipped. It is based on thematerial availability.

Create an ATP item

ATP item needs to be created i.e. Check ATP and ATP Rules needs to be set in Order Management.

Page 23: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 23/30

Assign the item to Organization

Check the availability

Create an Order and click the availability button. Available Date would be blank and an Error “The requested item or one of its components is not collected” displayed on availability window asmentioned below.

Resolve the Error Message

To resolve the error “The requested item or one of its components is not collected” ATP data collection needs to be run. Run the ATP Data collection for complete refresh. Navigation -> Scheduling -> ATP Data Collection

Page 24: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 24/30

Note the ATP Rule in Order Management.

Define infinite Supply

To define the number of days required to manufacture the material is defined in ATP Rules. Query the Rule used in the Items Attributes (Order Management tab). Navigate to Inventory > Setup > Rules > Available to promise

Page 25: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 25/30

In infinite Supply, select the option as User-defined time fence and days as 1. Once the setups are completed

Usage of Calendars

Available date in the availability window would be populated based on the ATP Rule and Calendar. For example make changes to the workday calendar for a period 01-Jan-1990 to 31-DEC-2015 to show infinite supply date is +1 (no weekends to consider).

To reflect the changes rebuild the calendar.

Tools > Rebuild

Page 26: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 26/30

On Booking the order the order lines will be scheduled based on next available date.

Run the ATP Data collection for complete refresh. Navigation > Scheduling > ATP Data Collection

The following test case shows how the Available date and Schedule Ship Date are calculated

Page 27: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 27/30

The following test case shows how the Available date and Schedule Ship Date are calculated

Create an Order and enter the order line

Order Details

Line Details

Page 28: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 28/30

In this case Available Date / Schedule Ship Date = Request date + 1 day(s) (Use defined time fence in ATP Rule).

Timestamp Calculation

In scheduling time stamp is not considered, normally it would be 23:59:00 i.e. EOD. One exception to this is for Non ATPable items, the profile 'MSC: Retain Time for Non-ATPable Items’,which governs display of timestamps for only Non ATPable items only. When this profile option is 'Yes', then time stamp is copied from Requested Date.

Note: At the time of rescheduling it would consider the first scheduling time stamp In case if the profile option is 'No' then for both ATPable and Non ATPable items, resources will be considered till end of day and always SSD will be end of the day i.e. 23:59:00.

Testflow for Reservations

If OM: Reservation Time Fence is set to a number greater than zero, then the reservation is created for the item as soon as the order is scheduled, if the schedule date is within thereservation time fence window. The time fence is the system date plus the number of days specified in the profile. For example, if the profile is set to 30 days, then as long as the ScheduleShip Date for the order is within the system date plus 30 days, then reservation is created.

The reservation is created once the line is scheduled either by manually or automatically. To view the reservation details Click Tools > Scheduling > Reservation Details

Attributes Related to Scheduling

The following is a list of line attributes related to scheduling.

Request Date Schedule Ship Date Schedule arrival date Warehouse Ordered Quantity Ordered Quantity UOM Shipping Method Delivery Lead Time Demand Class Customer Inventory Item Ship Set Arrival Set

If there is a change in any of the above attributes rescheduling would happen, since they are dependent on each other. The exception for the above scenario is Request Date and Ship Method.The Request Date and Ship Method can be controlled by two system parameters:

Reschedule with Request Date Change Reschedule with Ship Method Change

If the above mentioned parameters are set to No, then Rescheduling will not happen even if the Request Date and Ship Method are changed and vise versa

Profiles and System Parameters related to Scheduling

1. Profiles

Following are profile options related to Scheduling. Refer to the documentation for further information.

OM: Schedule Lines on Hold OM: Autoschedule OM: Reservation Time Fence OM: Auto Push Group Date OM: Authorized to Override ATP OM: Scheduling Rule MRP: ATP Assignment Set INV: Capable to Promise

Scheduling profiles related to OM are explained in:

Note:396960.1 - Scheduling Across Orders in Order Management

Page 29: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 29/30

Note:396960.1 - Scheduling Across Orders in Order Management

2. System Parameters

Navigate to OM > System Parameters > Values and select your Operating Unit and the category Scheduling Parameters. Notice the following system parameters. Refer to the documentationfor further details.

Allow Partial Reservation Firm Demand Events Latest Acceptable Date

Promise Date Setup Reschedule with Request Date Change Reschedule with Ship Method Change

To know more about that please refer to: Note: 296230.1 - Scheduling Flexibility

Concurrent Programs

1) Schedule Order Navigation: Orders, Returns > Schedule Order

2) Reserve Orders Navigation: OM > Reports, Requests > Run Requests

Troubleshooting

How to link the OM debug file with ATP session debug?

a. Set the OM debug level and MSC: ATP Debug Mode to 'Debug and Database Trace' or 'Debug Only'. If you are currently using a decentralized instance, then the profile should be set at theUser level on the source (ERP) instance and the Site level on the destination (Planning) instance.

Use Tools > Debug and check the box to enable debug and get the file name returned in the popup.

b. After performing the ATP Scheduling or Availability check, use View >Requests > Submit a new request Diagnostics: OM Debug log file Retrieval - enter the log file name (lnumber.dbg)

c. After the request completes open the OUTPUT File and search using CTRL-F to find MRP API

d. The line should appear like the following in this example from an OM Debug log file:

NEED TO CALL MRP , > 0 COUNT SESSION ID IN CALL_MRP 2320482 calling mrps atp api: 29-APR-08 18:21:19 After MRPs ATP API: S: 29-APR-08 18:21:28 CALLING LOAD_RESULTS ENTERING LOAD_RESULTS_FROM_TBL

-------------------------------------------------------------------------------- Loading MRP Result From Tbl

Loading mrp results Mrp count is 1 Line count is 1 Scheduling action SCHEDULE Load results line_id 284025 Index 1

ENTERING LOAD_RESULTS_FROM_REC

Loading MRP Result

MRP COUNT IS 1 SCHEDULE ACTION CODE SCHEDULE ENTERING OE_SYS_PARAMETERS.VALUE Going to get the value for MASTER_ORGANIZATION_ID ENTERING OE_SYS_PARAMETERS_PVT.VALUE Parameter Value from the cache : 204 ENTERING ORDERED_ITEM IN OEXSIDVB ITEM IDENTIFIER IS INT ORDERED_ITEM_DSP: ATP Test Case ORDERED_ITEM_DSP: ATP Test Case ENTERING ORDERED_ITEM IN OEXSIDVB ITEM IDENTIFIER IS INT ORDERED_ITEM_DSP: ATP Test Case ORDERED_ITEM_DSP: ATP Test Case ERROR FROM MRP: 53 SCHEDULING FAILED 53

e. So for this example, the file name found in the system would be session-2320482 To find the location of the session files at the Unix level, execute the following query in SQL*Plus:

Page 30: Atp Basics II

8/29/13 Document Display

https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_adf.ctrl-state=lzxw9q0cg_203 30/30

SELECT ltrim(rtrim(value)) Value

FROM

(select value from v$parameter2 where name='utl_file_dir' order by rownum desc)

WHERE rownum <2;

For More details please refer Note 122372.1 for generating ATP Debug and Trace file.

The common errors faced by customer

The following errors are the common errors faced by the customer,

Unable to Find Calendar Date in the calendar Scheduling failed: unable to meet requested quantity Unable To Enter Schedule Ship Date In Future Greater Than 'DD-MON-YYYY 23:59:59' Scheduling failed: Cannot meet request date or latest acceptable date. Scheduling Failed. Try ATP Again Later No APS instance defined. Set APS instance and run collections

Please refer the Note 473072.1 for the above mentioned errors.

How to override the Schedule Ship Date on a weekend or non working day calendar?

Solution: 1. Set profile option OM: Authorized to Override ATP = Yes 2. Set ‘Override ATP’ flag on the sales order line. This is a hidden field on the Shipping tab. 3. Enter the desired Schedule Ship Date on the line.

Please refer to the following notes:Note 264209.1 - OEXOEORD Cannot Schedule Sales Orders On A Weekend Or Non Work Day Calendar Date

Note 268406.1 - ATP Override – Cannot Override the Schedule Ship Date

Usages of calendars in Scheduling:

NOTE 456786.1 - ATP Does Not Honor Shipping Calendar - Schedule Ship Date Does Not Save On Work Day Saturday NOTE 461879.1 - Arrival Date Is Not Considering Shipping Calendar Assigned To The Customer: NOTE 211603.1 - OEXOEORD - Receive "Unable to Find Calendar Date" Error When Running ATP from OM

Other Sources:

a. Note 396089.1 R12 Scheduling Enhancements – FAQsb. NOTE 428310.1 - R12 ORDER MANAGEMENT SUITE - SCHEDULING ENHANCEMENTS LIBRARYc. Note: 418846.1 - ORDER MANAGEMENT SUITE - SCHEDULING LIBRARYd. Note: 436771.1 - FAQ - Understanding the ATP Results and the Availability Window of the Sales Order Form

This last note (d.) provides helpful screen shots and answers the questions:

Why can’t I ship my sales order today when I have enough on hand now? How can I ship it today, when I cannot schedule the order? How are the results calculated for On-Hand and Reservable in the ATP Availability Window? Closed (or Canceled) orders show up in ATP Supply/Demand and keep me from scheduling orders. How can I fix this? Where can I get more information about the error messages displayed in the ATP Availability window? How can I view ATP Supply/Demand results easily?

Still Have Questions? To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Order Management EBSCommunity.

Let us know your feedback! We hope you find this information useful. Our desire is to provide the right information when you need it. Please let us know how we are doing. To provide feedback on this note:

1. Select the "Rate this document" link. Depending on how you are viewing the note, you will find the link on the: a) bottom left when viewing the note in a separate window. b) upper right when viewing the note in the My Oracle Support window.

2. In the resulting pop-up box, enter your comments and ratings for the document. 3. Select Send Rating.

REFERENCES