You are on page 1of 83

1

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

Oracle Advisor Webcast Program

Current schedule
Archived recordings
Doc ID 740966.1

Copyright 2013, 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 2013, 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 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Advisor Webcast


Customer Requested!!
Outside Processing Deep Dive

Emanuela Preda
Principal Technical Support Engineer

Objectives

Identify the need for OSP flow


Gaining knowledge in OSP set up
Become self sufficient in troubleshooting

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

Agenda

Business Process presentation


Setup
Transactions Flow
Troubleshooting
Resources

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

Business Process presentation

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

SETUP - parameters

10

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

SETUP parameters
Outside Processing

Required?

Default Value

Shop Floor Status for PO Move


Resources

Optional

Null

Requisition Creation Time

Required

At OSP operation

Requisition Status At Creation

Required

Approved

Production Scheduler

Optional

Null

Shipping Manager

Optional

Null

Propagate Job Changes to Purchasing

Required

Automatic

Days Early

Required

1000

Days Late

Required

1000

11

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

SETUP Requisition Creation Time


1. Automatically Generating Purchase Orders from
Requisitions - link with the job will be inherited
automatically)

2. Manually Creating Purchase Orders and Lines - directly via


Purchase Orders form job number/op MUST be manually
linked.

12

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

SETUP profile options

13

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

SETUP profile options

14

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

SETUP profile options


New Profile Option introduced in R12.1.3 (via Patch:14148700:R12.WIP.B ) having effect
only on PO Receipt resources:
WIP:Launch Requisition Import for PO Receipt
needs to be at site level to No if you don't want requisition import to be launched for PO receipt resource.
PO move resource are controlled by profile setup of "WIP:Enable Outside Processing Workflows"
If any job or operations contains both po move resource and po receipt resource, then any one of the
profile mentioned above being enabled, requisition import will still be launched and requisition for both
resource will be created.
The current behavior is that PO receipt should not be controlled by profile "WIP:Enable Outside
Processing Workflows", because PO receipt is not initiating any workflow.

15

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

SETUP OSP Item

16

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

SETUP OSP Resource

17

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

SETUP Assign Resource to department

18

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

SETUP OSP Routing

Assembly P_ASSEM_2OSP1 - 2 OSP in same operation


Assembly P_ASSEM_2OSP2 - 2 OSP in different Operations

19

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

SETUP OSP Routing

20

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

SETUP OSP Routing - EP_ASSEM_2OSP1

21

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

Transactions Flow create job for EP_ASSEM_2OSP1

22

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

Transactions Flow PR creation

23

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

Transactions Flow PR creation - interface


select *
from po_requisitions_interface_all
where wip_entity_id in
(select wip_entity_id
from wip_entities
where wip_entity_name = '&WO_number');
select *
from PO_INTERFACE_ERRORS
where interface_transaction_id in
(select transaction_id
from po_requisitions_interface_all
where wip_entity_id in
(select wip_entity_id
from wip_entities
where wip_entity_name = '&WO_number'))
24

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

Transactions Flow PR created

25

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

Transactions Flow PR created


select *
from po_requisition_lines_all
where wip_entity_id in
(select wip_entity_id
from wip_entities
where wip_entity_name = '&WO_number');
select *
from po_requisition_headers_all
where requisition_header_id in
(select requisition_header_id
from po_requisition_lines_all
where wip_entity_id in
(select wip_entity_id
from wip_entities
where wip_entity_name = '&WO_number'));

26

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

Transactions Flow PR created

27

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

Transactions Flow PO created

28

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

Transactions Flow PO created


select *
from po_headers_all
where po_header_id in
(select po_header_id
from po_distributions_all
where wip_entity_id in
(select wip_entity_id
from wip_entities
where wip_entity_name = '&WO_number'));
select *
from po_lines_all
where po_line_id in
(select po_line_id
from po_distributions_all
where wip_entity_id in
(select wip_entity_id
from wip_entities
where wip_entity_name = '&WO_number'));

29

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

Transactions Flow PO created


select *
from po_line_locations_all
where line_location_id in
(select line_location_id
from po_distributions_all
where wip_entity_id in
(select wip_entity_id
from wip_entities
where wip_entity_name = '&WO_number'));
select pl.item_id, pl.item_description, pd.*
from po_distributions_all pd, po_lines_all pl
where pl.po_line_id = pd.po_line_id
and pd.wip_entity_id in
(select wip_entity_id
from wip_entities
where wip_entity_name = '&WO_number');

30

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

Transactions Flow PO created

31

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

Transactions Flow Receipt created

32

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

Transactions Flow Receipt created

33

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

Transactions Flow - Pending Move transaction

34

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

Transactions Flow - Pending Move transaction

select *
from WIP_MOVE_TXN_INTERFACE
where wip_entity_id =
(select wip_entity_id
from wip_entities
where wip_entity_name = '&jobname');

35

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

Transactions Flow - Move transaction

36

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

Transactions Flow - Pending Move transaction

37

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

Transactions Flow - Erred Move transaction

38

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

Transactions Flow - Erred Move transaction


select *
from wip_txn_interface_errors
where TRANSACTION_ID in
(select TRANSACTION_ID
from WIP_MOVE_TXN_INTERFACE
where wip_entity_id =
(select wip_entity_id
from wip_entities
where wip_entity_name = '&jobname'));

39

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

Transactions Flow - Erred Move transaction

40

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

Transactions Flow - Move completion

41

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

Transactions Flow create job for P_ASSEM_2OSP2

42

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

Transactions Flow Requisition is created

43

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

Transactions Flow POs are created

44

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

Transactions Flow POs are created

45

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

Transactions Flow perform receipt for op 20

46

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

Transactions Flow perform receipt for op 20

47

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

Transactions Flow overmove is created

48

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

Transactions Flow job becomes complete

49

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

Transactions Flow uncosted transactions

50

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

Transactions Flow Pending Resource Transactions


Pending Resource Transactions are visible in Pending Resource Transactions
form or via backend using following queries:
select *
from WIP_COST_TXN_INTERFACE
where wip_entity_id =
(select wip_entity_id
from wip_entities
where wip_entity_name = '&jobname');
select *
from wip_txn_interface_errors
where TRANSACTION_ID in
(select TRANSACTION_ID
from WIP_COST_TXN_INTERFACE
where wip_entity_id =
(select wip_entity_id
from wip_entities
where wip_entity_name = '&jobname'));
51

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

Transactions Flow Uncosted MaterialTransactions


Material Transactions are visible in View Material Transactions form or via
backend using following query:
select *
from mtl_material_transactions
where transaction_source_id =
(select wip_entity_id
from wip_entities
where wip_entity_name = '&jobname');

Important columns
transaction_source_id > is populated with wip_entity_id
Costed_flag : values are N (not costed) E (error) or null (costed)
Error_code
Error_explanation

52

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

Transactions Flow Launching Cost manager

53

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

Transactions Flow transactions are costed

54

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

Transactions Flow Close the job

55

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

Transactions Flow Propagate Job Changes to Purchasing=Automatic

The other PO will be


closed , even if receipt
was not created for it

56

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

Transactions Flow create new job for P_ASSEM_2OSP2

57

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

Transactions Flow Requisitions created

PR for item=EP_OSPIW1
PR for item= EP_OSPIW2

58

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

Transactions Flow PO created

item=EP_OSPIW1
PO=6268

59

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

Transactions Flow PO created

item= EP_OSPIW2
PO=6267

60

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

Transactions Flow create receipt for EP_OSPIW2 (op 20)

61

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

Transactions Flow create manual Move and Complete


- perform Easy Completion

- perform receipt for


item=EP_OSPIW1
PO=6268
-Arrive to over completion
situation
- to avoid this - see details in
Document 458806.1

62

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

Transactions Flow Propagate Job Changes to Purchasing=Manual

63

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

Transactions Flow Create new job for P_ASSEM_2OSP2


Releasing job will create the
requisitions:
PR=14566
PR=14567

64

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

Transactions Flow Create new job for P_ASSEM_2OSP2


If receive only PO for OSP
item related to op 20 job
becomes complete
-then close job, receive a
warning saying that open
PO/PR exist, but application
allows user to close job and
DOES not cancel/close the PR
Leads to ERROR: No charges
allowed for this job/schedule

65

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

Transactions Flow Return transactions


PO Receipt Resource Transaction gets reverted
PO Move - Resource Transaction gets reverted and also Move
transaction gets reverted

66

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

Troubleshooting - Code objects involved:


Wipospvb.pls (Most of OSP related codes are in this file)
Wipmovpb.pls (when Requisition creation time is at operation)
Wiposhib.pls (Workflow related code)
WIPVTXNB.pls (PO receiving call this package to charge resource and

insert record into WMTI)

67

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

Troubleshooting - Code objects involved:


Receiving transaction will trigger the resource transaction:

Front END

Back END

Pending resource Transactions

WIP_COST_TXN_INTERFACE

View Resource Transactions

WIP_TRANSACTIONS

View Resource Transactions, button


Distribution

WIP_TRANSACTION_ACCOUNTS

68

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

Troubleshooting - Code objects involved:


Receiving transaction will trigger the move transaction:

Front END

Back END

Pending Move Transactions

WIP_MOVE_TXN_INTERFACE

View Move Transactions

WIP_MOVE_TRANSACTIONS

69

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

Troubleshooting - Code objects involved:


Receiving transaction will trigger the backflush transaction:

Front END

Back END

View Material Transactions

MTL_MATERIAL_TRANSACTIONS

Material Distribution

MTL_TRANSACTION_ACCOUNTS

70

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

Troubleshooting collect_job_wip.sql
- Script collect_job_wip.sql is using job number as parameter
- Instructions on how to run the script are provided in My Oracle
Support Doc.ID 1476250.1
- Six data areas will be shown during the time script is running
1. Discrete Job Area
2. Operations Area
3. Costing and Transactions Area
4. Lot Based Transactions Area
5. Purchasing and Receiving Area
6. Setup Area
- Once the script completes, a html file will be created which contains
all the information related to specified work order. The format will be
of type job_.html (generated in the folder where the script was run
from
71

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

Troubleshooting collect_job_wip.sql

72

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

Troubleshooting Application Diagnostic

-Application Diagnostic >

Diagnose >
-Select Application Short
Name=WIP >
-Expand node Data Collection >
select Work Order
-Parameters:
1.Org_id/org_code
2. Job_id/job_number

73

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

Troubleshooting Application Diagnostic

74

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

Resources
- WIP User Guide

(Doc ID 1476250.1)
Outside Processing (OSP) Frequently Asked Questions (FAQ) (Doc ID 1282909.1)

- Work In Process - Discrete / Lot Based Job Data Collection Script


-

- WIP_MOVE_TXN_INTERFACE Common Errors In Pending Move Transactions With

Possible Causes And Action Plan To Process Them (Doc

ID 457066.1)

- WIP_COST_TXN_INTERFACE Possible Causes for Pending/ Err when Performing Resource

Transactions (Doc

75

ID 462657.1)

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

Summary
What we covered today
Business need for OSP flow
Knowledge about OSP set up
Tips for troubleshooting OSP transactions

76

Copyright 2013, 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 Q&A 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

77

Copyright 2013, 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 And Archive [ID
1319827.1]
All Advisor Webcasts [ID 1455888.1].
Continue the Discussion on the Work In
Process & Flow Manufacturing My Oracle
Support Community.

78

Copyright 2013, 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.

79

Copyright 2013, 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

80

Copyright 2013, 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

81

Copyright 2013, 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 Q&A 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

82

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

THANK YOU

83

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

84

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

You might also like