Sei sulla pagina 1di 8

+------------------------------------------------------------------------

---+
Enterprise Asset Management: Version : 12.1

Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights
reserved.

EAMPMSDU: Generate Preventive Maintenance Work Orders


+------------------------------------------------------------------------
---+

Current system time is 06-JUN-2019 17:25:17

+------------------------------------------------------------------------
---+

**Starts**06-JUN-2019 17:25:18
**Ends**06-JUN-2019 17:25:19
+------------------------------------------------------------------------
---+
Start of log messages from FND_FILE
+------------------------------------------------------------------------
---+
PMEngine.java:doForest():Starting my log at Thu Jun 06 17:25:18 GMT+02:00
2019
RunningConetxt is from concurrent program:true
PMEngine.execute Begin :
Param List : mode:1 nonSched:N startDate:2019-01-06 00:00:00.0
endDate:2019-06-05 00:00:00.0 groupID:20454026 orgID:166 userID:115504
locationID:null categoryID:null deptID:null itemTypeID:1
inventoryItemID:null instanceNumber:SAW-FU50-CARRO-DESMOLD-PLACAS
setNameID:null
SELECT UNIQUE msn.maintenance_object_id
FROM (
SELECT
distinct nvl(cii.maintainable_flag, 'Y') maintainable_flag,
cii.category_id, cii.inventory_item_id,cii.instance_number,
mp.maint_organization_id current_organization_id,
msi.eam_item_type , eomd.owning_department_id, eps.set_name_id ,
eomd.area_id eam_location_id,cii.instance_id maintenance_object_id
FROM csi_item_instances cii, eam_org_maint_defaults eomd,
mtl_system_items msi, mtl_parameters mp, eam_pm_schedulings eps
WHERE mp.organization_id = msi.organization_id
AND cii.last_vld_organization_id = msi.organization_id
AND msi.inventory_item_id = cii.inventory_item_id
AND msi.eam_item_type in (1,3)
AND nvl(cii.active_start_date, sysdate-1) <= sysdate
AND nvl(cii.active_end_date, sysdate+1) >= sysdate
AND cii.instance_id = eomd.object_id (+)
AND eps.maintenance_object_id = cii.instance_id
AND eps.maintenance_object_type = 3
AND eomd.object_type (+) = 50 AND eomd.organization_id (+) = :1
AND mp.maint_organization_id = :2 AND msi.serial_number_control_code
<> 1
) msn
WHERE
msn.eam_item_type = 1
and msn.maintainable_flag = 'Y'
and msn.instance_number = :3

OrgID: 166itemID: 9223372036854775807serial#:SAW-FU50-CARRO-DESMOLD-


PLACAS
PMEngine.java:execute():found a serial ...
The cii id for this asset is:10730
Setting Gen Next Work for PMNode 100096
Setting Gen Next Work for PMNode 100097
Setting Gen Next Work for PMNode 100102
Setting Gen Next Work for PMNode 100099
Setting Gen Next Work for PMNode 100101
Setting Gen Next Work for PMNode 100098
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Initializing PMSchedule ...
Loading PM Schedule rules and attributes ...
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
* The last service actual start date is: null
* The last service actual end date is: null
* The last service scheduled start date is: null
* The last service scheduled end date is: null
ruleType is PMConstants.DAY_INTERVAL_RULE
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Initializing PMSchedule ...
Loading PM Schedule rules and attributes ...
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
* The last service actual start date is: null
* The last service actual end date is: null
* The last service scheduled start date is: null
* The last service scheduled end date is: null
ruleType is PMConstants.DAY_INTERVAL_RULE
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Initializing PMSchedule ...
Loading PM Schedule rules and attributes ...
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
* The last service actual start date is: null
* The last service actual end date is: null
* The last service scheduled start date is: null
* The last service scheduled end date is: null
ruleType is PMConstants.DAY_INTERVAL_RULE
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Initializing PMSchedule ...
Loading PM Schedule rules and attributes ...
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
* The last service actual start date is: null
* The last service actual end date is: null
* The last service scheduled start date is: null
* The last service scheduled end date is: null
ruleType is PMConstants.DAY_INTERVAL_RULE
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Initializing PMSchedule ...
Loading PM Schedule rules and attributes ...
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
* The last service actual start date is: null
* The last service actual end date is: null
* The last service scheduled start date is: null
* The last service scheduled end date is: null
ruleType is PMConstants.DAY_INTERVAL_RULE
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Initializing PMSchedule ...
Loading PM Schedule rules and attributes ...
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
* The last service actual start date is: null
* The last service actual end date is: null
* The last service scheduled start date is: null
* The last service scheduled end date is: null
ruleType is PMConstants.DAY_INTERVAL_RULE
query: select wdj.wip_entity_id, wdj.scheduled_start_date,
wdj.firm_planned_flag,
decode(nvl(wod.pending_flag,'N'),'N',wdj.status_type,ews.system_status)
status_type1, nvl(wdj.pm_schedule_id, -1),
nvl(wod.cycle_id, -1), nvl(wod.seq_id, -1),
wod.pm_base_meter_reading from wip_discrete_jobs wdj,
mtl_eam_asset_activities eaa, eam_work_order_details
wod,eam_wo_statuses_v ews where wdj.organization_id = :1 and
wdj.primary_item_id = eaa.asset_activity_id and wdj.wip_entity_id =
wod.wip_entity_id and wdj.organization_id = wod.organization_id and
eaa.activity_association_id = :2 and wdj.maintenance_object_id is not
null and wdj.status_type in (1, 3, 6, 17) and
wdj.maintenance_object_id = eaa.maintenance_object_id and
wdj.maintenance_object_type = eaa.maintenance_object_type and
wod.user_defined_status_id = ews.status_id order by
wdj.scheduled_start_date

#wo link is:0


#wo link is:0
#wo link is:0
#wo link is:0
#wo link is:0
#wo link is:0
#wo link is:0
#wo link is:0
#wo link is:0
#wo link is:0
#wo link is:0
#wo link is:0
query: select wdj.wip_entity_id, wdj.scheduled_start_date,
wdj.firm_planned_flag,
decode(nvl(wod.pending_flag,'N'),'N',wdj.status_type,ews.system_status)
status_type1, nvl(wdj.pm_schedule_id, -1),
nvl(wod.cycle_id, -1), nvl(wod.seq_id, -1),
wod.pm_base_meter_reading from wip_discrete_jobs wdj,
mtl_eam_asset_activities eaa, eam_work_order_details
wod,eam_wo_statuses_v ews where wdj.organization_id = :1 and
wdj.primary_item_id = eaa.asset_activity_id and wdj.wip_entity_id =
wod.wip_entity_id and wdj.organization_id = wod.organization_id and
eaa.activity_association_id = :2 and wdj.maintenance_object_id is not
null and wdj.status_type in (1, 3, 6, 17) and
wdj.maintenance_object_id = eaa.maintenance_object_id and
wdj.maintenance_object_type = eaa.maintenance_object_type and
wod.user_defined_status_id = ews.status_id order by
wdj.scheduled_start_date

query: select wdj.wip_entity_id, wdj.scheduled_start_date,


wdj.firm_planned_flag,
decode(nvl(wod.pending_flag,'N'),'N',wdj.status_type,ews.system_status)
status_type1, nvl(wdj.pm_schedule_id, -1),
nvl(wod.cycle_id, -1), nvl(wod.seq_id, -1),
wod.pm_base_meter_reading from wip_discrete_jobs wdj,
mtl_eam_asset_activities eaa, eam_work_order_details
wod,eam_wo_statuses_v ews where wdj.organization_id = :1 and
wdj.primary_item_id = eaa.asset_activity_id and wdj.wip_entity_id =
wod.wip_entity_id and wdj.organization_id = wod.organization_id and
eaa.activity_association_id = :2 and wdj.maintenance_object_id is not
null and wdj.status_type in (1, 3, 6, 17) and
wdj.maintenance_object_id = eaa.maintenance_object_id and
wdj.maintenance_object_type = eaa.maintenance_object_type and
wod.user_defined_status_id = ews.status_id order by
wdj.scheduled_start_date

query: select wdj.wip_entity_id, wdj.scheduled_start_date,


wdj.firm_planned_flag,
decode(nvl(wod.pending_flag,'N'),'N',wdj.status_type,ews.system_status)
status_type1, nvl(wdj.pm_schedule_id, -1),
nvl(wod.cycle_id, -1), nvl(wod.seq_id, -1),
wod.pm_base_meter_reading from wip_discrete_jobs wdj,
mtl_eam_asset_activities eaa, eam_work_order_details
wod,eam_wo_statuses_v ews where wdj.organization_id = :1 and
wdj.primary_item_id = eaa.asset_activity_id and wdj.wip_entity_id =
wod.wip_entity_id and wdj.organization_id = wod.organization_id and
eaa.activity_association_id = :2 and wdj.maintenance_object_id is not
null and wdj.status_type in (1, 3, 6, 17) and
wdj.maintenance_object_id = eaa.maintenance_object_id and
wdj.maintenance_object_type = eaa.maintenance_object_type and
wod.user_defined_status_id = ews.status_id order by
wdj.scheduled_start_date

#wo link is:1


query: select wdj.wip_entity_id, wdj.scheduled_start_date,
wdj.firm_planned_flag,
decode(nvl(wod.pending_flag,'N'),'N',wdj.status_type,ews.system_status)
status_type1, nvl(wdj.pm_schedule_id, -1),
nvl(wod.cycle_id, -1), nvl(wod.seq_id, -1),
wod.pm_base_meter_reading from wip_discrete_jobs wdj,
mtl_eam_asset_activities eaa, eam_work_order_details
wod,eam_wo_statuses_v ews where wdj.organization_id = :1 and
wdj.primary_item_id = eaa.asset_activity_id and wdj.wip_entity_id =
wod.wip_entity_id and wdj.organization_id = wod.organization_id and
eaa.activity_association_id = :2 and wdj.maintenance_object_id is not
null and wdj.status_type in (1, 3, 6, 17) and
wdj.maintenance_object_id = eaa.maintenance_object_id and
wdj.maintenance_object_type = eaa.maintenance_object_type and
wod.user_defined_status_id = ews.status_id order by
wdj.scheduled_start_date

#wo link is:0


query: select wdj.wip_entity_id, wdj.scheduled_start_date,
wdj.firm_planned_flag,
decode(nvl(wod.pending_flag,'N'),'N',wdj.status_type,ews.system_status)
status_type1, nvl(wdj.pm_schedule_id, -1),
nvl(wod.cycle_id, -1), nvl(wod.seq_id, -1),
wod.pm_base_meter_reading from wip_discrete_jobs wdj,
mtl_eam_asset_activities eaa, eam_work_order_details
wod,eam_wo_statuses_v ews where wdj.organization_id = :1 and
wdj.primary_item_id = eaa.asset_activity_id and wdj.wip_entity_id =
wod.wip_entity_id and wdj.organization_id = wod.organization_id and
eaa.activity_association_id = :2 and wdj.maintenance_object_id is not
null and wdj.status_type in (1, 3, 6, 17) and
wdj.maintenance_object_id = eaa.maintenance_object_id and
wdj.maintenance_object_type = eaa.maintenance_object_type and
wod.user_defined_status_id = ews.status_id order by
wdj.scheduled_start_date

#wo link is:0


* The Day interval is: 365.0
*******************************************
* The Due Date is 2019-03-16 08:00:00.0
* The Day interval is: 365.0
*******************************************
* The Due Date is 2020-03-15 08:00:00.0
sr02
* The Day interval is: 90.0
*******************************************
* The Due Date is 2019-04-08 08:00:00.0
parentPMResult parentSugDate:2019-03-16 08:00:00.0
* The Day interval is: 90.0
*******************************************
* The Due Date is 2019-07-07 08:00:00.0
sr02
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-03-19 08:00:00.0
parentPMResult parentSugDate:2019-03-16 08:00:00.0
parentPMResult parentSugDate:2019-04-08 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-04-03 08:00:00.0
parentPMResult parentSugDate:2019-04-08 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-04-18 08:00:00.0
parentPMResult parentSugDate:2019-04-08 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-05-03 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-05-18 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-06-02 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-06-17 08:00:00.0
sr02
* The Day interval is: 365.0
*******************************************
* The Due Date is 2019-02-14 08:00:00.0
* The Day interval is: 365.0
*******************************************
* The Due Date is 2020-02-14 08:00:00.0
sr02
* The Day interval is: 180.0
*******************************************
* The Due Date is 2019-07-07 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-04-05 08:00:00.0
parentPMResult parentSugDate:2019-02-14 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-04-20 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-05-05 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-05-20 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-06-04 08:00:00.0
* The Day interval is: 15.0
*******************************************
* The Due Date is 2019-06-19 08:00:00.0
sr02
Visiting PM Node with node next PM > false.Running Context : ConProgram
>true
PM Suggestion Association Id=100098
PM Suggestion Date=2019-03-16 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
Visiting PM Node with node next PM > false.Running Context : ConProgram
>true
PM Suggestion Association Id=100097
PM Suggestion Date=2019-04-08 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
Visiting PM Node with node next PM > false.Running Context : ConProgram
>true
PM Suggestion Association Id=100096
PM Suggestion Date=2019-03-19 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100096
PM Suggestion Date=2019-03-21 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100096
PM Suggestion Date=2019-04-03 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100096
PM Suggestion Date=2019-04-18 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100096
PM Suggestion Date=2019-05-03 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100096
PM Suggestion Date=2019-05-18 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100096
PM Suggestion Date=2019-06-02 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
Visiting PM Node with node next PM > false.Running Context : ConProgram
>true
PM Suggestion Association Id=100102
PM Suggestion Date=2019-02-14 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
Visiting PM Node with node next PM > false.Running Context : ConProgram
>true
PM Suggestion Association Id=100101
PM Suggestion Date=2019-07-08 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
Visiting PM Node with node next PM > false.Running Context : ConProgram
>true
PM Suggestion Association Id=100099
PM Suggestion Date=2018-09-29 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2018-10-14 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2018-11-19 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-01-12 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-02-11 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-02-26 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-04-05 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-04-20 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-05-05 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-05-20 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-06-04 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PM Suggestion Association Id=100099
PM Suggestion Date=2019-07-26 08:00:00.0
RunningContext Start Date=2019-01-06 00:00:00.0
PMEngine.java:execute():got out of the loop
PMEngine.java:execute():almost the end
PMEngine: Execute: Everything Done. returning
+------------------------------------------------------------------------
---+
End of log messages from FND_FILE
+------------------------------------------------------------------------
---+

+------------------------------------------------------------------------
---+
No completion options were requested.

Output file size:


0

+------------------------------------------------------------------------
---+
Concurrent request completed successfully
Current system time is 06-JUN-2019 17:25:19

+------------------------------------------------------------------------
---+

Potrebbero piacerti anche