No-1 Call Girls In Goa 93193 VIP 73153 Escort service In North Goa Panaji, Ca...
Oracle E-Business Suite Custom Library New Look
1. Presentator : Donald Ferreira Email : donaldferreira@gmail.com Location : BuZa Date : 19th December 2005 Oracle E-Business Suite 11i Custom Library giving a New Look
2.
3. Introduction What is Custom Library? Allows extensions and enforce business rules to Oracle Application without modifying the standard code. This is done using the Oracle development tool Oracle Forms 6i What is this presentation about? Re-engineering and transforming the existing business rules & process opportunities(Custom Library) into more structured and simplified solutions. A part of thi solution is already being implemented in production environment(PIRP) Who are the key players and benefiaries? ECC-Maatwerk Team, will play a key role in Re-engineering/ structuring of the Custom library. All the departments of EC i.e. Maatwerk, Kennisbeheer, Test team, TM, etc will benefit from this simplified solution.
4. Donald Structure (Overall picture)- I CC.pll OKC.pll FND.pll COMMON.pll AP.pll AR.pll GL.pll PA.pll HR.pll CUSTOM.pll ( Custom Library) CONNECTOR.pll
6. Structure ( Forms 6 i ) - III $AU_TOP/resource $XXX_TOP/forms/US
7.
8. Declaring all global variables app_short_name VARCHAR2(2000) DEFAULT fnd_global.application_short_name; form_name VARCHAR2(2000) DEFAULT name_in('SYSTEM.CURRENT_FORM'); block_name VARCHAR2(2000) DEFAULT name_in('SYSTEM.CURSOR_BLOCK'); field_name VARCHAR2(2000) DEFAULT name_in(‘SYSTEM.CURSOR_FIELD’); Structure (Custom.pll – code example) CUSTOM.pll ( Custom Library) FUNCTION style(event_name) xxbz_connector_custom.style(event_name) END event; FUNCTION zoom xxbz_connector_custom.zoom END event; PROCEDURE event(event_name) RETURN BOOLEAN IS vapp_short_name VARCHAR2(2000) DEFAULT fnd_global.application_short_name; BEGIN default_value(‘1’, ‘global.capp_short_name’); default_value(‘1’, ‘global.cform_name’); default_value(‘1’, ‘global.cblock_name’); default_value(‘1’, ‘global.cfield_name’); copy(vapp_short_name, ‘global.capp_short_name’); copy(vform_name , ‘global.cform_name’); copy(vblock_name , ‘global.cblock_name’); copy(vfield_name , ‘global.cfield_name’); xxbz_connector_custom.event(event_name); END event;
9.
10. Structure (XXBZ_CONNECTOR_CUSTOM.pll - code example) No PROCEDURE event(event_name) RETURN BOOLEAN IS --Declare variables BEGIN -- 1. Oracle Receivables IF name_in(‘global.capp_short_name’) = 'AR' THEN xxbz_ar_custom.event(event_name); -- 2. Oracle Payables ELSIF name_in(‘global.capp_short_name’) = 'SQLAP' THEN xxbz_ap_custom.event(event_name); -- 3. General Ledger ELSIF name_in(‘global.capp_short_name’) = ‘GL' THEN xxbz_gl_custom.event(event_name); ELSIF ………… THEN ……… ……… END IF; END event; END IF; IF event_name IN (WNFI, WNBI, WNRI, WVR, SPECIAL n, etc…) THEN Enter BuZa Library, and call the related module library Oracle Forms Is firing trigger a standard Custom library trigger? Yes Exit
11.
12. Structure (Extended Libraries - code example) PROCEDURE event(event_name) BEGIN IF name_in( 'global.cform_name' ) = 'ARXTWMAI' THEN --Form level activities z_ARXTWMAI.form_level; --Start Block level activities IF name_in( 'global.cblock_name' ) = ‘TGW_HEADER' THEN z_ARXTWMAI.tgw_header; ELSIF name_in('global.cblock_name') = ‘TACC_ACC_ASSGN' THEN z_ARXTWMAI.tacc_acc_assgn; END IF; --End Block level activities ELSIF name_in( 'global.cform_name' ) = 'ARXCWMAI' THEN ……… . ……… . END IF; END event; PROCEDURE form_level BEGIN IF event_name = ‘WHEN-NEW-FORM-INSTANCE' THEN Perform Code for WNFI at form level; ELSIF event_name = ‘WHEN-NEW-BLOCK-INSTANCE' THEN Perform Code WNBI at form level; END IF; END; PROCEDURE TGW_HEADER BEGIN IF event_name = ‘WHEN-NEW-BLOCK-INSTANCE' THEN Perform Code for WNFI for the block; ELSIF event_name = ‘WHEN-NEW-ITEM-INSTANCE' THEN Perform Code WNBI for the block; END IF; END TGW_HEADER;
13. The Module Library’s Release Version Number from PVCS could be easily checked at a quick glance in Oracle Appication by using Help-About Oracle Applications Adding & Viewing Version history