Payables and Cash Management - EBS (MOSC)

MOSC Banner

trigger is creating two rows with new and old value

edited Dec 16, 2014 10:01AM in Payables and Cash Management - EBS (MOSC) 1 commentAnswered

Hi All,

I am trying to create a trigger on AP_SUPPLIERS table as well in AP_SUPPLIER_SITES_ALL table.

My intention is if any change in VENDOR name then it should fire and store into my staging table.

I have done with the code but the issue is every time its inserting two rows in my staging table with old  and new vendor name.

My code is:

create or replace

TRIGGER XXSTAR_AP_VENDOR

AFTER INSERT OR UPDATE OF VENDOR_ID,VENDOR_NAME

ON AP_SUPPLIERS

FOR EACH ROW

BEGIN

INSERT INTO XXSTAR_AP_VENDOR_TAB  (VENDOR_NUMBER,VENDOR_NAME)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center