Pages

OracleEBSpro is purely for knowledge sharing and learning purpose, with the main focus on Oracle E-Business Suite Product and other related Oracle Technologies.

I'm NOT responsible for any damages in whatever form caused by the usage of the content of this blog.

I share my Oracle knowledge through this blog. All my posts in this blog are based on my experience, reading oracle websites, books, forums and other blogs. I invite people to read and suggest ways to improve this blog.


Thursday, May 17, 2018

Format Customization in Oracle Payments using Extensibility Utility Package

From Oracle Accounts Payable, user submits the invoices to Oracle Payments as a Payment Process Request. Oracle Payments uses the invoice information submitted in the Payment Request to create Documents Payable and then groups them into Payments and Payment Instructions for processing payments. This processed information is then recorded in the database tables. The processed payment information is retrieved by Oracle Payments database views to generate the XML extract. The generated XML extract is used in conjunction with the RTF/ETEXT template by Business Intelligence Publisher to generate output.
Oracle Payments provides the IBY_FD_EXTRACT_EXT_PUB extensibility package to construct custom XML element structure that can be added to the payment XML extract generated by Oracle Payments. The package specification and body definition can be found in files ibyfdxes.pls and ibyfdxeb.pls respectively. These files are located in the $IBY_TOP/patch/115/sql directory. 
The package allows custom elements to be created at following levels.
  • Instruction
  • Payment
  • Document Payable
  • Document Payable Line
  • Payment Process Request
You cannot customize the package specification, but package body contains stubbed functions that you can customize. 
The five functions are as follows:
FUNCTION Get_Ins_Ext_Agg(p_payment_instruction_id IN NUMBER) RETURN XMLTYPE
This function allows XML element to be introduced at instruction level and run only once for the instruction.
FUNCTION Get_Pmt_Ext_Agg(p_payment_id IN NUMBER) RETURN XMLTYPE
This function allows XML element to be introduced at payment level and run once for each payment in the instruction.
FUNCTION Get_Doc_Ext_Agg(p_document_payable_id IN NUMBER) RETURN XMLTYPE
This function allows XML element to be introduced at document payable level and run once for each document payable in the instruction.
FUNCTION Get_Docline_Ext_Agg(p_document_payable_id IN NUMBER, p_line_number IN NUMBER) RETURN XMLTYPE
This function allows XML element to be introduced at document payable line level and run once for each document payable line in the instruction.
FUNCTION Get_Ppr_Ext_Agg(p_payment_service_request_id IN NUMBER) RETURN XMLTYPE
This function allows XML element to be introduced at document payable level and run once for each payment process request. 
The following table lists the functions you need to modify to add additional tags to each level of the XML file:

ML File Level
IBY_FD_EXTRACT_EXT_PUB Function To Modify
Example of Parameter Usage
OutboundPaymentInstruction
Get_Ins_Ext_Agg(p_payment_instruction_id IN NUMBER)
SELECT *
FROM iby_pay_instructions_all
WHERE payment_instruction_id = p_payment_instruction_id;
OutboundPayment
Get_Pmt_Ext_Agg(p_payment_id IN NUMBER)
SELECT *
FROM iby_payments_all ipa
WHERE ipa.payment_id = p_payment_id;
DocumentPayable
Get_Doc_Ext_Agg(p_document_payable_id IN NUMBER)
SELECT *
FROM iby_docs_payable_all dp WHERE dp.document_payable_id = P_document_payable_id;
DocumentPayableLine
Get_Docline_Ext_Agg(p_document_payable_id IN NUMBER, p_line_number IN NUMBER)
PaymentProcessProfile
Get_Ppr_Ext_Agg(p_payment_service_request_id IN NUMBER)
SELECT *
FROM iby_pay_service_requests WHERE payment_service_request_id = p_payment_service_request_id;


First determine which function within IBY_FD_EXTRACT_EXT_PUB should be modified. Then write a PL/SQL block similar to the structure given below into the package body function definition, replacing the lines “BEGIN” and “RETURN NULL”, and retaining all other lines:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<local_xml_variable>  XMLTYPE;
  CURSOR <cursor_name> (<cursor_parameter_name> IN NUMBER) IS
  SELECT XMLConcat(
           XMLElement("Extend",
             XMLElement("Name", '<xml_tag_name1>'),
             XMLElement("Value", <xml_tag_value2>)),
           XMLElement("Extend",
             XMLElement("Name", '<xml_tag_name2>'),
             XMLElement("Value", < xml_tag_value2>))
         )
   FROM <data_table_name>
 WHERE <table_identifier_column> = <cursor_parameter_name>;
BEGIN
  OPEN <cursor_name> (<function_parameter_name>);
  FETCH <cursor_name> INTO <local_xml_variable>;
  CLOSE <cursor_name>;
  RETURN <local_xml_variable>;
A sample xml file with extended tags will look like:
Then modify the eText template using the new custom elements. Use the following syntax to select the appropriate Name/Value pair.
…/Extend[Name='<xml_tag_name1>’]/Value
You can use BI Publisher Template Viewer to view the final eText Outputs.

References:
https://imdjkoch.wordpress.com/tag/iby_fd_extract_ext_pub/

29 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Appreciating the hard work you put into your blog and detailed information you provide. It's nice to come across a blog every once in a while that isn't the same out of date rehashed information. Great read! I've bookmarked your site and I'm including your Oracle feeds to my Google account. Oracle R12 Financials Training in Bangalore

    ReplyDelete
  3. Nice information is on your blog, Thanks for sharing such a nice article.
    Oracle Project Accounting Training in Ameerpet, Hyderabad

    ReplyDelete
  4. Amazing post.Thanks for your details and explanations..I want more information from your side.Thank you
    hr and payroll software in chennai

    ReplyDelete
  5. Nice post. Very interesting and useful information you had posted. Hope it might be very useful for many people. keep on updating...!!
    Thanks for sharing your knowledge.

    Vehicle tracking system
    Fleet management software

    ReplyDelete
  6. Amazing Article ! I have bookmarked this article page as i received good information from this. All the best for the upcoming articles. I will be waiting for your new articles. Thank You ! Kindly Visit Us @ Coimbatore Travels | Ooty Travels | Coimbatore Airport Taxi | Coimbatore taxi

    ReplyDelete
  7. You’d outstanding guidelines there. I did a search about the field and identified that very likely the majority will agree with your web page.
    BCOM 1st, 2nd & Final Year TimeTable 2020

    ReplyDelete
  8. Manages financial transactions with general ledger, accounts receivable, accounts payable and payroll functionality.

    ERP Software Companies
    Agaram infotech

    ReplyDelete
  9. Enterprise resource planning (ERP) software is a tool that centralizes data and integrates business processes from different aspects of a company. This software can contain features such as financial management, customer relationship management (CRM) and business intelligence (BI) tools.


    ERP Software Companies
    Agaram infotech

    ReplyDelete
  10. Thanks for Sharing a very Interesting Information about ERP . if any one want to Learn ERP So you can Contact here-https://www.powermindtech.com/


    Here are Some Best ERP Training Center

    Sap training institute in Gurgaon
    Sap training Course in Gurgaon

    ReplyDelete
  11. I'm  here to share my testimony of what a good trusted loan company did for me. My name is Nikita Tanya, from Russian and I’m a lovely mother of 3 kids I lost my funds on trying to get a loan it was so hard for me and my children, I went online to seek for a loan assistance  all hope was lost until one fateful day when I met this friend of mine who recently secured a loan from a very honest man Mr, Benjamin. She introduced me to this honest loan officer Mr, Benjamin  who helped me get a loan within 5 working days, I will forever be grateful to Mr Benjamin, for helping me get back on my feet again. You can contact Mr Benjamin via email: 247officedept@gmail.com    they do not know I’m doing this for them, but i just have to do it because a lot of people are out there who are in need of a loan assistance  please come to this honest man  and  you can be save as well .WhatsApp:(+1 989-394-3740)

    ReplyDelete

  12. Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp a great deal more around this condition. and I could assume you are an expert on this subject. Same as your blog i found another one Oracle Fusion Financials.Actually I was looking for the same information on internet for Oracle Financials Cloud and came across your blog. I am impressed by the information that you have on this blog. Thanks a million and please keep up the gratifying work.

    ReplyDelete
  13. I'm Абрам Александр a businessman who was able to revive his dying lumbering business through the help of a God sent lender known as Benjamin Lee the Loan Consultant. Am resident at Yekaterinburg Екатеринбург. Well are you trying to start a business, settle your debt, expand your existing one, need money to purchase supplies. Have you been having problems trying to secure a Good Credit Facility, I want you to know that Mr Benjamin will see you through. Is the right place for you to resolve all your financial problems because I am a living testimony and i can't just keep this to myself when others are looking for a way to be financially lifted.. I want you all to contact this God sent lender using the details as stated in order to be a partaker of this great opportunity Email: 247officedept@gmail.com  Or  WhatsApp/Text +1-989-394-3740.

    ReplyDelete
  14. This blog is wonderful. I appreciate the attention to detail you provide. Please keep writing useful posts. Also please do check out, Akili Systems for more information.

    ReplyDelete
  15. With the right service and skills, Genex guarantees a better ROI. Genex professionals aid design, expansion, and implementation of database operations. They deliver database upgrades, emigrations to promote IT projects. Our well-experienced professionals manage official data renewal processes to increase recoverability time and execute safety features to guard database systems. They lead programmers in database layout and extension. They resolve problems related to database configuration and administration.
    https://genexdbs.com/

    ReplyDelete
  16. Staying ahead in fashion and chilling out in glamour is no more a fantasy. Grab the most stylish and fashionable apparel on your favourite online store Ajio and unleash the dapper in you. Ajio coupon codes are here to make your shopping more exciting and fun. Stay tuned to grab the latest Ajio discount offers and seize the opportunity to snap up the products waiting in your cart since long. Shop for the apparel, accessories and footwear you had been eyeing and pamper yourself with some self-love.

    ReplyDelete
  17. Informative and helpful Article. Really good work. Appreciate it. You might be looking for Odoo Customization Services in Bangalore

    ReplyDelete
  18. Nice information. Move to our web-based versatile ERP access control software to maintain consistent ERP system. Now you can implement and apply the structures effectively with SafePaaS!

    ReplyDelete
  19. Looking for a reliable ERP application development? Our team of experts can help you create a professional erp website that drives results. Contact us today for a customized solution. You deserve a reliable erp application development bangalore to elevate your online presence? Look no further! Our expert team specializes in creating custom erp application/websites that are visually stunning and optimized for maximum user experience. Contact us today to take your website to the next level.

    ReplyDelete
  20. At Naviworld.com.sg we are located in Singapore, ERP for manufacturing SME. A highly versatile system, Microsoft Dynamics 365 Business Central is the go-to ERP solutions for manufacturing industry.

    Visit here:- https://naviworld.com.sg/our-industries/manufacturing-industry/

    ReplyDelete