Você está na página 1de 45

XML(BI*) Publisher Live With

All the Bells and Whistles

Sridhar Bogelli
Kshitij Kumar
Apps Associates
* As of Now
Presenter Introduction

Sridhar Bogelli
y 13 years of Oracle EBS Implementation Experience
y Earlier worked for Oracle Consulting for 6 years
y Founder and President of Apps Associates

Kshitij Kumar
y Vice-President at Apps Associates
y Has 8 years of experience with EBS
Apps Associates - Introduction

y Oracle Certified Partner


y Oracle eBusiness Practice of 120 consultants
y Offices in
y Boston
y Germany
y India
y XML Publisher Practice of 30 consultants
XML Publisher - Live
XML Publisher Experience
Agenda
y XML Publisher Introduction
y XML Publisher Architecture
y Demo – PDF, Excel file generation
y Advanced Topics in XMLP
y Conclusion
Evaluation: XMLPUB Vs Others

y Pre- Printed Stationery


y Other Software Solutions
y Custom Reports using 6i or 9i
y XML Publisher
Document Processing - Introduction
• XSL-FO : Industry, Open Standard for
document processing
• Definition and Runtime components

Definition Run-Time
XML Definition PDF
XML Data
HTML
XSL-FO
EXCEL

RTF Template RTF


XML Publisher - Introduction

XML Data
PDF

HTML

XML Publisher

EXCEL

RTF

RTF Templates
From Data to Destination

PDF
Email
Oracle,
SQL Server
RTF

HTML Printer
PeopleSoft,
SAP, Siebel Excel
XML Publisher Fax

XSL XML

Java, C++,
Pearl, etc Templates EDI WebDAV

•Word •XML Spy EFT

•Excel •Developer e-Commerce


Web Services
•Acrobat •Scripture
Output Destinations
Data Source Layout Tools
DEMO

y PDF PO Document Demo


y Excel File Demo
y Barcode and MICR Chars Demo
y Running On the eBusiness Suite
eBusiness Setup Flows

Define Data Define Run Report


Extract XML View Output
Definition Template With Template
Define Data Define Run Report
Extract XML View Output
Definition Template With Template
Define Data Define Run Report
Extract XML View Output
Definition Template With Template

XML Publisher – RDF as XML


Define Data Define Run Report
Extract XML View Output
Definition Template With Template
Define Data Define Run Report
Extract XML View Output
Definition Template With Template

XML Administrator Responsibility


Define Data Define Run Report
Extract XML View Output
Definition Template With Template
Define Data Define Run Report
Extract XML View Output
Definition Template With Template
Define Data Define Run Report
Extract XML View Output
Definition Template With Template

Creating Template
Define Data Define Run Report
Extract XML View Output
Definition Template With Template
Define Data Define Run Report
Extract XML View Output
Definition Template With Template

Concurrent Program Submission


Define Data Define Run Report
Extract XML View Output
Definition Template With Template

To View Output
Define Data Define Run Report
Extract XML View Output
Definition Template With Template
XML Publisher Refresher

XML
SOURCE

PDF OUTPUT

RTF
Typical Documents

y Financial Reports as Spreadsheets


y Invoices
y Pick Pack Tickets with Bar Coding
y Checks with MICR
y Purchase Orders
y Customs Report
y Product Brochures
Invoices
Pick/Pack Lists
Checks
Purchase Orders
Customs Report - Canada
XML Publisher In Oracle eBusiness

• This is available when the FND is


upgraded to 11.5.10

• There is a New schema – XDO

• The XDO_LOBS Table stores the original


document and the XSL-FO version
Other Advanced Features

y XML Generation
y Bursting the documents for multiple distributions
y Document Distribution
y Security on the Documents
y FNDLOAD Support for transferring files
y Java APIs on the User and Implementation Guides
XML Generation
y Generate XML Tags for SELECT statements
y DBMS_XMLGEN package

DBMS_XMLGEN.newContext('SELECT * from scott.emp');


DBMS_XMLGEN.setRowTag(qryCtx, 'EMPLOYEE');
DBMS_XMLGEN.setRowSetTag(qryCtx, 'EMPLOYEES');
result := DBMS_XMLGEN.getXML(qryCtx); --getXML returns a CLOB type
Bursting
y Split reports based on a criteria
y Deliver individual reports via channel of choice
y e.g. Invoice generation and delivery to customers
y specific layouts
y delivery preferences e.g. fax, email

y Document Processor Engine


y Define a control file with bursting parameters
y Call Bursting API (java program)
y Register Java concurrent program
y Run with request_id of XMLP program
Document Delivery
y Delivery Manager
y Email
y Tracks status of delivery
y Redeliver
y Call Delivery Manager API
y Java Program
y Register Java Concurrent Program
y Call program with Request_ID of XMLP report
Security on documents
y Prevent unauthorized use of PDFs
y Open document password
y Modify document password
Security – Word Document

Name : xdo-pdf-security
Type : Text
Value : true

Name : xdo-pdf-open-password
Type : Text
Value :
{/SAIEMPXMLSEC/CF_PASSWORD}
Security – XMLP Responsibility
Security – xdo.cfg
y XDO_TOP/resource

Configuration File Example

<config version="1.0.0"
xmlns="http://xmlns.oracle.com/oxp/config/">
<!-- Properties -->
<properties>
<property name="pdf-security">true</property>
<property name="pdf-open-password">appsassoc</property>
</properties>
</config>
Transferring XMLP Files

y Move configuration files among instances


y FNDLOAD to move metadata
y Data definitions
y Template metadata
y XDO Loader to move physical files
y RTF, PDF, XSL-FO, XML, and XSD
Transferring - FNDLOAD

Step1:

tst50 - FNDLOAD apps/pwd@tst5k 0 Y DOWNLOAD


$XDO_TOP/patch/115/import/xdotmpl.lct XMLPData.ldt
XDO_DS_DEFINITIONS
APPLICATION_SHORT_NAME=CUSTOM
DATA_SOURCE_CODE=SAIEMPXML

Step 2:

tst10 - FNDLOAD apps/pwd@tst1k 0 Y UPLOAD


$XDO_TOP/patch/115/import/xdotmpl.lct XMLPData.ldt
Transferring - XDO Loader
Step 1:
java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD \
-DB_USERNAME apps \
-DB_PASSWORD pwd \
-JDBC_CONNECTION server.company.com:1571:tst50 \
-LOB_TYPE TEMPLATE \
-APPS_SHORT_NAME CUS \
-LOB_CODE ZEMP \
-LANGUAGE en \
-TERRITORY US

Step2:
java oracle.apps.xdo.oa.util.XDOLoader UPLOAD \
-DB_USERNAME apps \
-DB_PASSWORD pwd \
-JDBC_CONNECTION server.company.com:1531:tst10 \
-LOB_TYPE TEMPLATE_SOURCE \
-APPS_SHORT_NAME CUS \
-LOB_CODE ZEMP \
-LANGUAGE en \
-TERRITORY US \
-XDO_FILE_TYPE RTF \
-FILE_CONTENT_TYPE ’application/rtf’ \
-FILE_NAME ZEMP_en_US.rtf \
-NLS_LANG ENGLISH_UNITED STATES.WE8ISO8859P1
Documentation – Java APIs

Extensive Documentation on Java APIs in the


Reference Guide for Advanced Topics and
Integration
Product As We See - Summary

y One Technology
y The business users can deploy the reports
y Holds up well for high Page volumes – Tested: 4000 Pages
y No More alignments with RDFs
y Fonts and Barcodes are very easy to implement
y Has enough functionality to Scale up
y Easier to distribute as the reports are PDF docs
– Email and Faxing
y Offline Testing on the client tool
y A True Integrated Document Management Tool
Thank you

xmlpub@appsassociates.com
www.appsassociates.com/html/xml-publisher.htm
Ph: 617 901 8101

Você também pode gostar