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

Similar Messages

  • 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

  • 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

  • How to find out the primary key of oracle apps tables

    Hii,,
    My Question is How to find the primary key in the apps table...Is there any Query or other way to find out???
    for eg.
    I want to find out the primary key of the AP_INVOICES_ALL table...just tell me how can i get the primary key of this table.
    I am currently using toad for the query..
    Please guide me...

    you can define the primary key when you create table
    or add the primary key after the table creation by 'ALTER TABLE ... ADD constraint pk_nme primary key (col1, col2)';
    you could use below sql to check the detail of primary key:
    1) check out the table definition directly:
    select dbms_metadata.get_ddl('TABLE','EMP') FROM DUAL;
    2) check out the columns of primary key:
    select * from user_constraints where constraint_type='P' AND table_NAME='EMP';
    select * from user_cons_columns where CONSTRAINT_NAME='PK_EMP';And BTW, it is madam, not sir. :)
    Edited by: PhoenixBai on Dec 17, 2010 1:07 PM

  • How to get Business Event Data in Oracle Apps?

    The WorkFlow 2.6.2 Guide states that the XML Get Tag Value activity used to retrieve data from the contents of an event message is available only for the standalone version of Oracle WorkFlow. How do you retrieve the data from the event message using WorkFlow integrated with the Oracle Applications?

    Hi Don
    You have 2 choices:
    1) You could access it programmatically by writing your own Workflow Function Activity using PL/SQL.
    2) Oracle XML Gateway gives you the ability to create XML and consume XML documents using the Workflow Business Event System.
    Cheers
    Mark

  • 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

  • Having problem in using RUN_PRODUCT in oracle apps 11.0.3

    I am having problem in using RUN_PRODUCT in oracle apps 11.0.3. Error in oracle apps is
    FRM-40733 PL/SQL built-in RUN_PRODUCT failed
    What could be the possible cause for this error ?

    Hi again;
    I found this please also check this:
    Price List Migration from 11.0.3 to 11.5.10/R12.
    Regard
    Helios

  • G/L Account assignement to Transaction Event Keys

    Hi Friends,
    Please let me know where exactly in customization we assign the G/L accounts to Transaction event keys.
    For example
    For transaction event key AUF  ( Order settlement) which G/L account is going to it and how ?
    Where is the configuration setting ?
    Helpfull answers are rewarded.
    Thanks & Best Regards
    Giri

    Hi,
    Assign GL Account in OBYC for T/E Key GBB, here you have to assign GL A/c for the combination of Valuation Grouping Code 0001, Valuation Class (from Material Master) and Valuation Modifier AUF
    Here assign Inventory Change Account, it gets triggered at the time of Order Settlement (in KO88) if GL Account for AUA is not maintained.
    Note: - AUF is used for goods receipts for orders (without account assignment) and for order settlement if AUA is not maintained

  • Event oracle.apps.ar.applications.CashApp.apply

    Hi,
    My application is using oracle.apps.ar.applications.CashApp.apply. I am familiar with AR in 11i I did not use any workflow/event. I do not know what this event does? Somebody can explain me this functionality (apps.ar.applications.Cas..)? Do I have to use it in my application I think I do not need any notification and additional action associated with cash apply.
    Regards,
    Luko  

    Event Details.
    Event Field Value
    Event Name oracle.apps.ar.applications.CashApp.apply
    Event Key oracle.apps.ar.applications.CashApp.apply_3491076_05-04-2012 13:19:33
    To Agent
    To System
    From Agent
    From System
    Send Date 13-05-1433 13:19:33
    Receive Date
    Priority 0
    Correlation ID
    Parameter : USER_ID 1844
    Parameter : RESP_ID 50862
    Parameter : RESP_APPL_ID 222
    Parameter : SECURITY_GROUP_ID 1107
    Parameter : ORG_ID 127
    Parameter : RECEIVABLE_APPLICATION_ID 3491076
    Parameter : TRX_PS_STATUS CL
    Parameter : RCPT_PS_STATUS OP
    Parameter : TRX_DUE_DATE 2456052
    Parameter : TRX_APP_AMT 1350
    Parameter : ERROR_TYPE ERROR
    Parameter : SKIP_ERROR_SUB 669603A288DE8CA7E040
    Parameter : SUB_GUID A242DC2FF79D70A7E030

  • Local Event ERROR : oracle.apps.ar.applications.CashApp.

    Hi,
    I am getting frequent error notifications in my production system with error message:
    Local Event ERROR : oracle.apps.ar.applications.CashApp.apply / oracle.apps.ar.applications.CashApp.apply_3336277_03-04-2012 14:31:15
    these notifications are generated in 100's per day and reached more than 200 thousand now.
    Please suggest how to resolve this issue.
    Thank you.

    Event Details.
    Event Field Value
    Event Name oracle.apps.ar.applications.CashApp.apply
    Event Key oracle.apps.ar.applications.CashApp.apply_3491076_05-04-2012 13:19:33
    To Agent
    To System
    From Agent
    From System
    Send Date 13-05-1433 13:19:33
    Receive Date
    Priority 0
    Correlation ID
    Parameter : USER_ID 1844
    Parameter : RESP_ID 50862
    Parameter : RESP_APPL_ID 222
    Parameter : SECURITY_GROUP_ID 1107
    Parameter : ORG_ID 127
    Parameter : RECEIVABLE_APPLICATION_ID 3491076
    Parameter : TRX_PS_STATUS CL
    Parameter : RCPT_PS_STATUS OP
    Parameter : TRX_DUE_DATE 2456052
    Parameter : TRX_APP_AMT 1350
    Parameter : ERROR_TYPE ERROR
    Parameter : SKIP_ERROR_SUB 669603A288DE8CA7E040
    Parameter : SUB_GUID A242DC2FF79D70A7E030

  • Local Event ERROR : oracle.apps.ap.event.invoice.approval / 83099_1

    I logined to sysadmin.
    I showed thirty mail.
    The mail Title is "Local Event ERROR : oracle.apps.ap.event.invoice.approval / 83099_1"
    Perhaps...
    May be generated, Because Approvals Management setup changed .
    What It mean?
    How to settlement?
    I can't Matalink.
    Help me!
    Mail contents is as follows
    Notificatio ID : 178154
    Event Error Name: WFENG_EVENT_NOTFOUND
    Event Error Message: 3142: Process 'APINV/82103_1' has no activities waiting to receive event 'oracle.apps.ap.event.invoice.approval'.
    Event Error Stack:
    Wf_Engine.Event(APINV, 82103_1, APINV_M, oracle.apps.ap.event.invoice.approval)
    Wf_Rule.Default_Rule(oracle.apps.ap.event.invoice.approval, ADE4691FB72F04E1E0340003BA0267DC)
    Event Detail List:
    Event Name: oracle.apps.ap.event.invoice.approval
    Event Key: 82103_1
    source Agent: WF_DEFERRED
    source System INST816.US.ORACLE.COM
    the order of priority: 50
    Send date: 29-JAN-2008 15:52:26
    receive date 29-JAN-2008 15:53:33
    Parameter : SUB_GUID A15D214DADC2507EE034
    Parameter : ERROR_NAME WFENG_EVENT_NOTFOUND
    Parameter : ERROR_TYPE ERROR
    ----------------------------------------------------------------------------------------------------------------

    Please check the following notes:
    Note: 330194.1 - APINV - WFENG_EVENT_NOTFOUND Event Error Message: 3142: Process 'APINV/10204_1' has no activities waiting to receive event 'oracle.apps.ap.event.invoice.approval'
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=330194.1
    Note: 305700.1 - Invoice Approval Workflow Troubleshooting Guide
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=305700.1
    Note: 261409.1 - Checklist to see where and why Invoice Approval Workflow gets stuck
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=261409.1

  • How to implement Key Flex Fields in new oracle apps custom forms.

    how to impletement key flex fields in oracle apps custom forms
    if any technicle document is there then send me on this forum and also send me on my email id.
    [email protected]
    Thanks & Regards,
    Pranay Patel

    Hi,
    Please see the note:730068.1 - How To Invoke a DFF from a custom form
    Thanks,
    Ajikumar G

  • Implementing Key Flex fields in Oracle apps custom form.

    Hi all,
    I have developed a custom form from scratch. Need to implement key flex fields in my form. Kindly help me and please share any document for Key flexfields implementing. Quick response will be highly appreciated. Thanks a in advance.
    Please mail to [email protected]
    Regards
    Aiyaz
    Please send me a complete document for implementing flex fields in a custom form. Screen shots in the docs will be very much help full.
    Regards
    Aiyaz
    Edited by: user6422762 on Jan 27, 2011 9:44 PM

    There are so many special cases and cases with Oracle Apps that you will need to ask this question in the dedicated Apps tech forum rather than here. Please post this question here: OA Framework

Maybe you are looking for

  • Data not appearing in the DSO

    Hi experts, Based on requirement i have enhanced the DSO already exsisting in production system with new infoobjects and enhanced the required fileds in datasource level also and transported to production sysem.I have made certain changes in report l

  • Compatibility of IE9 with Adobe Acrobat 9 PDF printer

    Hello, I know from reading this document that the Adobe Acrobat PDFMaker is not supported in IE9: http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html Does this only apply to the PDFMaker utility located within the bro

  • Using IPOD nano with multiple PC - song no longer working

    I have 2 nanos and 2 PCs. If IPOD 1 buys a song from PC 1 and then buys a song from PC 2, certain songs bought from PC 1 no longer play on NANO 1 --This happens on just one nano, not both. I can then go to PC 1 and drag the song onto Nano 1 again, th

  • IPhoto and Digital Camera

    Ever since I upgraded my iMac to OS 10.6.7, iPhoto does not recognize my digital camera. We did not upgrade iPhoto, which I understand may be the problem. The salesman who suggested the OS upgrade for better internet performance did not suggest that

  • Where to maintain Rule Modeler Profile in SPRO?

    Hi All, I am creating Request for Change transactions in CRM, and everytime I create a document it shows an error asking to 'Maintain Rule Modeler Profile in Customizing' - I have been trying to find where to maintain this setting but unable to find