oracle advanced supply chain planing

17
Oracle Advanced Supply Chain Planing Oracle Advanced Supply Chain Planning (ASCP) is a comprehensive, Internet-based planning solution that decides when and where supplies (for example, inventory, purchase orders and work orders) should be deployed within an extended supply chain. This is the supply planning function. Oracle ASCP addresses the following key supply planning issues: • How do I plan my supply chain in the least amount of time possible? • How do I minimize the number of plans and iterations? • How do I plan my entire supply chain? • How do I involve my trading partners? • How can I access my plan from anywhere? • How do I keep improving my plans? • How can I plan all manufacturing methods? The key capabilities of Oracle ASCP are: Holistic Optimization, Planning, and Scheduling. Oracle ASCP can plan all supply chain facilities simultaneously. Short-term detailed scheduling and long-term aggregate planning are supported within a single plan. This single plan also supports multiple manufacturing methods, including discrete, flow, project, and process manufacturing. Finite Capacity Planning and Scheduling. Oracle ASCP generates feasible supply chain plans that consider both resource and material constraints. Optimization. Users can easily configure Oracle ASCP to optimize specific business criteria. No programming is necessary to access Oracle ASCP’s powerful mathematical optimization capabilities. Backward Compatibility. Oracle ASCP’s component architecture allow it to be deployed against any combination of Oracle 11 and Oracle 11i transaction systems. Workflow-Driven Exception Messaging. Oracle ASCP’s exception messages alert planners to critical issues across the extended supply chain. Workflows that drive these exceptions route data to and feedback from trading partners as required, thus effectively involving them in the supply chain planning process. Global Accessibility. Oracle ASCP’s database-centric architecture stores plan data in a central planning server

Upload: amine-gallah

Post on 26-Dec-2014

179 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Oracle Advanced Supply Chain Planing

Oracle Advanced Supply Chain Planing

Oracle Advanced Supply Chain Planning (ASCP) is a comprehensive, Internet-based planning solution that decides when and where supplies (for example, inventory, purchase orders and work orders) should be deployed within an extended supply chain. This is the supply planning function. Oracle ASCP addresses the following key supply planning issues:• How do I plan my supply chain in the least amount of time possible?• How do I minimize the number of plans and iterations?• How do I plan my entire supply chain?• How do I involve my trading partners?• How can I access my plan from anywhere?• How do I keep improving my plans?• How can I plan all manufacturing methods?

The key capabilities of Oracle ASCP are:• Holistic Optimization, Planning, and Scheduling. Oracle ASCP can plan all supply chain facilities simultaneously. Short-term detailed scheduling and long-term aggregate planning are supported within a single plan. This single plan also supports multiple manufacturing methods, including discrete, flow, project, and process manufacturing.• Finite Capacity Planning and Scheduling. Oracle ASCP generates feasible supply chain plans that consider both resource and material constraints.• Optimization. Users can easily configure Oracle ASCP to optimize specific business criteria. No programming is necessary to access Oracle ASCP’s powerful mathematical optimization capabilities.• Backward Compatibility. Oracle ASCP’s component architecture allow it to be deployed against any combination of Oracle 11 and Oracle 11i transaction systems.• Workflow-Driven Exception Messaging. Oracle ASCP’s exception messages alert planners to critical issues across the extended supply chain. Workflows that drive these exceptions route data to and feedback from trading partners as required, thus effectively involving them in the supply chain planning process.• Global Accessibility. Oracle ASCP’s database-centric architecture stores plan data in a central planning server database. These data are accessible from Oracle Advanced Supply Chain Planning anywhere via a simple browser. It is possible for multiple planners to simultaneously access data from a single plan.• Integrated Planning and Execution. Oracle ASCP’s Advanced Planner Workbench user interface not only displays plan results, but also allows planners to execute planning recommendations. Planners do not have to move to the transaction system to perform plan execution.• Simulation Capability. Oracle ASCP allows many types of changes to supply, demand, plan options, and resource profiles to simulate changing business conditions. You can generate a plan considering all the changes that have been entered via the Planner’s Workbench. Unlimited numbers of scenarios can be simulated and compared using online planning, copy plans, and exceptions.ObjectiveThe objective of this document is to provide technical instructions of implementing a distributed multi node Oracle Advanced Supply Chain Planning system on your existing Oracle Application 11i System.

Page 2: Oracle Advanced Supply Chain Planing

Assumption / Pre implementation requirementsOracle Advanced Planning Suite has component architecture that separates the transaction data and associated processing (for example, inventory receipts and order entry) in a source instance from the planning calculations done in a destination instance. This allows planning calculations to be done on a different physical machine than the machine that performs transactions and results in better system response. It also allows planning calculations (demand planning, inventory planning, supply planning and order promising) to be applied simultaneously to information from across multiple source instances, which is useful when transaction information for a global supply chain is spread across multiple instances.

The source can be any ERP system, but out-of-the-box integration to the Oracle Advanced Planning Suite destination instance (planning server) exists if the source is Oracle Applications Release 11.0 or 11i. The planning server is an 11i instance.

Both source and destination database instances must be on the same major release of the Oracle database;

We are going to do a two machine ASCP implementation.

The basic requirement for both the machines is that of Oracle 11i E Business Suit.

Source System also called as “ERP System” and “Transaction System”.Destination System also called as “ASCP System” and Planning System”.

Both the Oracle Applications 11i E-Business Suite are on release 11.5.10.2.Patching the Source System (ERP System) and the Destination (ASCP system)Task By: Apps DBABefore beginning the functional setup of the source instance(s) and destination, the following patches must be applied that will create several new concurrent programs, flexfields, profile options, and database objects on the database.

If these patches have any prerequisite patches, you will have to apply all the prerequisite patches before applying the main patches.

Note that these patches can be applied at the same time on both the systems. Also note that most of the patches are to be applied on both the systems.

Note that we are using Oracle Applications 11.5.10.2 E Business suite and hence most of the patches may not be required to be applied. To confirm this use the following sql script connected to the Oracle Application Database as “APPS” user.

SET LINESIZE 120COLUMN APPLICATION_SHORT_NAME FORMAT A20SELECTBUG_ID, APPLICATION_SHORT_NAME, BUG_NUMBER, CREATION_DATE, ARU_RELEASE_NAMEFROM AD_BUGSWHERE BUG_NUMBER LIKE ‘%&BUG_NUMBER%’ORDER BY 4

Page 3: Oracle Advanced Supply Chain Planing

Pass the patch number when asked for the Bug Number and check whether the bug / patch exist in the Oracle Application database. If the query returns row (showing the presence of the patch) then you don’t require applying this patch.

Before applying patches please go through the readme files and associated notes (if present) for each patch. Before beginning the installation of the source / destination patches, count all (if any) invalid database objects. If after the patches are installed there are more invalid objects than before, there was a problem with the patch application. First try to resolve them before going to next step.

Do the required pre install steps before applying each patch and then after applying do the post-installation steps.Patch the Source System (ERP System)The following patches are required to be applied on the Source system:1. 41853582. 27000013. 35511424. 41834345. 42403656. 40399217. 43921448. 43663469. 4863176

Prepare a work sheet to identify whether the patch is required to be applied on the Oracle Application Source system using above given sql script and whether it requires any pre-requisite patches.

Sr. No. Patch Note Required (Y/N) Pre-requisites1. 4185358 Y None for 11.5.10.22. 2700001 N NR for 11.5.10.23. 3551142 Y None4. 4183434 N NR for 11.5.10.25. 4240365 278055.1 Y None for 11.5.10.26. 4039921 N NR for 11.5.10.27. 4392144 278055.1 Y None for 11.5.10.28. 4366346 278055.1 Y 36297179. 3629717 Y None for 11.5.10.210. 4863176 Y None for 11.5.10.2

Hence the sequence of applying the patches is as follows:1. 41853582. 35511423. 42403654. 43921445. 36297176. 43663467. 4863176

Page 4: Oracle Advanced Supply Chain Planing

Patch the Destination (ASCP) systemThe following patches are required to be applied on the Destination system:1. 41853582. 42318633. 42105844. 43599345. 43921446. 43663467. 43922318. 40399219. 4523322

Prepare a work sheet to identify whether the patch is required to be applied on the Oracle Application Destination system using above given sql script and whether it requires any pre-requisite patches.

Sr. No. Patch Note Required (Y/N) Pre-requisites1. 4185358 278055.1 Y None for 11.5.10.22. 4231863 278055.1 Y 41853583. 4210584 Y None4. 4359934 278055.1 Y 41853585. 4392144 278055.1 Y None for 11.5.10.26. 4366346 278055.1 Y 36297177. 3629717 Y None8. 4392231 Y None9. 4039921 N NR for 11.5.10.210. 4523322 278055.1, 278052.1 Y 4392231, (4863176 on Source Side),11. 4297568 Y NoneHence the sequence of applying the patches is as follows:1. 41853582. 42318633. 42105844. 43599345. 43921446. 36297177. 43663468. 43922319. 403992110. 452332211. 4297568

ILOG Libraries and ExecutablesThe patch 4297568 is for “ILOG Libraries and Executables”. Apply this patch only if you are using 11.5.10.2.

1. Log in to each concurrent processing server node as the owner of the Applications file system.

2. If the $SHT_TOP/lib/ilog/5.1 directory already exists, backup any files or directories that it contains.

Page 5: Oracle Advanced Supply Chain Planing

3. Unzip the ilog51lib.zip file, located in the sht/lib directory of this patch, into the $SHT_TOP/lib directory. This will create the ilog/5.1 subdirectory if it doesn’t already exist.

4. Change directories to $SHT_TOP/lib/ilog/5.1/SUN_OS5.

5. Copy the library files from the current directory to the $SHT_TOP/lib/ilog/5.1 directory.On UNIX Sun Solaris, the files arei. libconcert.aii. libcplex.aiii. libhybrid.aiv. libilocplex.av. libschedule.avi. libsolver.a

6. Use AD Administration to relink these executables [Under DB Node]:

i. Oracle Constraint Based Option (MSO): MSONEWii. Oracle Inventory Optimization (MSR): MSRNEWiii. Oracle Manufacturing Scheduling (WPS): WPCWFSiv. Oracle Work in Process (WIP): WICDOL, WICMEX, WICMLXCreate Database linkTask By: Apps DBACreate database link on Source system to Destination systemA database link must be established on the source instance that points to the destination (11i planning) instance. This database link will be referenced in a newly created profile option, MRP: ATP Database Link, discussed in Step 7.

This database link will also be used, along with a database link established on the destination instance, in setting up the instances on the planning server.

First make necessary entry of the Target / Destination instance Oracle Database in the tnsnames.ora file of the Source Instance Oracle Database tier (TNS_ADMIN location).

Create Database link as follows:create database linkconnect to APPS identified byusing ‘’;

APPS-TRNS1.USA.COM>select INSTANCE_NAME, HOST_NAME from v$instance;

INSTANCE_NAME HOST_NAME—————- ———————————————————–TRNS1 indsapp001

APPS-TRNS1.USA.COM>show userUSER is “APPS”

APPS-TRNS1.USA.COM>edWrote file afiedt.buf

Page 6: Oracle Advanced Supply Chain Planing

1 create database link coe22 connect to apps identified by *****3* using ‘coe2′APPS-TRNS1.USA.COM>/

Database link created.

APPS-TRNS1.USA.COM>select INSTANCE_NAME, HOST_NAME from v$instance@coe2;

INSTANCE_NAME HOST_NAME—————- ———————————————————–COE2 indapp002

APPS-TRNS1.USA.COM>select count(*) from fnd_user@coe2;

COUNT(*)———-101

APPS-TRNS1.USA.COM>

Note the database link name created on this source / ERP system Oracle database for connecting planning / destination server Oracle database.

Create database link on Destination system to Source systemFirst make necessary entry of the Source / Transaction instance Oracle Database in the tnsnames.ora file of the Target / Planning Instance Oracle Database tier (TNS_ADMIN location).

Create Database link as follows:

create database linkconnect to APPS identified byusing ‘’;

APPS-COE2.USA.COM>select INSTANCE_NAME, HOST_NAME from v$instance;

INSTANCE_NAME HOST_NAME—————- ———————————————————–COE2 indsapp002

APPS-COE2.USA.COM>show userUSER is “APPS”APPS-COE2.USA.COM>edWrote file afiedt.buf

1 create database link trns12 connect to apps identified by ****

Page 7: Oracle Advanced Supply Chain Planing

3* using ‘trns1′APPS-COE2.USA.COM>/

Database link created.

APPS-COE2.USA.COM>select INSTANCE_NAME, HOST_NAME from v$instance@trns12 ;

INSTANCE_NAME HOST_NAME—————- ———————————————————–TRNS1 indapp001

APPS-COE2.USA.COM>select count(*) from fnd_user@trns1;

COUNT(*)———-100

APPS-COE2.USA.COM>

Note the database link name created on this planning / destination Oracle Database server for connecting to source / ERP system Oracle database.Prepare the Source SystemCreate an Advanced Supply Chain Planner responsibilityTask By: Apps DBAYou must create a responsibility in the source (ERP) instance that conforms to the specifications.

Responsibility Name : Advanced Supply Chain PlannerApplication : Oracle ManufacturingDescription : Used for running ASCP ReportMenu : SCP_TOP_4.0Data Group Name : StandardApplication : ManufacturingRequest Group : All SCP ReportsApplication : Oracle Master Scheduling/MRPResponsibility key :

Page 8: Oracle Advanced Supply Chain Planing

This responsibility is used to run the concurrent program Refresh Snapshot during all data collection runs.

Warning: The responsibility name must match as “Advanced Supply Chain Planner” exactly.Check Profile Option NameTask By: Apps DBA and Functional Consultant

The Create Planning Flexfileds concurrent program creates new segment definitions in existing descriptive flex fields to hold data that may be required for constrained and /or optimized planning. The program will not populate profile values.

• MSO: Penalty cost factor for late demands (Organization) flexfield attribute• MSO: Penalty cost factor for exceeding material capacity (Organization) flexfield• MSO: Penalty cost factor for exceeding resource capacity (Organization) flexfield• MSO: Penalty cost factor for exceeding transportation capacity (Organization)• MSO: Penalty cost factor for exceeding resource capacity (Resource) flexfield• MSO: Penalty cost factor for exceeding transportation capacity flexfield attribute• MSO: Penalty cost factor for late forecasts• MSO: Penalty cost factor for late sales orders

Page 9: Oracle Advanced Supply Chain Planing

Create APS partition on the Source SystemTask By: Apps DBALogin to Oracle Applications 11i Source System.Select “System Administrator” responsibility.Navigate to Security Responsibility RequestEnter in the query mode in the “Request Group” screen and query for “All MSC Reports” .

Place cursor in the name column, Click the plus sign (Green +) on the toolbar to create a “New” column.In the name column select “CREATE APS PARTITIONS” (Make sure to select the correct one) and the Save the record.

Switch responsibility to “Advanced supply chain planner”.Navigate to Other Request

Page 10: Oracle Advanced Supply Chain Planing

In the “Find Requests” screen click on the “Submit a New Request” “Single Request”.Select “Create APS Partitions” request and submit it.Check for the successful completion of this request.

Launch the Create Planning Flexfield ReportTask By: Functional ConsultantLaunch the Create Planning Flexfields report from the newly created Advanced Supply Chain Planner responsibility. The parameters that must be set for the report are the attributes that you wish to utilize for the new flexfield definitions. The list of values for each parameter lists only the available attributes in the subject descriptive flexfield.Matter

Create the Global Order Promising flexfilds.Task By: Functional Consultant[Not required this step in 11.5.10 and above]

Page 11: Oracle Advanced Supply Chain Planing

Set up source dataTask By: Functional ConsultantSet up source data with BOMs, resources, routings, supplier data, flexfields purchasing information, item masters, Oracle BIS targets, and any other data required by your plans.[Not required this step in 11.5.10 and above]Set System Profile ValuesTask By: Functional ConsultantIf Global Order Promising is going to be utilized, the following two additional profile options must be set.MRP:ATP Database Link: [Database Link Name on the Source System for the Target System]INV: External ATP : [None]

Prepare the Target SystemDefine the source instance to be collected fromTask By: Apps DBAThe define instances setup establishes the means of communication between the source and destination instances. It also specifies the organizations in the source database for which data will be pulled.

Logged in to the Target (ASCP) System and choose “Advanced Planning Administrator”.Navigate to Admin Instances. The Application Instances window appears.Insert record for the Source (ERP) system as follows:Instance Code : Give a new name for the Instance Code (uniquely identified).Instance Type : Select “Discrete” (consult Functional Consultant).Version : 11i (default, for 11i E Business Suite).From Source to APS : Database Link created on the Source System for Target System Database.From APS to Source : Database Link created on the Target System for Source System Database.Check “Enable Flag”, “Allow ATP” and “Allow Release”.GMT Difference : “-8” (this is Application location specific, consult Functional consultant).Currency : USA (this is Application location specific, consult Functional consultant).Assignment Set : (Kept this blank unless advised by Functional Consultant).

Page 12: Oracle Advanced Supply Chain Planing

Save the record.Enter the organizations on each of the instance from which to collect the Planning data and plan for on the Planning Server by clicking Organization. For this click on the “Organizations” button.

The Organizations window appears.Select the organizations for a particular instance. Be sure to select the master organization.Close the Organization window.Save the Instance Definition setup.

Page 13: Oracle Advanced Supply Chain Planing

Final Setups and Refreshing SnapshotsSetupsTask By: Apps DBA1. Make sure the responsible name on both source & destination are the same. Eg. “Advanced Supply Chain Planner”.2. Set Standard Manager to 15 [sysadmin Concurrent Manager Define] on both System and Target Application system.3. Set MRP Manager to 1 [sysadmin Concurrent Manager Define] on both System and Target Application system.4. Relink MSC,MRP module from adadmin on Target (ASCP) DB node.5. Execute this request “Gather Schema Statistics” on Source (ERP) and Target (ASCP) node.6. Set “MSC:Source Setup Required” to “Y” in Target (ASCP) System, set “N” in Source (ERP) System.7. Run “Refresh Collection Snapshots” from Source (ERP) instance.Execute the Refresh Snapshot concurrent program on the Source (ERP) SystemTask By: Functional ConsultantThe “Refresh Collection Snapshots” process must be run on the source (ERP) instance. This

Page 14: Oracle Advanced Supply Chain Planing

concurrent program is available in the Advanced Supply Chain Planner responsibility created earlier. The process has no parameters to be set at run time. Verify that the process completes without error.ReferencesOracle Metalink.NotesNote:226415.1: Oracle Advanced Planning and Scheduling Suite Release 11i Family Pack I About docNote:282678.1: About Oracle Advanced Supply Chain Planning in APS Family Pack INote:286852.1: Oracle Advanced Supply Chain Planning Release 11i Family Pack I About docNote:176030.1: APS Installation Checklist with Patchset GNote:136734.1: Advanced Supply Chain Planning 11.5.3 Installation ChecklistNote:259322.1: About Oracle ASCP in the Oracle Supply Chain Management Family Pack JNote:220304.1: Setting Up Instances For Data Collection Gives Partition Error ERR_GET_INSTANCESNote:280052.1: Advanced Planning and Scheduling (APS) Implementation Notes & White PapersNote:137293.1: How To Manage APS Partitions in the MSC SchemaNote:252108.1: How to Determine the Latest APS Rollup Patch Applied to the SystemNote:209585.1: ASCP Planning Detail Report Installation and Configuration InstructionsNote:278055.1: Advanced Planning and Scheduling Requirements for 11.5.10 - Family Pack J

Note that the above mentioned notes were not necessarily used for ASCP Multi Node Installation, but they were studied. The Note required by the patches applied above are listed in its respective column.