<?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> &#187; Reporting</title>
	<atom:link href="http://www.90minds.com/category/sap-business-one/reporting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.90minds.com</link>
	<description></description>
	<lastBuildDate>Sat, 11 Feb 2012 22:14:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>SAP Business One XL Reporter: I added some fields, but the report produces nothing.</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-xl-reporter-i-added-some-fields-but-the-report-produces-nothing/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-xl-reporter-i-added-some-fields-but-the-report-produces-nothing/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:25:04 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Reporting]]></category>
		<category><![CDATA[XL Reporter]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-xl-reporter-i-added-some-fields-but-the-report-produces-nothing/</guid>
		<description><![CDATA[While listening to one of the expert sessions, I caught that XL Reporter will not show any information unless a measure (i.e., quantity, Dollar Sales, Etc.) is selected. I had created a simple customer list just to test it out and it kept returning no information. Once I added a value (measure) it produced the [...]]]></description>
			<content:encoded><![CDATA[<h5>While listening to one of the expert sessions, I caught that XL Reporter will not show any information unless a measure (i.e., quantity, Dollar Sales, Etc.) is selected. I had created a simple customer list just to test it out and it kept returning no information. Once I added a value (measure) it produced the list.</h5>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-xl-reporter-i-added-some-fields-but-the-report-produces-nothing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Business One How to Access the Query Manager</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-how-to-access-the-query-manager/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-how-to-access-the-query-manager/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:19:08 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-how-to-access-the-query-manager/</guid>
		<description><![CDATA[Access the Query Manager in two ways: From the drop-down menus at the top of the screen, go to: Tools -&#62; Queries -&#62; Query Manager Click on the Query Manager icon located on the icon bar at the top of the screen. The Query Manager window will appear&#8230; Thanks to Ed Monk of SBONotes.com &#169; [...]]]></description>
			<content:encoded><![CDATA[<p>Access the Query Manager in two ways:</p>
<ul>
<li>
<p>From the drop-down menus at the top of the screen, go to: Tools -&gt; Queries -&gt; Query Manager</p>
</li>
<li>
<p>Click on the Query Manager icon located on the icon bar at the top of the screen.</p>
</li>
</ul>
<p><img alt="" src="http://4.bp.blogspot.com/_1ULSO0XKfTI/SEfuBM-iiOI/AAAAAAAAAGg/-LTdWjITQXc/s400/Access_Query_Manager.jpg" border="0" /></p>
<p>The Query Manager window will appear&#8230;</p>
<p><img alt="" src="http://2.bp.blogspot.com/_1ULSO0XKfTI/SEfuTMi0UPI/AAAAAAAAAGw/lqgJcBe4_2g/s400/Query_Manager_Window.jpg" border="0" /></p>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-how-to-access-the-query-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make a Print Layout (PLD) Report from a SBO Query</title>
		<link>http://www.90minds.com/2009/02/11/how-to-make-a-print-layout-pld-report-from-a-sbo-query/</link>
		<comments>http://www.90minds.com/2009/02/11/how-to-make-a-print-layout-pld-report-from-a-sbo-query/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:18:04 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/how-to-make-a-print-layout-pld-report-from-a-sbo-query/</guid>
		<description><![CDATA[Follow these steps: Create a Query in SAP Business One Open the Query Manager Find your Report Highlight your report (single click) Click on the Create Report button at the bottom of the window. A window appears with the name of your query at the top of the window. Window is divided into two parts: [...]]]></description>
			<content:encoded><![CDATA[<p>Follow these steps:</p>
<ol>
<li><a href="http://www.sbonotes.com/2007/07/creating-custom-queries.html">Create a Query in SAP Business One</a></li>
<li><a href="http://www.sbonotes.com/2008/06/how-to-access-query-manager.html">Open the Query Manager</a></li>
<li>Find your Report</li>
<li>Highlight your report (single click)</li>
<li>Click on the <em>Create Report</em> button at the bottom of the window.</li>
<li>A window appears with the name of your query at the top of the window.</li>
<li>Window is divided into two parts: Top is existing reports, bottom is a list of the report templates.</li>
<li>Click on the <em>User Report (System)</em> template in the bottom part of the window.</li>
<li>Click the <em>OK</em> button.</li>
<li>You are returned to the Query Manager     <br />(At this point you are probably thinking that nothing happened, but it did).</li>
<li>Click on the <em>Create Report</em> button once more.</li>
<li>The <em>Create User Report</em> window opens again. Now in the top part (the box under <em>Name</em>) of the window you will see the name of the report you were trying to create. This indicates that the initial report was created successfully.</li>
<li>Now&#8230;Double Click on the the name of your query in that section and the Print Layout Designer (PLD) windows will open and allow you to modify the layout of the query information on the report.</li>
</ol>
<p>After you have completed your changes to the layout and have saved your work, you can see the actual printed document by accessing the Query Manager, highlighting your report name, and clicking the print preview icon at the top of the screen.</p>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/how-to-make-a-print-layout-pld-report-from-a-sbo-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Business One Sales Commissions</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-sales-commissions/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-sales-commissions/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:14:20 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Financials]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-sales-commissions/</guid>
		<description><![CDATA[Steps to Setting Up Commissions: Go to main menu option: Administration -&#62; General Settings -&#62; BP (Tab) In the upper right portion of the window select how you would like to define commission percentages. You can select all three if you like, but for this discussion we will deal with just the Sales Employee. Click [...]]]></description>
			<content:encoded><![CDATA[<p>Steps to Setting Up Commissions:</p>
<ol>
<li>Go to main menu option: <em>Administration -&gt; General Settings -&gt; BP (Tab)</em></li>
<li>In the upper right portion of the window select how you would like to define commission percentages. You can select all three if you like, but for this discussion we will deal with just the <em>Sales Employee</em>. Click OK/Update.</li>
<li>Go to main menu option: <em>Administration -&gt; Setup -&gt; General -&gt; Commission Groups</em>. Define new groups and their commission percentages.</li>
<li>Go to Main menu option: <em>Administration -&gt; Setup -&gt; General -&gt; Sales Employees</em>. Assign a Sales Employee to a commission group. </li>
</ol>
<p><em>Note: Alternatively, you can just enter in a commission percentage for a Sales Employee instead of selecting a group.</em></p>
<p>The <strong>Sales Employee table</strong> is called: <strong>OSLP</strong> and it is tied to&#8230;    <br />The <strong>Commission Group table</strong>: <strong>OCOG</strong> by the group code found on the OSLP. If the GroupCode on the OSLP is 0 then it is considered a user defined percentage amount (i.e., no based on a commission Code).</p>
<p>Here is a simple query to retrieve the commission percentage for a sales employee:</p>
<p>SELECT T0.slpcode, T0.slpname   <br />,CASE WHEN T0.GroupCode = 0 THEN T0.Commission ELSE T1.Commission END Commission_Pct    <br />FROM OSLP T0    <br />LEFT OUTER JOIN OCOG T1 ON T0.GroupCode = T1.GroupCode    <br />/*Remove comments below to filter out the negative slpcode*/    <br />/*WHERE T0.slpcode &gt; 0 */ </p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-sales-commissions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SAP Business One Query to Show Open Balances by Customer (or Vendor)</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-query-to-show-open-balances-by-customer-or-vendor/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-query-to-show-open-balances-by-customer-or-vendor/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:11:44 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Alerts]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-query-to-show-open-balances-by-customer-or-vendor/</guid>
		<description><![CDATA[Use this query to show you a list of open balances by customer group. If you would like to see open balances by vendor, then change the Where clause to cs.cardtype = &#8216;S&#8217;. /* Shows the open balances by Customer Group */ SELECT gp.GroupCode, gp.GroupName, Sum(cs.Balance) &#8216;Open Balance&#8217; FROM OCRD cs INNER JOIN OCRG gp [...]]]></description>
			<content:encoded><![CDATA[<p>Use this query to show you a list of open balances by customer group. If you would like to see </p>
<p>open balances by vendor, then change the <em>Where</em> clause to <em>cs.cardtype = &#8216;S&#8217;</em>.</p>
<p>/* Shows the open balances by Customer Group */   <br />SELECT gp.GroupCode, gp.GroupName, Sum(cs.Balance) &#8216;Open Balance&#8217;</p>
<p>FROM OCRD cs   <br />INNER JOIN OCRG gp ON gp.GroupCode = cs.GroupCode </p>
<p>WHERE cs.CardType = &#8216;C&#8217;</p>
<p>GROUP BY gp.GroupCode, gp.GroupName   <br />ORDER BY GroupName    <br />FOR BROWSE</p>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-query-to-show-open-balances-by-customer-or-vendor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Business One Retrieving the Ship-To State for a Sales Order</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-retrieving-the-ship-to-state-for-a-sales-order/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-retrieving-the-ship-to-state-for-a-sales-order/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 16:58:10 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Formatted Search]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[UDF (User Defined Fields)]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-retrieving-the-ship-to-state-for-a-sales-order/</guid>
		<description><![CDATA[It was important to one client to be able to do sales reporting by state (which was done using the query tool). In SBO, the address on the marketing documents is one large field and you cannot get the state unless you get the information from the BP (Business Partner) master for scan through the [...]]]></description>
			<content:encoded><![CDATA[<p>It was important to one client to be able to do sales reporting by state (which was done using the query tool). In SBO, the address on the marketing documents is one large field and you cannot get the state unless you get the information from the BP (Business Partner) master for scan through the field for specific characters and pull out the state information. </p>
<ol>
<li><a href="http://sbonotes.blogspot.com/2007/07/creating-user-defined-field-for.html">Create a UDF (User Defined Field)</a> for the marketing document header.</li>
<li><a href="http://sbonotes.blogspot.com/2007/07/creating-custom-queries.html">Create a custom query</a> and insert the code below into the query statement area. The query below will take the <em>Ship-To Code</em> selected and go to the Business Partner Master and get the correct Ship-To State. It will also look for a comma on a custom address (where a ship to code is not selected) and pull the state code from the two characters after the &quot;, &quot;:      <br />Select Case When $[ShipToCode] = &#8216; &#8216; Then Case When CHARINDEX(&#8216;,&#8217;,$[Address2])= 0 Then &#8216;??&#8217; Else Substring($[Address2], CHARINDEX(&#8216;,&#8217;,$[Address2])+1,2) END Else (Select ADR.State From CRD1 ADR Where $[CardCode] = ADR.CardCode and $[ShipToCode] = ADR.Address and ADR.ADRESTYPE = &#8216;S&#8217;)END</li>
<li>Now you can <a href="http://sbonotes.blogspot.com/2007/07/assigning-form-query-to-field.html">tie a query to the UDF (User Defined Field)</a> you created on a Marketing Document. You will have to assign the query on each marketing document you want the query to run on (e.g., Sales Order, Delivery Doc, etc.). <strong>Note: This query was assigned to run automatically when the <em>Ship to </em>field changed.</strong> That can be assigned on the Search Definition on the field.</li>
</ol>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-retrieving-the-ship-to-state-for-a-sales-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Business One Birthday List! (without the year)</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-birthday-list-without-the-year/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-birthday-list-without-the-year/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 16:46:52 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Alerts]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[Financials]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-birthday-list-without-the-year/</guid>
		<description><![CDATA[A quick and easy query to give you a list of the birthdays from the Employee Master Data application in SBO. Copy and paste the lines below into the Query Generator tool. /*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/ /* Displays a list of all the employees in SBO with their birthdays (without the year) */ SELECT lastname as &#8216;Last Name&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>A quick and easy query to give you a list of the birthdays from the <em>Employee Master Data</em> application in SBO.</p>
<p>Copy and paste the lines below into the <em>Query Generator</em> tool.</p>
<p>/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/   <br />/* Displays a list of all the employees in SBO with their birthdays (without the year) */</p>
<p>SELECT   <br />lastname as &#8216;Last Name&#8217;    <br />,firstname as &#8216;First Name&#8217;</p>
<p>,Case When birthdate is Null then &#8216;Not Entered&#8217; Else   <br />CASE len(CONVERT(varchar(2), datepart(mm, birthdate)))    <br />WHEN 1 THEN &#8217;0&#8242; + CONVERT(varchar(1), datepart(mm, birthdate))    <br />ELSE CONVERT(varchar(2), datepart(mm, birthdate))    <br />END    <br />+ &#8216;/&#8217; +    <br />CASE len(CONVERT(varchar(2), datepart(dd, birthdate)))    <br />WHEN 1 THEN &#8217;0&#8242; + CONVERT(varchar(1), datepart(dd, birthdate))    <br />ELSE CONVERT(varchar(2), datepart(dd, birthdate))    <br />END </p>
<p>END AS Birthday</p>
<p>FROM OHEM   <br />Order by birthday, lastname, firstname</p>
<p>/*&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;*/</p>
<p>If you wanted to <strong>access the <em>Employee Master</em></strong> from this query you could add:</p>
<p><em>empid,</em></p>
<p>after the <em>Select</em></p>
<p>and </p>
<p><em>FOR BROWSE</em></p>
<p>on the line following the <em>Order By</em></p>
<p>If you would like to <strong>make this query into an alert</strong>, you could do all of the above <u>and</u> add the line </p>
<p><em>WHERE birthdate is not null</em></p>
<p>between the <em>FROM OHEM</em> and the <em>Order By</em>.</p>
<p>That would look like:</p>
<p>/* Displays a list of all the employees in SBO with their birthdays */   <br />/*(without the year) */</p>
<p>SELECT   <br />empid as &#8216;ID&#8217;    <br />,lastname as &#8216;Last Name&#8217;    <br />,firstname as &#8216;First Name&#8217;</p>
<p>,Case When birthdate is Null then &#8216;Not Entered&#8217; Else   <br />CASE len(CONVERT(varchar(2), datepart(mm, birthdate)))    <br />WHEN 1 THEN &#8217;0&#8242; + CONVERT(varchar(1), datepart(mm, birthdate))    <br />ELSE CONVERT(varchar(2), datepart(mm, birthdate))    <br />END    <br />+ &#8216;/&#8217; +    <br />CASE len(CONVERT(varchar(2), datepart(dd, birthdate)))    <br />WHEN 1 THEN &#8217;0&#8242; + CONVERT(varchar(1), datepart(dd, birthdate))    <br />ELSE CONVERT(varchar(2), datepart(dd, birthdate))    <br />END    <br />END AS Birthday</p>
<p>FROM OHEM   <br />WHERE birthdate is not null    <br />Order by birthday, lastname, firstname    <br />FOR BROWSE</p>
<p>&#160;</p>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-birthday-list-without-the-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Business One: High Quantity on a Sales Order</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-high-quantity-on-a-sales-order/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-high-quantity-on-a-sales-order/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 16:45:51 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Alerts]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[Formatted Search]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-high-quantity-on-a-sales-order/</guid>
		<description><![CDATA[Use this query to check for high order quantities on a Sales Orders. If you make an alert out of this query, then you can be notified when potential keying errors occur. /* Shows all sales orders where the qty ordered is greater */ /* than or equal to the amount within the WHERE Clause [...]]]></description>
			<content:encoded><![CDATA[<p>Use this query to check for high order quantities on a <em>Sales Orders</em>. </p>
<p>If you make an alert out of this query, then you can be notified when potential keying errors occur. </p>
<p>/* Shows all sales orders where the qty ordered is greater */   <br />/* than or equal to the amount within the WHERE Clause below */    <br />Select     <br />DocNum as &#8216;Order#&#8217;    <br />,itemcode as &#8216;Item#&#8217;    <br />,dscription as &#8216;Description&#8217;    <br />,Quantity    <br />,Gtotal &#8216;Line Total&#8217;    <br />,cardcode as &#8216;BP&#8217;    <br />,cardname as &#8216;BP Name&#8217;</p>
<p>FROM rdr1 dtl   <br />INNER JOIN ordr hdr on dtl.docentry = hdr.docentry</p>
<p>WHERE   <br />Linestatus = &#8216;O&#8217;    <br />and Quantity&gt;=100</p>
<p>Order By DocNum, LineNum   <br />FOR BROWSE</p>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-high-quantity-on-a-sales-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Business One: Query to Show Customers Without Sales Employees Assigned</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-query-to-show-customers-without-sales-employees-assigned/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-query-to-show-customers-without-sales-employees-assigned/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 16:44:59 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Alerts]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[Formatted Search]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-query-to-show-customers-without-sales-employees-assigned/</guid>
		<description><![CDATA[Use the query to show all of the customers that do not have sales employees assigned. You can use this as an alert as well. SELECT CardCode as BP, CardName as &#8216;Customer Name&#8217; FROM OCRD Where SLPCODE = -1 and CardType = &#8216;C&#8217; FOR BROWSE Thanks to Ed Monk of SBONotes.com &#169; 2009, Mark Chinsky. [...]]]></description>
			<content:encoded><![CDATA[<p>Use the query to show all of the customers that do not have sales employees assigned. You can use this as an alert as well.</p>
<p>SELECT CardCode as BP, CardName as &#8216;Customer Name&#8217; FROM OCRD Where SLPCODE = -1 and CardType = &#8216;C&#8217; FOR BROWSE</p>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-query-to-show-customers-without-sales-employees-assigned/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Business One Simplified Order Guides for Sales Orders</title>
		<link>http://www.90minds.com/2009/02/11/sap-business-one-simplified-order-guides-for-sales-orders/</link>
		<comments>http://www.90minds.com/2009/02/11/sap-business-one-simplified-order-guides-for-sales-orders/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 16:43:34 +0000</pubDate>
		<dc:creator>Mark Chinsky</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Formatted Search]]></category>
		<category><![CDATA[Queries]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://www.90minds.com/2009/02/11/sap-business-one-simplified-order-guides-for-sales-orders/</guid>
		<description><![CDATA[Use this query to display a list of items that a customer likes to buy. It was made to be placed on the Item Number field on the Sales Order as a Formatted Search. The User will press Shift + F2 to display the window as opposed to pressing tab to display the entire catalog [...]]]></description>
			<content:encoded><![CDATA[<p>Use this query to display a list of items that a customer likes to buy. It was made to be placed on the Item Number field on the Sales Order as a Formatted Search. The User will press Shift + F2 to display the window as opposed to pressing tab to display the entire catalog of items.   <br />Changing the <em>Where</em> clause to be a parameter will enable you to produce a printed order guide for a customer. If you would like to try out the query without making it a formatted search, just change the <em>$[$-4.0.0]</em> to your favorite customer number surrounded by single quotes.</p>
<p>SELECT DISTINCT     <br />dtl.itemcode &#8216;Item&#8217;    <br />,itm.itemname &#8216;Item Description&#8217;    <br />,ROUND(AVG(quantity),0) &#8216;Avg Ord&#8217;    <br />,AVG(dtl.Price) &#8216;Avg Price&#8217;    <br />,AVG(ROUND(CASE WHEN dtl.linetotal = 0 THEN 0 ELSE dtl.grssProfit/dtl.linetotal END,2))*100 &#8216;AvgGP%&#8217;</p>
<p>,Count(docnum) &#8216;Total Orders&#8217;    <br />,MAX(hdr.docdate) &#8216;Last Ordered&#8217;     <br />,hdr.CardCode</p>
<p>FROM rdr1 dtl    <br />INNER JOIN ordr hdr on dtl.docentry = hdr.docentry    <br />INNER JOIN oitm itm on dtl.itemcode = itm.itemcode    <br />WHERE HDR.cardcode = $[$-4.0.0]    <br />GROUP BY hdr.cardcode, dtl.itemcode, itm.itemname    <br />FOR BROWSE</p>
<p>Thanks to Ed Monk of <a href="http://www.sbonotes.com">SBONotes.com</a></p>
<p style='text-align:left'>&copy; 2009, <a href='http://www.90minds.com'>Mark Chinsky</a>. All rights reserved. Formed in 2005. the  90 Minds Consulting Group  is a collaboration of 100 Sage partners who independently join together online in a 24 x 7 private communication network to solve difficult issues for their customers.  The group is not affiliated with Sage  and our collaboration provides for unparalleled member access to early warnings of bugs and other issues which members in turn are encouraged to use to provide an exceptional customer experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.90minds.com/2009/02/11/sap-business-one-simplified-order-guides-for-sales-orders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

