0% found this document useful (0 votes)
123 views3 pages

Document 1448341.1 - Collect WO Tables Script

Uploaded by

herculean2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
123 views3 pages

Document 1448341.1 - Collect WO Tables Script

Uploaded by

herculean2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

10/21/21, 5:36 PM Document 1448341.

1
  Last Login: October 21, 2021 3:22 PM IST sudhakar (Available) (0) Contact Us Help
PowerView is Off

 
Dashboard Knowledge Service Requests Patches & Updates Community

Give Feedback...
Copyright (c) 2021, Oracle. All rights reserved. Oracle Confidential.

Enterprise Asset Management - Work Order Data Collection Script (Doc ID 1448341.1) To Bottom

In this Document   Was this document helpful?  

Purpose Yes
No
Requirements    

Configuring
  Document Details  
Instructions
Script
Type:
SCRIPT
Sample Output Status:
PUBLISHED
Last Major
23-Jan-2019
Update:
15-Sep-2021
APPLIES TO: Last Update:
   

Oracle Enterprise Asset Management - Version 11.5.10 and later



  Related Products  
Information in this document applies to any platform.
Script V24 Updated 12-Jan-2019
Oracle Enterprise Asset

 
Management
 

PURPOSE
  Information Centers  

The Enterprise Asset Management - Work Order Data Collection Script is designed to spool information to an html file. The script Information Center: Oracle
Enterprise Asset Management
is created to allow customer to run a single script to retrieve all information about a work order.
[1411394.2]
   

REQUIREMENTS
  Document References  
SQL, SQL*Plus No References available for
this document.
   

PLEASE NOTE - The SQL*Plus version should be higher than 8.1.7.X.


  Recently Viewed  

The SQL*Plus version is different between DB and APPS tier. Check both tiers as they may have different version. [API][Code Example]
EAM_PMDEF_PUB.UPDATE_PM_
- How to Update a PM Schedule
Name [2025233.1]
Profile Option Values: Site,
Application and Responsibility to
Verify Prior to Logging an EAM
(Enterprise Asset Management)
Service Request or Bug [23510
How To Complete Work Order U
API in R12.1.3? [1537827.1]
Things to do Prior to Logging a
EAM (Enterprise Asset
Management) Service Request
Bug [297007.1]
Updating WO Material Issue
If you have the lower version of SQL (lover than 8.1.7.X), the recommendation is to use the old script for data collection. Request Using API [2418798.1]
Show More
CONFIGURING
   

Step 1 - Save the script to a directory on the computer where the script will be executed.
Example /home/oracle/

Step 2 - Proceed to execute the script. (See instructions below). Run sqlplus from the folder where the script was saved as
above step. Login to sqlplus with apps user.

INSTRUCTIONS

1. Download the script collect_job_eam.sql.

2. For proper display in English, if you are having multiple languages on your DB, it is recommended to set the NLS_LANGUAGE
to American

SQL> ALTER SESSION SET NLS_LANGUAGE='AMERICAN';

3. In the sqlplus - engage the script by giving the command @collect_job_eam.sql or @collect_job_eam

Eg. SQL> @collect_job_eam.sql


If the error <Unable to open file
collect_job_eam.sql> is displayed, it means the file cannot be found. This is because sqlplus
was started from another folder than the one where the script was saved. Run sqlplus from the right folder to prevent this.

4. Enter the Work Order Name

If the job entered doesn't exist the script will provide a message and exit the script execution.

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=371768663801265&parent=DOCUMENT&sourceId=297007.1&id=1448341.… 1/3
10/21/21, 5:36 PM Document 1448341.1

5. Script will start processing


The script is now processing ... please standby.

6. Five data areas will be shown until completion.


Work Order Area
Operations Area
Costing and Transactions Area
Purchasing and Receiving Area
Setup Area

7. 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 wo_.html
Locate the file, check to see if it displays properly in a browser and upload this to My Oracle Support.

CAUTION

This sample code is provided for educational purposes only, and is not supported by Oracle Support. It has been tested
internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.

SCRIPT

EAM - Work Order Data Collection Script collect_job_eam.sql

Old Data Collection Script (Recommended for lower sql wipjob11i-EAM.sql


versions)

The script is not making any changes in the system - it is collecting data based on SELECT commands.

SAMPLE OUTPUT

Example output below. A full sample output is available for download.


https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=371768663801265&parent=DOCUMENT&sourceId=297007.1&id=1448341.… 2/3
10/21/21, 5:36 PM Document 1448341.1

Didn't find what you are looking for? Ask in Community...

Attachments
collect_job_eam.sql (82.93 KB)
wipjob11i-EAM.sql (96.7 KB)
wo_TEST_WO.html (37.38 KB)

Related
Products

Oracle E-Business Suite > Asset Lifecycle Management > Asset Lifecycle Management > Oracle Enterprise Asset Management > Work Execution > Work Order Definition

Keywords
EAM; EAM WORK ORDER; SAMPLE; SCRIPT; SQL PLUS; WORK ORDER

Back to Top
 
Copyright (c) 2021, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
   

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=371768663801265&parent=DOCUMENT&sourceId=297007.1&id=1448341.… 3/3

You might also like