Friday, July 12, 2024
ERP BI - Case study 3 - Create RTF template for multiple groups or master details report.
Case Study:
- Show PO header information in FORM layout and PO Lines in Table Layout.
- Provide a report name
- Add header to insert company logo on the left side and date timestamps using extended XSL function on the right. <?xdoxslt:sysdate('DD-MON-YYYY HH24:MI')?>
- Always show a PO from a new page <?split-by-page-break:?>
- Decode the PO Status to a user friendly status using extended SQL function <?xdofx:decode(PO_STATUS, 'OPEN', 'Open PO', 'CLOSED', 'Closed PO', 'Others')?>
- Calculate Line Amount <?ITEM_UNIT_PRICE * ITEM_QUANTITY?>
- Calculate the PO Amount (Sum of all line amount)
Calculate Line Amount:
Thursday, July 11, 2024
ERP BI - Case Study 2 - Create Fixed position based BI report
Case Study:
we will create a fixed position based eText template(RTF) to generate BI report. The columns will be as below:
- Start with hardcoded value "NEW" which is of 3 chars.
- Next a whitespace.
- Next vendor number , size 15 chars, if less size, will be padded with whitespace.
- Next invoice Number, size 30 chars, all in caps, if less size , will be padded with whitespace
- Next invoice date , in YYYYMMDD, size 8 chars.
- Next a whitespace
- Next invoice amount , size 15 chars, if less size, will be padded "0" before the original digits.
- Next a whitespace
- Next Invoice Currency code, size 3 chars.
SQL Query:
SELECT PS.segment1 VENDOR_NUM
,AVA.invoice_num INVOICE_NUM
,AVA.invoice_date INVOICE_DATE
,AVA.invoice_amount INVOICE_AMOUNT
,AVA.invoice_currency_code INVOICE_CURRENCY_CODE
FROM ap_invoices_all AVA
,poz_suppliers PS
WHERE AVA.vendor_id = PS.vendor_id
EFT template or layout:
Detailed screenshots:
Or
Notes:
- All SQL functions can be applied in data like TO_CHAR, TO_NUMBER, MAX, MIN, NVL, DECODE, UPPER, LOWER, COUNT, CELL, ROUND, REPLACE ETC.
- Etext template can also be used for character delimited files as well.
- Payment files, bank statements are created using eText templates.
Wednesday, July 10, 2024
BI report - How to secure your pdf report output | Static method
Usecase: Here, we will see how to protect your pdf file with password.
Report edit >> properties >> formatting >> enable pdf security as True >> provide open document password.
ERP BI report service - invoke a BI report from soap ui using report service.
Usecase:
Generally we call the below service to extract the data from BI report.
https://<your oracle cloud application instance domain>/xmlpserver/services/ExternalReportWSSService?WSDL
HERE, We can also use below report service.
https://<host>:<port>/xmlpserver/services/v2/ReportService?wsdl
Screenshots:
Soap >> put wsdl >> ok >> choose run report
We will get the response in base64 encoded that we need to decode and use it.
Reference:
https://docs.oracle.com/cd/E28280_01/bi.1111/e22259/webservices.htm#BIPDV002
Featured Post
11g to 12c OSB projects migration points
1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper: File⇾Import⇾Service Bus Resources⇾ Se...
-
Please find the following links for OIC hands on and relevant information: Oracle Integration Cloud Introduction | Benefits | Services offer...
-
What is Throttling: Throttling is termed as "regulate the flow". Oracle Service Bus has throttling feature and by using that f...
-
OIC interview Q & A: 1. FBDI approach with an example https://soalicious.blogspot.com/2022/02/oic-erp-supplier-bulk-import-and.html 2. O...