EBS Customizations (MOSC)

MOSC Banner

PCG rule with SQL code is compiled successfully but does not trigger on the specific event

edited Dec 20, 2018 5:28AM in EBS Customizations (MOSC) Question

PCG rule with SQL code is compiled successfully but does not trigger on the specific event.

The records are getting saved without throwing the error message which is how it should work.

SQL Code :

------------------------------------------------------------------------------------------------------------------------------

l_period_name Varchar2(10);

extract_period Varchar2(10);

l_period_num number;

l_start_date date;

l_end_date date;

BEGIN

if (name_in('CALENDAR_TYPES.CALENDAR_TYPE') )= 'REP DEPRN CAL' then

l_period_name:= name_in('CALENDAR_PERIODS.PERIOD_NAME');

l_period_num := name_in('CALENDAR_PERIODS.PERIOD_NUM');

l_start_date := name_in('CALENDAR_PERIODS.START_DATE');

l_end_date := name_in('CALENDAR_PERIODS.END_DATE');

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