Professional Documents
Culture Documents
WWW Oracle Otm Com 2016 04 Otm Inbound Integrations HTML
WWW Oracle Otm Com 2016 04 Otm Inbound Integrations HTML
Most common way of receiving OTM Inbound data is via XML files. OTM can read XML files
which are in the format specified by GlogXML Schema. You can download this schema
from :
Business Process Automation > Integration > Integration Manager > Retrieve Schemas >
GlogXML.xsd
This file will describe the data structure for each OTM element like 'Location', 'Order
Release', 'Shipment', etc along with some documentation.
Say, if we want to upload a new location to OTM, you follow below steps:
1. Read the GlogXML.xsd and identify the XML structure for element "Location". Once you
map your input data values to OTM XML elements, you will end up coming with XML file
similar to one below:
<Transmission>
<TransmissionHeader>
<UserName>DBA.ADMIN</UserName>
<Password>CHANGEME</Password>
<IsProcessInSequence>Y</IsProcessInSequence>
</TransmissionHeader>
<TransmissionBody>
<GLogXMLElement>
<Location>
<TransactionCode>IU</TransactionCode>
<LocationGid>
<Gid>
<DomainName>ABC</DomainName>
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
</Gid>
</LocationGid>
<Address>
<AddressLines>
<SequenceNumber>1</SequenceNumber>
</AddressLines>
<City>CLUTE</City>
<ProvinceCode>TX</ProvinceCode>
<PostalCode>32830</PostalCode>
<CountryCode3Gid>
<Gid>
<Xid>USA</Xid>
</Gid>
</CountryCode3Gid>
</Address>
<LocationRefnum>
<LocationRefnumQualifierGid>
<Gid>
<Xid>ORIGIN</Xid>
</Gid>
</LocationRefnumQualifierGid>
<LocationRefnumValue>CUSTOMER</LocationRefnumValue>
</LocationRefnum>
<LocationRefnum>
<LocationRefnumQualifierGid>
<Gid>
<Xid>CUSID</Xid>
</Gid>
</LocationRefnumQualifierGid>
<LocationRefnumValue>1130</LocationRefnumValue>
</LocationRefnum>
<LocationRefnum>
<LocationRefnumQualifierGid>
<Gid>
<Xid>CUSNM</Xid>
</Gid>
</LocationRefnumQualifierGid>
</LocationRefnum>
<LocationRole>
<LocationRoleGid>
<Gid>
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
<Xid>CUSTOMER</Xid>
</Gid>
</LocationRoleGid>
</LocationRole>
<Corporation>
<CorporationName>OTM CORPORATION</CorporationName>
</Corporation>
</Location>
</GLogXMLElement>
</TransmissionBody>
</Transmission>
8. Query for transmission and you should see transmission status as ‘PROCESSED’.
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
In case of errors Report button displays error reasons like foreign key reference missing etc.
Any external system like EBS, SAP can frame this XML structure programatically and 'POST' this xml to
OTM Integration servlet: glog.integration.servlet.WMServlet
DECLARE
-- This is OTM Application URL Where string after GC3 is replaced as shown below
-- You can programtically from the xml string and pass it to this variable
v_http_req UTL_HTTP.req;
v_http_resp UTL_HTTP.resp;
BEGIN
-- This is a sample transmission that creates location(Shipment Management -> --Shipment Management -> Location Manager) in OTM
-- Note that in the Transmission Body, GLOGXMLElement chosen here is Location. By --choosing appropriate element, you can load
required data.
--In this script file, you see XML structure to send location information.
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
--1. Login in to OTM using DBA.ADMIN user
--2. Business Process Automation -> Integration -> Integration Manager -> --GlogXML.xsd
v_data_in := '<Transmission>
<TransmissionHeader>
<UserName>DBA.ADMIN</UserName>
<Password>CHANGEME</Password>
<IsProcessInSequence>Y</IsProcessInSequence>
</TransmissionHeader>
<TransmissionBody>
<GLogXMLElement>
<Location>
<TransactionCode>IU</TransactionCode>
<LocationGid>
<Gid>
<DomainName>WHD</DomainName>
</Gid>
</LocationGid>
<Address>
<AddressLines>
<SequenceNumber>1</SequenceNumber>
</AddressLines>
<City>CLUTE</City>
<ProvinceCode>TX</ProvinceCode>
<PostalCode>32830</PostalCode>
<CountryCode3Gid>
<Gid>
<Xid>USA</Xid>
</Gid>
</CountryCode3Gid>
</Address>
<LocationRefnum>
<LocationRefnumQualifierGid>
<Gid>
<Xid>ORIGIN</Xid>
</Gid>
</LocationRefnumQualifierGid>
<LocationRefnumValue>CUSTOMER</LocationRefnumValue>
</LocationRefnum>
<LocationRefnum>
<LocationRefnumQualifierGid>
<Gid>
<Xid>CUSID</Xid>
</Gid>
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
</LocationRefnumQualifierGid>
<LocationRefnumValue>1130</LocationRefnumValue>
<LocationRole>
<LocationRoleGid>
<Gid>
<Xid>CUSTOMER</Xid>
</Gid>
</LocationRoleGid>
</LocationRole>
<Corporation>
<CorporationName>TEST CORPORATION</CorporationName>
</Corporation>
</Location>
</GLogXMLElement>
</TransmissionBody>
</Transmission>';
UTL_HTTP.set_transfer_timeout (1000);
UTL_HTTP.end_response (v_http_resp);
END;
Note that if you have multiple integrations to be built from external system to OTM system to load data
coming in different formats like EDI, text files, etc you should typlically go for a middleware tool like Oracle
SOA(BPEL), Webmethods etc to translate these files from various formats to XML format defined by
GlogXML schema.
Second way loading data to OTM is using CSV files. You may follow below steps to load location into OTM
using CSV upload.
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
1. First we need to create a sample location manually in OTM.
5.
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Select Table Name as 'LOCATION' and copy the WHERE clause that you have noted down in earlier step.
6. Click 'Run' and you will have following output:
7. Select the grey text which is location data and save it in .txt file.
Open this .txt file using Microsoft xls application and select comma as delimiter. Save this file as .csv file.
To verify the .csv has data is correct format open the file using textpad and you should see data with
comma separated values. 8. Now upload the file using Business Process Automation -> Integration ->
Integration Manager -> Upload XML/CSV Transmission:
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Important Note:
Ensure that date columns will follow the NLS Date Format mentioned in line 2 of the csv file.The results
screen is something like this. Note that Process Count and Error Count values are populated in the result.
30 comments:
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Reply
Thanks again.
conor mcgregor vs floyd mayweather fight download online
Reply
Replies
Reply
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Replies
Reply
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Anonymous 9/20/18, 7:07 AM
bookmarked!!, I like your blog!
Reply
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com
Anonymous 5/11/19, 1:40 PM
I am sure this article has touched all the internet viewers, its really
really fastidious post on building up new web site.
Reply
Convert web pages and HTML files to PDF in your applications with the Pdfcrowd HTML to PDF API Printed with Pdfcrowd.com