Professional Documents
Culture Documents
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.
Document Details
GOAL
Type:
HOWTO
Status:
How to update PM Schedule Definition? PUBLISHED
Last Major
08-Jul-2019
Update:
05-Dec-2019
Last Update:
SOLUTION
Related Products
The script can be download from here.
Oracle Enterprise Asset
The below script can be used
Management
/* Information Centers
DESCRIPTION
to update a PM Schedule Name by changing the Name
Use API
Recently Viewed
VERSIONS
API eam_pmdef_pub.update_p
strings -a $EAM_TOP/patch/115/sql/EAMPPMDB.pls | grep '$Header' [2561339.1]
EAMPPMDB.pls, v 120.20.12010000.27
EAMPPMDS.pls, v 120.8.12010000.1
Updating WO Material Issue Re
[2418798.1]
PARAMETERS Apps.wip_eam_workrequest_pu
None
API Does Not Work After Patch
*/
[2712394.1]
API Required To Add Material A
-- set serveroutput on Association In Work Order [275
declare
in_pm_activities_tbl eam_pmdef_pub.pm_activities_grp_tbl_type;
Show More
in_pm_day_interval_rules_tbl eam_pmdef_pub.pm_rule_tbl_type;
in_pm_runtime_rules_tbl eam_pmdef_pub.pm_rule_tbl_type;
in_pm_list_date_rules_tbl eam_pmdef_pub.pm_rule_tbl_type;
out_msg_count NUMBER;
out_msg_data VARCHAR2(5000);
out_return_status VARCHAR2(1);
msg_index NUMBER;
temp_err_mesg VARCHAR2(2000);
err_create_pm_def_failure EXCEPTION;
begin
in_pm_schedule_rec.pm_schedule_id := 9290;
--- PM Schedule Name OLD = MRM_AN_PM_1
in_pm_schedule_rec.name := 'XXX_PM_111';
in_pm_schedule_rec.rescheduling_point := 1;
in_pm_schedule_rec.set_name_id := 1;
in_pm_schedule_rec.type_code := 10;
in_pm_schedule_rec.scheduling_method_code := 10;
in_pm_schedule_rec.whichever_first := 'Y';
in_pm_schedule_rec.generate_wo_status := 17;
in_pm_schedule_rec.interval_per_cycle := 1;
in_pm_schedule_rec.maintenance_object_id := 3333000;
in_pm_schedule_rec.maintenance_object_type := 3;
in_pm_schedule_rec.current_seq := 0;
in_pm_schedule_rec.current_cycle := 1;
in_pm_schedule_rec.generate_next_work_order := 'N';
in_pm_schedule_rec.non_scheduled_flag := 'N';
in_pm_day_interval_rules_tbl(1).rule_type := 1;
in_pm_day_interval_rules_tbl(1).day_interval :=
7;
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=370245549152891&id=2025233.1&displayIndex=35&_afrWindowMode=0&… 1/2
10/21/21, 5:12 PM Document 2025233.1
in_pm_activities_tbl(1).pm_schedule_id := 9290;
in_pm_activities_tbl(1).activity_association_id := 50925;
in_pm_activities_tbl(1).interval_multiple := 1;
in_pm_activities_tbl(1).allow_repeat_in_cycle := 'Y';
out_msg_count := fnd_msg_pub.count_msg;
REFERENCES
NOTE:1938936.1 - [EAM] Enterprise Asset Management Latest Patch Level for R12 (12.1.X/12.2.X)
Attachments
Update PM SChedule (4.23 KB)
Related
Products
Oracle E-Business Suite > Asset Lifecycle Management > Asset Lifecycle Management > Oracle Enterprise Asset Management > PM > PM Engine
Keywords
API; DBMS_OUTPUT; EAM_PMDEF_PUB; SCRIPT
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=370245549152891&id=2025233.1&displayIndex=35&_afrWindowMode=0&… 2/2