How To Define Event-Based Oracle Alert On Custom Tables
How To Define Event-Based Oracle Alert On Custom Tables
Oracle Application
Thursday 18 July 2019
Chetan Rajput
As Oracle Techno-
Functional Consultant
Subject: Required to send a notification when data Insert/Update on a custom table. provides solutions on
Oracle EBS - R12, Oracle
Fusion SCM, and Financial Module. Handling
Oracle Alert Drawback: As per the oracle standards, we cannot enable oracle event- the client-side project. Providing Integration,
Implementations, Oracle Supports and
based alert on the custom table directly.
Business Intelligence Solutions to Gulf
Industries, Shipping Firm, Real Estate
Business, Government Service Sector and
Solution: Manufacturing firm across the World.
Expertise in Setup, Implementation,
Customization, Migration, Up-gradation and
Step 1: Required to register your custom table into oracle apps. Production Support in Oracle EBS - R12 and
Oracle Fusion Application environment.
- Custom table name: MWANI_MARINE_TBL View my complete profile
9 0 4 7 6
Blog Archive
►
► 2023 (17)
►
► 2022 (37)
►
► 2021 (36)
►
► 2020 (29)
▼
▼ 2019 (22)
►
► November (3)
►
► September (2)
►
► August (1)
▼
▼ July (2)
- We have required to register custom table using Oracle API as from Oracle How to check budget fund for specific
Application, we can not able to register custom table to APPS. account - Or...
How to define event-based Oracle Alert
on Custom T...
- We have required to register table in Receivable (AR) application. ►
► May (1)
►
► April (2)
PLSQL Code:
begin ►
► March (2)
ad_dd.register_table ►
► February (4)
(p_appl_short_name => 'AR', --Application name in which you want to register ►
► January (5)
p_tab_name =>'MWANI_MARINE_TBL', --Table Name
►
► 2018 (30)
p_tab_type =>'T', -- T for Transaction data , S for seeded data
p_next_extent =>512, -- default 512 ►
► 2017 (6)
p_pct_free =>10, -- Default 10
p_pct_used =>70 --Default 70
);
commit;
end;
Step 2: Required to register all custom table column into oracle apps using Oracle API.
- As in custom table having many columns, We have designed temp table where I will
insert all column configuration as per the below screenshots, based on that column
https://chetanrajputoracleapps.blogspot.com/2019/07/define-event-based-oracle-alert-on.html 1/7
1/1/24, 12:58 PM Oracle Application: How to define event-based Oracle Alert on Custom Tables Insert/Update
configuration details we will register all column using Oracle API.
PLSQL Code for Oracle API for register Table Column in Oracle Apps:
declare
CURSOR C_MARINE_DTLS
IS
select *from XX_TEMP_TBL where table_name='MWANI_MARINE_TBL';
begin
begin
mo_global.init ('AR');
mo_global.set_policy_context ('S', 81);
fnd_global.apps_initialize
(fnd_profile.value('user_id'),fnd_profile.value('resp_id')
,fnd_profile.value('resp_appl_id'));
commit;
end;
FOR y IN C_MARINE_DTLS
LOOP
ad_dd.register_column
(p_appl_short_name =>'AR',
p_tab_name =>'MWANI_MARINE_TBL',
p_col_name =>trim(y.COL_NAME),
p_col_seq =>trim(y.SEQ_NO),
p_col_type =>trim(y.COL_TYPE),
p_col_width =>trim(y.COL_WIDTH),
p_nullable =>'Y',
p_translate =>'N',
p_precision => null,
p_scale =>null
);
commit;
END LOOP;
end;
Step 3: Once data submitted. Required to check this table registered in oracle
application or not.
https://chetanrajputoracleapps.blogspot.com/2019/07/define-event-based-oracle-alert-on.html 2/7
1/1/24, 12:58 PM Oracle Application: How to define event-based Oracle Alert on Custom Tables Insert/Update
- You can query with the table name. You will find all the table configuration.
- Create oracle alert using the registered custom table as per the requirement.
https://chetanrajputoracleapps.blogspot.com/2019/07/define-event-based-oracle-alert-on.html 3/7
1/1/24, 12:58 PM Oracle Application: How to define event-based Oracle Alert on Custom Tables Insert/Update
https://chetanrajputoracleapps.blogspot.com/2019/07/define-event-based-oracle-alert-on.html 4/7
1/1/24, 12:58 PM Oracle Application: How to define event-based Oracle Alert on Custom Tables Insert/Update
- Enter the member details.
(Note: Required to Assign the Operating Units because event-based trigger have
security profile check restriction)
Step 5: After Event Alert Trigger fire you can check the alert status.
https://chetanrajputoracleapps.blogspot.com/2019/07/define-event-based-oracle-alert-on.html 5/7
1/1/24, 12:58 PM Oracle Application: How to define event-based Oracle Alert on Custom Tables Insert/Update
- It’s showing status: Error because currently, our SMTP server was down.
https://chetanrajputoracleapps.blogspot.com/2019/07/define-event-based-oracle-alert-on.html 6/7
1/1/24, 12:58 PM Oracle Application: How to define event-based Oracle Alert on Custom Tables Insert/Update
No comments:
Post a Comment
Enter comment
Pages
Home
Terms and Conditions
Privacy Policy
https://chetanrajputoracleapps.blogspot.com/2019/07/define-event-based-oracle-alert-on.html 7/7