Search This Blog

Friday 28 December 2012

Mapping Analyst for Excel in Informatica 8.6 OBIA

Mapping Analyst for Excel in Informatica 8.6 OBIA

Hi friends , hope you all have come across the Mapping Analyst for Excel in Informatica Power Centre 8.6 version.I would like to just give a brief introduction about the same.In the coming days we will discuss more about the same.
As you all know before when we start a DWH project we need to gather business requirements from the client.It takes some time for us to analyze the functionality of the project and then make that as a document in technical perspective for ETL. This process is too tedious as a lot of valuable development time is spent gathering business requirements and then translating them into technical specifications, and then converting these  specifications to PowerCenter data integration mappings.So in order to avoid this Informatica has come with a new feature called Mapping Analyst for Excel.

Mapping Analyst for Excel simplifies the complexity in mapping by directly converting the data in the Excel into Informatica Mappings regardless of the format.This will mainly help the Analyst.They can follow a specific template for defining the source and target in the Excel and then send the same to the Developers who can directly convert this template into Informatica Mappings and execute the workflows.

How to convert the date field in OBIEE report to a desired date format

How to convert the date field in OBIEE report to a desired date format?

CAST (expr AS type) is a conversion function in OBIEE that changes the data type of a value or a null value to another data type.This is one solution to change the datatype,but when I tried with this the column heading in report changed to different colour and my client didn't liked that solution.So I tried another solution.Follow the below steps and screenshots.
1.Go to Column Properties tab
Select column properties tab
2.Select Data Format tab
3.Check “Override Default Data Format” box
4.Select “Date Format” field dropdown as custom/as required in your report. If you select “Date Format” field dropdown as custom then specify “Custom Date Format” field as required in report.

How to convert the date field in OBIEE report to a desired date format

How to convert the date field in OBIEE report to a desired date format?

CAST (expr AS type) is a conversion function in OBIEE that changes the data type of a value or a null value to another data type.This is one solution to change the datatype,but when I tried with this the column heading in report changed to different colour and my client didn't liked that solution.So I tried another solution.Follow the below steps and screenshots.
1.Go to Column Properties tab
Select column properties tab
2.Select Data Format tab
3.Check “Override Default Data Format” box
4.Select “Date Format” field dropdown as custom/as required in your report. If you select “Date Format” field dropdown as custom then specify “Custom Date Format” field as required in report.

How to convert the date field in OBIEE report to a desired date format

How to convert the date field in OBIEE report to a desired date format?

CAST (expr AS type) is a conversion function in OBIEE that changes the data type of a value or a null value to another data type.This is one solution to change the datatype,but when I tried with this the column heading in report changed to different colour and my client didn't liked that solution.So I tried another solution.Follow the below steps and screenshots.
1.Go to Column Properties tab
Select column properties tab
2.Select Data Format tab
3.Check “Override Default Data Format” box
4.Select “Date Format” field dropdown as custom/as required in your report. If you select “Date Format” field dropdown as custom then specify “Custom Date Format” field as required in report.

How to convert the date field in OBIEE report to a desired date format?

CAST (expr AS type) is a conversion function in OBIEE that changes the data type of a value or a null value to another data type.This is one solution to change the datatype,but when I tried with this the column heading in report changed to different colour and my client didn't liked that solution.So I tried another solution.Follow the below steps and screenshots.
1.Go to Column Properties tab
Select column properties tab
2.Select Data Format tab
3.Check “Override Default Data Format” box
4.Select “Date Format” field dropdown as custom/as required in your report. If you select “Date Format” field dropdown as custom then specify “Custom Date Format” field as required in report.

What is a FACTLESS FACT TABLE?Where we use Factless Fact

What is a FACTLESS FACT TABLE?Where we use Factless Fact

We know that fact table is a collection of many facts and measures having multiple keys joined with one or more dimesion tables.Facts contain both numeric and additive fields.But factless fact table are different from all these.
A factless fact table is fact table that does not contain fact.They contain only dimesional keys and it captures events that happen only at information level but not included in the calculations level.just an information about an event that happen over a period.
A factless fact table captures the many-to-many relationships between dimensions, but contains no numeric or textual facts. They are often used to record events or coverage information. Common examples of factless fact tables include:
  • Identifying product promotion events (to determine promoted products that didn’t sell)
  • Tracking student attendance or registration events
  • Tracking insurance-related accident events
  • Identifying building, facility, and equipment schedules for a hospital or university
Factless fact tables are used for tracking a process or collecting stats. They are called so because, the fact table does not have aggregatable numeric values or information.There are two types of factless fact tables: those that describe events, and those that describe conditions. Both may play important roles in your dimensional models.

Factless fact tables for Events
The first type of factless fact table is a table that records an event. Many event-tracking tables in dimensional data warehouses turn out to be factless.Sometimes there seem to be no facts associated with an important business process. Events or activities occur that you wish to track, but you find no measurements. In situations like this, build a standard transaction-grained fact table that contains no facts.
For eg.
The above fact is used to capture the leave taken by an employee.Whenever an employee takes leave a record is created with the dimensions.Using the fact FACT_LEAVE we can answer many questions like
  • Number of leaves taken by an employee
  • The type of leave an employee takes
  • Details of the employee who took leave
Factless fact tables for Conditions
Factless fact tables are also used to model conditions or other important relationships among dimensions. In these cases, there are no clear transactions or events.
It is used to support negative analysis report. For example a Store that did not sell a product for a given period.  To produce such report, you need to have a fact table to capture all the possible combinations.  You can then figure out what is missing.
For eg, fact_promo gives the information about the products which have promotions but still did not sell
This  fact answers the below questions:
  • To find out products that have promotions.
  • To find out products that have promotion that sell.
  • The list of products that have promotion but did not sell.
This kind of factless fact table is used to track conditions, coverage or eligibility.  In Kimball terminology, it is called a "coverage table."
Note:
We may have the question that why we cannot include these information in the actual fact table .The problem is that if we do so then the fact size will increase enormously .
Factless fact table is crucial in many complex business processes. By applying you can design a dimensional model that has no clear facts to produce more meaningful information for your business processes.Factless fact table itself can be used to generate the useful reports.

Hierarchy Tables in OBIA

Hierarchy Tables in OBIA

Hierarchies are mainly used in OBIA to drill down and up through the OBIEE reports.
For example Year, Quarter, and Month are all part of the Hierarchy.
Corresponding to each record in the dimension table we have one record in the Hierarchy table. This allows the user to drill down and drill up.
Mainly there are two types of Hierarchies 
  • Structured Hierarchy:These hierarchies have parent child relationship and are easy to model where each child has a fixed number of parents and a child cannot be a parent 
  • Unstructured Hierarchy:These hierarchies have unstructured parent-child relationships and these are difficult to model

Internal Tables in OBIA

Internal Tables in OBIA

Internal tables in OBIA are used to assist the ETL-Extract-Transform-Load. We use internal tables in OBIA mainly to store some default values for the mappings and for controlling the ETL runs. These tables are not run by the user. We cannot set the value for these Internal tables. And also it cannot be managed directly by the DAC.
For example
Tables
Description
W_PARAM_G 
Stores parameters for ETL runs
W_DUAL_G
Used to generate records for the Day dimension.
W_ETL_RUN_S
Stores the details about ETL run
W_EXCH_RATE_G
Stores exchange rates

Aggregate Tables in OBIA

Aggregate Tables in OBIA

Aggregates tables are important part of OBIA.I have already dicussed about aggregator in my earlier posts "Aggregators".In Datawarhouse we have to there will be many facts and we have to  sum up fact data with respect to a given dimension, for example by date(Date dimension).
When we do these summations for each facts it results in slowing down the performance of the mapping. Hence we make use of the Aggregator to do these summations and other aggregate functions like Min,Max,Avg etc.
OBIA pre calculates these sums and stores it in the form of Aggregate tables. In OBIA the aggregate Tables are suffixed using _A. You can easily identify an Aggregate table in OBIA using the suffix.

Components of OBIA

Components of OBIA

1.ERP Analytics
  • Oracle Financial Analytics
  • Oracle Procurement and Spend Analytics
  • Oracle Human Resources Analytics
  • Oracle Supply Chain and Order Management Analytics
  • Oracle Spend Classification Analytics
  • Oracle Project Analytics
2.CRM Analytics
  • Oracle Sales Analytics
  • Oracle Service Analytics
  • Oracle Marketing Analytics
  • Oracle Contact Center Analytics
  • Oracle Loyalty Analytics
  • Oracle Price Analytics
3.Industry Applications
  • Oracle US Federal Financial Analytics

obia interview questions

1.Explain the Architecture of OBIEE And How what each components do?
Answer :- OBIEE Consists of Presentation Services(Web),Oracle BI (Analytics Engine) Server
The client (Answers) constructs sql and passes it to the Analytic Engine and then the Oracle BI (Analytic Engine) parses the physical sql to the Datasources and retrieve the data back to the Engine and presents to the presentation Services .

2.how to get sql from obiee for reports?
Answer :- There are many ways to get the sql
a. Modify the request and click Advanced in that you get xml code and also the actual sql.
b.In the catalog Manager click Tools –>Create Report .In the Create Report Window –> Click Request SQL and save the sql to the physical path in your PC.
c.Enable Loglevel to 2 in the OBIEE Admin Tool from Mange-> Security and enable the log level to 2 by clicking properties for the user, then go to the NQQuery.log in BI_HOME/OracleBI/Server/Logs.You will find the SQL for that User.
d. by clcking Administration->Manage sessions-> view sql

3.How will you tune the SQL in Oracle if you find nested loops in the explain plan!
4. How will you do sort in Reports in OBIEE Answers.
Answer :- click modify and then click sort (order by icon) on the relevant column in the criteria pane.
5. How will you do different types of narrative Reports in OBIEE?
Answer:- By clicking modify request and Narrative View and by giving @1 for the first column result and @2 for the 2nd column and son on and we can also give a heading for No Results by clicking the Narrative view.
6.How will you create Interactive Dashboards ?
Answer:- By clicking Administration and Manage dashboards and by adding column selector also by using view selector etc.and also by using prompts.
7.what is write-back in obiee ?
Answer:-In Reports of Answer you can give a column as updatebale and then view the reports,this option is called write back.
8.How will you execute Direct SQL in OBIEE?
Answer:-By clicking Direct Database Request below the subject area in Answers.
9.how will you create report from two subject areas
Answer:- From the Criteria Pane of the Report Created from First Subject Area
come to the bottom of the page and click combine request. but the options are limited for combining like union etc..
10. What is the most tough issue you have faced while developing reports?
11.How will you Port changes for dashboards,reports,rpd from development to production?
Answer:- for the rpd use the Merge option in Admin Tool and for dashboards and reports use Content Accelerator Framework.
12.What are the different types of variables in OBIEE? explain
Answer:-There are two types of variables in obiee.
a.Repository variable.
This variable is for the whole repository.
b.session variable . session variable can be system variable and non system variable. system variable uses NQ_SESSION. —- (system reserved variable). examples of non system variables are user defined filters etc.
13.How will you enable or disable caching in the system level and table level.
Answer:-In the NQSConfig.ini file use ENABLE under CACHE Section for System Level
for tables .If you want to enable the cache at table level , open the repository in offline mode(not the current working repository). this should be different from the current repository and click enable or disable the cache . right click the table and properties and click the cache or deselect the cache. then merge the repository with the current working one.
14.How will you go about adding additional column to the repository in the presentation layer.
Answer :- check whether the table is already existing if so add in physical layer ,then BMM and then Presentation layer, then reload server metadata ,then it will be visible to all users.
15.How will effect the changes for a report , if for certain users only the column heading in the report should be changed?
Answer:-using session variables for that user.
16.what is a table alias in obiee? and where and how will you create it.
Answer:- Table alias can be created by right clicking the table in the physical layer then click alias,
Table alias is mostly used for creating self joins.
17.Have you created Hierarchy in obiee. if so where and how?
Answer:-Yes we can create hierarchy in BMM Layer of obiee in dimensions for the dimension tables. this can be done by right clicking the dimension table and click create dimension and then we should manually define the hierarchy and its levels.
18.What is Level Based Metrics.How will you create it?
Answer:-Leval-base matrics means, having a measure pinned at a certain level of the dimension. Monthly Total Sales or Quarterly Sales are the examples.
To create a level based measure, create a new logical column based on the original measure (like Sales in the example above). Drag and drop the new logical column to the appropriate level in the Dimension hierarchy (in the above example you will drag and drop it to Month in Time Dimension.
19.what are the different layers of OBIEE Repository?
Answer:-a.Physical Layer,b.Business Model and Mapping Layer,c.Presentation Layer
20.What is Authentication? How many types of authentication.
Answer:-Authentication is the process by which a system verifies, through the use of a user
a. Operaing system autentication
b. External table authentication
c. Database authentication
d. LDAP authentication
21. What are the different types of security you have worked in obiee?
Answer :- Object Level and data level
22.what is a bridge table ?
Answer:- If you want to connect two tables where there is no relation ship you can use a thrid bridge table for connecting them which will have common columns in both tables, this is used in BMM Layer.
23.You come Morning to the office. and all the users are complaining about the obiee reporting system is very slow(dasboards). what is your approach to resolve the issue?
Answer:- Mainly check NQServer.log and in Admin Tool -> click Session Manager. check if there is any bottleneck and accordingly resolve.
24.What are the different Log files in OBIEE?
Answer:-NQServer.log , NQQuery.log,NQSAdminTool.log — mainly.25.Name few Configuration files in obiee.
25.What are the Key Configuration Files in OBIEE?
Answer:- NQSConfig.ini,NQSCluster.ini,odbc.ini,instanceconfig.xml
26.How will change port of obiee answers?
by changing its port in instanceconfig.xml
27.What is ClusterServices in obiee ? why its used?
Answer:-To Scale up the Performance by clustering and distributing the services across multiple Servers ClusterServices are used.
28.Can you Change the location of the OBIEE Repository?
Answer:- Not in Standalone OBIEE Install. you can give shared location in NQSCluster.ini if the OBIEE is clustered.
29.How many BI Services Node can be clustered together?
Answer :- 16
30.Can you run multiple rpd’s in a Single OBIEE Instance?
Answer :- No . you should create another instance in the same server , then its possible.
31.How will you implement security in obiee,so that subjects areas accessed by one group are not accessed by another group.
Answer:- Using Security Manger in OBIEE Admin Tool, by creating two user groups and allowing only part of the subject area for one group and other part to the other user group.
32.What is SCD type 1 and 2.
Answer:- SCD is slow changing dimensions. in type 1 we replace the changed dimension with old dimension. in type 2 we use surrogate keys and keep both the records(rows). Advantage of SCD2 is we keep history of the old dimensiont.
33. What is Star Schema and What is SnowFlake Schema
Answer:- Star is one fact and many dimensions where as Snowflake design is one fact and many dim’s and dim’s can have additonal dim relations.
34.How to startup obiee in Linux?
Answer:-
./run-sa.sh start #starts obi server
./run-saw.sh start #start saw server
./run-sch.sh start #start scheduler
35.What are key differences between obiee 10g and 11g.
More to come—-
Cheers
— yogi

Sunday 16 December 2012

OBIA HR Reporting Types of Reports


HR Reporting Types of Reports

HR Reporting  - Types of HR Reports

Security - LDAP or Alternative.
All reports should be driven off a Position/ Job or Organisation style Hierarchy
Points to take note of - Multiple Subordinates within a Position.
Take Note of Key KPI's - Such Absences
level of Visibility - Salary etc.


All Reports should support Date Tracking - Historical Changes

1. Headcount - Reporting - By Department - Team - Other Hierarchy
Headcount - To make sure all the Employees are accounted for and Company headcount is correct within OBIEE

2. Starters - Leavers - Transfers Reporting by Hierarchy drill
Have Visibility over SCD Type 2 (Slowly Changing Dimensions the Flow of employees moving departments / Positions etc, Leaving
and starting the company is correct)


3. Gather and store Employee Information within Dimensions

Next Move on to all other HR Related Reporting
4. Absences - Reporting - KPI Reports - Trends / Patterns
   -Absences
   -Long Term Absences
   -Open Ended Absences
   -SSP / SMP / OSP etc
   -Holiday Requests - Absence Calendar Style Reporting


5. Diversity Reporting
   - Ethnic Origin / Disability / Age Reporting > 65 etc...


6. Competency and Training Stats
  - Employees competency vs Position or Job Competencies


7. Salary Reporting
  - Under 25k , Over 100k Etc


8. Recruitment –
   - Conversion percentage from sourcing to selection / joining and other variants to show recruitment effectiveness


9. Performance Monitoring by hierarchy / department / team

10. Reward & Pay Visibility – Allowance analysis by hierarchy / Position / Grade / years of service
   - Non Plan expenditure analysis like Over Time etc. by hierarchy / department / grade
   - Average salaries by grade


11. Audit Reporting Stats - Change of Name, Salary, NI Number etc

OBIA Architecture and Functionality Overview


OBIA Architecture and Functionality Overview
The architecture for Oracle Business Intelligence Applications (OBIA) includes several components.  Understanding these components is prerequisite to a successful OBIA implementation.   A brief description of each component is included below the diagram.

OBIEE:
  • OBIA is a set of prebuilt reports for every business module like Financial, HR, Sales, Order Management, etc.
  • In order to have pre-built reports we need to have prebuilt rpd (generic business logic).
  • The rpd is built on top of pre-defined tables (dimensions and facts). The tables reside in a BI database(OLAP).
Informatica:
  • Prebuilt OBIA Informatica mappings are created to extract data from several data sources (OLTP) and load to BI database (OLAP) tables.  These data sources include Oracle EBS, JD Edwards, Peoplesoft, and other ERP systems.
  • A set of SDE, SIL and PLP together loads data into one BI fact or dimension table
  • SDE Mapping or Source Dependant Loads: Are used to extract data from and Data Source to staging
  • SIL Mapping or Source Independant Loads: Are used to load data from staging to the target OBI tables (dimensions and facts)
  • PLP or Post Load Processes: Are sometimes used to transform data after it is in a fact table, or add to data after it is in a fact table.
  • Informatica structure:  An informatica workflow includes one or more sessions sessions.  Each session includes one mapping.
A workflow is started that runs one or more sessions.  The logic of each session is defined in a mapping.
DAC:
  • DAC acts like a trigger to run the workflows in Informatica.
  • DAC contains Execution Plans which can be scheduled or run any time. These Execution Plans are designed to do an incremental or a full load.
  • Within each Execution Plan there are several subject areas, each subject area contains all the tasks which are associated to workflows in Informatica that loads data to the dimensions and facts to build the corresponding subject area.
Blog Author:  yogi

OBIA Architecture and Functionality Overview

OBIA3.png (1213×503)

Prepackaged BI Applications



OBIA - Universal Adaptor


OBIA - Universal Adaptor

CSV files

located in C:\OracleBI\dwrep\Informatica\Sample Universal Source Files

OBIA - Naming Convention


Table

Table Types Used by the Oracle Business Analytics Warehouse
Table SuffixDescription
Aggregate tables (_A)Contain summed (aggregated) data.
Dimension tables (_D)Star analysis dimensions.
Staging tables for Dimension (_DS)Tables used to hold dimension information that have not been through the final ETL transformations.
Staging tables for Usage Accelerator (WS_)Tables containing the necessary columns for the ETL transformations.
Dimension Hierarchy tables (_DH)Tables that store the dimension's hierarchical structure
Dimension Helper tables (_DHL)Tables that store M:M relationships between two joining dimension tables.
Staging tables for Dimension Helper (_DHLS)Staging tables for storing M:M relationships between two joining dimension tables.
Fact tables (_F)Contain the metrics being analyzed by dimensions.
Fact Staging tables (_FS)Staging tables used to hold the metrics being analyzed by dimensions that have not been through the final ETL transformations.

Column

SuffixDescriptionIn Table Types
_CDCode field_D, _DS, _FS, _G, _GS
_DTDate field_D, _DS, _FS, _G, _DHL, _DHLS
_ILanguage Independent Code. 1)_D, _MD
_ID_ID columns are used in _FS tables. They correspond to the _WID columns of the corresponding _F table._FS
_FLGIndicator or Flag._D, _DHL, _DS, _FS, _F, _G, _DHLS
_WIDIdentifier generated by Oracle Bl linking dimension and fact tables, except for ROW_WlD._F, _A, _DHL
_NAMEName corresponding to the code column (columns ending with _CODE)_D, _F, _A
_DESCLong Description corresponding to the code column (columns ending with _CODE)_D, _F, _A

Oracle Business Analytics Warehouse Architecture Components


obia_overview.gif

Wednesday 5 December 2012

OBIA 7.9.6.2 HR Analytics Dashboards Overview.


OBIA 7.9.6.2 HR Analytics Dashboards Overview. 

All the E Business Security Functionality is built in. Its an all round good solution . Does need alot of configuration to get right .. Is it worth all the hard work . Maybe depends on the business requirements. Also i still think the calendars i have developed for obiee have alot more functionality as i take into consideration Elements in OTL for Training Days and Assignment Status Types. Also Payroll functionality. Alerts ETC... Also the calendars focus more on Counting the Recurring absences. I have taken the approach of showing who the absence is for from the start and drilling down from that point onwards..

OBIEE 11.1.1.6.2 Writeback setup


OBIEE 11.1.1.6.2 Writeback setup

Detailed Write Back steps in OBIEE 11.1.1.6.2


Krishna M

Step 1


Amend the instanceconfig.xml and add the LIghtWriteback entry as shown below with in the server instance tags

The instanceconfig.xml file is located in $MW_HOME/instances/instance1/config/OracleBIPresentationServicesComponent
/coreapplication_obips1 directory





Add the LightWriteback tag just above the /ServerInstance tag as in above example.

<LightWriteback>true</LightWriteback>

Restart the OPMN services for the instanceconfig amendment above to take effect

Login to Analytics

http://<hostname>:9704/analytics

Set privileges within Administration screen







Add roles or users to the Write back privileges above

Step 2


Create a table used to store the write back table and import it into the physical layer in RPD











Ensure the connection pool user has required privileges to insert / update data on this table

Step 3

 

 


 

 

 

 

 

 

 

 

In Business Model, switch on the Writable property for all required columns


This completes the one time setup required to carry out write back functionality. Following steps are required for setting up an actual write back

Step 4


Create a new analysis with the required columns








Select the Column Properties using the drop down arrow on each column












Choose the column property and Tick the Enable Write Back check box on the Write Back tab for the required column. In my case, I have enabled only for USD Amount.

Note: If the ‘Writable’ flag is not enabled in RPD then this check box also cannot be enabled


Step 5

 

 

 






 

 

 

 

 

 

 

Note that only the USD_AMT column is displayed as editable

Choose the Edit Table View option and click on Table View Properties



 

 

 

 

 

 

 

 

 

 










Tick the Enable Write Back on enter a Template Name. I entered ‘RPA’ and this can be any user given name. Note this name is case sensitive. Below you will see how to create this template called RPA used here


Step 6


Click on the advanced tab of the analysis




















Here under the Analysis XML box we want to note down all the columnID's that we will be using to populate the Writeback table with

Make a note of the columnIDs for the required columns. These will be used in the next step


Step 7

 

 

Create XML file as below and place it in

$MW_HOME/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1
/analyticsRes/customMessages directory if the analytics res directory has been deployed.

Please see the Deploying analyticsRes for custom Messages post that we have created that wont ever get overwritten by Oracle Patches etc

If you dont want to use the analyticsRes custom messages folder then you can use the seeded folder



If the directory ‘customMessages’ does not exist then create one in the path mentioned

 

--------Start of XML--------

<?xml version="1.0" encoding="utf-8" ?>

<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">

   <WebMessageTable lang="en-us" system="WriteBack" table="Messages">

      <WebMessage name="RPA">

         <XML>

            <writeBack connectionPool="Writeback">

                 <insert></insert>

                <update>update encumbered_rpa set usd_amt = @{cbe48633dbeb2bda8},update_date = sysdate,updated_by = '@{cb26f41933b0c7d7c}' where product_id = @{c9c0a2069f38dda8c}</update>

            </writeBack>

         </XML>

      </WebMessage>

   </WebMessageTable>

</WebMessageTables>

-------End------

 

Within the update tags have the update statement that gets executed in the database using the columnIDs picked from the Advanced tab

Save the XML as RPA.xml
Bounce the OPMN service for this XML to be loaded and available for use

 

 

Step 8

 

 

Run the report that was created in Step 4
 
















If all the steps are carried as they should be then you will see two buttons as in the above screen shot. The Update functionality is ready.

Amend the value of any editable field and hit the Update button then the change is carried out in the database and the screen gets refreshed with the new value. The statement that is given in the XML template between the update tags gets executed.

Revert button is used to undo any changes that are not yet sent to the database.

If you have noticed, the insert statement is left blank. But the same XML can be amended to provide the functionality of insert. If the amended record exists in DB, then the update statement is issued and if the amended record does not exist in DB then the insert statement is issued.

You don’t necessarily have a insert statement with the insert tags. You can use a function call here or you can issue an update statement to a different table. Using this base functionality you can deliver tailor made solutions fit for purpose.