<?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 Component</title>
	<atom:link href="http://geeksbloggingat.com/topics/business-component/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>Login Failed in Dedicated Web Client : MVF Issue</title>
		<link>http://geeksbloggingat.com/2011/08/31/login-failed-in-dedicated-web-client-mvf-issue/</link>
		<comments>http://geeksbloggingat.com/2011/08/31/login-failed-in-dedicated-web-client-mvf-issue/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 21:18:49 +0000</pubDate>
		<dc:creator>Himanshu Bajpai</dc:creator>
				<category><![CDATA[CRM]]></category>
		<category><![CDATA[Siebel CRM]]></category>
		<category><![CDATA[Business Component]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[Siebel]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Workarounds]]></category>

		<guid isPermaLink="false">http://geeksbloggingat.com/?p=1120</guid>
		<description><![CDATA[Recently I have met with the Problem in form of defect. The Problem was related to Record Visibility in Activity. There were activities created for SR as a result of Email Response and properly visible in Activity List Applet under SR. We have Pick Applet in SR Applet for fetching all Email related activities. But [...]


<b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2010/02/19/siebel-unable-to-login-to-mobile-client/' rel='bookmark' title='Permanent Link: Siebel &#8211; Unable to login to mobile client'>Siebel &#8211; Unable to login to mobile client</a> <small>After long time I am writing a blog&#8230; This time...</small></li>
<li><a href='http://geeksbloggingat.com/2010/05/17/siebel-admin-mode-flag-ii-issue-log/' rel='bookmark' title='Permanent Link: Siebel Admin Mode Flag &#8211; II &#8211; Issue Log'>Siebel Admin Mode Flag &#8211; II &#8211; Issue Log</a> <small>In the last post I described about Admin Mode Flag....</small></li>
<li><a href='http://geeksbloggingat.com/2009/04/26/siebel-unable-to-launch-local-client/' rel='bookmark' title='Permanent Link: Siebel &#8211; Unable to launch Local Client'>Siebel &#8211; Unable to launch Local Client</a> <small>Hi all, I was making a fresh install of Siebel...</small></li>
<li><a href='http://geeksbloggingat.com/2009/04/14/siebel-assets-list-view-performance-issue-cannot-display-records/' rel='bookmark' title='Permanent Link: Siebel Assets List view &#8211; Performance issue / Cannot display records'>Siebel Assets List view &#8211; Performance issue / Cannot display records</a> <small>Assets Screen Load is a major problem in Siebel, and...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/28/bi-actuate-reports-in-pdf-format-in-siebel/' rel='bookmark' title='Permanent Link: BI &#8211; Actuate Reports in PDF format in Siebel'>BI &#8211; Actuate Reports in PDF format in Siebel</a> <small>Hi all, Siebel is well integrated with Actuate Reports, used...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently I have met with the Problem in form of defect. The Problem was related to Record Visibility in Activity.</p>
<p>There were activities created for SR as a result of Email Response and properly visible in Activity List Applet under SR. We have Pick Applet in SR Applet for fetching all Email related activities. But strangely same activities were not visible in the Pick Applet.</p>
<p><span id="more-1120"></span>On investigation, we found that the Applet was based on a different BC i.e. Action Special.<br />
Seeing Different BC It is understood there is a problem of Record Visibility.<br />
And since BC Record visibility is controlled by BusComp View Mode, there were bound to be some issues.<br />
We compared Action and Action Special BCs BusComp View Mode.</p>
<p>Following was the screenshot of BC -Action Special (click to enlarge)<br />
<div id="attachment_1121" class="wp-caption aligncenter" style="width: 310px"><a href="http://geeksbloggingat.com/blog/wp-content/uploads/2011/08/BC-Action-special.png"><img src="http://geeksbloggingat.com/blog/wp-content/uploads/2011/08/BC-Action-special-300x81.png" alt="Siebel BC Action-special screenshot" title="BC Action-special" width="300" height="81" class="size-medium wp-image-1121" /></a><p class="wp-caption-text">Siebel BC Action-special screenshot</p></div></p>
<p>Following was the screenshot of BC-Action (click to enlarge)<br />
<div id="attachment_1122" class="wp-caption aligncenter" style="width: 310px"><a href="http://geeksbloggingat.com/blog/wp-content/uploads/2011/08/BC-Action.png"><img src="http://geeksbloggingat.com/blog/wp-content/uploads/2011/08/BC-Action-300x78.png" alt="Siebel BC-Action screenshot" title="BC Action" width="300" height="78" class="size-medium wp-image-1122" /></a><p class="wp-caption-text">Siebel BC-Action screenshot</p></div></p>
<p>Above Snapshot shows the difference clearly !!</p>
<p>As a Solution –<br />
1) We made Action Special similar to Action BC and added Visibilty MVF as Organization and Visibility MVL as Organization.<br />
2) Compiled SRF.<br />
3) Login in dedicated Client.<br />
Shock!!!!!!!!!!!!!!<br />
It was throwing error of Wrong User Id and Password while few minutes back it was working fine.<br />
Login again- Shock again-error again.</p>
<p>3rd Time Login (3 is my lucky number <img src='http://geeksbloggingat.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ), but error again but this time my luck was better. So error changed to something different and is indicated below (click to enlarge) -<br />
<div id="attachment_1123" class="wp-caption aligncenter" style="width: 310px"><a href="http://geeksbloggingat.com/blog/wp-content/uploads/2011/08/Siebel-Error.png"><img src="http://geeksbloggingat.com/blog/wp-content/uploads/2011/08/Siebel-Error-300x55.png" alt="Siebel Error - BC MVF Configuration issue" title="Siebel Error" width="300" height="55" class="size-medium wp-image-1123" /></a><p class="wp-caption-text">Siebel Error - BC MVF Configuration issue</p></div></p>
<p>Since Organization MVL was not present in Action Special, I was not able login into the dedicated client.<br />
Actually I did the View Mode Change by Compare Object utility on Action and Action Special BC. This smartness and laziness created the whole issue because compare object put the MVL and MVF even though MVL/MVF was not present in BC.</p>
<p>If you change the Visibility MVL/MVF Manually then you would not allowed by Siebel to pick MVL/MVF that is not present in BC.</p>
<p>But it is really good for me. Since I have learnt a lesson and that is generic.</p>
<p>Conclusion-If the Reference of MVL or MVF is not present in BC then you would not able to login Siebel Dedicated Client and you can expect to get the below error.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
 User ID or password that you entered is incorrect.<br />
Please check the spelling and try again.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Thanks for reading. Stay tuned for more articles !!</p>


<p><b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2010/02/19/siebel-unable-to-login-to-mobile-client/' rel='bookmark' title='Permanent Link: Siebel &#8211; Unable to login to mobile client'>Siebel &#8211; Unable to login to mobile client</a> <small>After long time I am writing a blog&#8230; This time...</small></li>
<li><a href='http://geeksbloggingat.com/2010/05/17/siebel-admin-mode-flag-ii-issue-log/' rel='bookmark' title='Permanent Link: Siebel Admin Mode Flag &#8211; II &#8211; Issue Log'>Siebel Admin Mode Flag &#8211; II &#8211; Issue Log</a> <small>In the last post I described about Admin Mode Flag....</small></li>
<li><a href='http://geeksbloggingat.com/2009/04/26/siebel-unable-to-launch-local-client/' rel='bookmark' title='Permanent Link: Siebel &#8211; Unable to launch Local Client'>Siebel &#8211; Unable to launch Local Client</a> <small>Hi all, I was making a fresh install of Siebel...</small></li>
<li><a href='http://geeksbloggingat.com/2009/04/14/siebel-assets-list-view-performance-issue-cannot-display-records/' rel='bookmark' title='Permanent Link: Siebel Assets List view &#8211; Performance issue / Cannot display records'>Siebel Assets List view &#8211; Performance issue / Cannot display records</a> <small>Assets Screen Load is a major problem in Siebel, and...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/28/bi-actuate-reports-in-pdf-format-in-siebel/' rel='bookmark' title='Permanent Link: BI &#8211; Actuate Reports in PDF format in Siebel'>BI &#8211; Actuate Reports in PDF format in Siebel</a> <small>Hi all, Siebel is well integrated with Actuate Reports, used...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://geeksbloggingat.com/2011/08/31/login-failed-in-dedicated-web-client-mvf-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Siebel &#8211; SIS OM PMT Service</title>
		<link>http://geeksbloggingat.com/2010/03/20/siebelsis-om-pmt-service/</link>
		<comments>http://geeksbloggingat.com/2010/03/20/siebelsis-om-pmt-service/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 07:26:37 +0000</pubDate>
		<dc:creator>Madhvi Arora</dc:creator>
				<category><![CDATA[Siebel CRM]]></category>
		<category><![CDATA[Business Component]]></category>
		<category><![CDATA[Scriptless solutions]]></category>
		<category><![CDATA[Siebel]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Vanilla]]></category>

		<guid isPermaLink="false">http://geeksbloggingat.com/?p=934</guid>
		<description><![CDATA[There are lots of vanilla business services available in Siebel which can be used to configure any process and this helps in avoiding scripting. One of these services I came across is &#8220;SIS OM PMT Service&#8221;. People who have worked on Order Mangement module must be aware of this service. This service is extensively used [...]


<b>Related posts:<b><ol><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>
<li><a href='http://geeksbloggingat.com/2009/05/14/siebel-sia-bc-utility-service-invoke-bc-method/' rel='bookmark' title='Permanent Link: Siebel &#8211; SIA BC Utility Service &#8211; Invoke BC Method'>Siebel &#8211; SIA BC Utility Service &#8211; Invoke BC Method</a> <small>I had discussed about the vanilla Business Service, &#8220;SIA BC...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/31/siebel-fins-industry-xml-query-service/' rel='bookmark' title='Permanent Link: Siebel &#8211; FINS Industry XML Query Service'>Siebel &#8211; FINS Industry XML Query Service</a> <small>&#8220;Extracting values from a tag deep down in the Hierarchy.&#8221;...</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/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>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are lots of vanilla business services available in Siebel which can be used to configure any process and this helps in avoiding scripting.</p>
<p>One of these services I came across is &#8220;SIS OM PMT Service&#8221;.</p>
<p><span id="more-934"></span>People who have worked on Order Mangement module must be aware of this service.</p>
<p>This service is extensively used in Order Management Process. Both its methods as well as its  user properties are utilized in Order Creation Process.</p>
<p>But this service can be used in other modules as well.</p>
<p>It has various methods which can be used are:</p>
<p><strong>Get Profile Attribute</strong></p>
<p><strong>Invoke BC Method</strong></p>
<p><strong>Refresh Business Component</strong></p>
<p><strong>Set Profile Attribute</strong></p>
<p>In this post, I will discuss method &#8220;Refresh Business Component&#8221; of this service.</p>
<p>As clear from its name, it is used to refresh the Business Component.</p>
<p>In most of scenarios if we update some field or insert new record, UI is not refreshed with that data. We explicitly need to fire blank query either in our script or on UI to refresh UI. Instead of doing this we can use this Method to do so.</p>
<p>The required input arguments to this service are:</p>
<p><strong>Business Object Name</strong>&#8212;&gt; The name of the BO in which this data needs to be refreshed</p>
<p><strong>Business Component Name</strong>&#8212;&gt;The name of the BC where refresh is required.</p>
<p>This can be used in both script as well as workflow.</p>
<p>I will discuss the example of workflow:</p>
<div id="attachment_938" class="wp-caption aligncenter" style="width: 510px"><a href="http://geeksbloggingat.com/blog/wp-content/uploads/2010/03/WF_01.png"><img class="size-full wp-image-938" src="http://geeksbloggingat.com/blog/wp-content/uploads/2010/03/WF_01.png" alt="WF_01" width="500" height="89" /></a><p class="wp-caption-text">WF_01</p></div>
<p>This is a sample workflow which is used to update account status.</p>
<p>The detail description is as follows:</p>
<ol>
<li>Query For Record: Siebel Operation Step with operation Query is used. Here row_id has been passed in Object Id.</li>
<li>Record Found: Decision Box is used to check the record which needs to be updated exists in system or not .Here check is made with the help of Process Property “Siebel Operation Object  Id”. If record is present, then Siebel Operation Object Id will not be null.</li>
<li>Update Account Status : Siebel Operation Step with operation Update is used. Here row_id has been passed in Object Id.</li>
<li>Refresh Record: This step uses BS “SIS OM PMT Service” with method “Refresh Business Component”.</li>
</ol>
<p>Since here I am updating Account Status in Account Screen, the values of input arguments are:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="217" valign="top"><strong>Input Argument </strong></td>
<td width="81" valign="top"><strong>Type</strong></td>
<td width="149" valign="top"><strong>Value</strong></td>
</tr>
<tr>
<td width="217" valign="top">Business Object Name</td>
<td width="81" valign="top">Literal</td>
<td width="149" valign="top">Account</td>
</tr>
<tr>
<td width="217" valign="top">Business Component Name</td>
<td width="81" valign="top">Literal</td>
<td width="149" valign="top">Account</td>
</tr>
</tbody>
</table>
<p>Try this it will work.</p>
<p>Please share your valuable comments.<code><ins datetime="2010-03-16T16:38:20+00:00"></ins></code></p>


<p><b>Related posts:<b><ol><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>
<li><a href='http://geeksbloggingat.com/2009/05/14/siebel-sia-bc-utility-service-invoke-bc-method/' rel='bookmark' title='Permanent Link: Siebel &#8211; SIA BC Utility Service &#8211; Invoke BC Method'>Siebel &#8211; SIA BC Utility Service &#8211; Invoke BC Method</a> <small>I had discussed about the vanilla Business Service, &#8220;SIA BC...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/31/siebel-fins-industry-xml-query-service/' rel='bookmark' title='Permanent Link: Siebel &#8211; FINS Industry XML Query Service'>Siebel &#8211; FINS Industry XML Query Service</a> <small>&#8220;Extracting values from a tag deep down in the Hierarchy.&#8221;...</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/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>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://geeksbloggingat.com/2010/03/20/siebelsis-om-pmt-service/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Siebel &#8211; Run Case Insensitive queries</title>
		<link>http://geeksbloggingat.com/2009/08/17/siebel-run-case-insensitive-queries/</link>
		<comments>http://geeksbloggingat.com/2009/08/17/siebel-run-case-insensitive-queries/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 09:41:15 +0000</pubDate>
		<dc:creator>Nitin Jain</dc:creator>
				<category><![CDATA[Siebel CRM]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[Business Component]]></category>
		<category><![CDATA[CFG file]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Siebel]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://geeksbloggingat.com/?p=779</guid>
		<description><![CDATA[This is a nice tip I ran across. All the Siebel Developers use Siebel Tools and Siebel Web Client extensively. And, each one of us run over a hundred queries daily. However, when querying for some data, for eg. a Business Service Name in Tools, Siebel generally demands we enter the correct case. To streamline [...]


<b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/08/19/siebel-case-insensitivity-ciai-wizard/' rel='bookmark' title='Permanent Link: Siebel &#8211; Case Insensitivity (CIAI) Wizard'>Siebel &#8211; Case Insensitivity (CIAI) Wizard</a> <small>CIAI stands for Case Insensitive and Accent Insensitive in Siebel....</small></li>
<li><a href='http://geeksbloggingat.com/2010/02/19/siebel-unable-to-login-to-mobile-client/' rel='bookmark' title='Permanent Link: Siebel &#8211; Unable to login to mobile client'>Siebel &#8211; Unable to login to mobile client</a> <small>After long time I am writing a blog&#8230; This time...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/01/activating-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; ActivateField() split wide open'>Siebel &#8211; ActivateField() split wide open</a> <small>In Siebel, we generally tend to use the fields on...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/08/siebel-number-of-rows-displayed-in-list-applet/' rel='bookmark' title='Permanent Link: Siebel &#8211; Number of rows displayed in List Applet'>Siebel &#8211; Number of rows displayed in List Applet</a> <small>Siebel Web Client by default shows only the first 7...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; InvokeServiceMethod() on Calculated Fields'>Siebel &#8211; InvokeServiceMethod() on Calculated Fields</a> <small>InvokeServiceMethod() is used to invoke Business Services and take values...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is a nice tip I ran across. All the Siebel Developers use Siebel Tools and Siebel Web Client extensively. And, each one of us run over a hundred queries daily. However, when querying for some data, for eg. a Business Service Name in Tools, Siebel generally demands we enter the correct case. To streamline the process and improve productivity, I continuously keep making minor modifications in my environment settings.</p>
<p><span id="more-779"></span><b>Method 1:</b><br />
Open your corresponding CFG file in Edit mode (for Tools or for the Client). Navigate to the corresponding section for the Datasource, Sample, Local, Server or some other custom section. Search for the following parameter and update the value from FALSE to TRUE.</p>
<p><i>CaseInsensitive          = TRUE</i></p>
<p>This parameter is available in both the Siebel Tools and the Siebel Client CFGs, both on the Local and on the Server.</p>
<p><b>Method 2:</b><br />
This method will work on the Server.</p>
<p>In the Siebel Web Client, login with Server Admin priviledges. Navigate to the following path:<br />
Sitemap -> Administration &#8211; Server Configuration -> Profile Configuration (tab)</p>
<p>Query for the &#8216;Profile&#8217; with the name, &#8220;Server Datasource&#8221;.<br />
From the bottom-most applet, search for the parameter with Alias, &#8220;DSCaseInsensitiveFlg&#8221;. The parameter would have the &#8216;Name&#8217;, &#8220;Database Case Insensitive Flag&#8221;. Set the value to TRUE.</p>
<p>And you are ready to go.</p>
<p><b>Warning:</b><br />
There is a field level setting that makes the query on that particular field Case Sensitive or Insensitive. It appears as a property with the name &#8220;Use Default Sensitivity&#8221; corresponding to every Business Component field. </p>
<p>Siebel Help says it would work with only the Id fields, and only those Id fields which are exposed corresponding to the Business Fields. We cannot set this for eg. for the field, &#8216;Id&#8217;, corresponding to ROW_ID in the Database Column. However, in practice, this property seems to work for all the Varchar type fields.</p>
<p>Ensure the flag in this field is ticked, such that this value is always, TRUE.</p>
<p>Be fast, be more productive, Outperform!!</p>


<p><b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/08/19/siebel-case-insensitivity-ciai-wizard/' rel='bookmark' title='Permanent Link: Siebel &#8211; Case Insensitivity (CIAI) Wizard'>Siebel &#8211; Case Insensitivity (CIAI) Wizard</a> <small>CIAI stands for Case Insensitive and Accent Insensitive in Siebel....</small></li>
<li><a href='http://geeksbloggingat.com/2010/02/19/siebel-unable-to-login-to-mobile-client/' rel='bookmark' title='Permanent Link: Siebel &#8211; Unable to login to mobile client'>Siebel &#8211; Unable to login to mobile client</a> <small>After long time I am writing a blog&#8230; This time...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/01/activating-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; ActivateField() split wide open'>Siebel &#8211; ActivateField() split wide open</a> <small>In Siebel, we generally tend to use the fields on...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/08/siebel-number-of-rows-displayed-in-list-applet/' rel='bookmark' title='Permanent Link: Siebel &#8211; Number of rows displayed in List Applet'>Siebel &#8211; Number of rows displayed in List Applet</a> <small>Siebel Web Client by default shows only the first 7...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; InvokeServiceMethod() on Calculated Fields'>Siebel &#8211; InvokeServiceMethod() on Calculated Fields</a> <small>InvokeServiceMethod() is used to invoke Business Services and take values...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://geeksbloggingat.com/2009/08/17/siebel-run-case-insensitive-queries/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Siebel &#8211; Left, Right and from the Middle</title>
		<link>http://geeksbloggingat.com/2009/08/12/siebel-left-right-and-from-the-middle/</link>
		<comments>http://geeksbloggingat.com/2009/08/12/siebel-left-right-and-from-the-middle/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 09:04:28 +0000</pubDate>
		<dc:creator>Nitin Jain</dc:creator>
				<category><![CDATA[Siebel CRM]]></category>
		<category><![CDATA[Business Component]]></category>
		<category><![CDATA[Calculated Function]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Scriptless solutions]]></category>
		<category><![CDATA[Siebel]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://geeksbloggingat.com/?p=761</guid>
		<description><![CDATA[Extracting a sub string from a lengthy string in Siebel. What is the best solution you can think up for this typical problem? I know, I know, you and you colleagues have done this thousands of times before. But, have you ever successfully done it without using a single line of scripting?!! Now, it becomes [...]


<b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; InvokeServiceMethod() on Calculated Fields'>Siebel &#8211; InvokeServiceMethod() on Calculated Fields</a> <small>InvokeServiceMethod() is used to invoke Business Services and take values...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/23/siebel-make-mvg-field-required-ii/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make MVG Field required &#8211; II'>Siebel &#8211; Make MVG Field required &#8211; II</a> <small>Hi friends, This is a follow-up post of the post...</small></li>
<li><a href='http://geeksbloggingat.com/2009/04/22/siebel-make-a-field-require-conditionally/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make a field Required, conditionally'>Siebel &#8211; Make a field Required, conditionally</a> <small>There was a requirement in our project to make Account...</small></li>
<li><a href='http://geeksbloggingat.com/2009/08/13/siebel-symbolic-strings-usage/' rel='bookmark' title='Permanent Link: Siebel &#8211; Symbolic Strings &#8211; Usage'>Siebel &#8211; Symbolic Strings &#8211; Usage</a> <small>Symbolic Strings appear directly in Siebel Tools&#8217; Object Explorer, an...</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>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Extracting a sub string from a lengthy string in Siebel. What is the best solution you can think up for this typical problem? I know, I know, you and you colleagues have done this thousands of times before. But, have you ever successfully done it without using a single line of scripting?!!</p>
<p>Now, it becomes interesting! <img src='http://geeksbloggingat.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><span id="more-761"></span>Not that I am saying, it&#8217;s entirely possible only by configuration. At the very least I don&#8217;t know how it&#8217;s possible that way.</p>
<p>Let&#8217;s assume a test string:<br />
<i>var strng = &#8220;abcdefghijklmnopqrstuvwxyz1234567890&#8243;;</i></p>
<p><b>Requirement : Take the first 5 characters from the above string in another substring</b><br />
Solution 1:<br />
<i>var sub_strng = strng.substr( 0,5 );</i></p>
<p>Output:<br />
<i>abcde</i></p>
<p>Solution 2 : Using Left() function.<br />
Take it in a Calculated field. Use the expression,<br />
<i>Left( strng, 5 )</i></p>
<p>Output:<br />
<i>abcde</i><br />
I have noticed that at times, this does not work within eScript. Should work with VB and in Calculated Expressions.</p>
<p><b>Requirement : Take the last 5 characters from the above string in another substring</b><br />
Solution 1:<br />
<i>var sub_strng = strng.substr( (strng.length &#8211; 5),5 );</i></p>
<p>Output:<br />
<i>67890</i></p>
<p>Solution 2 : Using Right() function.<br />
Take it in a Calculated field. Use the expression,<br />
<i>Right( strng,5 )</i></p>
<p>Output:<br />
<i>67890</i><br />
I have noticed that at times, this does not work within eScript. Should work with VB and in Calculated Expressions.</p>
<p><b>Requirement : Take the middle 5 characters from the above string in another substring (assume &#8216;cdefg&#8217;)</b><br />
Solution 1:<br />
<i>var sub_strng = strng.substr( 2,5 );</i></p>
<p>Output:<br />
<i>cdefg</i></p>
<p>Solution 2 : Using Mid() function.<br />
Take it in a Calculated field. Use the expression,<br />
<i>Mid( strng,2,5 )</i></p>
<p>Output:<br />
<i>cdefg</i><br />
I have noticed that at times, this does not work within eScript. Should work with VB and in Calculated Expressions.</p>
<p>Using Calculated Expressions where these are very commonly required, does save scripting at times.</p>
<p>Trust me, this really works!! <img src='http://geeksbloggingat.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>


<p><b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; InvokeServiceMethod() on Calculated Fields'>Siebel &#8211; InvokeServiceMethod() on Calculated Fields</a> <small>InvokeServiceMethod() is used to invoke Business Services and take values...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/23/siebel-make-mvg-field-required-ii/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make MVG Field required &#8211; II'>Siebel &#8211; Make MVG Field required &#8211; II</a> <small>Hi friends, This is a follow-up post of the post...</small></li>
<li><a href='http://geeksbloggingat.com/2009/04/22/siebel-make-a-field-require-conditionally/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make a field Required, conditionally'>Siebel &#8211; Make a field Required, conditionally</a> <small>There was a requirement in our project to make Account...</small></li>
<li><a href='http://geeksbloggingat.com/2009/08/13/siebel-symbolic-strings-usage/' rel='bookmark' title='Permanent Link: Siebel &#8211; Symbolic Strings &#8211; Usage'>Siebel &#8211; Symbolic Strings &#8211; Usage</a> <small>Symbolic Strings appear directly in Siebel Tools&#8217; Object Explorer, an...</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>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://geeksbloggingat.com/2009/08/12/siebel-left-right-and-from-the-middle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Siebel 7.x &#8211; Party Model Changes</title>
		<link>http://geeksbloggingat.com/2009/05/21/siebel7-party-model-changes/</link>
		<comments>http://geeksbloggingat.com/2009/05/21/siebel7-party-model-changes/#comments</comments>
		<pubDate>Wed, 20 May 2009 20:40:24 +0000</pubDate>
		<dc:creator>brijesh</dc:creator>
				<category><![CDATA[Siebel CRM]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[Business Component]]></category>
		<category><![CDATA[EAI]]></category>
		<category><![CDATA[EIM]]></category>
		<category><![CDATA[Siebel]]></category>
		<category><![CDATA[S_PARTY]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://geeksbloggingat.com/?p=274</guid>
		<description><![CDATA[After introduction of party model, the table structure (as far as EIM is concerned) have changed tremendously. The largest data model change involves the Party model, which I think is basis of post siebel 7 releases. Accounts, Organizations, Internal Divisions, Contacts, Employees, Positions, and Households are all party entities and are the logical extension table [...]


<b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/06/02/siebel-eim-custom-column-mapping/' rel='bookmark' title='Permanent Link: Siebel EIM &#8211; Custom column mapping'>Siebel EIM &#8211; Custom column mapping</a> <small>It&#8217;s a very basic concept explaining how we can generate...</small></li>
<li><a href='http://geeksbloggingat.com/2009/08/04/siebel-eim-career-a-day-in-life/' rel='bookmark' title='Permanent Link: Siebel EIM Career &#8211; A day in Life'>Siebel EIM Career &#8211; A day in Life</a> <small>Consider this article as a simple overview of Siebel EIM....</small></li>
<li><a href='http://geeksbloggingat.com/2009/08/06/siebel-eim-using-synonyms/' rel='bookmark' title='Permanent Link: Siebel EIM &#8211; USING SYNONYMS'>Siebel EIM &#8211; USING SYNONYMS</a> <small>Performance is always a major issue in most of the...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/09/siebel-eim-custom-table-mapping/' rel='bookmark' title='Permanent Link: Siebel EIM &#8211; Custom table mapping'>Siebel EIM &#8211; Custom table mapping</a> <small>This article is similar to my previous article (Siebel EIM...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/01/siebel-eai-queue/' rel='bookmark' title='Permanent Link: Siebel &#8211; EAI Queue'>Siebel &#8211; EAI Queue</a> <small>Okay, what are you thinking about? Is it Middlewares in...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After introduction of party model, the table structure (as far as EIM is concerned) have changed tremendously. The largest data model change involves the Party model, which I think is basis of post siebel 7 releases. Accounts, Organizations, Internal Divisions, Contacts, Employees, Positions, and Households are all party entities and are the logical extension table of S_PARTY and they all have the corresponding entry in S_PARTY base table and the data is brought into the business components through an implicit join (PLEASE NOTE THEY ARE NOT EXPLICIT JOINS).</p>
<p><span id="more-274"></span>Some of the major data model changes are also related to this new model. Employees and Contacts have been combined into the same table (S_CONTACT) and similarly, internal and external Organizations have been combined into one table (S_ORG_EXT), in pre 7 releases of siebel employees and internal organizations are stored in S_EMPLOYEE and S_ORG_INT respectively means there tables have gotten obsolete.</p>
<p>The S_PARTY table is the primary table and is the single entity to store all party types – organization units (both external and internal), positions, access groups, user lists, households, contacts, and employees.</p>
<p>So in nutshell following are the new tables or we can say modified functionality tables in siebel:<br />
• S_USER (For siebel Users)<br />
• S_CONTACT (contacts, employees)<br />
• S_ORG_EXT organizations (internal, external)<br />
• S_POSTN (positions)<br />
• S_ORG_GROUP (Households)<br />
• S_PARTY_GROUP (Access Groups: To implement data security one of the major changes)<br />
• S_USERLIST (user lists)<br />
• S_BU (Internal Organizations)</p>
<p>Non-person party entities will have directly or indirectly ralation with employees and contacts.</p>
<p><strong>Data Migration Changes:</strong></p>
<p>All relation based tables have changed in post 7 releases the following tables have gotten obsolete:</p>
<table border="1" align="left">
<tbody>
<tr>
<th>Old Table (pre 7 release)</th>
<th>New Table (post 7 release)</th>
</tr>
<tr>
<td>S_ORG_REL</td>
<td>S_PARTY_REL<br />
(hold relationships between account and party entities)</td>
</tr>
<tr>
<td>S_CONTACT_REL</td>
<td>S_PARTY_REL<br />
(hold relationships between contact and party entities)</td>
</tr>
<tr>
<td>S_PER_ORG_UNIT</td>
<td>S_PARTY_PER<br />
(hold relationships between account and party contact etc. or more generic it stores the ralationship between party and person)</td>
</tr>
<tr>
<td>S_ORG_INT</td>
<td>S_ORG_EXT<br />
(For both internal and external organization.)</td>
</tr>
<tr>
<td>S_EMP_POSTN</td>
<td>S_PARTY_PER</td>
</tr>
<tr>
<td>S_EMPLOYEE</td>
<td>S_CONTACT</td>
</tr>
<tr>
<td>S_POSTN_RPT_REL</td>
<td>S_PARTY_PER</td>
</tr>
</tbody>
</table>


<p><b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/06/02/siebel-eim-custom-column-mapping/' rel='bookmark' title='Permanent Link: Siebel EIM &#8211; Custom column mapping'>Siebel EIM &#8211; Custom column mapping</a> <small>It&#8217;s a very basic concept explaining how we can generate...</small></li>
<li><a href='http://geeksbloggingat.com/2009/08/04/siebel-eim-career-a-day-in-life/' rel='bookmark' title='Permanent Link: Siebel EIM Career &#8211; A day in Life'>Siebel EIM Career &#8211; A day in Life</a> <small>Consider this article as a simple overview of Siebel EIM....</small></li>
<li><a href='http://geeksbloggingat.com/2009/08/06/siebel-eim-using-synonyms/' rel='bookmark' title='Permanent Link: Siebel EIM &#8211; USING SYNONYMS'>Siebel EIM &#8211; USING SYNONYMS</a> <small>Performance is always a major issue in most of the...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/09/siebel-eim-custom-table-mapping/' rel='bookmark' title='Permanent Link: Siebel EIM &#8211; Custom table mapping'>Siebel EIM &#8211; Custom table mapping</a> <small>This article is similar to my previous article (Siebel EIM...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/01/siebel-eai-queue/' rel='bookmark' title='Permanent Link: Siebel &#8211; EAI Queue'>Siebel &#8211; EAI Queue</a> <small>Okay, what are you thinking about? Is it Middlewares in...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://geeksbloggingat.com/2009/05/21/siebel7-party-model-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Siebel &#8211; InvokeServiceMethod() on Calculated Fields</title>
		<link>http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/</link>
		<comments>http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/#comments</comments>
		<pubDate>Sun, 10 May 2009 02:45:56 +0000</pubDate>
		<dc:creator>Prachi Sharma</dc:creator>
				<category><![CDATA[Siebel CRM]]></category>
		<category><![CDATA[Business Component]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[eScript]]></category>
		<category><![CDATA[Siebel]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://geeksbloggingat.com/?p=253</guid>
		<description><![CDATA[InvokeServiceMethod() is used to invoke Business Services and take values from it in case of Calculated Fields. I actually wanted to post on something else, but, I guess this has to be a precursor to it. All of us know of Calculated Fields in Siebel Business Components. I am sure they must have solved some [...]


<b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/05/16/siebel-millisecond-dates-on-applet/' rel='bookmark' title='Permanent Link: Siebel &#8211; millisecond dates on Applet'>Siebel &#8211; millisecond dates on Applet</a> <small>I had discussed in my previous posts about invoking a...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/01/activating-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; ActivateField() split wide open'>Siebel &#8211; ActivateField() split wide open</a> <small>In Siebel, we generally tend to use the fields on...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/22/siebel-make-mvg-field-required/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make MVG Field required'>Siebel &#8211; Make MVG Field required</a> <small>Siebel supports the concept of Multi Valued Fields, or the...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/23/siebel-make-mvg-field-required-ii/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make MVG Field required &#8211; II'>Siebel &#8211; Make MVG Field required &#8211; II</a> <small>Hi friends, This is a follow-up post of the post...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/15/siebel-getmilliseconds-usage/' rel='bookmark' title='Permanent Link: Siebel &#8211; getMilliseconds() usage'>Siebel &#8211; getMilliseconds() usage</a> <small>Siebel by default displays all dates in the system accurate...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>InvokeServiceMethod() is used to invoke Business Services and take values from it in case of Calculated Fields.</p>
<p>I actually wanted to post on something else, but, I guess this has to be a precursor to it.</p>
<p>All of us know of Calculated Fields in Siebel Business Components. I am sure they must have solved some very big problems for you at times, as they have for me. However, not all of us know that we can actually invoke Business Service scripts from within the Calculated Fields, rather than just calling some in built functions or playing around with the other fields in the BC. This functionality enhances the already huge functionality of the Calculated Fields in Siebel.</p>
<p><span id="more-253"></span>For demonstration, I will first create a new Dummy Business Service, and then invoke it from BC.</p>
<p>Create a new Business Service in Siebel Tools by the name, &#8220;Dummy InvokeServiceMethod Test BS&#8221;.<br />
Define a method in this BS, &#8220;md_SumVals()&#8221;. Following is a sample code snippet:</p>
<p>function Service_PreInvokeMethod (MethodName, Inputs, Outputs)<br />
{<br />
if(MethodName == &#8220;md_SumVals&#8221;)<br />
{<br />
var num1 = Inputs.GetProperty(&#8220;Num1&#8243;);<br />
var num2 = Inputs.GetProperty(&#8220;Num2&#8243;);<br />
var Out_Sum = num1 + &#8220;,&#8221; + num2;<br />
Outputs.SetProperty(&#8220;Out_Sum&#8221;, Out_Sum);<br />
return(CancelOperation);<br />
}</p>
<p>return (CancelOperation);<br />
}</p>
<p>Client side BS also works in this case.<br />
This BS is now ready to return the Sum of the two input values in the Output Property, &#8220;Out_Sum&#8221;.</p>
<p>Now, add a new field, &#8220;SumVals&#8221; in the BC where this value needs to be exposed. Tick mark the &#8220;Calculated&#8221; property to TRUE for this field. In the column for Calculated Value, enter the expression:</p>
<p>InvokeServiceMethod(&#8220;Dummy InvokeServiceMethod Test BS&#8221;,&#8221;md_SumVals&#8221;,&#8221;num1=3, num2=4&#8243;, &#8220;Out_Sum&#8221;)</p>
<p>The general syntax for invoking this method is:<br />
InvokeServiceMethod (&#8220;[ServiceName]&#8220;, &#8220;[MethodName]&#8220;, &#8220;[InputProp1=val1, InputProp2=val2]&#8220;, &#8220;[OutputProp]&#8220;)</p>
<p>This will now return the sum of the two input numbers. This example can be expanded in a variety of ways for complex Siebel operations.</p>
<p>I would like to emphasize for one and all to minimize scripting since Scripts are not recommended as part of Siebel Best practices. It is very rare that you would run out of all the other options and have to use InvokeServiceMethod on a Calculated Field. The requirement has to be really really complex in this case, I guess!</p>


<p><b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/05/16/siebel-millisecond-dates-on-applet/' rel='bookmark' title='Permanent Link: Siebel &#8211; millisecond dates on Applet'>Siebel &#8211; millisecond dates on Applet</a> <small>I had discussed in my previous posts about invoking a...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/01/activating-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; ActivateField() split wide open'>Siebel &#8211; ActivateField() split wide open</a> <small>In Siebel, we generally tend to use the fields on...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/22/siebel-make-mvg-field-required/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make MVG Field required'>Siebel &#8211; Make MVG Field required</a> <small>Siebel supports the concept of Multi Valued Fields, or the...</small></li>
<li><a href='http://geeksbloggingat.com/2009/06/23/siebel-make-mvg-field-required-ii/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make MVG Field required &#8211; II'>Siebel &#8211; Make MVG Field required &#8211; II</a> <small>Hi friends, This is a follow-up post of the post...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/15/siebel-getmilliseconds-usage/' rel='bookmark' title='Permanent Link: Siebel &#8211; getMilliseconds() usage'>Siebel &#8211; getMilliseconds() usage</a> <small>Siebel by default displays all dates in the system accurate...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Siebel &#8211; ActivateField() split wide open</title>
		<link>http://geeksbloggingat.com/2009/05/01/activating-fields/</link>
		<comments>http://geeksbloggingat.com/2009/05/01/activating-fields/#comments</comments>
		<pubDate>Fri, 01 May 2009 04:16:56 +0000</pubDate>
		<dc:creator>Himanshu Bajpai</dc:creator>
				<category><![CDATA[Siebel CRM]]></category>
		<category><![CDATA[Business Component]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[eScript]]></category>
		<category><![CDATA[Siebel]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://geeksbloggingat.com/?p=186</guid>
		<description><![CDATA[In Siebel, we generally tend to use the fields on the BC level in a number of ways, one of them being their use in Siebel scripts. The most common functions for operating on BC fields are GetFieldValue() and SetFieldValue() used for getting a value, or setting a value of the corresponding field in the [...]


<b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/06/22/siebel-make-mvg-field-required/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make MVG Field required'>Siebel &#8211; Make MVG Field required</a> <small>Siebel supports the concept of Multi Valued Fields, or the...</small></li>
<li><a href='http://geeksbloggingat.com/2009/08/17/siebel-run-case-insensitive-queries/' rel='bookmark' title='Permanent Link: Siebel &#8211; Run Case Insensitive queries'>Siebel &#8211; Run Case Insensitive queries</a> <small>This is a nice tip I ran across. All the...</small></li>
<li><a href='http://geeksbloggingat.com/2009/07/23/siebel-fetch-active-view-properties-ii/' rel='bookmark' title='Permanent Link: Siebel &#8211; Fetch Active view properties &#8211; II'>Siebel &#8211; Fetch Active view properties &#8211; II</a> <small>We discussed about fetching the values from the active view...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; InvokeServiceMethod() on Calculated Fields'>Siebel &#8211; InvokeServiceMethod() on Calculated Fields</a> <small>InvokeServiceMethod() is used to invoke Business Services and take values...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/17/siebel-defaultfocus-user-property/' rel='bookmark' title='Permanent Link: Siebel &#8211; DefaultFocus &#8211; User Property'>Siebel &#8211; DefaultFocus &#8211; User Property</a> <small>In Siebel Application, whenever you navigate to a screen, the...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In Siebel, we generally tend to use the fields on the BC level in a number of ways, one of them being their use in Siebel scripts. The most common functions for operating on BC fields are GetFieldValue() and SetFieldValue() used for getting a value, or setting a value of the corresponding field in the BC. However, Siebel requires using ActivateField() before operating on any field of the BC.</p>
<p>Fields that are not active at runtime should not be used in script. Runtime errors, flawed logic and lost data may be the result of such a practice.</p>
<p><span id="more-186"></span>Following are the fields that are active by default.<br />
• System fields (Id, Created, Created By, Updated, Updated By)<br />
• Fields with their Link Spec property (on the business component object) set to TRUE<br />
• Fields with their Force Active property (on the business component object) set to TRUE<br />
• Fields included in the definition of an applet on the active view, even if the field’s Show In List property (for List Applets in Siebel 7.x) or its Visible property (for Form Applets in Siebel 7.x) is set to FALSE (on the applet object). </p>
<p>Note that a list column must be bound to a web template to actually be included in the SQL. Simply defining the column in the applet’s definition will not make a field active as of 7.5.2.200.<br />
• Fields activated with BusComp.ActivateField(“”) are active for the lifetime of the BusComp object variable or until deactivated explicitly by the DeactivateFields method.<br />
• Fields that are used as part of a calculated field calculation when the calculated field is retrieved for use on the active applet.</p>
<p>If any of the above circumstances is not true then the field will not be retrieved in the SQL statement for the business component. This means that no value is available to GetFieldValue and subsequent updates with WriteRecord will not have a database column to update since it was not included in the original SQL statement. </p>
<p>Both cases have a severe impact. Whether<br />
• The ActivateField() method is used incorrectly, or<br />
• The ActivateField() method causes the specified field to be included in the SQL statement for the subsequent ExecuteQuery() method call. A call to ActivateField() is relevant only if followed by a call to the ExecuteQuery() method.</p>
<p>Retrieving and updating fields using BC.GetFieldValue() or BC.SetFieldValue() methods before a query has been executed will not work as expected. If the script calls GetFieldValue before a field has been properly activated and retrieved, GetFieldValue will return a runtime error will occur for the use of GetFieldValue or SetFieldValue where a field has not been activated.</p>
<p>While working with the Siebel Data Server from an external VB/Java application, for example, the Siebel Data Server is not aware of any applet definitions and, therefore, will not include the fields defined on an applet. Script must use the ActivateField method to retrieve the desired fields in a query in this case. This is also true when interacting with the Siebel Database using the Siebel Business Objects Interface Type Library.</p>
<p>Let&#8217;s wait for more on ActivateField().</p>


<p><b>Related posts:<b><ol><li><a href='http://geeksbloggingat.com/2009/06/22/siebel-make-mvg-field-required/' rel='bookmark' title='Permanent Link: Siebel &#8211; Make MVG Field required'>Siebel &#8211; Make MVG Field required</a> <small>Siebel supports the concept of Multi Valued Fields, or the...</small></li>
<li><a href='http://geeksbloggingat.com/2009/08/17/siebel-run-case-insensitive-queries/' rel='bookmark' title='Permanent Link: Siebel &#8211; Run Case Insensitive queries'>Siebel &#8211; Run Case Insensitive queries</a> <small>This is a nice tip I ran across. All the...</small></li>
<li><a href='http://geeksbloggingat.com/2009/07/23/siebel-fetch-active-view-properties-ii/' rel='bookmark' title='Permanent Link: Siebel &#8211; Fetch Active view properties &#8211; II'>Siebel &#8211; Fetch Active view properties &#8211; II</a> <small>We discussed about fetching the values from the active view...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/10/siebel-invokeservicemethod-on-calculated-fields/' rel='bookmark' title='Permanent Link: Siebel &#8211; InvokeServiceMethod() on Calculated Fields'>Siebel &#8211; InvokeServiceMethod() on Calculated Fields</a> <small>InvokeServiceMethod() is used to invoke Business Services and take values...</small></li>
<li><a href='http://geeksbloggingat.com/2009/05/17/siebel-defaultfocus-user-property/' rel='bookmark' title='Permanent Link: Siebel &#8211; DefaultFocus &#8211; User Property'>Siebel &#8211; DefaultFocus &#8211; User Property</a> <small>In Siebel Application, whenever you navigate to a screen, the...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://geeksbloggingat.com/2009/05/01/activating-fields/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

