<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GeeKs Blogging @ dotCOM &#187; Business Services</title>
	<atom:link href="http://geeksbloggingat.com/topics/business-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://geeksbloggingat.com</link>
	<description>Let&#039;s share...</description>
	<lastBuildDate>Tue, 30 Aug 2011 21:29:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>EAI Siebel Adapter BS &#8211; Upsert Multiple Child Records</title>
		<link>http://geeksbloggingat.com/2010/04/07/eai-siebel-adapter-bs-upsert-multiple-child-records/</link>
		<comments>http://geeksbloggingat.com/2010/04/07/eai-siebel-adapter-bs-upsert-multiple-child-records/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 03:45:53 +0000</pubDate>
		<dc:creator>nanpats</dc:creator>
				<category><![CDATA[Siebel CRM]]></category>
		<category><![CDATA[Business Services]]></category>
		<category><![CDATA[EAI]]></category>
		<category><![CDATA[Siebel]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Vanilla]]></category>
		<category><![CDATA[Workarounds]]></category>

		<guid isPermaLink="false">http://geeksbloggingat.com/?p=948</guid>
		<description><![CDATA[EAI Siebel Adapter finds its usage in almost all integration scenarios and business process automation. However, at times we hit upon limitations on its usage as Business Requirements become complex. There is a bug which you must have encountered while using EAI Siebel Adapter BS. I will explain the issue with an example and a [...]


<b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/07/09/siebel-eai-siebel-adapter-looping-multiple-records/' rel='bookmark' title='Permanent Link: Siebel &#8211; EAI Siebel Adapter &#8211; Looping Multiple Records'>Siebel &#8211; EAI Siebel Adapter &#8211; Looping Multiple Records</a> <small>This is a follow-up post on the post, Siebel &#8211;...</small></li>
<li><a href='http://geeksbloggingat.com/2009/07/08/siebel-looping-multiple-records-iii/' rel='bookmark' title='Permanent Link: Siebel &#8211; Looping Multiple Records &#8211; III'>Siebel &#8211; Looping Multiple Records &#8211; III</a> <small>Looping through multiple records is a requirement we come across...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/11/siebel-looping-multiple-records-update-records/' rel='bookmark' title='Permanent Link: Siebel &#8211; Looping multiple records &#8211; Update records'>Siebel &#8211; Looping multiple records &#8211; Update records</a> <small>Hi, We often come across a requirement where we need...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/08/siebel-eai-siebel-adapter-search-spec/' rel='bookmark' title='Permanent Link: Siebel &#8211; EAI Siebel Adapter Search Spec'>Siebel &#8211; EAI Siebel Adapter Search Spec</a> <small>Hi, I can bet that for anybody who has worked...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/13/siebel-sia-bc-utility-service-loop-multiple-records/' rel='bookmark' title='Permanent Link: Siebel &#8211; SIA BC Utility Service &#8211; Loop multiple records'>Siebel &#8211; SIA BC Utility Service &#8211; Loop multiple records</a> <small>This is a vanilla business service which provides an extensive...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>EAI Siebel Adapter finds its usage in almost all integration scenarios and business process automation. However, at times we hit upon limitations on its usage as Business Requirements become complex. </p>
<p>There is a bug which you must have encountered while using EAI Siebel Adapter BS.  I will explain the issue with an example and a solution to resolve the issue…</p>
<p><span id="more-948"></span>Let’s say you need to upsert an entity e.g., Assets in Siebel using EAI Siebel Adapter BS. The data structure is a parent -child hierarchy which consists of Assets (primary IC) and Account (child IC).</p>
<p>Let’s assume that Account is resolved by the Id field (Id field being part of the 1st user key and is available in the message). There is a possibility wherein a given account would be repeated in your message instance with different attributes. Consider the following structure:</p>
<p>&lt;Account&gt;&lt;Id&gt;1-ABC&lt;/Id&gt;&lt;Name&gt;ABC Industries&lt;/Name&gt;&lt;/Account&gt;<br />
&lt;Account&gt;&lt;Id&gt;1-XYZ&lt;/Id&gt;&lt;Name&gt;XYZ Industries&lt;/Name&gt;&lt;/Account&gt;<br />
&lt;Account&gt;&lt;Id&gt;1-ABC&lt;/Id&gt;&lt;BillTo&gt;Y&lt;/BillTo&gt;&lt;/Account&gt;</p>
<p>In the above example, Account with Id “1-ABC” is repeated twice in the message. If the application tries to upsert this dataset using EAI Siebel Adapter, both the Accounts will be added as Child on Asset. However the data contained in the last instance of Account would be lost.  This information lost might be critical for business operations.</p>
<p>Resolution:</p>
<p>In this case, you would be required to consolidate all the similar Account records into a single component before running an Upsert. The resulting message after consolidation would look something similar below:</p>
<p>&lt;Account&gt;&lt;Id&gt;1-ABC&lt;/Id&gt;&lt;Name&gt;ABC Industries&lt;/Name&gt;&lt;BillTo&gt;Y&lt;/BillTo&gt;&lt;/Account&gt;<br />
&lt;Account&gt;&lt;Id&gt;1-XYZ&lt;/Id&gt;&lt;Name&gt;XYZ Industries&lt;/Name&gt;&lt;/Account&gt;</p>
<p>Hope you enjoyed the example above. Here, I&#8217;ll discuss some more of the limitations of EAI Siebel Adapter, and how we resolved them from practical experiences in life.</p>


<p><b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/07/09/siebel-eai-siebel-adapter-looping-multiple-records/' rel='bookmark' title='Permanent Link: Siebel &#8211; EAI Siebel Adapter &#8211; Looping Multiple Records'>Siebel &#8211; EAI Siebel Adapter &#8211; Looping Multiple Records</a> <small>This is a follow-up post on the post, Siebel &#8211;...</small></li>
<li><a href='http://geeksbloggingat.com/2009/07/08/siebel-looping-multiple-records-iii/' rel='bookmark' title='Permanent Link: Siebel &#8211; Looping Multiple Records &#8211; III'>Siebel &#8211; Looping Multiple Records &#8211; III</a> <small>Looping through multiple records is a requirement we come across...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/11/siebel-looping-multiple-records-update-records/' rel='bookmark' title='Permanent Link: Siebel &#8211; Looping multiple records &#8211; Update records'>Siebel &#8211; Looping multiple records &#8211; Update records</a> <small>Hi, We often come across a requirement where we need...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/08/siebel-eai-siebel-adapter-search-spec/' rel='bookmark' title='Permanent Link: Siebel &#8211; EAI Siebel Adapter Search Spec'>Siebel &#8211; EAI Siebel Adapter Search Spec</a> <small>Hi, I can bet that for anybody who has worked...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/13/siebel-sia-bc-utility-service-loop-multiple-records/' rel='bookmark' title='Permanent Link: Siebel &#8211; SIA BC Utility Service &#8211; Loop multiple records'>Siebel &#8211; SIA BC Utility Service &#8211; Loop multiple records</a> <small>This is a vanilla business service which provides an extensive...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://geeksbloggingat.com/2010/04/07/eai-siebel-adapter-bs-upsert-multiple-child-records/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

