When Removing Attachment ieventdirtyrow.getaction() Return Number 11 Not 1 (Doc ID 2179616.1)

Last updated on FEBRUARY 19, 2017

Applies to:

Oracle Agile PLM Framework - Version 9.3.5.0 to 9.3.5.0 [Release 9.3]
Information in this document applies to any platform.

Symptoms

Actual Behavior
Created Java PX Event handler for Event on Event Type : Update Table to Attachments to Object Type : Items.
After removing attachment from Attachments tab on Item, IEventDirtyRow.getAction() return number 11. On Agile PLM 9.3.3 it returned number 1.

Expected Behavior
IEventDirtyRow.getAction() should return number 1 after removing attachment from Attachments tab on Item.

Steps

  1. Set a sample jar file including the following java code to AGILE_HOME/integration/sdk/extensions
      

  2. Set the Event

    Event Type : Update Table
    Name : Item-UpdateAttachmentTable
    Object Type  : Items
    Table Name: Attachments

  3. EventHandlers

    Handler Type : Java PX
    Name : DirtyRowActionChecker
    Event Action : sample.event.DirtyRowActionChecker

  4. Event Subscribers

    Name : Item-UpdateAttachmentTable
    Event : Item-UpdateAttachmentTable
    Event Handler  : DirtyRowActionChecker
    Trigger Type : Pre
    Execution mode : Synchronous
    Order : 0
    Error Handling Rule : Continue

  5. Login to Web Client
  6. Go to Attachment tab
  7. Remove attachment
  8. Go to history tab.

    Shows : DirtyRowActionChecker:Item-UpdateAttachmentTable: Dirty Row Action ==> 11

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms