EAM- Work Order Close

Hi,
Do we have any automated script/API which can enable to close the mass workorders as a routine apart from mass close from maintenance work bench.

Hi,
Do we have any automated script/API which can enable to close the mass workorders as a routine apart from mass close from maintenance work bench.

Similar Messages

  • EAM Work Order Capitalization

    Can we capitalize incomplete Work Order, as this comes under the definition of CIP, especially at the period close if Work order is still open, this cost has to be shown in CIP, if to be caplitalized later.
    Kindly suggest
    Regards
    Yasir

    Hi.
    I have downloaded the latest client from Service Marketplace: Support Packages and Patches  -> My Company's Application Components -> My Company's Software -> SAP EAM WORK ORDER -> SAP EAM WORK ORDER 1.0 -> Comprised Software Component Version -> SAP EAM WORK ORDER CLIENT 1.0 -> Win32.
    Under installations and upgrades you can find it at My Company's Application Components -> My Company's Software -> SAP EAM WORK ORDER -> SAP EAM WORK ORDER 1.0 -> 51041739.
    Hope it helps.
    /Michael.

  • Oracle EBS drill link targets for EAM Work Order and Asset

    Hi All - I am running Oracle EBS 12.1.3 and OBIEE 11g and I'm trying to link from OBIEE to EBS, but struggling to find the target functions / parameters to provide a direct URL link to EBS EAM Work Order and Asset. I have successfully linked to a Purchase Order View page, I would like to find the similar for EAM Asset and Work Order.
    I can see some parameters in WorkOrderDetailsPGCO but can't seem to work out how to get to the page from a URL.
    For reference MOS Note 555254.1 has some details, but not for EAM.
    Has anyone provided users in any reporting system with a link to EAM Work Order or Asset page and if so how were the links generated?
    Thanks,
    Gareth

    I am giving this a bump as I really need some help with this. Is I run the SQL with TOAD or SQLPlus it seems to consistently runs fine, The problem seems to only be from APEX. I think it has do to with the non-persistent state.

  • Unable to Update EAM Work Order

    Hi Team,
    I want to update the attribute columns of EAM Work Order. The eam_work_orders_v.attribute10 has to be updated with a quote number that is generated from order management. I tried using the following api
    set serveroutput on;
    Declare
    l_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    l_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    l_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    l_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    l_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    l_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    l_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    l_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    l_out_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    l_out_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    l_out_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    l_out_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    l_out_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    l_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
    x_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    x_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    x_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    x_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    x_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    x_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    x_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    x_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    x_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
    X_status VARCHAR2(4000);
    X_msg_cnt NUMBER;
    X_msg_data VARCHAR2(4000);
    Begin
    fnd_global.apps_initialize (user_id => 27789,
    resp_id => 23119,
    resp_appl_id => 426
    COMMIT;
    l_eam_wo_rec := null; Record Group need to be initialized at the beginning
    l_eam_wo_rec.WIP_ENTITY_NAME := '665443';
    l_eam_wo_rec.organization_id := 12384;
    l_eam_wo_rec.attribute10 := '2112000245';
    l_eam_wo_rec.NOTIFICATION_REQUIRED := NULL;
    l_eam_wo_rec.TRANSACTION_TYPE := '2';
    l_eam_wo_rec.ASSET_NUMBER := '11234';
    l_eam_wo_rec.ASSET_GROUP_ID := 481810;
    l_eam_wo_rec.SCHEDULED_START_DATE := sysdate;
    l_eam_wo_rec.SCHEDULED_COMPLETION_DATE := SYSDATE;
    l_eam_wo_rec.STATUS_TYPE := wip_constants.released; -'Unreleased';
    l_eam_wo_rec.OWNING_DEPARTMENT := 6003;
    l_eam_wo_rec.PRIORITY := 10 ;
    l_eam_wo_rec.SHUTDOWN_TYPE := null;
    l_eam_wo_rec.class_code := 'WS0';
    --l_eam_wo_rec.material_issue_by_mo := 'N';
    --l_eam_wo_rec.issue_zero_cost_flag := 'Y';
    --l_eam_wo_rec.po_creation_time := 1;
    --l_eam_wo_rec.job_quantity := 1;
    --l_eam_wo_rec.notification_required := 'N';
    /* Additional Parameters to be passed Start */
    l_eam_wo_rec.ACTIVITY_TYPE := 1; --It should be the lookup code value for the activity_type
    l_eam_wo_rec.maintenance_object_source := 1;
    l_eam_wo_rec.maintenance_object_type := 3;
    l_eam_wo_rec.maintenance_object_id := 26005;
    l_eam_wo_rec.requested_start_date := SYSDATE;
    l_eam_wo_rec.job_quantity := 1;
    l_eam_wo_rec.wip_supply_type := null;
    /* Additional Parameters to be passed End */
    apps.EAM_PROCESS_WO_PUB.PROCESS_WO
    ( p_bo_identifier => 'EAM'
    , p_api_version_number =>1.0
    , p_init_msg_list =>TRUE
    , p_commit => 'Y'
    , p_eam_wo_rec =>l_eam_wo_rec
    , p_eam_op_tbl =>l_eam_op_tbl
    , p_eam_op_network_tbl =>l_eam_op_network_tbl
    , p_eam_res_tbl =>l_eam_res_tbl
    , p_eam_res_inst_tbl =>l_eam_res_inst_tbl
    , p_eam_sub_res_tbl =>l_eam_sub_res_tbl
    , p_eam_res_usage_tbl =>l_eam_res_usage_tbl
    , p_eam_mat_req_tbl =>l_eam_mat_req_tbl
    , p_eam_direct_items_tbl => l_out_eam_direct_items_tbl
    , x_eam_wo_rec =>x_eam_wo_rec
    , x_eam_op_tbl =>x_eam_op_tbl
    , x_eam_op_network_tbl =>x_eam_op_network_tbl
    , x_eam_res_tbl =>x_eam_res_tbl
    , x_eam_res_inst_tbl =>x_eam_res_inst_tbl
    , x_eam_sub_res_tbl =>x_eam_sub_res_tbl
    , x_eam_res_usage_tbl =>x_eam_res_usage_tbl
    , x_eam_mat_req_tbl =>x_eam_mat_req_tbl
    , x_eam_direct_items_tbl => x_eam_direct_items_tbl
    , x_return_status =>X_status
    , x_msg_count =>X_msg_cnt
    , p_debug =>'Y'
    , p_output_dir => '/user/temp'
    , p_debug_filename =>'Amit_6_EAM_WO_DEBUG2.log'
    , p_debug_file_mode => 'a'
    commit;
    DBMS_OUTPUT.PUT_LINE('Status : '||X_status);
    IF X_msg_cnt > 0 THEN
    DBMS_OUTPUT.PUT_LINE('Error Occurred in WO Creation : '|| X_msg_cnt||' : '||SQLERRM||' : '||SQLCODE);
    END IF;
    DBMS_OUTPUT.PUT_LINE('First record inserted.......');
    END;
    The Result:
    anonymous block completed
    Status : E
    Error Occurred in WO Creation : 3 : ORA-0000: normal, successful completion : 0
    First record inserted.......
    Can i know if missed something over here??
    Thanks
    Mohan

    Hi,
    If you have a maintenance BOM and Routing for the activity in use for your work order
    The work order created will get the data defaulted from those BOM and Routing ie operations , BOM and Routing.
    Please check whether you have the BOM and routing and also please compare the BOM and routing information with the information you are adding.
    Also make sure that you are passing all the mandatory inputs.
    thanks
    Krishna

  • SAP EAM Work Order 1.0 and SAP Field Service 1.0

    Hi All,
    Related to these two new applications launched recently by SAP, taking advantage of the fusion between SAP and Sybase (SAP EAM Work Order 1.0 and SAP Field Service 1.0), someone already implemented some of these new features in mobile?
    If someone did, may share some information regarding these new features?
    Best regards,
    Rogério Reis
    Someone can help?
    Edited by: Rogério Reis on Dec 12, 2011 11:33 AM

    Hi,
    Please review the link below
    http://news.techworld.com/mobile-wireless/3280507/sap-announces-new-push-into-mobile-applications/
    Regards
    Carlos

  • Oracle MES for EAM Work Order

    Hi,
    We know Oracle MES supports discrete Work orders.
    Is it supports EAM Work Order also.
    we need to introduce Clock in Clock out functionality against resources of EAM WO.
    Thanks
    Raman

    Hi Din;
    Please check below notes and see its helpful for your issue:
    Department Wise Work Order Release Approvers in EAM using AME [ID 944918.1]
    EAM DOCUMENT APPROVALS USING AME [ID 972652.1]
    Regard
    Helios

  • Have a Problem in EAM work order creation API........

    I have used the following code to create work order but i was unable to do so
    I am getting return status SUCCESS(S)....
    but am unable to view the record in EAM_WORK_ORDERS_V..
    any sort of help would be appreciated...
    declare
    g_eam_wo_relations_tbl0 eam_process_wo_pub.eam_wo_relations_tbl_type;
    g_eam_wo_relations_rec eam_process_wo_pub.eam_wo_relations_rec_type;
    g_eam_op_rec0 eam_process_wo_pub.eam_op_rec_type;
    g_eam_op_rec1 eam_process_wo_pub.eam_op_rec_type;
    g_eam_op_network_rec0 eam_process_wo_pub.eam_op_network_rec_type;
    g_eam_op_network_rec1 eam_process_wo_pub.eam_op_network_rec_type;
    g_eam_mat_req_rec0 eam_process_wo_pub.eam_mat_req_rec_type;
    g_eam_mat_req_rec1 eam_process_wo_pub.eam_mat_req_rec_type;
    g_eam_di_rec0 eam_process_wo_pub.eam_direct_items_rec_type;
    g_eam_di_rec1 eam_process_wo_pub.eam_direct_items_rec_type;
    g_eam_res_rec0 eam_process_wo_pub.eam_res_rec_type;
    g_eam_res_rec1 eam_process_wo_pub.eam_res_rec_type;
    g_eam_res_inst_rec0 eam_process_wo_pub.eam_res_inst_rec_type;
    g_eam_res_inst_rec1 eam_process_wo_pub.eam_res_inst_rec_type;
    g_eam_op_tbl0 EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    g_eam_op_tbl1 EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    g_eam_op_network_tbl0 EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    g_eam_res_tbl0 EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    g_eam_res_inst_tbl0 EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    g_eam_sub_res_tbl0 EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    g_eam_res_usage_tbl0 EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    g_eam_mat_req_tbl0 EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    g_eam_di_tbl0 EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
    g_out_eam_wo_relations_tbl eam_process_wo_pub.eam_wo_relations_tbl_type;
    g_out_eam_wo_rec eam_process_wo_pub.eam_wo_rec_type;
    g_out_eam_wo_tbl eam_process_wo_pub.eam_wo_tbl_type;
    g_out_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    g_out_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    g_out_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    g_out_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    g_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    g_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    g_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    g_out_eam_di_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
    g_eam_wo_rec1 eam_process_wo_pub.eam_wo_rec_type;
    g_eam_wo_rec2 eam_process_wo_pub.eam_wo_rec_type;
    g_eam_wo_tbl0 eam_process_wo_pub.eam_wo_tbl_type;
    g_eam_wo_res_usg_tbl0 eam_process_wo_pub.eam_res_usage_tbl_type;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    g_eam_wo_usg_rec1 eam_process_wo_pub.eam_res_usage_rec_type;
    g_eam_wo_usg_rec2 eam_process_wo_pub.eam_res_usage_rec_type;
    begin
    g_eam_wo_rec1 := null;
    g_eam_wo_rec1.transaction_type := EAM_PROCESS_WO_PVT.G_OPR_CREATE;
    g_eam_wo_rec1.batch_id := 1;
    G_EAM_WO_REC1.HEADER_ID := 1;
    G_EAM_WO_REC1.WIP_ENTITY_ID := NULL;
    g_eam_wo_rec1.wip_entity_name := '10040';
    g_eam_wo_rec1.organization_id := 207;
    g_eam_wo_rec1.asset_group_id := 16884;
    g_eam_wo_rec1.asset_number := '28Z1933';
    g_eam_wo_rec1.rebuild_item_id := null;
    g_eam_wo_rec1.rebuild_serial_number := null;
    G_EAM_WO_REC1.MAINTENANCE_OBJECT_SOURCE := 1;
    g_eam_wo_rec1.maintenance_object_type := 3;
    g_eam_wo_rec1.maintenance_object_id := 1768219;
    g_eam_wo_rec1.parent_wip_entity_id := null;
    g_eam_wo_rec1.manual_rebuild_flag := null;
    g_eam_wo_rec1.owning_department := 4002 ;
    g_eam_wo_rec1.description := 'Creating a Released Work Order';
    g_eam_wo_rec1.class_code := 'MAINT';
    g_eam_wo_rec1.status_type := wip_constants.released;
    g_eam_wo_rec1.date_released := sysdate-100;
    g_eam_wo_rec1.firm_planned_flag := 1;
    g_eam_wo_rec1.scheduled_start_date := sysdate;
    g_eam_wo_rec1.requested_start_date := sysdate;
    g_eam_wo_rec1.scheduled_completion_date := sysdate;
    g_eam_wo_rec1.material_issue_by_mo := 'N';
    g_eam_wo_rec1.priority := 10;
    g_eam_wo_rec1.issue_zero_cost_flag := 'Y';
    g_eam_wo_rec1.po_creation_time := 1;
    g_eam_wo_rec1.job_quantity := 1;
    g_eam_wo_rec1.notification_required := 'N';
    g_eam_wo_tbl0(1) := g_eam_wo_rec1;
    EAM_PROCESS_WO_PUB.PROCESS_WO
    ( p_bo_identifier => 'EAM'
    , p_api_version_number => 1.0
    , p_init_msg_list => TRUE
    , p_commit => 'Y'
    , p_eam_wo_rec => g_eam_wo_rec1
    , p_eam_op_tbl => g_eam_op_tbl0
    , p_eam_op_network_tbl => g_eam_op_network_tbl0
    , p_eam_res_tbl => g_eam_res_tbl0
    , p_eam_res_inst_tbl => g_eam_res_inst_tbl0
    , p_eam_sub_res_tbl => g_eam_sub_res_tbl0
    , p_eam_res_usage_tbl => g_eam_res_usage_tbl0
    , p_eam_mat_req_tbl => g_eam_mat_req_tbl0
    , p_eam_direct_items_tbl => g_eam_di_tbl0
    , x_eam_wo_rec => g_eam_wo_rec2
    , x_eam_op_tbl => g_out_eam_op_tbl
    , x_eam_op_network_tbl => g_out_eam_op_network_tbl
    , x_eam_res_tbl => g_out_eam_res_tbl
    , x_eam_res_inst_tbl => g_out_eam_res_inst_tbl
    , x_eam_sub_res_tbl => g_out_eam_sub_res_tbl
    , x_eam_res_usage_tbl => g_eam_res_usage_tbl0
    , x_eam_mat_req_tbl => g_out_eam_mat_req_tbl
    , x_eam_direct_items_tbl => g_out_eam_di_tbl
    , x_return_status => l_return_status
    , x_msg_count => l_msg_count
    , p_debug => 'Y'
    , p_output_dir => '/sqlcom/log/lv115dyp'
    , p_debug_filename => 'eambo22.log'
    , p_debug_file_mode => 'w'
    dbms_output.put_line('work order creation status:'||l_return_status);
    commit;
    END;
    thanks in advance
    DEV

    You have opened the render engine, not the full program.
    Mylenium

  • HOW TO: EAM - Work Order Page - Change Concurrent Program to run

    Hi,
    my customer is using EAM and in the Work Order Search page the customer can select a work order and press the button "Print Work Orders". The standard work order (BI Publisher report) print is submitted.
    Their request is to submit the Customized version of this concurrent program.
    Can this be done and how can this be done?
    Thanks in advance.
    Regard Roel
    Edited by: user13071061 on 6-okt-2010 6:26

    Hi,
    Can you please check that what is the Template of Standard Work Order Report.
    It comes from the setup for Document Types in Oracle. Most probably the template will be
    XXL-FO. And if yes, then you need to have the customized report also, in XXL-FO Template and then in Document Types just give the name of the customized Template Name (Register the Template and Data Definition in Oracle first). Save it
    and then run the page again to see if now it picks the template of your customized report or not.
    Thanks,
    Gaurav

  • Eam Work order assignment info

    Hi Guys
    This is a followup to a question I asked in the SCM forum but was asked to post EAM questions here by Sandeep who answered my previous questions graciously.
    A> I am tracking a specific situation- when every operation assigned to a work order is completed I need to execute a pl/sql Concurrent program.
    For this one I think the work order status would be changed to complete?
    B>I am also tracking another situation- When a resource is assigned to a work order I need to execute a pl/sql conc prog.
    What table info gets set when this happens?
    Thanks
    Jake

    A> WIP_MOVE_TRANSACTIONS is probably what you are looking for. Write a trigger on that table.
    B> WIP_OPERATION_RESOURCES is the table used. So you can write a trigger on that table.
    Hope this helps,
    Sandeep Gandhi

  • EAM Work order completion issue

    Hi guys
    We have a requirement where we need to complete a work order using an API call .
    There are times where even when all operations are completed the users dont change the status to complete.
    I've tried using the EAM_PROCESS_WO_PUB.PROCESS_WO to change the status to different statuses and it works for some statuses,
    but when I try to change the status of the WO from released to complete it gives me the following error.
    change from 3 to 4 not poss
    oddly this call does change the system status of the work order to complete but not the status type
    any ideas , suggestions?
    Thanks
    Dan

    user eam_completion API
    take care
    Aamir

  • EAM Work Orders Table

    Hi,
    I am developing a report using EAM_WORK_ORDERS_V, WIP_REQUIREMENT_OPERATIONS_V, CST_DISTRIBUTION_V and EAM_JOB_COMPLETION_TXNS. As 1st 3 are views, it takes so much of time, i don't know the table names of the above views. Kindly help me in providing the table names for above views.
    Pavan

    The view uses many tables but the main tables are
    wip_entities
    wip_discrete_jobs
    The view focuses on EMA jobs by looking at only those records in wip_entities where we.entity_type IN (6, 7)
    Hope this answers your question,
    Sandeep Gandhi

  • Close work order using api

    hi every one..
    can any one plz tell me how to close eam work order by using api
    plz say to me how to approach.
    thanks in advance
    ram

    hi sandeep..
    thanks for your response..
    but i need to close eam work order by using Work Order Business Object API.
    in this api there one procedure calld Process_Master_Child_WO.
    the sample code has been given by some body..as follows..plz help me how to use this code..because im not aware of api's
    plz any one help me...
    thanks in advance...
    Ram.
    set serveroutput on;
    Declare
    l_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    l_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    l_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    l_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    l_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    l_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    l_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    l_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    l_out_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    l_out_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    l_out_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    l_out_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    l_out_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    l_out_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    l_out_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    l_out_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    l_out_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
    x_eam_wo_rec EAM_PROCESS_WO_PUB.eam_wo_rec_type;
    x_eam_op_tbl EAM_PROCESS_WO_PUB.eam_op_tbl_type;
    x_eam_op_network_tbl EAM_PROCESS_WO_PUB.eam_op_network_tbl_type;
    x_eam_res_tbl EAM_PROCESS_WO_PUB.eam_res_tbl_type;
    x_eam_res_inst_tbl EAM_PROCESS_WO_PUB.eam_res_inst_tbl_type;
    x_eam_sub_res_tbl EAM_PROCESS_WO_PUB.eam_sub_res_tbl_type;
    x_eam_res_usage_tbl EAM_PROCESS_WO_PUB.eam_res_usage_tbl_type;
    x_eam_mat_req_tbl EAM_PROCESS_WO_PUB.eam_mat_req_tbl_type;
    x_eam_direct_items_tbl EAM_PROCESS_WO_PUB.eam_direct_items_tbl_type;
    X_status VARCHAR2(4000);
    X_msg_cnt NUMBER;
    X_msg_data VARCHAR2(4000);
    Begin
    fnd_global.apps_initialize (user_id => 27789,
    resp_id => 23119,
    resp_appl_id => 426
    COMMIT;
    l_eam_wo_rec := null; Record Group need to be initialized at the beginning
    l_eam_wo_rec.WIP_ENTITY_NAME := '665443';
    l_eam_wo_rec.organization_id := 12384;
    l_eam_wo_rec.attribute10 := '2112000245';
    l_eam_wo_rec.NOTIFICATION_REQUIRED := NULL;
    l_eam_wo_rec.TRANSACTION_TYPE := '2';
    l_eam_wo_rec.ASSET_NUMBER := '11234';
    l_eam_wo_rec.ASSET_GROUP_ID := 481810;
    l_eam_wo_rec.SCHEDULED_START_DATE := sysdate;
    l_eam_wo_rec.SCHEDULED_COMPLETION_DATE := SYSDATE;
    l_eam_wo_rec.STATUS_TYPE := wip_constants.released; -'Unreleased';
    l_eam_wo_rec.OWNING_DEPARTMENT := 6003;
    l_eam_wo_rec.PRIORITY := 10 ;
    l_eam_wo_rec.SHUTDOWN_TYPE := null;
    l_eam_wo_rec.class_code := 'WS0';
    --l_eam_wo_rec.material_issue_by_mo := 'N';
    --l_eam_wo_rec.issue_zero_cost_flag := 'Y';
    --l_eam_wo_rec.po_creation_time := 1;
    --l_eam_wo_rec.job_quantity := 1;
    --l_eam_wo_rec.notification_required := 'N';
    /* Additional Parameters to be passed Start */
    l_eam_wo_rec.ACTIVITY_TYPE := 1; --It should be the lookup code value for the activity_type
    l_eam_wo_rec.maintenance_object_source := 1;
    l_eam_wo_rec.maintenance_object_type := 3;
    l_eam_wo_rec.maintenance_object_id := 26005;
    l_eam_wo_rec.requested_start_date := SYSDATE;
    l_eam_wo_rec.job_quantity := 1;
    l_eam_wo_rec.wip_supply_type := null;
    /* Additional Parameters to be passed End */
    apps.EAM_PROCESS_WO_PUB.PROCESS_WO
    ( p_bo_identifier => 'EAM'
    , p_api_version_number =>1.0
    , p_init_msg_list =>TRUE
    , p_commit => 'Y'
    , p_eam_wo_rec =>l_eam_wo_rec
    , p_eam_op_tbl =>l_eam_op_tbl
    , p_eam_op_network_tbl =>l_eam_op_network_tbl
    , p_eam_res_tbl =>l_eam_res_tbl
    , p_eam_res_inst_tbl =>l_eam_res_inst_tbl
    , p_eam_sub_res_tbl =>l_eam_sub_res_tbl
    , p_eam_res_usage_tbl =>l_eam_res_usage_tbl
    , p_eam_mat_req_tbl =>l_eam_mat_req_tbl
    , p_eam_direct_items_tbl => l_out_eam_direct_items_tbl
    , x_eam_wo_rec =>x_eam_wo_rec
    , x_eam_op_tbl =>x_eam_op_tbl
    , x_eam_op_network_tbl =>x_eam_op_network_tbl
    , x_eam_res_tbl =>x_eam_res_tbl
    , x_eam_res_inst_tbl =>x_eam_res_inst_tbl
    , x_eam_sub_res_tbl =>x_eam_sub_res_tbl
    , x_eam_res_usage_tbl =>x_eam_res_usage_tbl
    , x_eam_mat_req_tbl =>x_eam_mat_req_tbl
    , x_eam_direct_items_tbl => x_eam_direct_items_tbl
    , x_return_status =>X_status
    , x_msg_count =>X_msg_cnt
    , p_debug =>'Y'
    , p_output_dir => '/user/temp'
    , p_debug_filename =>'Amit_6_EAM_WO_DEBUG2.log'
    , p_debug_file_mode => 'a'
    commit;
    DBMS_OUTPUT.PUT_LINE('Status : '||X_status);
    IF X_msg_cnt > 0 THEN
    DBMS_OUTPUT.PUT_LINE('Error Occurred in WO Creation : '|| X_msg_cnt||' : '||SQLERRM||' : '||SQLCODE);
    END IF;
    DBMS_OUTPUT.PUT_LINE('First record inserted.......');
    END;

  • EAM Maintenance Work Order Detail Report

    Hello All,
    I have a requirement to add new fields to the Maintenance Work Order Detail Report which is run from the web page. This report's RTF template works based on the fields which are defined in the seeded data definition. This seeded data defintion has an seeded XSD file with the fields in it. By the RTF template I got the standarad concurrent program name as Maintenance Work Order Detail Report.
    I assumed the following process to happen when the Run button on the EAM work order page is clicked.
    1. Concurrent program Maintenance Work Order Detail Report is submitted
    Executable: PL/SQL Package EAM_WOREP_PUB.Work_Order_CP
    Seeded Data Definition: Work Order Details -- This DD has a seeded XSD file EAMWOREPORT.xsd
    2. So the RTF template based on the pl/sql package and the XSD file generates the report and displays.
    Please correct if my assumptions are wrong.
    I want to add new fields to this report. So I have customized the pl/sql package, modified the code with new fields and created a custom data defintion with a new XSD file with the new fields added in it. Also created a new template linked to new data defintion. After doing all this I am not able to see the new fields on the report generated they come as NULL.
    My question is Is it feasible to add new fields to this Maintenance Work Order Detail Report or we can use only the fields which the seeded one gives?
    Version: R12.1.2
    I tried and tried but couldn't find a solution to it. If anyone has faced the same issue please let me know.
    Thank You!!

    IW47 should give you the required information.
    Regards
    Narasimhan

  • EAM OSP: How to Disable Requisition Import AutoRun on Work Order Release?

    Hi,
    We want to create Purchase Requisition for OSP resource Items from eAM Work Orders by manually running Requisition Import request from purchasing. But as work order is released Import Requisition is auto run and requisition created. Is there any parameter or profile option to stop this request from auto run on release? Kindly guide.
    Regards,
    Syed Mustafa Arshad   

    Hi Hrishi,
    Thank your for your response.
    The second option you specified Operation is used in case of Oracle Discrete Manufacturing not for EAM. It is used when you want to start requisition as Item is moved from one operation to next so it cannot be used in case of EAM.
    We wanted it because our requirement was to generate requisition in incomplete status and with requisition import automatically parameter is passed as "Yes" for Workflow and requisition is generated in Approved Status. There is a patch but it was not working fine with 12.1.3 and the issue is on SR and we needed a work around urgently. But now a new patch was provided and it seems our issue is resolved now and now Workflow parameter is passed as "No".
    And about requisition creation time, I came to know after raising service request that it is standard functionality and requisition import cannot be delayed to run it later manually.
    Thank again for your response.
    Best Regards,
    Syed Mustafa Arshad

  • Multiple approval for Oracle eAM Work request

    Can anyone confirm Oracle has standard functionality of sequentinal apprvoal process for eAM Work request.
    Our current Oracle eAM project has requirement of multiple approver for Work request. Multiple approver means sequential approval process. After first approver approves it should go to second approval and continues.
    I know Oracle eAM Work order has sequential approval process, but i want to know the same funcionality available for Oracle eAM work request as well. If Oracle has the functionality please provide the details.
    We are using Oracle R12 version.

    Hi;
    I suggest close your issue here as answered than move your issue Oracle Discussion Forums » E-Business Suite Archived Forums » SCM - Asset Lifecycle Management (ALM) which you can get more quick response
    Regard
    Helios

Maybe you are looking for