Oracle.apps.inv.itemUpdate Event

I created the subscription oracle.apps.inv.itemUpdate event and trying to capture the event key in my initial testing but it's not working. The event is not firing on the item update, please let me know if there are any other setups required to work the inventory events. We use extensively the TCA events and those are working fine.
Thanks,
Srini C

Hi Rohit,
Have you done any setup for the e-records in inventory to work the business events? I am trying by updating the attribute controls but the event is not raising. I have created the following code in my rule funciton. Could you please check the following code?
CREATE OR REPLACE PACKAGE BODY APPS.schl_event_item_update_elt
AS
FUNCTION schl_item_attrib_update (p_subscription_guid IN raw,
p_event IN OUT wf_event_t
RETURN VARCHAR2
IS
l_key VARCHAR2 (240);
l_key_stat VARCHAR2 (50);
l_status_rec VARCHAR2 (50);
l_org_id VARCHAR2 (240);
BEGIN
l_key := p_event.geteventkey ();
INSERT INTO schl.schl_item_attrib_update
VALUES (l_key);
RETURN 'SUCCESS';
EXCEPTION
WHEN NO_DATA_FOUND
THEN
INSERT INTO schl.schl_item_attrib_update
VALUES ('error');
END;
END;
Thanks,
Srini C

Similar Messages

  • Incorreect event-key in oracle.apps.inv.lotCreate Event PL/SQL Rule Functio

    Hi,
    I have created event subscription as PL/SQL function for oracle.apps.inv.lotCreate Event.
    In this PL/SQL function, i am calling "getEventKey" method on WF_EVENT_T object obtained.
    However, value returned by this "getEventKey" method is incorrect. According to Oracle Inventory User Guide, event-key should be
    Organization_id-Item_id-Lot_number. However i am getting some six digit number which is neither Organization_id nor Item_id nor Lot_number.
    I am using Oracle E-Business suite Release 12.
    Please let me know if anyone has faced similar problems? what was cause of such problem?
    Any pointers regarding the issue will be highly appreciated.
    Let me know if you require more information.
    Thanks,
    Rohit

    Hi Steve,
    The test subscription is raising from the workflow administrator responsiibility but when I update the item attribute controls then the subscription is not raising and checked with the forms trace, there is no event is recorded in the trace. I am using 11.5.10 cu 2 version and suspecting still some setting might be missing for the inventory events.
    I wrote the following code for my initial testing to test the event subscription raising on the item update.
    CREATE OR REPLACE PACKAGE BODY APPS.schl_event_item_update_elt
    AS
    FUNCTION schl_item_attrib_update (p_subscription_guid IN raw,
    p_event IN OUT wf_event_t
    RETURN VARCHAR2
    IS
    l_key VARCHAR2 (240);
    l_key_stat VARCHAR2 (50);
    l_status_rec VARCHAR2 (50);
    l_org_id VARCHAR2 (240);
    BEGIN
    l_key := p_event.geteventkey ();
    INSERT INTO schl.schl_item_attrib_update
    VALUES (l_key);
    RETURN 'SUCCESS';
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    INSERT INTO schl.schl_item_attrib_update
    VALUES ('error');
    END;
    END;
    I would highly appreciate your thoghts on this.
    Thanks,
    Srini C

  • Incorreect event-key in oracle.apps.inv.lotCreate Event subscription

    Hi,
    I have created event subscription as PL/SQL function for oracle.apps.inv.lotCreate Event.
    In this PL/SQL function, i am calling "getEventKey" method on WF_EVENT_T object obtained.
    However, value returned by this "getEventKey" method is incorrect. According to Oracle Inventory User Guide, event-key should be
    Organization_id-Item_id-Lot_number. However i am getting some six digit number which is neither Organization_id nor Item_id nor Lot_number.
    I am using Oracle E-Business suite Release 12.
    Please let me know if anyone has faced similar problems? what was cause of such problem?
    Let me know if you require more information.
    Thanks,
    Rohit

    Hi Steve,
    The test subscription is raising from the workflow administrator responsiibility but when I update the item attribute controls then the subscription is not raising and checked with the forms trace, there is no event is recorded in the trace. I am using 11.5.10 cu 2 version and suspecting still some setting might be missing for the inventory events.
    I wrote the following code for my initial testing to test the event subscription raising on the item update.
    CREATE OR REPLACE PACKAGE BODY APPS.schl_event_item_update_elt
    AS
    FUNCTION schl_item_attrib_update (p_subscription_guid IN raw,
    p_event IN OUT wf_event_t
    RETURN VARCHAR2
    IS
    l_key VARCHAR2 (240);
    l_key_stat VARCHAR2 (50);
    l_status_rec VARCHAR2 (50);
    l_org_id VARCHAR2 (240);
    BEGIN
    l_key := p_event.geteventkey ();
    INSERT INTO schl.schl_item_attrib_update
    VALUES (l_key);
    RETURN 'SUCCESS';
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    INSERT INTO schl.schl_item_attrib_update
    VALUES ('error');
    END;
    END;
    I would highly appreciate your thoghts on this.
    Thanks,
    Srini C

  • How to Migrate Oracle Apps Business Events

    Hi,
    How to Migrate Oracle Apps R12 Business Events from DEV environment to STAGE and STAGE to PRODUCTION environment?
    Please help me as early as possible.
    Thanks,
    Sumit

    I have opened this link and I didn't get exactly because I am new in Business Events.
    Can you please help for simple steps for migrate Business Events from DEV to STAGE or TEST environment.
    Your prompt reply will highly appreciated.
    Thanks & Regards,Complete the steps under "Step 1: Locating and Downloading Business Events" and "Uploading Annotated File Back to a Database" sections to download/upload business events.
    Thanks,
    Hussein

  • Oracle Apps 11i Integration

    I have a requirement wherein I need to capture the create information of Inventory item(Oracle apps 11i-->Inventory super user-->master item (create))
    To acheive this I have called Oracle apps adapter in my BPEL process, then I have called an outbound business event " oracle.apps.inv.itemCreate" in my adapter. Now I have put a receive for this event.
    I am able to deploy this process successfully, but I could not get any instance of item creation ( though I have created an item from the apps frontend ) .
    Can anyone suggest me on this ??
    Is there any other way to capture this "Item create" information??
    "URGENT"
    /Abhishek G

    Hi,
    We are working on the 11i integrating with 12i using AIA 2.0 Artifacts.
    Initially we tried for updateItem it was in the same case, ESB not able to pick the event so we applied patch 5701472 on the R11510 playground. Then the updateItem was working end to end.
    Now we are working with createItem, again the ESB is not picking the event.
    Then we wrote a trigger to populate the event in the WF_DEFERRED table.
    So we would like to know whether we have to use any patch or not. If yes, what is the patch number?
    Regards,
    Vijay.B

  • Notifications Search(/oracle/apps/fnd/wf/worklist/webui/NotifSearchPG)

    Notifications Search Page (/oracle/apps/fnd/wf/worklist/webui/NotifSearchPG)
    When search notifications without any conditions, it's very slowly,about 4 minutes
    then click a notification title to reach detail Page(/oracle/apps/fnd/wf/worklist/webui/NotifDetailsPG)
    Approve or do other actions, then return NotifSearchPG use link ' Return to worklist',
    It's very very slowly,about 4 minutes, worklists are searched again,
    How to imporve the performance about search worklist?
    there a about 4 millions records in TABLE WF_NOTIFICATIONS
    and the Hardware plat is strong enough to support the applications.
    ------------------------AMs , VOs , COs in NotifSearchPG
    NotificationSearchAM
    WorklistStatusVO
    AdminItemTypesVO
    SearchWorklistVO
    SentDateVO
    WorklistPriorityVO
    DueDateVO
    UserLOVVO
    DigSigSearchVO
    and following on webui:
    NtfSearchCO.class
    NtfUtil.class

    Hi ,
    Include some diagnostic message and see whether your controller class is getting invoked or not .
    note : While attaching your controller class from personalization give the full qualified path of the controller like xxx.oracle.apps.inv.icx.selfservice.xxmyControllerCO
    and tab out and then click on "APPLY " button .
    Keerthi K

  • Help me on this oracle.apps.po.event.document_action_event

    1. How can i Verify in E-business the event oracle.apps.po.event.document_action_event. how can i make sure it is enabled and has a subscription assigned to it?
    Thanks
    Venki

    // that looks like a pretty poor tutorial.  but
    public function init(e:Event=null):void{
    go=new Go();  // you need to declare go
    addChild(go);
    go.addEventListener(MouseEvent.CLICK,startgame);
    public function startgame(e:Event):void{
    removeChild(start_mc);  // where start_mc is the movieclip of your start screen
    addChild(game_mc);  // where game_mc is the movieclip of your game

  • Autocreate task raise business event oracle.apps.jtf.cac.task.createTask?

    Hi All!
    How can I check if event oracle.apps.jtf.cac.task.createTask was raised when a task was created?
    This event will raise every time a task is created independent of which process created the task? I mean if the task was automatically created when SR is created or if the task is manually created?
    How can I test this business event manually?
    In our environment (EBS 11.5.10.2) there are following subscriptions to this business event:
    CS_SR_SECURITY_UTIL.SECURE_SR_TASK_OWNER
    jtf_task_wf_subscribe_pvt.create_task_notif_subs
    CS_SR_CHILD_AUDIT_PKG.CS_SR_Audit_ChildEntities
    I have added subscription xxcsf_002_wf_subscribe_pkg.create_task, which calls to function (create_task) in a DB package (xxcsf_002_wf_subscribe_pkg). The first thing I do, before anything else, is logg to a custom table the event of entering the package function but then when task is created in "Enter Request Service" form nothing is logged in the custom table.
    What am I doing worng? Thanks in advance for the help!
    Patricia

    Hello again and thanks Nagamohan,
    The sql returned 0 so that means the event is not fired. How do I make it fire. Isn't it standard? Is there some setup I have to do or enabled somewhere? I have this requierement to create automatically an assignment for tasks automatically created when SR is created in Field Service Technician Portal. I thought I could create the assignment when this business event is raised, which means a task is being created and validating where it is originated from (WEB). I need to set scheduled dates for the task as well. I appreciate the help in this. I would like to use the business event to call on a package function but it is not being fired.
    Thanks in advance and regards,
    Patricia
    Edited by: Patricia Paredes on Feb 2, 2009 9:50 AM
    Edited by: Patricia Paredes on Feb 2, 2009 9:51 AM

  • Capture event oracle.apps.wf.notification.receive.message

    Hi,
    I am trying to capture the event oracle.apps.wf.notification.receive.message.
    Whenever system receives an email response of a notification, I want to insert some values to a table.
    I have created subscription on this event and calling a package procedure which inserts the data into table.
    Now, If I test the event from the business events screen itself, subscription is working (i.e. inserting the data into table).
    However, when I am replying a notification, I can see that event is fired (from system administratoin->workflow->agent activity), but values are not being inserted in the table.
    My package procedure has pragma autonomous transaction and commit.
    Also, I have tried various combinations of event being Local or external.
    Any thoughts why the subscription is not coming in action?
    Thanks,
    Abdul Wahid

    One Update.
    I tried to fire some different event and registered this function with that.
    Its working with this event.
    Does that mean that oracle.apps.wf.notification.receive.message event is not being fired?

  • Business Event ORACLE.APPS.PER.API.ASSIGNMENT.UPDATE_EMP_ASG_CRITERIA

    Hi,
    According to Document id 1402385.1 , I have subscribed the business event ORACLE.APPS.PER.API.ASSIGNMENT.UPDATE_EMP_ASG_CRITERIA with a synchronous subscription with a phase 99. It is calling an extension which in turn calling hr_assignment_api.update_emp_asg api to update assignment details. Now it is working fine in Oracle forms.
    But when the same operation is being done in SSHR Pages for Manager Self Service responsibility the process could not be completed due to the following error.
    " The HR object is invalid Cause: The HR object which is attempted to be locked is inconsistent with the corresponding object in the HR Schema. Action: Retry the action with the correct object version number. " As the SSHR page do validation in P_VALIDATE= TRUE mode so this error is occurring.
    Now i tried to analyse the XML file generated by the business event. But I am not able to find whether it is being called as P_VALIDATE = TRUE or FALSE I want to know how to check whether the business event is called in TRUE mode or FALSE mode.
    Regards,
    Rakesh

    Hi ,
    Thanks Vignes for your reply.
    The problem is that I am trying to call a custom function through this business event which in turn is calling HR_ASSIGNMENT_API.UPDATE_EMP_ASG.
    Now when I am changing job or position in SSHR page it is validating the data I entered. So while validating they call that business event too. Now entering into that custom function it cannot decide whether the API should be called in P_VALIDATE=FALSE mode or P_VALIDATE=TRUE mode.
    So I am trying to know whether is there any way to know P_VALIDATE mode when the business event is fired.
    Regards,
    Rakesh

  • I've subscription "oracle.apps.wf.notification.close" event ,but not work!

    Hi,
    I've subscription "oracle.apps.wf.notification.close" event,but when notification close my codes don't still work and have no exception come out !
    I've try my codes by subscription "oracle.apps.wf.notification.send" event , and when notification send it can work ! I'm sure that there have no different between the subscription "oracle.apps.wf.notification.close" and the subscription "oracle.apps.wf.notification.close" in the subscription step .
    Doesn't when notification closing raise the "oracle.apps.wf.notification.close" event?
    I need your help!
    Best regard!
    Your friend, yao!

    Please do not create duplicate posts across the forums -- What event is fired when notification close ?

  • Oracle.apps.ont.oi.xml_int.status event

    I am trying to set up a subscription on the oracle.apps.ont.oi.xml_int.status(11.5.10) event via processing constraint to raise the subscription after the pick release. I am using the update operation and user action as Raise Integration event but not raising this event after the pick release.
    Is there any event available in the 11.5.10 to raise the subscription after the back orders?
    Thanks,
    Srini C

    hi,
    No business event is raised when Order is booked. You have to use OM show sales order workflow to raise event on booking of Order.
    Rgds,
    Shahnawaz

  • Oracle.apps.wf.notification.receive.message event subscription

    Hi,
    I have created a custom test subscription for the above event.I have simply created a rule function which inserts values in a custom table to show that the event is being fired.
    I tested from workflow responsibility, and yes, event is being captured and values are being inserted in the custom table. Means, from test subscription, its working.
    However, now I am trying to respond an notification from email(actual testing of the event). The notificatoin gets processed, but my function is not being called. In other words, possibly my event subscription is not being fired, seeded one is working though.
    I checked WF_NOTIFICATION_IN table. The email responses are received here and their state also shows from 0 to 2 changing. Also, the DEQ_TIME column also has values.
    So the question is how to know why my subscription is not being fired?
    Thanks,
    Abdul Wahid

    One Update.
    I tried to fire some different event and registered this function with that.
    Its working with this event.
    Does that mean that oracle.apps.wf.notification.receive.message event is not being fired?

  • System ERROR EVENT WARNING : ORACLE.APPS.AR.HZ.CUSTACCOUNT.CREATE

    Hi,
    When Customer is Created / Updated using Receivables or TCA APIs in Oracle Apps 11.5.10, all registered Business Events are firing and subscription code (PL/SQL Rule Function) is executing successfully.
    In Administrator Workflow window, Notifications tab showing System Error: Warning Message for all the events which are subscribed.
    eg:
    "System: Error Event WARNING : oracle.apps.ar.hz.CustAccount.create /
    oracle.apps.ar.hz.CustAccount.create62829 " Warning Message.
    Please advice.
    Thanks and Regards,
    Vijay

    Whenever there is a requirement of raising a Business Event due to some custom activity, you should call wf_event.raise to do this.
    Just google to see the parameters you need to pass it while calling it.

  • Business Events using Oracle Apps Adapter

    I am trying to use oracle.apps.per.api.person.update_person business event to get person data. I have followed the example mentioned in OracleEBSAdapterUserGuide(b_28351). I have specified APPS_WF_EVENTS_T.xsd as the schema.
    Dev Environment:
    JDeveloper 10.1.3.3 (windows XP)
    Oracle Apps 11i (IBM-RS6000)
    I am seeing two issues
    1) Event is not being raised when we create or update person data. I have looked at the troubleshooting section and it mentioned that we need to make sure WF_Listener is running. But I don't know how to check for that.
    2) It doesn't retrieve XML data if we manually invoke the BPEL process. It just gives me empty xml file as follows:
    <?xml version="1.0" ?><ns0:WF_EVENT_T xmlns="http://xmlns.oracle.com/xdb/APPS/HrEmpUpdateListener" xmlns:ns0="http://xmlns.oracle.com/xdb/APPS"/>
    I really appreciate any insight on this and our client would be very happy if we can resolve this issue.
    Thanks a million..
    Srini

    Hi Srini,
    Even i have a similar requirement . Could you please send me the link for OracleEBSAdapterUserGuide(b_28351). ?
    Did you come to know how to check whether WF_Listener is running ?
    Thanks in advance
    Nutan

Maybe you are looking for