<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>code siblings,adventures,songs and excerpts of my daily work</title>
	<atom:link href="http://ambatisreedharworks.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ambatisreedharworks.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sat, 24 Dec 2011 10:53:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ambatisreedharworks.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9622afcc035dc15d310a47c5e8c1bbb1?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>code siblings,adventures,songs and excerpts of my daily work</title>
		<link>http://ambatisreedharworks.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ambatisreedharworks.wordpress.com/osd.xml" title="code siblings,adventures,songs and excerpts of my daily work" />
	<atom:link rel='hub' href='http://ambatisreedharworks.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sharepoint Notes : Content Types &#8211; Featurs</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-notes-content-types-featurs/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-notes-content-types-featurs/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 10:53:54 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint Notes]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=286</guid>
		<description><![CDATA[&#160; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; http://office.microsoft.com/en-us/windows-sharepoint-services-help/introduction-to-content-types-HA010121570.aspx What is a content type? In the course of a single project, a business might produce several different kinds of content, for example, proposals, legal contracts, statements of work, and product design specifications. Although these documents might be stored together because they are related to a single project, they can be created, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=286&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<a href="http://office.microsoft.com/en-us/windows-sharepoint-services-help/introduction-to-content-types-HA010121570.aspx">http://office.microsoft.com/en-us/windows-sharepoint-services-help/introduction-to-content-types-HA010121570.aspx</a></p>
<p>What is a content type?<br />
In the course of a single project, a business might produce several different kinds of content, for example, proposals, legal contracts, statements of work, and product design specifications. Although these documents might be stored together because they are related to a single project, they can be created, used, shared, and retained in different ways. A business might want to collect and maintain different kinds of metadata about each kind of content.</p>
<p>Windows SharePoint Services 3.0 enables organizations to define these different sets of documents as content types. A content type is a group of reusable settings that describe the shared behaviors for a specific type of content. Content types can be defined for any item type in Windows SharePoint Services 3.0, including documents, list items, or folders. Each content type can specify:</p>
<p>The columns (metadata) that you want to assign to items of this type.<br />
The document template on which to base new items of this type (document content types only).<br />
The custom New, Edit, and Display forms to use with this content type.<br />
The workflows that are available for items of this content type.<br />
The custom solutions or features that are associated with items of this content type.<br />
Content types provide organizations with a way to manage and organize content consistently across different lists and libraries in a site collection (site collection: A set of Web sites on a virtual server that have the same owner and share administration settings. Each site collection contains a top-level Web site and can contain one or more subsites.), and they also make it possible for a single list or library to contain multiple item types or document types.</p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8212;&#8212;-</p>
<p>&nbsp;</p>
<p>A content type is a reusable collection of metadata (columns), workflow, behavior, and other settings for a category of items or documents in a Microsoft SharePoint Foundation 2010 list or document library. Content types enable you to manage the settings for a category of information in a centralized, reusable way.</p>
<p>For example, imagine a business situation in which you have three different types of documents: expense reports, purchase orders, and invoices. All three types of documents have some characteristics in common; for one thing, they are all financial documents and contain data with values in currency. Yet each type of document has its own data requirements, its own document template, and its own workflow. One solution to this business problem is to create four content types. The first content type, Financial Document, could encapsulate data requirements that are common to all financial documents in the organization. The remaining three, Expense Report, Purchase Order, and Invoice, could inherit common elements from Financial Document. In addition, they could define characteristics that are unique to each type, such as a particular set of metadata, a document template to be used in creating a new item, and a specific workflow for processing an item.</p>
<p>Content Type Scope</p>
<p>The Microsoft SharePoint Foundation site in which you create a content type determines its scope—that is, the extent of its availability. A site content type becomes available to lists and document libraries within the site on which the content type is created, and also to lists and document libraries in any child site.</p>
<p>Content Type Features<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Content types are a site-scoped Feature. Features are a way of encapsulating SharePoint Foundation functionality for ease of distribution and deployment. Features provide a mechanism by which you can package the files that a solution needs, such as content types, Web Parts, lists, and site definitions. You can package the necessary files into a .wsp file, which is basically a .cab file that contains a manifest that lists its contents.</p>
<p>Inside the Feature, the feature.xml file contains references to all the element manifests within that Feature. Content type definitions are element manifests. You must create a content type definition for each content type that is included in your Feature.</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/sharepoint/'>Sharepoint</a>, <a href='http://ambatisreedharworks.wordpress.com/category/sharepoint-notes/'>Sharepoint Notes</a> Tagged: <a href='http://ambatisreedharworks.wordpress.com/tag/sharepoint-notes/'>Sharepoint Notes</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=286&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-notes-content-types-featurs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
		<item>
		<title>MS CRM Notes</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/24/ms-crm-notes/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/24/ms-crm-notes/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 08:42:22 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[Microsoft CRM Notes]]></category>
		<category><![CDATA[MSCRM]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=282</guid>
		<description><![CDATA[FetchXML Builder Plugin Developer writing Workflows Form Builder Different Views: Form View Advanced Find Lookup Views Quick View Associated View &#8211; On Demand Workflow Manual workflow On REcord is Created/deleted Record status change Record is assigned Record field is changed Status and Status Reason Values for Select Entities Entity Status values Status Reason values Account    Active [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=282&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>FetchXML Builder</p>
<p>Plugin Developer</p>
<p>writing Workflows</p>
<p>Form Builder</p>
<p>Different Views:</p>
<p>Form View</p>
<p>Advanced Find</p>
<p>Lookup Views</p>
<p>Quick View</p>
<p>Associated View</p>
<p>&#8211;</p>
<p><strong>On Demand Workflow</strong></p>
<p><strong>Manual workflow</strong></p>
<p>On REcord is Created/deleted</p>
<p>Record status change</p>
<p>Record is assigned</p>
<p>Record field is changed</p>
<p align="left">Status and Status Reason Values for Select Entities</p>
<p>Entity Status values Status Reason values</p>
<p align="left">Account    Active Inactive                         Active Inactive</p>
<p align="left">Case           Active Resolved  Canceled          In Progress On Hold  Waiting for Details Researching Problem Solved Canceled</p>
<p align="left">Lead        Open  Qualified Disqualified         New Contacted Qualified  Lost  Cannot Contact  No Longer Interested Canceled</p>
<p>&#8212;</p>
<p>System Jobs to monitor</p>
<p>Workflow step editor  : define steps in workflow</p>
<p><strong></strong> </p>
<p><strong>Code :</strong><br />
<strong></strong><br />
using System;<br />
using System.IO;<br />
using System.Net;<br />
using System.ComponentModel;<br />
using System.ComponentModel.Design;<br />
using System.Collections;<br />
using System.Workflow.ComponentModel.Compiler;<br />
using System.Workflow.ComponentModel.Serialization;<br />
using System.Workflow.ComponentModel;<br />
using System.Workflow.ComponentModel.Design;<br />
using System.Workflow.Runtime;<br />
using System.Workflow.Activities;<br />
using System.Workflow.Activities.Rules;<br />
using Microsoft.Crm.Sdk;<br />
using Microsoft.Crm.SdkTypeProxy;</p>
<p>using Microsoft.Crm.Workflow;<br />
using Microsoft.Crm.Workflow.Activities;<br />
using Microsoft.Crm.Sdk.Query;</p>
<p>namespace Updatingincident<br />
{<br />
[CrmWorkflowActivity("updating incident", "cal")]</p>
<p>public partial class calculate : SequenceActivity<br />
{<br />
protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext)<br />
{</p>
<p>IContextService contextService = (IContextService)executionContext.GetService(typeof(IContextService));<br />
IWorkflowContext context = contextService.Context;</p>
<p>ICrmService crmService = context.CreateCrmService();</p>
<p>WhoAmIRequest systemUserRequest = new WhoAmIRequest();<br />
WhoAmIResponse systemUser = (WhoAmIResponse)crmService.Execute(systemUserRequest);</p>
<p>// using the GUID of current case</p>
<p>ColumnSet cols = new ColumnSet();<br />
Guid guidID = new Guid(this.objectID.Value.ToString());</p>
<p>incident ret = (incident)crmService.Retrieve(EntityName.incident.ToString(), guidID, new AllColumns());</p>
<p>DateTime a = DateTime.Parse(this.startdate.date);</p>
<p>DateTime b = DateTime.Parse(this.enddate.date);</p>
<p>TimeSpan tid = b – a;</p>
<p>CrmNumber tes = new CrmNumber();<br />
tes.Value = tid.Days;<br />
// i will use existing field on CRM incident to hold the integer value.</p>
<p>ret.actualserviceunits = tes;</p>
<p>// updating the case entity<br />
crmService.Update(reto);</p>
<p>return ActivityExecutionStatus.Closed;<br />
}</p>
<p>// getting the id of case</p>
<p>public static DependencyProperty objectIDProperty = DependencyProperty.Register(“objectID”, typeof(Lookup), typeof(calculate));</p>
<p>[CrmInput(" objectID")]<br />
[CrmReferenceTarget("incident")]<br />
public Lookup objectID<br />
{<br />
get<br />
{<br />
return (Lookup)base.GetValue(objectIDProperty);<br />
}<br />
set<br />
{<br />
base.SetValue(objectIDProperty, value);<br />
}</p>
<p>}</p>
<p>// start date as input parameter</p>
<p>public static DependencyProperty startdateProperty = DependencyProperty.Register(“startdate”, typeof(CrmDateTime), typeof(calculate));</p>
<p>[CrmInput(" startdate")]</p>
<p>public CrmDateTime startdate<br />
{<br />
get<br />
{<br />
return (CrmDateTime)base.GetValue(startdateProperty);<br />
}<br />
set<br />
{<br />
base.SetValue(startdateProperty, value);<br />
}<br />
}</p>
<p>// End date as input parameter</p>
<p>public static DependencyProperty enddateProperty = DependencyProperty.Register(“enddate”, typeof(CrmDateTime), typeof(calculate));</p>
<p>[CrmInput(" enddate")]</p>
<p>public CrmDateTime enddate<br />
{<br />
get<br />
{<br />
return (CrmDateTime)base.GetValue(enddateProperty);<br />
}<br />
set<br />
{<br />
base.SetValue(enddateProperty, value);<br />
}<br />
}</p>
<p>}<br />
}</p>
<p><strong>Register the assembly</strong></p>
<p>Now we need to register the Custom assembly as pulgin . I would be using plugin developer to register this assembly.</p>
<p>In MS CRM for a task go to workflows -&gt; Add Step Conditio-&gt; WorkflowUtilities</p>
<p> &#8212;&#8212;&#8212;&#8212;</p>
<p align="left">Add Step choices available  to you with the workflow editor:</p>
<p align="left"><span style="font-family:Segoe;font-size:x-small;">Check conditions</span></p>
<p align="left"> <span style="font-family:Segoe;font-size:x-small;">Wait conditions</span></p>
<p align="left"> <span style="font-family:Segoe;font-size:x-small;">Workflow actions</span></p>
<p align="left"> <span style="font-family:Segoe;font-size:x-small;">Stages</span></p>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/microsoft-crm-notes/'>Microsoft CRM Notes</a> Tagged: <a href='http://ambatisreedharworks.wordpress.com/tag/mscrm/'>MSCRM</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=282&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/24/ms-crm-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
		<item>
		<title>MS CRM 4 Notes</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/24/ms-crm-4-notes/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/24/ms-crm-4-notes/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 07:18:26 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[Microsoft CRM Notes]]></category>
		<category><![CDATA[Microsoft Dynamics]]></category>
		<category><![CDATA[MSCRM4]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=279</guid>
		<description><![CDATA[CRM 4.0 Concepts: What are Leads, Contacts and Opportunities? The thinking behind separating Leads and Contacts in Microsoft Dynamics CRM is to separate the unqualified sales leads from the qualified sales opportunities. The goal is to keep your sales team from spending time on disinterested leads, and focusing on getting real results for your Sales [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=279&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<h1>CRM 4.0 Concepts: What are Leads, Contacts and Opportunities?</h1>
</div>
<div>
<p>The thinking behind separating Leads and Contacts in Microsoft Dynamics CRM is to separate the unqualified sales leads from the qualified sales opportunities. The goal is to keep your sales team from spending time on disinterested leads, and focusing on getting real results for your Sales Pipeline report.</p>
<p>CRM Leads</p>
<ul>
<li><a href="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-lead-screenshot.jpg"><img src="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-lead-screenshot.jpg?w=300" alt="" width="238" height="137" /></a>Contacts or companies that are essentially un-qualified sales leads. In general, there is no current or past relationship history with these leads.</li>
<li>CRM Leads should be qualified as a potential customer before they are “promoted” to a CRM Contact and/or CRM Opportunity.</li>
<li>CRM Leads are NOT synchronized with the Outlook CRM Client, therefore they will NOT be listed as Outlook Contacts. Leads can only be managed via CRM.</li>
<li>
<div>Examples:</div>
<ul>
<li>Web visitors who had submitted a website questionnaire, and additional follow-up is needed.</li>
<li>Imported contacts from a third party list.</li>
<li>Business cards procured from an event or tradeshow.</li>
</ul>
</li>
</ul>
<p>CRM Contacts</p>
<ul>
<li><a href="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-contact-screenshot.jpg"><img src="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-contact-screenshot.jpg?w=300" alt="" width="235" height="134" /></a>In a nutshell, CRM Contacts are the people that your company will have or already has an on-going relationship.</li>
<li>CRM Contacts typically had been qualified as a potential sales opportunity at one point. Contacts may also have different types of relationships with your company, such as a vendor.</li>
<li>CRM Contacts are synchronized with the Outlook CRM Client, therefore their contact information can be available in your Outlook Contacts.</li>
<li>
<div>Examples:</div>
<ul>
<li>Existing Clients.</li>
<li>Potential Clients going through the sales process.</li>
<li>Vendor Contacts.</li>
<li>Any contact where your company has the need to record activities and relationships.</li>
</ul>
</li>
</ul>
<p>CRM Opportunities</p>
<ul>
<li><a href="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-opp-screenshot.jpg"><img src="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-opp-screenshot.jpg?w=300" alt="" width="235" height="137" /></a>The CRM Opportunity signals the kickoff of your company’s sales process with a potential or existing client.</li>
<li>The history of Open, Won or Lost Opportunities can always be found in the related Account or Contact record.</li>
<li>
<div>All metrics related to the opportunity are measured here, such as:</div>
<ul>
<li>Estimated Revenue.</li>
<li>Percent Probability of Closing.</li>
<li>Sales Stages.</li>
<li>Rating (Hot, Warm, Cold).</li>
<li>Follow-up activities related to the opportunity.</li>
</ul>
</li>
</ul>
</div>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/microsoft-crm-notes/'>Microsoft CRM Notes</a>, <a href='http://ambatisreedharworks.wordpress.com/category/microsoft-dynamics/'>Microsoft Dynamics</a> Tagged: <a href='http://ambatisreedharworks.wordpress.com/tag/mscrm4/'>MSCRM4</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=279&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/24/ms-crm-4-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>

		<media:content url="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-lead-screenshot.jpg?w=300" medium="image" />

		<media:content url="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-contact-screenshot.jpg?w=300" medium="image" />

		<media:content url="http://crmdynamo.com/wp-content/uploads/2008/06/crm-v4-opp-screenshot.jpg?w=300" medium="image" />
	</item>
		<item>
		<title>Sharepoint 2010 workflows</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-2010-workflows/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-2010-workflows/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 07:00:48 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[Sharepoint Notes]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=276</guid>
		<description><![CDATA[http://www.slideshare.net/pwicklund/sharepoint-2010-workflows http://www.sharepointmonitor.com/register/?redirect_to=http://www.sharepointmonitor.com/2010/02/custom-workflows-sharepoint-designer-2010/2/ types of workflows: 1.List 2.Content Type (Reusable ) 3. Sites Out of box workflows: 1.Approval 2.Collect feedback 3.Collect signature 4. Three state 5. Disposition 6,Translation Mngt Defining sharepoint custom sequential workflow thru code: http://msdn.microsoft.com/en-us/library/gg265727.aspx &#160; When to go for Visual Studio workflows in place of sharepoint designers: &#160; When should I use Visual Studio [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=276&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.slideshare.net/pwicklund/sharepoint-2010-workflows">http://www.slideshare.net/pwicklund/sharepoint-2010-workflows</a></p>
<p><a href="http://www.sharepointmonitor.com/register/?redirect_to=http://www.sharepointmonitor.com/2010/02/custom-workflows-sharepoint-designer-2010/2/">http://www.sharepointmonitor.com/register/?redirect_to=http://www.sharepointmonitor.com/2010/02/custom-workflows-sharepoint-designer-2010/2/</a></p>
<p>types of workflows:</p>
<p>1.List</p>
<p>2.Content Type (Reusable )</p>
<p>3. Sites</p>
<p>Out of box workflows:</p>
<p>1.Approval</p>
<p>2.Collect feedback</p>
<p>3.Collect signature</p>
<p>4. Three state</p>
<p>5. Disposition</p>
<p>6,Translation Mngt</p>
<p>Defining sharepoint custom sequential workflow thru code:</p>
<p><a href="http://msdn.microsoft.com/en-us/library/gg265727.aspx">http://msdn.microsoft.com/en-us/library/gg265727.aspx</a></p>
<p>&nbsp;</p>
<p>When to go for Visual Studio workflows in place of sharepoint designers:</p>
<p>&nbsp;</p>
<h2>When should I use Visual Studio for Workflow?</h2>
<p>As I mentioned earlier SharePoint Designer (SPD) is a great platform for developing basic workflows, however it has several limitations and in some cases these can mean that you have to look at Visual Studio as the solution for your workflow design.</p>
<p>In my experience the limitations of SPD are as follows:</p>
<ol>
<li>Workflows are bound to a specific list/site<br />
 In SPD any workflow you create can only exist on the list (and in the site) that you created the workflow on.  You cannot design a workflow and then move it to another site.</li>
<li>No code support<br />
You cannot write custom code within the SPD workflow tools.  You can write custom activities to include in SPD, but you would need to do that in Visual Studio anyway.</li>
<li>No WSS Solution Package (WSP) support<br />
Your workflow will be deployed to the site via SPD and there is no support for packaging these as WSP files, which provide a more maintainable and upgradeable method of deploying customisations to SharePoint.</li>
<li>No support for State Machine workflows<br />
You can only build Sequential workflows with SPD, there is no support for State Machine Workflows.</li>
</ol>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/sharepoint-notes/'>Sharepoint Notes</a> Tagged: <a href='http://ambatisreedharworks.wordpress.com/tag/sharepoint/'>Sharepoint</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/276/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=276&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-2010-workflows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
		<item>
		<title>Sharepoint : Default approval workflows</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-default-approval-workflows/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-default-approval-workflows/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 05:58:02 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=273</guid>
		<description><![CDATA[Default approval workflows Microsoft SharePoint Server 2010 includes several approval workflows that you can begin using right away to manage human workflows in your organization. Each workflow can be added to a list, library, or content type and then used by your business users to manage the items or documents in the associated lists or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=273&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Default approval workflows</h2>
<p>Microsoft SharePoint Server 2010 includes several approval workflows that you can begin using right away to manage human workflows in your organization. Each workflow can be added to a list, library, or content type and then used by your business users to manage the items or documents in the associated lists or libraries.</p>
<p>You can use the workflows to run document approvals, collect feedback, collect signatures, manage publishing of assets, manage dispositions, and create three-state approvals. When you associate and initiate the workflow, you can change the basic behaviors of the workflow, like who approves it, how the tasks are assigned, duration, due dates, workflow messages, and so on. For most of the workflows, you can also customize them in SharePoint Designer 2010.</p>
<p>Each workflow is described below, including the main differences between the workflows, and whether they’re supported for customization in SharePoint Designer 2010.</p>
<div id="tableoverflow">
<table>
<tbody>
<tr>
<th><strong>Workflow</strong></th>
<th><strong>Description</strong></th>
<th><strong>In SharePoint Designer</strong></th>
</tr>
<tr>
<td>Approval</td>
<td>The Approval workflow routes a document or item to a group of people for approval.</p>
<p>It supports staged approvals whereby the first set of approvers can review and approve, then the next set of approvers can review and approve, and so on. Each stage of approvers can do review in serial order (one at a time), parallel order (all at once), and normal serial or parallel task assignments that were supported in SharePoint Server 2007.</p>
<p>The duration and due dates of the task can be specified in days, weeks, and months, as well as a final due date for all of the tasks in the workflow. You can individuals to the CC (carbon copy) field. The workflow can be set up to end when the first approver rejects it. It can end if the document being review is changed. And, the workflow can enable content approval, if you like.</p>
<p>The tasks and emails in the workflow request content approval, so the task form includes buttons for Approve, Reject, Request Change, and Reassign. For approvers, comments support a consolidated comment that shows the entire list of previous approvers’ comments. Approval workflows can also be used to set content approval status at the end.</p>
<p>The Approval workflow is by default associated with the Document content type so it is available to document libraries.</p>
<p><strong>NOTE</strong>: This workflow is only available in SharePoint Server 2010.</td>
<td>Yes</td>
</tr>
<tr>
<td>Collect Feedback</td>
<td>The Collect Feedback workflow is very similar to the Approval workflow. It routes items or documents to a group of people, but in this case, the workflow is designed to get feedback from the approvers. The feedback is compiled and sent back to the person who initiated the workflow.</p>
<p>Like the Approval workflow, this workflow supports staged approvals and lets you specify duration and due dates in days, weeks, and months, as well as the final due date. The workflow can also be set up to end if the document is changed, and you can add individuals to the CC (carbon copy) field.</p>
<p>Unlike the Approval workflow, there is no option to end the workflow on first rejection since that doesn’t apply here, and there is no option to enable content approval.</p>
<p>Since the tasks and emails in the workflow request content approval, the task form includes buttons for Send Feedback, Request Change, and Reassign.</p>
<p>The Collect Feedback workflow is associated with the Document content type so it is available in document libraries.</p>
<p><strong>NOTE</strong>: This workflow is only available in SharePoint Server 2010.</td>
<td>Yes</td>
</tr>
<tr>
<td>Collect Signatures</td>
<td>The Collect Signatures workflow routes documents created in a Microsoft application to a group of people to collect their digital signatures.</p>
<p>You can add signers in serial or parallel order, and you can add them in stages. You can also add individuals to the CC (carbon copy) field. There are no other fields or behaviors for this workflow (unlike the Approval and Collect Feedback workflows).</p>
<p>When the signers of the workflow receive the task, they can sign it from the Task list in SharePoint or from within the host document, such as Microsoft Word, Excel, and PowerPoint.</p>
<p>The task form includes buttons for Sign or Reassign the task only. The signing mechanism uses the Microsoft Office Signature Line control. The signature image can be provided by the user or applied automatically using logic in the form (specifically, rule and action in the InfoPath form).</p>
<p>The Collect Signatures workflow is associated with the Document content type so it is available in document libraries However, the workflow will only appear in the library if that document contains one or more Microsoft Office Signature Lines.</p>
<p><strong>NOTE</strong>: This workflow is only available in SharePoint Server 2010.</td>
<td>Yes</td>
</tr>
<tr>
<td>Publishing</td>
<td>The Publishing workflow routes content for approval in the same the Approval workflow does this except that it’s designed for Enterprise Content Management sites with publishing features enabled.</p>
<p>Another difference is in the workflow forms. The association and initiation forms hide the option to add approvers, end workflow on first rejection, end workflow if document changes, and enable content approval.</p>
<p><strong>NOTE</strong>: The Publishing workflow is only available in SharePoint Server 2010 where the Publishing feature is enabled.</td>
<td>Yes</td>
</tr>
<tr>
<td>Three-state</td>
<td>The Three-state workflow tracks the status of an issue or item through three states and two transitions between the states, which help track high volume issues.</p>
<p>The workflow is designed to work with the Issue Tracking list template but can be used with any list that has a Choice column with three or more values that serve as the state of the workflow.</p>
<p>Participants in the workflow may be working with the list directly or outside projects related to the list. The workflow updates the status of the list and creates a new task for the next participant, and this process continues.</p>
<p>Workflow participants can change the complete their task or change the status of the workflow item.</p>
<p><strong>NOTE</strong>: This workflow is available in both SharePoint Foundation 2010 and SharePoint Server 2010.</td>
<td>No</td>
</tr>
<tr>
<td>Disposition Approval</td>
<td>The Disposition Approval workflow tracks content that has expired or is out-of-date and needs to be evaluated or deleted.</p>
<p>This workflow is especially useful on a Records Center site or a site that supports records management document retention policies. The workflow can be configured to start automatically when documents or items expire or started manually by participants.</p>
<p>The workflow uses Disposition Approval workflow tasks for specific documents and items in the tasks list rather than assigning them to specific participants. Only those who have permissions to this tasks list can complete the task by approving or rejecting items for deletion.</p>
<p>The workflow also includes bulk task completion so that individuals can process large numbers of items for deletion in one step. This is commonly needed because of the high volume of tasks generated by the workflow.</p>
<p><strong>NOTE</strong>: This workflow is only available in SharePoint Server 2010.</td>
</tr>
</tbody>
</table>
</div>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/sharepoint/'>Sharepoint</a> Tagged: <a href='http://ambatisreedharworks.wordpress.com/tag/sharepoint/'>Sharepoint</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=273&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/24/sharepoint-default-approval-workflows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
		<item>
		<title>DependencyProperty</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/24/dependencyproperty/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/24/dependencyproperty/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 04:49:34 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[Sharepoint Notes]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=270</guid>
		<description><![CDATA[DependencyProperty : If you use Sharepoint Designer to build workflows, sometimes you will feel the need of some extra actions in the designer (see below).Well Microsoft has provided with a class to do that, this class is call it DependencyProperty. MSDN defines the DependencyProperty like this: Represents a property that can be set through methods [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=270&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DependencyProperty :</p>
<p>If you use Sharepoint Designer to build workflows, sometimes you will feel the need of some extra actions in the designer (see below).Well Microsoft has provided with a class to do that, this class is call it DependencyProperty. MSDN defines the DependencyProperty like this: Represents a property that can be set through methods such as, styling, data binding, animation, and inheritance.</p>
<p>&nbsp;</p>
<h2><a title="Permanent Link to How does Sharepoint works?" href="http://ambatisreedharspaces.wordpress.com/2011/12/23/how-does-sharepoint-works/" rel="bookmark">How does Sharepoint works?</a></h2>
<p>The browser sends a DAV packet to IIS asking to perform a document check in. PKMDASL.DLL, an ISAPI DLL, parses the packet and sees that it has the proprietary INVOKE command. Because of the existence of this command, the packet is passed off to msdmserv.exe, who in turn processes the packet and uses EXOLEDB to access the WSS, perform the operation and send the results back to the user in the form of XML</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/sharepoint-notes/'>Sharepoint Notes</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=270&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/24/dependencyproperty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
		<item>
		<title>My Articles in different code sites</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/18/my-articles-in-different-code-sites/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/18/my-articles-in-different-code-sites/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 07:12:32 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=266</guid>
		<description><![CDATA[  http://www.c-sharpcorner.com/UploadFile/ambatisreedhar/MicrosoftGreatPlains03082009230301PM/MicrosoftGreatPlains.aspx http://www.codeguru.com/csharp/.net/net_asp/miscellaneous/article.php/c15953/ My article on  “Creating Check All Uncheck All Grid view Web part with Paging, Sorting Functionalities in SharePoint 2007 in a Step by Step Manner ” was published in CodeProject.com site. And the url is http://www.codeproject.com/KB/sharepoint/GridviewSharepoint.aspx another article was published in CodeProject  ”Creation of a SPGridview webpart having pagination, sorting , filtering functionalities [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=266&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>  <a href="http://www.c-sharpcorner.com/UploadFile/ambatisreedhar/MicrosoftGreatPlains03082009230301PM/MicrosoftGreatPlains.aspx" target="_blank">http://www.c-sharpcorner.com/UploadFile/ambatisreedhar/MicrosoftGreatPlains03082009230301PM/MicrosoftGreatPlains.aspx</a></p>
<p><a href="http://www.codeguru.com/csharp/.net/net_asp/miscellaneous/article.php/c15953/" target="_blank">http://www.codeguru.com/csharp/.net/net_asp/miscellaneous/article.php/c15953/</a></p>
<p>My article on  “Creating Check All Uncheck All Grid view Web part with Paging, Sorting Functionalities in SharePoint 2007 in a Step by Step Manner ” was published in CodeProject.com site.</p>
<p>And the url is <a href="http://www.codeproject.com/KB/sharepoint/GridviewSharepoint.aspx" target="_blank">http://www.codeproject.com/KB/sharepoint/GridviewSharepoint.aspx</a></p>
<p>another article was published in CodeProject<br />
 ”Creation of a SPGridview webpart having pagination, sorting , filtering functionalities in sharepoint site in step by step manner”. Link is <a href="http://www.codeproject.com/KB/sharepoint/SPGridviewWebpart.aspx" target="_blank">http://www.codeproject.com/KB/sharepoint/SPGridviewWebpart.aspx</a></p>
<p>Codeproject article name is<br />
Creating CheckAll UncheckAll Gridview webpart with Paging,Sorting functionalities in Sharepoint 2007 in step by<br />
step manner<br />
and the link is :<br />
<a href="http://www.codeproject.com/KB/sharepoint/GridviewSharepoint.aspx" target="_blank">http://www.codeproject.com/KB/sharepoint/GridviewSharepoint.aspx</a></p>
<div>For evaluation I worked on 4 CMS ie Alfresco, DotNetNuke, Joomla, Drupal.</div>
<div>More pain in installation and configuring them.</div>
<div>I dont want others to repeat the same process of installation without concentrating on their core business.</div>
<div>I documented well.</div>
<div> </div>
<div>On Alfresco my article was published</div>
<div><a href="http://www.codeproject.com/KB/MCMS/Alfresco.aspx" target="_blank">http://www.codeproject.com/KB/MCMS/Alfresco.aspx</a></div>
<div> </div>
<div>
<p>&nbsp;</p>
</div>
<p>Creation of a SPGridview Webpart having Pagination, Sorting, Filtering Functionalities in Sharepoint Site in Step by Step Manner   <a href="http://www.codeproject.com/KB/sharepoint/SPGridviewWebpart.aspx" target="_blank">http://www.codeproject.com/KB/sharepoint/SPGridviewWebpart.aspx</a></p>
<p>Creating CheckAll UncheckAll Gridview Webpart with Paging, Sorting Functionalities in Sharepoint 2007 in a Step by Step Manner    <a href="http://www.codeproject.com/KB/sharepoint/GridviewSharepoint.aspx" target="_blank">http://www.codeproject.com/KB/sharepoint/GridviewSharepoint.aspx</a></p>
<p>Part 1: Installing Features and Adding Breadcrumbs to Custom Pages in Sharepoint Central Administrat</p>
<p><a href="http://www.codeguru.com/csharp/.net/net_asp/miscellaneous/article.php/c15953__3/" target="_blank">http://www.codeguru.com/csharp/.net/net_asp/miscellaneous/article.php/c15953__3/</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/266/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/266/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/266/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=266&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/18/my-articles-in-different-code-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
		<item>
		<title>Interview Questions</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/13/interview-questions-2/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/13/interview-questions-2/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 15:28:37 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[Dotnet Interview Questions]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=262</guid>
		<description><![CDATA[Infosys interview : (18/7/2010) Database Design Dynamic Management Views (DMV) Diff b/n SP and Trigger Performance Tuning. Profiler &#8211; [get the db id from sys.databases] LoginUser, SPID, Query Text DB tuning Advisor - How apply recommendations- By clicking on Apply Button. It applies statistics to the table for a column. Statistics in SQL Server A [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=262&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Infosys interview : (18/7/2010)<br />
Database Design Dynamic Management Views (DMV)<br />
Diff b/n SP and Trigger<br />
Performance Tuning.<br />
Profiler &#8211; [get the db id from sys.databases] LoginUser, SPID, Query Text DB tuning Advisor -<br />
How apply recommendations- By clicking on Apply Button.<br />
It applies statistics to the table for a column.<br />
Statistics in SQL Server</p>
<p>A Sp is taking 45min to execute How do improve the performance for this SP<br />
&#8211; Firstly look for joins and remove unnecessary columns in select statement<br />
&#8211; See the execution plan and analyse where the more cost is taking<br />
&#8211; If possible try to create indexes and again see the performance<br />
&#8211; If it is an OLTP database, create a view with index Row_Number function<br />
What are the enhancements provided in SQL 2008 at performance level.<br />
What are the tasks done by you in SSIS (Integration Services)<br />
difference between Trigger and Check Constraint<br />
How many system databases are there and what does each db do<br />
Advantages of View Table Partitions Types of Trigger<br />
 .Net How do u enable paging for a grid with improved performance.</p>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/dotnet-interview-questions/'>Dotnet Interview Questions</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=262&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/13/interview-questions-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
		<item>
		<title>Update with Inner Join SQL Server</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/06/update-with-inner-join-sql-server/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/06/update-with-inner-join-sql-server/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 09:29:14 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[SqlServer]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=259</guid>
		<description><![CDATA[Problem   I have two tables (table1 and table2). I want to set a flag in table1 for each common row with table2. I &#160; &#160; Solution: &#160; Update iwf_requestdetails set LastUpdatedStatus=f.Status_ID from iwf_requestdetails i innerjoin [FinalWorkflowDetails1] f on i.[FormNo] = f.[FORM_NO] Filed under: SqlServer Tagged: SqlServer<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=259&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem</p>
<h1> </h1>
<p>I have two tables (table1 and table2). I want to set a flag in table1 for<br />
each common row with table2. I</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Solution:</p>
<p>&nbsp;</p>
<p>Update</p>
<p><span style="font-size:x-small;">iwf_requestdetails</span></p>
<p>set</p>
<p><span style="font-size:x-small;">LastUpdatedStatus</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;">f</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">.</span></span><span style="font-size:x-small;">Status_ID</span></p>
<p>from</p>
<p><span style="font-size:x-small;">iwf_requestdetails i </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">inner</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">join</span></span><span style="font-size:x-small;"> [FinalWorkflowDetails1] f</span></p>
<p>on</p>
<p><span style="font-size:x-small;">i</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">.</span></span><span style="font-size:x-small;">[FormNo] </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;"> f</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">.</span></span><span style="font-size:x-small;">[FORM_NO]</span></p>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/sqlserver/'>SqlServer</a> Tagged: <a href='http://ambatisreedharworks.wordpress.com/tag/sqlserver/'>SqlServer</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=259&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/06/update-with-inner-join-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
		<item>
		<title>Sqlserver : Looping through temporary table</title>
		<link>http://ambatisreedharworks.wordpress.com/2011/12/05/sqlserver-looping-through-temporary-table/</link>
		<comments>http://ambatisreedharworks.wordpress.com/2011/12/05/sqlserver-looping-through-temporary-table/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 07:23:26 +0000</pubDate>
		<dc:creator>ambatisreedhar</dc:creator>
				<category><![CDATA[SqlServer]]></category>

		<guid isPermaLink="false">http://ambatisreedharworks.wordpress.com/?p=257</guid>
		<description><![CDATA[CREATE TABLE #ActiveCustomer ( &#160; RowID intIDENTITY(1, 1), formno varchar(50), adddel varchar(50), optionid varchar(50) ) DECLARE @NumberRecords int, @RowCount int DECLARE &#160; &#160; @form_no varchar(50),@previousform_no varchar(50),@add_del varchar(50), @option_id varchar(50 ) &#160; &#160; &#160; INSERT INTO #ActiveCustomer(formno,adddel,optionid ) &#160; select form_no, add_del, option_id from dbo.iws_kapiti_optionsorderby form_no SET @NumberRecords = @@ROWCOUNT &#160; SET @RowCount =1 &#160; &#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=257&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CREATE</p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">TABLE</span></span><span style="font-size:x-small;"> #ActiveCustomer</span></p>
<p><span style="color:#808080;font-size:x-small;">(</span></p>
<p>&nbsp;</p>
<p>RowID</p>
<p><span style="font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">int</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">IDENTITY</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">1</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="font-size:x-small;"> 1</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">),</span></span></span></p>
<p>formno</p>
<p><span style="font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">varchar</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">50</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">),</span></span></span></p>
<p>adddel</p>
<p><span style="font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">varchar</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">50</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">),</span></span></span></p>
<p>optionid</p>
<p><span style="font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">varchar</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">50</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">)</span></span></span></p>
<p>)</p>
<p>DECLARE</p>
<p><span style="font-size:x-small;">@NumberRecords </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">int</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="font-size:x-small;"> @RowCount </span></p>
<p><span style="color:#0000ff;font-size:x-small;">int</span></p>
<p>DECLARE</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-size:x-small;">@form_no </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">varchar</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">50</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">),</span></span><span style="font-size:x-small;">@previousform_no </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">varchar</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">50</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">),</span></span><span style="font-size:x-small;">@add_del </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">varchar</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">50</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">),</span></span><span style="font-size:x-small;"> @option_id </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">varchar</span></span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">50</span></p>
<p><span style="color:#808080;font-size:x-small;">)</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>INSERT</p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">INTO</span></span><span style="font-size:x-small;"> #ActiveCustomer</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">(</span></span><span style="font-size:x-small;">formno</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="font-size:x-small;">adddel</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="font-size:x-small;">optionid</span></p>
<p><span style="color:#808080;font-size:x-small;">)</span></p>
<p>&nbsp;</p>
<p><span style="font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">select</span></span><span style="font-size:x-small;"> form_no</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="font-size:x-small;"> add_del</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="font-size:x-small;"> option_id </span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">from</span></span><span style="font-size:x-small;"> dbo</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">.</span></span><span style="font-size:x-small;">iws_kapiti_options</span></span><span style="font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">order</span></span><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">by</span></span><span style="font-size:x-small;"> form_no</span></span></p>
<p>SET</p>
<p><span style="font-size:x-small;">@NumberRecords </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span></p>
<p><span style="color:#ff00ff;font-size:x-small;">@@ROWCOUNT</span></p>
<p>&nbsp;</p>
<p>SET</p>
<p><span style="font-size:x-small;">@RowCount </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;">1</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>WHILE</p>
<p><span style="font-size:x-small;">@RowCount </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">&lt;=</span></span><span style="font-size:x-small;"> @NumberRecords</span></p>
<p>BEGIN</p>
<p>SELECT</p>
<p><span style="font-size:x-small;">@form_no </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;"> formno</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="font-size:x-small;">@add_del </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;"> adddel</span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">,</span></span><span style="font-size:x-small;">@option_id </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;"> optionid</span></p>
<p>FROM</p>
<p><span style="font-size:x-small;">#ActiveCustomer</span></p>
<p>WHERE</p>
<p><span style="font-size:x-small;">RowID </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;"> @RowCount</span></p>
<p>if</p>
<p><span style="font-size:x-small;">@add_del </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span></p>
<p><span style="color:#ff0000;font-size:x-small;">&#8216;A&#8217;</span></p>
<p>&nbsp;</p>
<p>begin</p>
<p>end</p>
<p>if</p>
<p><span style="font-size:x-small;">@add_del </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span></p>
<p><span style="color:#ff0000;font-size:x-small;">&#8216;D&#8217;</span></p>
<p>&nbsp;</p>
<p>begin</p>
<p>end</p>
<p>&nbsp;</p>
<p><span style="font-size:x-small;"><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">SET</span></span><span style="font-size:x-small;"> @RowCount </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">=</span></span><span style="font-size:x-small;"> @RowCount </span><span style="color:#808080;font-size:x-small;"><span style="color:#808080;font-size:x-small;">+</span></span><span style="font-size:x-small;"> 1</span></span></p>
<p>END</p>
<p>&nbsp;</p>
<p>DROP</p>
<p><span style="color:#0000ff;font-size:x-small;"><span style="color:#0000ff;font-size:x-small;">TABLE</span></span><span style="font-size:x-small;">#ActiveCustomer</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://ambatisreedharworks.wordpress.com/category/sqlserver/'>SqlServer</a> Tagged: <a href='http://ambatisreedharworks.wordpress.com/tag/sqlserver/'>SqlServer</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ambatisreedharworks.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ambatisreedharworks.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ambatisreedharworks.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ambatisreedharworks.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ambatisreedharworks.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ambatisreedharworks.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ambatisreedharworks.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ambatisreedharworks.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ambatisreedharworks.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ambatisreedharworks.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ambatisreedharworks.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ambatisreedharworks.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ambatisreedharworks.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ambatisreedharworks.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ambatisreedharworks.wordpress.com&amp;blog=6946398&amp;post=257&amp;subd=ambatisreedharworks&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ambatisreedharworks.wordpress.com/2011/12/05/sqlserver-looping-through-temporary-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5f3942634b3471cd3aa2c1f8afbe337e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ambatisreedhar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
