<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
		<id>https://www.bxpsoftware.com/wixi/index.php?action=history&amp;feed=atom&amp;title=Ordering_Outcomes</id>
		<title>Ordering Outcomes - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.bxpsoftware.com/wixi/index.php?action=history&amp;feed=atom&amp;title=Ordering_Outcomes"/>
		<link rel="alternate" type="text/html" href="https://www.bxpsoftware.com/wixi/index.php?title=Ordering_Outcomes&amp;action=history"/>
		<updated>2026-05-25T16:15:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://www.bxpsoftware.com/wixi/index.php?title=Ordering_Outcomes&amp;diff=5494&amp;oldid=prev</id>
		<title>Philip Lacey: Created page with &quot;= Overview =    The order in which outcomes appear in reports, on screen and throughout bxp is a consideration for new forms and long standing forms.  There are two general ap...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.bxpsoftware.com/wixi/index.php?title=Ordering_Outcomes&amp;diff=5494&amp;oldid=prev"/>
				<updated>2015-10-04T08:24:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Overview =    The order in which outcomes appear in reports, on screen and throughout bxp is a consideration for new forms and long standing forms.  There are two general ap...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Overview = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The order in which outcomes appear in reports, on screen and throughout bxp is a consideration for new forms and long standing forms.  There are two general approaches.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Numeric Order = &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The numeric order function allows you to put a number beside the outcome from 1 to 100.  Where the system has two outcomes of the same number it will alphabetically order the outcomes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Setting the order is done from ''Main Menu &amp;gt; Form Management &amp;gt; Form - Outcome Manager &amp;gt; Outcome - Add or Outcome - Edit &amp;gt; Choose your form &amp;gt; Choose your outcome &amp;gt; Advanced Options &amp;gt; Order''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Alphabetic Order =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However when data leaves bxp or needs to be able to be sorted where the Order capability is not readily available then alphabetic sorting is preferable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Imagine two outcomes&lt;br /&gt;
* Callback&lt;br /&gt;
* Not Interested&lt;br /&gt;
* Sale&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We want to have Sale as the first outcome, but alphabetically that can't happen.  S is after C.  Instead we simply prepend some numbers to the start of the outcome.&lt;br /&gt;
&lt;br /&gt;
* 3 - Callback&lt;br /&gt;
* 1 - Sale&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now they will go into the order we want.  A further challenge is if you have more than 10 outcomes.  As this is a piece of text and not a number, the sorting will go as follows.&lt;br /&gt;
&lt;br /&gt;
* 1 - Sale&lt;br /&gt;
* 10 - Demo outcome&lt;br /&gt;
* 11 - Demo outcome&lt;br /&gt;
* 12 - Demo outcome&lt;br /&gt;
* 2 - Not Interested&lt;br /&gt;
* 3 - Callback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To combat this we simply add zeros to the numbers.  Quite often in bxp we add 000 as the basic format before an outcome to facilitate ordering.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 001 - Sale&lt;br /&gt;
* 002 - Not Interested&lt;br /&gt;
* 003 - Callback&lt;br /&gt;
* 010 - Demo outcome&lt;br /&gt;
* 011 - Demo outcome&lt;br /&gt;
* 012 - Demo outcome&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Module Specific:Form Management]]&lt;br /&gt;
[[Category:Topic:Outcomes]]&lt;/div&gt;</summary>
		<author><name>Philip Lacey</name></author>	</entry>

	</feed>