<?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>Forecast &#8211; Jitendra Zaa</title>
	<atom:link href="https://www.jitendrazaa.com/blog/tag/forecast/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.jitendrazaa.com/blog</link>
	<description>AI, Salesforce, ServiceNow &#38; Enterprise Tech Guides</description>
	<lastBuildDate>Sun, 24 Feb 2019 15:44:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">87744916</site><atom:link rel="search" type="application/opensearchdescription+xml" title="Search Jitendra Zaa" href="https://www.jitendrazaa.com/blog/wp-json/opensearch/1.1/document" />	<item>
		<title>Enterprise Territory Management &#8211; Key Notes</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/enterprise-territory-management-key-notes/</link>
					<comments>https://www.jitendrazaa.com/blog/salesforce/enterprise-territory-management-key-notes/#respond</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Tue, 12 Feb 2019 03:45:11 +0000</pubDate>
				<category><![CDATA[Salesforce]]></category>
		<category><![CDATA[Apex Sharing]]></category>
		<category><![CDATA[Forecast]]></category>
		<category><![CDATA[Territory Management]]></category>
		<guid isPermaLink="false">https://www.jitendrazaa.com/blog/?p=6777</guid>

					<description><![CDATA[How to use Apex based sharing to share opportunity using Territories]]></description>
										<content:encoded><![CDATA[
<ul class="justify wp-block-list"><li>Enterprise Territory management is used to share Account and its related opportunity and Cases.</li><li>Account can have multiple Territories.</li><li>User can have multiple Territories</li><li>Opportunity can have only 1 Territory. Think about it &#8211; If Opportunity allowed to have multiple Territory, how revenue would be split between multiple Territory and what would be business rules ?</li><li>Territory enables &#8220;My Territories&#8221; and &#8220;My Team&#8217;s Territory&#8221; filter in Account and Opportunity list View.</li><li>While creating Territory, we can decide access to Account, Opportunity and Case. Depending on OWD, access can be private, read only and read write.</li><li>Enterprise Territory Management does not support overlay forecast unlike Roles. However we can create report on Opportunity split object.</li><li>Overlay forecast (Revenue sharing) is not supported because Opportunity can have only one territory and therefore only 1 revenue maker.</li><li>Maximum Territory that can be defined is around 99k unlike maximum role 10k.</li><li>Custom Field (but not lookup) can be created in Territory2 object.</li><li>Territory related list appears on user and Account records.</li><li>You cannot create lookup to Territory objects.</li><li>Territory to Opportunity can be assigned using Apex class plugin</li></ul>



<h2 class="wp-block-heading">Enable Territory based Forecast</h2>



<ol class="justify wp-block-list"><li>Mark user as &#8220;Allowed Forecast&#8221;</li><li>Add user as Territory Team member</li><li>Add user as Forecast Manager in Territory</li></ol>



<h2 class="wp-block-heading">Apex Based Sharing of Opportunity using Territory</h2>



<p class="justify">For <a href="https://www.jitendrazaa.com/blog/salesforce/apex-based-sharing-in-salesforce/">Apex based sharing</a>, we use user of public group Id to share record. If we want to share Opportunity using Territory then there is quick code for that. If we click on manual share button on Opportunity, it will show an option to choose between user, public group, territory and territory with subordinates. </p>



<p class="justify">There is no clear documentation, but what I found that when we share using Territory, <strong>Salesforce internally creates public group for that territory </strong>and assigns that public group to Opportunity.</p>



<p class="justify">So, first step is to find public group created for territory. Below code showcase how it can be done.</p>



<script src="https://gist.github.com/JitendraZaa/f973e500b6ee5e83995c367b7e1a54a8.js"></script>



<p><strong>References :</strong></p>



<ul class="wp-block-list"><li><a href="https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_opportunityshare.htm">OpportunityShare</a> object reference</li><li><a href="https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_understanding.htm">Understanding</a> Sharing</li><li><a href="https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm">Sharing records</a> using Apex</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/salesforce/enterprise-territory-management-key-notes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6777</post-id>	</item>
		<item>
		<title>Import User Quotas in Quantity (Unit) for Collaborative Forecasting</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/import-user-quotas-in-quantity-unit-for-collaborative-forecasting/</link>
					<comments>https://www.jitendrazaa.com/blog/salesforce/import-user-quotas-in-quantity-unit-for-collaborative-forecasting/#respond</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Thu, 07 Nov 2013 06:33:03 +0000</pubDate>
				<category><![CDATA[Salesforce]]></category>
		<category><![CDATA[Collaborative forecasting]]></category>
		<category><![CDATA[DataLoader]]></category>
		<category><![CDATA[Forecast]]></category>
		<category><![CDATA[Winter 14]]></category>
		<guid isPermaLink="false">http://JitendraZaa.com/blog/?p=3586</guid>

					<description><![CDATA[In Previous article we have seen that how to import Quota in Amount (Revenue) for Collaborative forecasting.  I got many request on how to upload Quota in Units, as in Forecasting tab you can see that there is option to see Forecast in Unit or Amount. If we switch from Revenue to Quantity the Quota [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a title="Import User Quotas in Amount for Collaborative forecasting" href="https://jitendrazaa.com/blog/salesforce/import-user-quotas-for-collaborative-forecasting/">In Previous article</a> we have seen that how to import Quota in Amount (Revenue) for Collaborative forecasting.  I got many request on how to upload Quota in Units, as in Forecasting tab you can see that there is option to see Forecast in Unit or Amount.</p>
<p><figure id="attachment_3588" aria-describedby="caption-attachment-3588" style="width: 353px" class="wp-caption aligncenter"><a href="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/11/Salesforce-Display-Forecast-as-Quantity-or-Revenue.png?ssl=1"><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="size-full wp-image-3588" alt="Salesforce Display Forecast as Quantity or Revenue" src="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/11/Salesforce-Display-Forecast-as-Quantity-or-Revenue.png?resize=353%2C246&#038;ssl=1" width="353" height="246" /></a><figcaption id="caption-attachment-3588" class="wp-caption-text">Salesforce Display Forecast as Quantity or Revenue</figcaption></figure></p>
<p>If we switch from Revenue to Quantity the Quota of user will show blank user. In this article we will upload User Quota in Quantity.</p>
<p>After Winter 14 release also salesforce has not provided any Out of the box tool to upload quota from User Interface. So in this article also, we will depend on Dataloader.<span id="more-3586"></span></p>
<p><strong>Important Note : </strong></p>
<ol>
<li>If you want to upload Quota in Quantity, version of Dataloader must be above 28. In this article, i have used DataLoader version 29.</li>
<li>At one time, we can either insert Quota in Amount or Quantity.</li>
<li>If you want to use field Product Family, you must enable &#8220;Forecasting for Product Family&#8221;</li>
</ol>
<p>As seen in previous article, Object used for upload Quota is &#8220;ForecastingQuota&#8221; which will be visible in Dataloader, if we select &#8220;Show all Salesforce Object&#8221;.</p>
<p><figure id="attachment_3203" aria-describedby="caption-attachment-3203" style="width: 709px" class="wp-caption aligncenter"><a href="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/02/Import-Quota-Using-DataLoader.png?ssl=1"><img data-recalc-dims="1" decoding="async" class="size-full wp-image-3203" alt="Import Quota Using DataLoader" src="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/02/Import-Quota-Using-DataLoader.png?resize=709%2C630&#038;ssl=1" width="709" height="630" /></a><figcaption id="caption-attachment-3203" class="wp-caption-text">Import Quota Using DataLoader for Forecast 3</figcaption></figure></p>
<p>You will find below fields available for mapping in Dataloader :</p>
<ol>
<li>Start Date (Quota is for Which month ?)</li>
<li>Currency ISO Code (ISO Code of Currency of Amount)</li>
<li>Quota Amount (Quota of users in Amount)</li>
<li>Quota OwnerId (Quota belongs to Which User ?)</li>
<li>Product Family (If Forecasting for Product (Winter 14) is enabled then you can use it)</li>
<li>Quota Quantity (Quota of users in Unit)</li>
</ol>
<p>We have to create CSV file, map field and insert. I hope this tutorial will explain all you need to upload Quota in Quantity.</p>
<p><figure id="attachment_3592" aria-describedby="caption-attachment-3592" style="width: 789px" class="wp-caption aligncenter"><a href="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/11/Uploading-Forecast-Quota-in-Unit.png?ssl=1"><img data-recalc-dims="1" decoding="async" class="size-full wp-image-3592" alt="Uploading Forecast Quota in Unit" src="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/11/Uploading-Forecast-Quota-in-Unit.png?resize=789%2C310&#038;ssl=1" width="789" height="310" /></a><figcaption id="caption-attachment-3592" class="wp-caption-text">Uploading Forecast Quota in Unit</figcaption></figure></p>
<p>Please find below Sample csv files to upload Quota in Collaborative Forecasting :</p>
<ol>
<li><a href="https://jitendrazaa.com/blog/wp-content/uploads/2013/11/ForecastQuota-in-Amount.csv">Sample CSV FIle for ForecastQuota in Amount</a></li>
<li><a href="https://jitendrazaa.com/blog/wp-content/uploads/2013/11/ForecastQuota-in-Unit-with-Product-Family-and-Unit.csv">Sample CSV file for ForecastQuota in Unit with Product Family</a></li>
<li><a href="https://jitendrazaa.com/blog/wp-content/uploads/2013/11/ForecastQuota-in-Unit-Without-Product-Family.csv">Sample CSV File for ForecastQuota in Unit Without Product Family</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/salesforce/import-user-quotas-in-quantity-unit-for-collaborative-forecasting/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3586</post-id>	</item>
		<item>
		<title>Import User Quotas in Amount for Collaborative forecasting</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/import-user-quotas-for-collaborative-forecasting/</link>
					<comments>https://www.jitendrazaa.com/blog/salesforce/import-user-quotas-for-collaborative-forecasting/#comments</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Sun, 24 Feb 2013 03:45:27 +0000</pubDate>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Salesforce]]></category>
		<category><![CDATA[DataLoader]]></category>
		<category><![CDATA[Forecast]]></category>
		<category><![CDATA[Quota]]></category>
		<guid isPermaLink="false">http://JitendraZaa.com/blog/?p=3201</guid>

					<description><![CDATA[In Customizable Forecast, we can add the Quota for user by navigating to User Page and going to Quota related list However in Collaborative Forecasting aka Forecast 3 the only way is using Data Loader. 1. Log-in to the Data Loader and use the Insert function. 2. Click &#8220;Show all Salesforce objects and select &#8220;Forecasting [&#8230;]]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">In Customizable Forecast, we can add the Quota for user by navigating to User Page and going to Quota related list However in Collaborative Forecasting aka Forecast 3 the only way is using Data Loader.</p>
<p style="text-align: justify;">1. Log-in to the Data Loader and use the Insert function.<br />
2. Click &#8220;Show all Salesforce objects and select &#8220;Forecasting Quota (ForecastingQuota)&#8221;.<br />
<strong>Note:</strong> Only Data Loader version 25 and above can be used for importing Quotas in Collaborative Forecasting<br />
3. Select the import csv file and click Next (click OK in the pop-up that shows the number of records detected in the file).</p>
<p><strong>Note:</strong> The import csv file should contain the following columns:</p>
<ul>
<li>Currency ISO Code</li>
<li>Quota Amount</li>
<li>Owner ID</li>
<li>Quota Month (Start Date, In Date Format , 10/1/2013 &#8211; 1 Oct 2013)</li>
</ul>
<p><figure id="attachment_3203" aria-describedby="caption-attachment-3203" style="width: 567px" class="wp-caption aligncenter"><a href="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/02/Import-Quota-Using-DataLoader.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" class=" wp-image-3203 " alt="Import Quota Using DataLoader" src="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/02/Import-Quota-Using-DataLoader.png?resize=567%2C504&#038;ssl=1" width="567" height="504" /></a><figcaption id="caption-attachment-3203" class="wp-caption-text">Import Quota Using DataLoader for Forecast 3</figcaption></figure></p>
<p><span id="more-3201"></span></p>
<p>4. Click &#8220;Create or Edit a Map&#8221;.<br />
5. Click &#8220;Auto-Match Fields to Columns&#8221; or drag-and-drop to specify field mapping.<br />
6. Close the mapping window and click Next.<br />
7. Select a directory on where the error and success files will be saved.<br />
8. Click Finish.</p>
<p><strong>Note :</strong> While importing quota, on safer side, don&#8217;t select date as first of any month instead use 2nd or 3rd of month. Otherwise, it may happen that Quota of February will be inserted in month of January.</p>
<p>After Importing Quota, you can see in Forecast Tab for that User.</p>
<p><figure id="attachment_3204" aria-describedby="caption-attachment-3204" style="width: 617px" class="wp-caption aligncenter"><a href="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/02/Forecast-In-Forcasting-3.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" class=" wp-image-3204  " alt="Forecast In Forcasting 3" src="https://i0.wp.com/jitendrazaa.com/blog/wp-content/uploads/2013/02/Forecast-In-Forcasting-3.png?resize=617%2C260&#038;ssl=1" width="617" height="260" /></a><figcaption id="caption-attachment-3204" class="wp-caption-text">Forecast In Forcasting 3</figcaption></figure></p>
<p><a href="https://jitendrazaa.com/blog/wp-content/uploads/2013/02/List-Of-Currency.txt">You can see list of all supported currency by Salesforce here</a>. (After writing this article, it might be possible that supported currencies are updated, so its suggested to visit Salesforce documentation)</p>
<p>You may also like to see my latest article on &#8220;<a title="Import User Quotas in Quantity (Unit) for Collaborative Forecasting" href="https://jitendrazaa.com/blog/salesforce/import-user-quotas-in-quantity-unit-for-collaborative-forecasting/">Import User Quotas in Quantity (Unit) for Collaborative Forecasting</a>&#8220;.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/salesforce/import-user-quotas-for-collaborative-forecasting/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3201</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.jitendrazaa.com @ 2026-06-18 23:24:12 by W3 Total Cache
-->