Вы находитесь на странице: 1из 53

1

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Oracle Advisor Webcast Program

Current schedule
Archived recordings
Doc ID 740966.1

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Future Advisor Webcasts


Upcoming live webcasts and recent recordings:
VOICE STREAMING ENABLED
Teleconference Access:
US & Canada: 866- 627-3315
Toll Number: +1-706-758-7972
Global Toll-Free: 1148600.1
Password: Oracle WIP
WIP Webcast Calendar/Archive
Doc ID 1319827.1
All Webcast Calendar/Archive
Doc ID 740966.1

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

What advisor webcast topics do YOU want to see presented? Visit the Work
In Process and Flow Manufacturing My Oracle Support Community today to
let us know.

Safe Harbor Statement


The following is intended to outline our general product
direction. It is intended for information purposes only, and
may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality,
and should not be relied upon in making purchasing decision.
The development, release, and timing of any features or
functionality described for Oracles products remains at the
sole discretion of Oracle.

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Oracle Advisor Webcast


Discrete Job Interface (WIP Mass Load)

Krishna Jaladi

Objectives

This session is intended to


provide with few technical details
related to WIP Mass Load
Interface program in Oracle Work
in Process

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Agenda

Introduction
Supported Features
Technical Architecture
WIP Mass Load Behavior in 11i & R12
Demo
Q&A

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Introduction

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Introduction

What is WIP Mass Load Program


Different Sources from which WIP Mass Load Program Called

Data loaders
Barcode readers
Cell controllers
Planned orders
Order Management

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Work Order Interface


Update and Reschedule
Recommendations
Suggested
repetitive
schedules

Planned
Orders

Job and Schedules Interface

New
Discrete
Jobs

10

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Updated
Discrete Jobs

Pending
Repetitive
Schedules

Supported Features

11

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Supported features

12

New Discrete Job

Existing Discrete Job

Add Header

Supported

Not Applicable

Add Operation

Supported

Supported

Change Operation

Supported

Supported

Delete Operation

Not Supported

Not Supported

Add Component

Supported

Supported

Change component

Supported

Supported

Delete Component

Not Supported

Supported

Add operation Resource

Supported

Supported

Change Operation Resource

Supported

Supported

Delete Operation Resource

Not Supported

Supported

Update Operation Resource Usage

Supported

Supported

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Technical Architecture

13

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

WIP Mass Load Interface tables


WIP_JOB_SCHEDULE_INTERFACE
WIP_JOB_DTLS_INTERFACE
WIP_INTERFACE_ERRORS
WIP_JOB_SCHEDULE_INTERFACE

WJS.header_id=WJD.parent_header_id

WJS.interface_id=WIE.interface_id

WIP_JOB_DTLS_INTERFACE

WIP_INTERFACE_ERRORS

14

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

WJD.interface_id=WIE.interface_id

Concurrent Program
WIP Mass Load - Spawned Program
Group Id
Print Report

Call to WIP_MASSLOAD_PUB.massLoadJobs API


DB call

fnd_request.submit_request(application

=>'WIP'

,program

=>'WICMLP'

,description

=> NULL

,start_time

=> NULL

,sub_request => FALSE


,argument1

=>to_char(p_group_id)

,argument2

=>'0'

,argument3

=>'2'

);

15

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Controlled Columns
WIP_JOB_SCHEDULE_INTERFACE
LOAD_TYPE
ALLOW_EXPLOSION
GROUP_ID
HEADER_ID
PROCESS_PHASE
PROCESS_STATUS
SCHEDULING_METHOD
STATUS_TYPE
CLASS_CODE
INTERFACE_ID

LOAD_TYPE

STATUS_TYPE

Type of control
Meaning

1
CreateUnreleased
Standard
Job
Yes-1Standard
BOMDiscrete
& Routing
3
Released
To identify
theBOM
batch&ofRouting
jobs
to be
4
No
2 Custom
CreateComplete
Pending Repetitive
Schedule
Complete
No Charge
loaded5 for each
WIP
Mass Load
6
On
Hold
3
Update
Standard
or
Non-Standard
Discrete Job
ToPROCESS_PHASE
determine
individual
Meaning
concurrent
request
submitted
7
Cancelled
job/schedule
information
PROCESS_STATUS
Meaning
4 8 2 CreatePending
Non-Standard
Bill Load Discrete Job
Validation
9 1

Pending
Failed Bill
Load

3
Explosion
SCHEDULING_METHOD
Meaning
10 2
PendingRunning
Routing Load
4
Completion
Error LoadRouting-Based
1 Failed Routing
11 3
45
Complete
Creation
12
Closed
2
Lead Timeinformation
5 accounting
Warning related
To assign
13
Pending- Mass Loaded
3 Pending Close
Manual
14

To identify
each
record individually
15
Failed Close

NOTE: Please refer WIP Mass Load White paper from the Doc. Id: 1618613.1 for further details
16

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Controlled Columns
WIP_JOB_DTLS_INTERFACE
LOAD_TYPE
SUBSTITUTION_TYPE

LOAD_TYPE

Meaning

1
Loading a resource
SUBSTITUTION_TYPE
Meaning
2

Loading a component
Delete

Loading an operation
Add

Loading multipleChange
resource usage

4
5

Changing between primary and alternate resources

Associating serial numbers

Dispatching resource instance

Loading resource instance usage

Any other value will cause an error.

NOTE: LOAD_TYPE controls whether the interface table column is a required or optional or optional/derived column

17

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

WIP Mass Load Behavior in 11i & R12

18

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

WIP Mass Load Behavior in 11i & R12


Backward scheduling in 11i Completion Date not aligned to calendar shifts
Backward scheduling in R12 Completion Date aligned to calendar shifts
New profile option 'WIP: Align Job Dates with Shift Calendar'
'Yes' - then dates/times will be validated with Shift Calendar and will be

aligned to calendar shifts


'No' - then user entered dates will be retained as is with no alignment to

calendar shifts
Patch is 14101323:R12.WIP.B
NOTE: The actual behavior of WIP Mass Load is not changed with the new profile option. The profile option will be applicable on top of standard WIP Mass Load behavior.
That means you have to feed in respective values for ALLOW_EXPLOSION and SCHEDULING_METHOD

19

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Backward Scheduling in 11i

20

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Backward Scheduling in R12

21

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Demo

22

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 1
Creating Discrete Job with ALLOW_EXPLOSION=Y
INSERT INTO WIP_JOB_SCHEDULE_INTERFACE
(LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,LAST_UPDATE_LOGIN
,GROUP_ID
,ORGANIZATION_ID
,LOAD_TYPE
,WIP_ENTITY_ID
,PROCESS_PHASE
,PROCESS_STATUS
,HEADER_ID
,ALLOW_EXPLOSION
,NET_QUANTITY
,START_QUANTITY
,PRIMARY_ITEM_ID
,COMPLETION_SUBINVENTORY
,CLASS_CODE
,JOB_NAME
,FIRST_UNIT_START_DATE
,FIRST_UNIT_COMPLETION_DATE
,STATUS_TYPE
)

VALUES (
SYSDATE,
1318,
SYSDATE,
1318,
1318,
1318,
207,
1,
null,
2,
1,
1318
,'Y
,1
,1
,323963
,'FGI'
,'Discrete'
,XXWML1
,sysdate
,sysdate+1
,1
);

--1. Create standard DJ


--2. Validation,
--1. Pending

--UNRELEASED

Contd..
23

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 1
Creating Discrete Job with ALLOW_EXPLOSION=Y

24

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 1

25

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 2
Creating Discrete Job with ALLOW_EXPLOSION=N
INSERT INTO WIP_JOB_SCHEDULE_INTERFACE
(LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,LAST_UPDATE_LOGIN
,GROUP_ID
,ORGANIZATION_ID
,LOAD_TYPE
,WIP_ENTITY_ID
,PROCESS_PHASE
,PROCESS_STATUS
,HEADER_ID
,ALLOW_EXPLOSION
,NET_QUANTITY
,START_QUANTITY
,PRIMARY_ITEM_ID
,COMPLETION_SUBINVENTORY
,CLASS_CODE
,JOB_NAME
,FIRST_UNIT_START_DATE
,FIRST_UNIT_COMPLETION_DATE
,SCHEDULING_METHOD
,LAST_UNIT_START_DATE
,LAST_UNIT_COMPLETION_DATE
,STATUS_TYPE
)

26

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

VALUES (
SYSDATE
,1318
,SYSDATE
,1318
,1318
,1318
,207
,1
,null
,2
,1
,1318
,'N'
,1
,1
,323963
,'FGI'
,'Discrete'
,'TESTKKWML4'
,sysdate
,sysdate+1
,3
,sysdate
,sysdate+1
,1
);

--1. Create standard DJ


--2. validation,
--1. pending

-- 3- Manual --Default 1. routing based

-- Unreleased

Contd..

Business Case 2
Creating Discrete Job with ALLOW_EXPLOSION=N

27

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 3
Adding an operation to the Existing Discrete Job
INSERT INTO WIP_JOB_SCHEDULE_INTERFACE
(LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,LAST_UPDATE_LOGIN
,GROUP_ID
,ORGANIZATION_ID
,LOAD_TYPE
,WIP_ENTITY_ID
,PROCESS_PHASE
,PROCESS_STATUS
,HEADER_ID
,ALLOW_EXPLOSION
,NET_QUANTITY
,START_QUANTITY
,PRIMARY_ITEM_ID
,COMPLETION_SUBINVENTORY
,CLASS_CODE
,JOB_NAME
,FIRST_UNIT_START_DATE
,FIRST_UNIT_COMPLETION_DATE
,SCHEDULING_METHOD
,LAST_UNIT_START_DATE
,LAST_UNIT_COMPLETION_DATE
,STATUS_TYPE
)

VALUES (
SYSDATE
,1318
,SYSDATE
,1318
,1318
,1318
,207
,3
,850086
,2
,1
,1318
,'N'
,1
,1
,323963
,'FGI'
,'Discrete'
,'TESTKKWML4'
,sysdate
,sysdate+1
,3
,sysdate
,sysdate+1
,1
);

--3. update standard or non standard job

--scheduling method 3- Manual

Contd..
28

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 3
Adding an operation to the Existing Discrete Job
Insert into WIP_JOB_DTLS_INTERFACE
(GROUP_ID
,ORGANIZATION_ID
,OPERATION_SEQ_NUM
,DEPARTMENT_ID
,LOAD_TYPE
,SUBSTITUTION_TYPE
,PROCESS_PHASE
,PROCESS_STATUS
,LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,PARENT_HEADER_ID
,COUNT_POINT_TYPE
,BACKFLUSH_FLAG
)

values(
1318
,207
,100
,23872
,3
,2
,2
,1
,sysdate
,1318
,sysdate
,1318
,1318
,2
,1
);

-- Loading an operation
-- Add

Contd..
29

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 3
Adding an operation to the Existing Discrete Job

30

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 4
Adding a resource to an existing job
INSERT INTO WIP_JOB_SCHEDULE_INTERFACE
(LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,LAST_UPDATE_LOGIN
,GROUP_ID
,ORGANIZATION_ID
,LOAD_TYPE
,WIP_ENTITY_ID
,PROCESS_PHASE
,PROCESS_STATUS
,HEADER_ID
,ALLOW_EXPLOSION
,NET_QUANTITY
,START_QUANTITY
,PRIMARY_ITEM_ID
,COMPLETION_SUBINVENTORY
,CLASS_CODE
,JOB_NAME
,FIRST_UNIT_START_DATE
,FIRST_UNIT_COMPLETION_DATE
,SCHEDULING_METHOD
,LAST_UNIT_START_DATE
,LAST_UNIT_COMPLETION_DATE
,STATUS_TYPE
)

31

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

VALUES (
SYSDATE
,1318
,SYSDATE
,1318
,1318
,1318
,207
,3
--3. update standard or non standard job
,850086
,2
,1
,1318
,'N'
,1
,1
,323963
,'FGI'
,'Discrete'
,'TESTKKWML4
,sysdate
,sysdate+1
,3
-- 3- Manual
,sysdate
,sysdate+1
,1
);

Contd..

Business Case 4
Adding a resource to an existing job
Insert into WIP_JOB_DTLS_INTERFACE
(GROUP_ID
,ORGANIZATION_ID
,OPERATION_SEQ_NUM
,RESOURCE_SEQ_NUM
,RESOURCE_ID_NEW
,USAGE_RATE_OR_AMOUNT
,SCHEDULED_FLAG
,ASSIGNED_UNITS
,BASIS_TYPE
,AUTOCHARGE_TYPE
,STANDARD_RATE_FLAG
,START_DATE
,COMPLETION_DATE
,LOAD_TYPE
,SUBSTITUTION_TYPE
,PROCESS_PHASE
,PROCESS_STATUS
,LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,PARENT_HEADER_ID
)

32

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

values
(1318
,207
,100
,10
,53496
,10.5
,2
,1
,1
,1
,1
,sysdate
,sysdate
,1
,2
,2
,1
,sysdate
,1318
,sysdate
,1318
,1318
);

--load_type
--substitution_type

Contd..

Business Case 4
Adding a resource to an existing job

33

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 5
Adding a component to existing job
INSERT INTO WIP_JOB_SCHEDULE_INTERFACE
(LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,LAST_UPDATE_LOGIN
,GROUP_ID
,ORGANIZATION_ID
,LOAD_TYPE
,WIP_ENTITY_ID
,PROCESS_PHASE
,PROCESS_STATUS
,HEADER_ID
,ALLOW_EXPLOSION
,NET_QUANTITY
,START_QUANTITY
,PRIMARY_ITEM_ID
,COMPLETION_SUBINVENTORY
,CLASS_CODE
,JOB_NAME
,FIRST_UNIT_START_DATE
,FIRST_UNIT_COMPLETION_DATE
,SCHEDULING_METHOD
,LAST_UNIT_START_DATE
,LAST_UNIT_COMPLETION_DATE
,STATUS_TYPE
)

34

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

VALUES (
SYSDATE
,1318
,SYSDATE
,1318
,1318
,1318
,207
,3
--3. update standard or non standard job
,850086
,2
,1
,1318
,'N'
,1
,1
,323963
,'FGI'
,'Discrete'
,'TESTKKWML4
,sysdate
,sysdate+1
,3
--scheduling method 3- Manual
,sysdate
,sysdate+1
,1
--1 Unreleased
);

Contd..

Business Case 5
Adding a component to existing job
Insert into WIP_JOB_DTLS_INTERFACE
(GROUP_ID
,ORGANIZATION_ID
,OPERATION_SEQ_NUM
,DATE_REQUIRED
,INVENTORY_ITEM_ID_NEW
,MRP_NET_FLAG
,QUANTITY_ISSUED
,QUANTITY_PER_ASSEMBLY
,REQUIRED_QUANTITY
,WIP_SUPPLY_TYPE
,LOAD_TYPE
,SUBSTITUTION_TYPE
,PROCESS_PHASE
,PROCESS_STATUS
,CREATION_DATE
,CREATED_BY
,PARENT_HEADER_ID
,LAST_UPDATE_DATE
,LAST_UPDATED_BY
)

values
(1318
,207
,100
,sysdate
,323965
,1
,1
,1
,1
,2
,2
,2
,2
,1
,sysdate
,1318
,1318
,sysdate
,1318
);

-- 2 Loading Component
-- 2 Add

Contd..
35

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 5
Adding a component to existing job

36

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 6
Cancelling existing discrete Job
INSERT INTO WIP_JOB_SCHEDULE_INTERFACE
(LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,LAST_UPDATE_LOGIN
,GROUP_ID
,ORGANIZATION_ID
,LOAD_TYPE
,WIP_ENTITY_ID
,PROCESS_PHASE
,PROCESS_STATUS
,HEADER_ID
,ALLOW_EXPLOSION
,NET_QUANTITY
,START_QUANTITY
,PRIMARY_ITEM_ID
,COMPLETION_SUBINVENTORY
,CLASS_CODE
,JOB_NAME
,FIRST_UNIT_START_DATE
,FIRST_UNIT_COMPLETION_DATE
,SCHEDULING_METHOD
,LAST_UNIT_START_DATE
,LAST_UNIT_COMPLETION_DATE
,STATUS_TYPE
)

37

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

VALUES (
SYSDATE
,1318
,SYSDATE
,1318
,1318
,1318
,207
,3
--3. update standard or non standard job,
,850086
,2
,1
,1318
,'N'
,1
,1
,323963
,'FGI'
,'Discrete'
,'TESTKKWML4
,sysdate
,sysdate+1
,3
,sysdate
,sysdate+1
,7
--Cancelled
);

Contd..

Business Case 6
Cancelling existing discrete Job

38

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 7
Releasing a Planned Order from ASCP

39

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Business Case 7
Releasing a Planned Order from ASCP
wip_job_schedule_interface
(LAST_UPDATE_DATE
,LAST_UPDATED_BY
,CREATION_DATE
,CREATED_BY
,LAST_UPDATE_LOGIN
,GROUP_ID
,SOURCE_CODE
,SOURCE_LINE_ID
,ORGANIZATION_ID
,LOAD_TYPE
,STATUS_TYPE
,LAST_UNIT_COMPLETION_DATE
,PRIMARY_ITEM_ID
,CLASS_CODE
,JOB_NAME
,FIRM_PLANNED_FLAG
,START_QUANTITY
,PROCESS_PHASE
,PROCESS_STATUS
,SCHEDULING_METHOD
,NET_QUANTITY
,DUE_DATE
,ALLOW_EXPLOSION
,HEADER_ID
)

40

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

values
(to_date('17-JAN-14','DD-MON-RR')
,1318
,to_date('17-JAN-14','DD-MON-RR')
,1318
,6302038
,4086722
,'MSC'
,20913804
,207
,1
,1
,to_date('17-JAN-14','DD-MON-RR')
,311963
,'Discrete'
,'337415'
,1
,0
,2
,1
,1
,30
,to_date('17-JAN-14','DD-MON-RR')
,'Y'
,20913804
);

Business Case 7
Releasing a Planned Order from ASCP

41

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Trouble Shooting

42

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Error Scenario 1

43

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Error Scenario 2

44

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Summary
What we covered today
Architecture of WIP Mass Load
Backward scheduling in 11i
Backward scheduling in R12
Business cases on creating and updating

discrete jobs

45

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

To ask a question on the


phone line, select *1 on
your phone.

To ask a question online,


use the Chat area at the
top.

Your question will be read


aloud in the order
received.

Question can also be


asked on the My Oracle
Support Communities

Questions & Answers

46

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Top Articles and Community Links


Work In Process Information Center [ID
1417725.2].
Work In Process & Flow Manufacturing Advisor
Webcast Calendar/Archive [ID 1319827.1]
Advisor Webcasts In All Other Product Areas [ID
740966.1].
Continue the Discussion on the Work In Process
& Flow Manufacturing My Oracle Support
Community.
What Topics Do You Want To See?
Webcast Survey After Todays Session.

47

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Learn More
Available References and Resources to Get Proactive

About Oracle Support Best Practices


www.oracle.com/goto/proactivesupport
Get Proactive in My Oracle Support
https://support. oracle.com | Doc ID: 432.1
Get Proactive Blog
https://blogs.oracle.com/getproactive/
Ask the Get Proactive Team
get-proactive_ww@oracle.com

48

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

To ask a question on the


phone line, select *1 on
your phone.

To ask a question online,


use the Chat area at the
top.

Your question will be read


aloud in the order
received.

Question can also be


asked on the My Oracle
Support Communities

Questions & Answers

49

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

THANK YOU

50

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

51

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

My Oracle Support Community


Collaborate with a large network of your industry peers, support professionals, and Oracle
experts to exchange information, ask questions & get answers.
Visit the My Oracle Support
Community now!!
1.

Log into My Oracle Support.

2.

Select the Community tab.

3.

Start typing the community


name in the Find a
Community Quick Find field.

52

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Advisor Webcast Program


Register for upcoming live advisor
webcasts.
Access past webcast recordings
and presentation material.
Continue the discussion on a
specific webcast topic.
Let us know what topics you would
like presented in the communities or
in the post webcast survey.
Doc Id 740966.1

53

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Вам также может понравиться