2. • DBaaS Adapter
• Oracle Database Adapter
• ATP Database Adapter
• ERP Cloud Adapter
• REST Adapter
• FILE Adapter
• FTP Adapter
• FBDI
• REST API
• SaaS Fusion Application
• Lookup
• JSON Template
• Read, Write, List, Move, Download File
• Stage File
• For Each Loop
• Agent Group
• Scope
• Wrapper Store Procedure
• Large number of file process
• 4 Mins Procedure execution Timeout Solution
• 10 MB Payload execution Solution
3.
4.
5.
6. Download the Config File and make sure it is installed in
the FTP Server where Oracle Database Installed. (For
ATP/Dbaas, agent not required) Based on Generation 2/3
modify the InstallerProfile.cfg file by downloading
Connectivity agent.
7. •Create Oracle Database Connection and configure with the host, port,
authentication details.
• Create File Adapter Connection and configure the agent group.
•Create Oracle ERP Cloud Connection and configure with the Fusion SaaS
application details.
•Create Rest Connection and configure with Fusion SaaS application details.
8. •Assign the Integration Name.
•Assign another variable to hold all the lookup values i.e., Inbound Directory,
Archive Directory, OIC temp directory, File Name Prefix, Instance ID, Zip File Prefix,
Email etc.
•Add the File Connection and choose List Operation to check whether file exists
with the given file prefix into the inbound directory and Map it.
•Create a Schedule Orchestration process.
9. •Assign a variable to hold the File Count from the List File.
•Add a Switch action next to it, if File Count is greater than 0 then Process
further else Stop there and end the process.
•If File Count is greater than 0 then add a For Each Loop action.
•Configure the Loop with List File Response under Repeating element and
assign a variable flag as Y.
•Add a scope action next to it and do all the activity inside scope.
•Add a File Connection to Invoke Download File Operation and Map the
Filename, Directory, Download Directory.
10. •Add a Stage File action next to Assign File Name Variable.
•Configure the Stage File Operation with Read File in Segments to load more
than 50 MB File size up to 1 GB File will be supported in Gen 3.
•Drag and drop the Sample CSV Flat File inside Stage File operation and give at
least one column value mandatory.
•Inside Stage File add Oracle Database Connection which will get invoke and
load the flat file data to Oracle DB Staging Table.
•Choose Insert Operation to perform on Table.
•Map the DB columns with stage file Read segment Response Record data.
•Add another File Connection which will move the file from inbound directory
to archive directory once data inserted into Staging Table.
•Choose Move File Operation.
•Map the Directory path, File Name, Target Directory and Target File Name.
•Use Concat function on Target File Name with Instance ID.
11. •Add another Oracle Database Connection to invoke Store Procedure.
•Map the Store Procedure IN Parameter with OIC Instance ID.
•This is a Wrapper Procedure, which will validate the data batch wise instead of at once all the data.
•This Wrapper Procedure will resolve the 4 mins timeout issue in OIC, when there are large number of
records (Ex: 100K) available in Flat file to process.
•In a single batch process around 5K records, we can hardcode the value in PLSQL Package or store in
Lookup.
•Add another Oracle Database Connection to get the distinct Batch Number from the Staging Table for the
Instance ID and once configured map it.
12. •Add a Switch Action, if Header & Line Flag is Y then only create Property File,
else stop there itself and wont process further.
•Add a Stage Write File action for propertyFile.properties and give output
directory as temp directory and make sure file name is correct.
•Drag and Drop sample Property csv file. Map the Property file columns.
•Job Package Name is Import Payables Invoices Job path, Job Definition Name
is Short Name of the ESS Job, Zip File Prefix can be anything.
•Required parameters values (Argument) need assign and if any null value
present in property file, then assign as ‘#NULL’.
13. •If Record Type is OLD, then invoice and lines will get Updated.
•Using REST API need to update the Invoice and Invoice Lines and create
sample JSON files.
•Create Global Variable and assign into a Data Stich to get the Uniquid and
UniqueInvoiceLineID.
14.
15. Follow me on Youtube, for OIC Tutorial Video
@ITSPAUL_BONG