DBA Data[Home] [Help]

APPS.EAM_WO_CHANGE_STATUS_PVT dependencies on FND_GLOBAL

Line 574: fnd_global.login_id,

570: wdj.wip_entity_id,
571: EAM_WORK_ORDER_ROUTE_S.nextval,
572: mena.maintenance_object_id,
573: sysdate,
574: fnd_global.login_id,
575: sysdate,
576: fnd_global.user_id,
577: fnd_global.login_id
578: FROM

Line 576: fnd_global.user_id,

572: mena.maintenance_object_id,
573: sysdate,
574: fnd_global.login_id,
575: sysdate,
576: fnd_global.user_id,
577: fnd_global.login_id
578: FROM
579: WIP_DISCRETE_JOBS wdj,
580: MTL_EAM_NETWORK_ASSETS mena,

Line 577: fnd_global.login_id

573: sysdate,
574: fnd_global.login_id,
575: sysdate,
576: fnd_global.user_id,
577: fnd_global.login_id
578: FROM
579: WIP_DISCRETE_JOBS wdj,
580: MTL_EAM_NETWORK_ASSETS mena,
581: CSI_ITEM_INSTANCES CII,

Line 866: -- This call to fnd_global.apps_initialize is needed because this is

862: WHEN OTHERS THEN
863: raise fnd_api.g_exc_unexpected_error;
864: END;
865:
866: -- This call to fnd_global.apps_initialize is needed because this is
867: -- part of the WO API which can also be used as a standalone API
868: -- and there needs to be a call to APPS_INITIALIZE before
869: -- concurrent programs are called
870:

Line 872: FND_GLOBAL.APPS_INITIALIZE(p_user_id, p_responsibility_id,426,0);

868: -- and there needs to be a call to APPS_INITIALIZE before
869: -- concurrent programs are called
870:
871: IF (p_user_id IS NOT NULL AND p_responsibility_id IS NOT NULL) THEN
872: FND_GLOBAL.APPS_INITIALIZE(p_user_id, p_responsibility_id,426,0);
873: END IF;
874:
875: IF(l_maintenance_obj_src =1 ) THEN --for EAM invoke online WIP close API
876:

Line 889: last_updated_by = fnd_global.user_id,

885:
886: UPDATE EAM_WORK_ORDER_DETAILS
887: SET user_defined_status_id = l_closed_status,
888: last_update_date = SYSDATE,
889: last_updated_by = fnd_global.user_id,
890: last_update_login = fnd_global.login_id
891: WHERE wip_entity_id = l_wip_entity_id;
892:
893:

Line 890: last_update_login = fnd_global.login_id

886: UPDATE EAM_WORK_ORDER_DETAILS
887: SET user_defined_status_id = l_closed_status,
888: last_update_date = SYSDATE,
889: last_updated_by = fnd_global.user_id,
890: last_update_login = fnd_global.login_id
891: WHERE wip_entity_id = l_wip_entity_id;
892:
893:
894: ELSE --for other prodcuts like CMRO invoke normal conc. program.

Line 1156: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: user_id:'||fnd_global.user_id || 'resp_id:'||fnd_global.resp_id||' appl id:'||FND_GLOBAL.PROG_APPL_ID);

1152:
1153: fnd_request.set_org_id(l_ou_id);
1154:
1155: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
1156: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: user_id:'||fnd_global.user_id || 'resp_id:'||fnd_global.resp_id||' appl id:'||FND_GLOBAL.PROG_APPL_ID);
1157: END IF;
1158:
1159: l_status := fnd_request.set_options(datagroup => 'Standard');
1160: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: set_options is set '); END IF;

Line 1164: if (fnd_global.user_id is not null and fnd_global.resp_id is not null and l_str_application_id is not null) then

1160: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: set_options is set '); END IF;
1161:
1162: l_str_application_id := fnd_profile.value('RESP_APPL_ID');
1163:
1164: if (fnd_global.user_id is not null and fnd_global.resp_id is not null and l_str_application_id is not null) then
1165: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
1166: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: calling FND_GLOBAL.APPS_INITIALIZE ');
1167: END IF;
1168:

Line 1166: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: calling FND_GLOBAL.APPS_INITIALIZE ');

1162: l_str_application_id := fnd_profile.value('RESP_APPL_ID');
1163:
1164: if (fnd_global.user_id is not null and fnd_global.resp_id is not null and l_str_application_id is not null) then
1165: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
1166: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: calling FND_GLOBAL.APPS_INITIALIZE ');
1167: END IF;
1168:
1169: FND_GLOBAL.APPS_INITIALIZE(fnd_global.user_id, fnd_global.resp_id, to_number(l_str_application_id),0);
1170: end if;

Line 1169: FND_GLOBAL.APPS_INITIALIZE(fnd_global.user_id, fnd_global.resp_id, to_number(l_str_application_id),0);

1165: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
1166: EAM_ERROR_MESSAGE_PVT.Write_Debug(to_char(sysdate,'DD-MON-YY HH:MI:SS')||' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: calling FND_GLOBAL.APPS_INITIALIZE ');
1167: END IF;
1168:
1169: FND_GLOBAL.APPS_INITIALIZE(fnd_global.user_id, fnd_global.resp_id, to_number(l_str_application_id),0);
1170: end if;
1171:
1172: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
1173: EAM_ERROR_MESSAGE_PVT.Write_Debug(' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: user_id:'||fnd_global.user_id || 'resp_id:'||fnd_global.resp_id||' appl id:'||FND_GLOBAL.PROG_APPL_ID||' Strappid:'||l_str_application_id);

Line 1173: EAM_ERROR_MESSAGE_PVT.Write_Debug(' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: user_id:'||fnd_global.user_id || 'resp_id:'||fnd_global.resp_id||' appl id:'||FND_GLOBAL.PROG_APPL_ID||' Strappid:'||l_str_application_id);

1169: FND_GLOBAL.APPS_INITIALIZE(fnd_global.user_id, fnd_global.resp_id, to_number(l_str_application_id),0);
1170: end if;
1171:
1172: IF EAM_PROCESS_WO_PVT.Get_Debug = 'Y' THEN
1173: EAM_ERROR_MESSAGE_PVT.Write_Debug(' EAM_WO_CHANGE_STATUS_PVT.create_osp_req_at_rel: user_id:'||fnd_global.user_id || 'resp_id:'||fnd_global.resp_id||' appl id:'||FND_GLOBAL.PROG_APPL_ID||' Strappid:'||l_str_application_id);
1174: END IF;
1175:
1176: SELECT REQIMPORT_GROUP_BY_CODE into l_req_import_group_by FROM PO_SYSTEM_PARAMETERS_ALL where ORG_ID=l_ou_id;
1177: