<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.newhavensoftware.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jmorrison</id>
	<title>NewHaven Software Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.newhavensoftware.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jmorrison"/>
	<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php/Special:Contributions/Jmorrison"/>
	<updated>2026-04-04T03:22:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=Custom_SQL_Filters&amp;diff=2272</id>
		<title>Custom SQL Filters</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=Custom_SQL_Filters&amp;diff=2272"/>
		<updated>2015-09-24T17:53:15Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: /* Examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In addition to the standard invoice and mail list filter criteria provided in CMS, you also have the option to write your own SQL. This is useful for when you&#039;d want to create a filter that is beyond the standard options available through the CMS interface.&lt;br /&gt;
&lt;br /&gt;
It is important to note that when you select the &#039;Write Own SQL&#039; checkbox, it supersedes all other criteria and becomes the only enabled option on the filter screen. You cannot combine it with other filter criteria. You can, however, customize a mail filter created in CMS.&lt;br /&gt;
&lt;br /&gt;
In the Mail List Filter section you have the option of creating a filter using the checkboxes to get as close as you can to your desired filter. Once saved you would then click on View SQL to see the resulting SQL CMS has created based on the options selected. You cannot edit that SQL there but you can copy it and create a new filter with &#039;Write Own SQL&#039; and paste/edit it there.&lt;br /&gt;
&lt;br /&gt;
This can be very handy and is rather easy to do as, often times, the only modification desired is a change in Boolean values. For example, if you create a filter based on two customer description codes (CDC&#039;s) the default Boolean is &#039;OR&#039;. In other words, customers will qualify for this filter if they have one code OR the other. If you only wanted customers who had both codes, you would create a custom filter, paste in the SQL from the original filter and change the OR to an AND.&lt;br /&gt;
&lt;br /&gt;
Syntax is very important in these filters so if you are writing one from scratch, please pay attention to these examples for guidance on what your Selects should look like (namely the use of DISTINCT and which tables are being referenced):&lt;br /&gt;
&lt;br /&gt;
=Mail List Filters=&lt;br /&gt;
==Requirements==&lt;br /&gt;
Every mail list filter must include (start with) at least the following:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C&lt;br /&gt;
WHERE ...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Mail list filter examples==&lt;br /&gt;
NOTE: When writing your own SQL keep in mind if you are going to be using these statements in [[Compound Mail List Filters]], you will need to return C.ID, not C.* This makes these individual filters suitable for use only as components for Compound filters. They can no longer be used on their own. Our recommendation is to label them as compound filter components. Like COMP_Products_By_Date and COMP_Not_Select_Products. Doing this you will know not to use them by themselves. To use the filters by themselves and to combine different filters together, you have to use joins and not compound filters.&lt;br /&gt;
&lt;br /&gt;
===Products Purchased===&lt;br /&gt;
Target customers based on products fulfilled within a date range (3 examples) and thus excludes unfulfilled back orders and future ships.  Date range is based off of the fulfill date. These filters also exclude fully returned/canceled items.&lt;br /&gt;
&lt;br /&gt;
*In a Date Range&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C, ITEMSORD I&lt;br /&gt;
WHERE (I.PROD_CODE = &#039;1&#039;&lt;br /&gt;
AND I.FULFILL_DT between &#039;2010-01-31&#039; and &#039;2010-03-31&#039;&lt;br /&gt;
AND ((I.CUR_RETURN + I.CUR_CANCEL) &amp;lt; I.CUR_SENT))&lt;br /&gt;
 AND (I.CUST_NUM = C.ID) &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Greater than a specified date&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C, ITEMSORD I&lt;br /&gt;
WHERE (I.PROD_CODE = &#039;1&#039;&lt;br /&gt;
AND I.FULFILL_DT &amp;gt; &#039;2010-01-31&#039;&lt;br /&gt;
AND ((I.CUR_RETURN + I.CUR_CANCEL) &amp;lt; I.CUR_SENT))&lt;br /&gt;
 AND (I.CUST_NUM = C.ID)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Ordered in the last 30 days&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C, ITEMSORD I&lt;br /&gt;
WHERE (I.PROD_CODE = &#039;1&#039;&lt;br /&gt;
AND I.FULFILL_DT &amp;gt; (TODAY(*) - 30)&lt;br /&gt;
AND ((I.CUR_RETURN + I.CUR_CANCEL) &amp;lt; I.CUR_SENT))&lt;br /&gt;
 AND (I.CUST_NUM = C.ID)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Sold by a specific salesperson, only shipped and not returned (no date range)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C INNER JOIN orderhdr o ON c.id = o.cust_num&lt;br /&gt;
INNER JOIN itemsord i ON o.order_id = i.order_id&lt;br /&gt;
WHERE o.proforma &amp;lt;&amp;gt; 1&lt;br /&gt;
AND o.tempsave &amp;lt;&amp;gt; 1&lt;br /&gt;
AND i.status &amp;gt; 5&lt;br /&gt;
AND i.order_qty &amp;gt; (i.cur_return + cur_cancel)&lt;br /&gt;
AND (i.prod_code = &#039;PRODUCT CODE&#039;&lt;br /&gt;
AND o.SALES_ID = &#039;Salesperson Username&#039;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Customers that bought from a specified list of products in a selected date range. Exclude if they bought any from another list of products or if the customer is set to Do Not Mail Catalog.&lt;br /&gt;
(this query has to look at your entire order history and will take a long time to run)&lt;br /&gt;
&amp;lt;source lang=&#039;tsql&#039;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.* FROM CUST C&lt;br /&gt;
LEFT JOIN CUSTFLAGS CF ON CF.ID = C.ID AND CF.FLAG_ID = 1&lt;br /&gt;
JOIN ITEMSORD I ON I.CUST_NUM = C.ID&lt;br /&gt;
WHERE I.FULFILL_DT BETWEEN &#039;2012-02-01&#039; AND &#039;2013-03-07&#039;&lt;br /&gt;
AND (I.CUR_RETURN + I.CUR_CANCEL) &amp;lt; I.CUR_SENT&lt;br /&gt;
AND I.PROD_CODE IN (&#039;PRODCODE-A&#039;,&#039;PRODCODE-B&#039;)&lt;br /&gt;
-- FLAG_ID &amp;lt;&amp;gt; 1 by matching on null with the left join&lt;br /&gt;
AND CF.FLAG_ID IS NULL &lt;br /&gt;
AND C.ID NOT IN &lt;br /&gt;
(SELECT IO.CUST_NUM FROM ITEMSORD IO WHERE IO.PROD_CODE IN (&lt;br /&gt;
-- Comma delimited list of product codes to match for exclusion from the customer list&lt;br /&gt;
&#039;PRODCODE-X&#039;,&#039;PRODCODE-Y&#039;,&#039;PRODCODE-Z&#039;)&lt;br /&gt;
GROUP BY IO.CUST_NUM &lt;br /&gt;
-- End customer exclusion list&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===[[CMS Customer Filter for customers with a specific item on Back Order]]===&lt;br /&gt;
Click the title link to redirect to an article specifically on this topic.&lt;br /&gt;
&lt;br /&gt;
===[[Targeting Catalog Requestors]]===&lt;br /&gt;
Click the title link to redirect to an article specifically on this topic.&lt;br /&gt;
&lt;br /&gt;
===Customers with Unshipped Orders in a Date Range===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C &lt;br /&gt;
LEFT OUTER JOIN ORDERHDR O ON (C.ID = O.CUST_NUM)&lt;br /&gt;
WHERE&lt;br /&gt;
((O.order_dt BETWEEN &#039;2012-05-18&#039; AND &#039;2013-09-18&#039;)&lt;br /&gt;
AND (isnull(o.shipped_dt,&#039;1899-12-30&#039;) = &#039;1899-12-30&#039;))&lt;br /&gt;
AND (C.EMAIL &amp;lt;&amp;gt; &#039;&#039;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===By First Order Date===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C&lt;br /&gt;
WHERE&lt;br /&gt;
(C.FIRST_DATE BETWEEN &#039;2013/08/15&#039; AND &#039;2013/08/15&#039;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Phone number Area code===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C &lt;br /&gt;
WHERE&lt;br /&gt;
(C.ID IN (SELECT CUST_NUM FROM PHONES&lt;br /&gt;
where phone_num like &lt;br /&gt;
&#039;(297%&#039;&lt;br /&gt;
or phone_num like &lt;br /&gt;
&#039;297&#039;&lt;br /&gt;
or phone_num like &lt;br /&gt;
&#039;1297&#039;&lt;br /&gt;
or phone_num like &lt;br /&gt;
&#039;1-297&#039;&lt;br /&gt;
)) &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Customers having more than one Customer Description Code===&lt;br /&gt;
In CMS it is easy to find customers who have any one code, or one of several, but you&#039;ll need custom SQL like the following to find customers who must have more than one of a list of codes to qualify.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C  &lt;br /&gt;
WHERE C.ID IN (&lt;br /&gt;
  SELECT CUST_NUM FROM CUSTDESC&lt;br /&gt;
  WHERE CUSDESKE in (&#039;0525&#039;,&#039;0600&#039;)&lt;br /&gt;
  GROUP BY CUST_NUM&lt;br /&gt;
  HAVING COUNT(CUST_NUM) &amp;gt;= 2 -- 2 = the number of values to find&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Change the cusdeske values to correspond to the desired customer description codes (CDC) per the CUSDESCO table&lt;br /&gt;
*Change the integer in the last line to indicate the number of CDC matches required&lt;br /&gt;
&lt;br /&gt;
===Customers with a Company Name===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C&lt;br /&gt;
WHERE C.COMPANY &amp;lt;&amp;gt; &#039;&#039;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Modified===&lt;br /&gt;
The Last Modified field was added in CMS 8.0 but does not yet have a corresponding mail filter option. Here are a couple of examples of how you can build this into your filters:&lt;br /&gt;
*Last Modified in a range of dates:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C &lt;br /&gt;
WHERE (C.LAST_UPDAT BETWEEN &#039;2011/05/02&#039; AND &#039;2012/05/02&#039;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Change the dates as needed.&lt;br /&gt;
&lt;br /&gt;
*Last Modified in the last 180 days:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C &lt;br /&gt;
WHERE (C.LAST_UPDAT &amp;gt; (TODAY(*) - 180))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Change 180 to whatever number of days back is desired.&lt;br /&gt;
&lt;br /&gt;
===All Recipients for a Customer (e.g. Amazon)===&lt;br /&gt;
If you are processing orders with Amazon or similar partner, you&#039;ll only get shipping addresses and not billing information from them since Amazon handles all of the payments. As such these orders will import into CMS with Amazon as the customer and always attach themselves to your Amazon customer record. If you have the option enabled in CMS Order Entry Options, new customer records will also be created for each ship-to. It may be helpful to be able to identify those ship-to customer records. This might be to tag them with a customer description code, exclude from an upcoming mailing, etc. This SQL can be used as a mail list filter to find those recipient customer records that have ordered through Amazon (or whoever your orders are coming from.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
From CUST c&lt;br /&gt;
where C.ID in&lt;br /&gt;
(Select a.cust_num&lt;br /&gt;
From Address a&lt;br /&gt;
Join recipient r on r.address_id = a.address_id&lt;br /&gt;
Join recipient_order ro on ro.recipient_id = r.recipient_id&lt;br /&gt;
Join orderhdr o on o.order_id = ro.order_idWhere o.cust_num = &#039;0000518128&#039;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change the customer number in the last line to match your billing account for Amazon. Zero pad to ten total characters as shown in the above example.&lt;br /&gt;
&lt;br /&gt;
===Orders Placed from Selected Order Sources===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT c.*&lt;br /&gt;
FROM CUST c, ORDERHDR o&lt;br /&gt;
WHERE (o.ORDER_SRC in&lt;br /&gt;
(Select ID from ORDERSRC where name in&lt;br /&gt;
(&#039;Phoned In&#039;,&#039;Mailed In&#039;))&lt;br /&gt;
AND o.ORDER_DT BETWEEN &#039;2011-01-31&#039; AND &#039;2011-10-31&#039;&lt;br /&gt;
AND o.CANCELLED = 0)&lt;br /&gt;
AND (o.CUST_NUM = C.ID)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Invoice created in a date range with a captured credit card but invoice is unshipped===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C, INVOICE I&lt;br /&gt;
JOIN Payledger p on p.order_id = i.order_id&lt;br /&gt;
and p.invoice_id = i.invoice_id&lt;br /&gt;
JOIN chargeinfo r on p.payid = r.payid&lt;br /&gt;
WHERE I.ORDER_DT between &#039;2012-08-31&#039; and &#039;2013-02-28&#039;&lt;br /&gt;
AND I.SHIPPED_FL = &#039;0&#039;&lt;br /&gt;
AND r.edc = 1&lt;br /&gt;
AND (I.CUST_NUM = C.ID)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Customers with a declined credit card in last 30 days===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C&lt;br /&gt;
JOIN paylist l on l.ID = C.ID&lt;br /&gt;
JOIN paytypes t on t.pay_type = l.pay_type&lt;br /&gt;
Where l.badpayment = &#039;1&#039;&lt;br /&gt;
AND l.DELETED = &#039;0&#039;&lt;br /&gt;
AND t.credit_car = &#039;1&#039;&lt;br /&gt;
AND l.createdate &amp;gt; (TODAY(*)-30)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Filter based on one of the customer user defined fields where the value is greater than X===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT C.*&lt;br /&gt;
FROM CUST C&lt;br /&gt;
WHERE (REGEXP_SUBSTR(C.USERCODE1,&#039;\d+\.*\d*&#039;) &amp;gt; 12.4)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
*This method allows you to perform a greater or less than query on a user field which is not explicitly defined as numeric. That said, this filter will fail if you have any non-numeric values in the corresponding user-defined field in any of the customer records.&lt;br /&gt;
*It is important to understand that any time you are running a &amp;quot;greater than&amp;quot; or &amp;quot;less than&amp;quot; operator against a numeric value you must not use quotes. Otherwise SQL will interpret that as a string comparison. And string comparing numeric values will not be accurate.&lt;br /&gt;
&lt;br /&gt;
=Invoice filters=&lt;br /&gt;
==Invoice Filter requirements==&lt;br /&gt;
Every invoice filter must include (start with) at least the following:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT I.* FROM INVOICE I, ORDERHDR O&lt;br /&gt;
where ...&lt;br /&gt;
and I.order_id = O.order_id&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
*Target invoices whose item total is greater than $X&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT I.* FROM Invoice I, Orderhdr O&lt;br /&gt;
WHERE I.ITEM_TOT &amp;gt; 300&lt;br /&gt;
and I.order_id = O.order_id&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Modify the 300 in this example to represent the desired item total threshold. This item total take into account line and order level discounts but does not include S&amp;amp;H, taxes, or other order level charges.&lt;br /&gt;
&lt;br /&gt;
*Target invoices shipping to Canada&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
Select Distinct I.* from Invoice I, Address A, Orderhdr O&lt;br /&gt;
where I.SHIP_ID = A.ADDRESS_ID&lt;br /&gt;
and A.COUNTRY = &#039;001&#039;&lt;br /&gt;
and I.order_id = O.order_id&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Target invoices with packages shipping via specific methods. This is useful with Best Shipping since the order/invoice no longer has a shipping method or if you&#039;re trying to filter on the actual shipping choice used instead of the underlying service level (which is how the shipping method filters work normally)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT I.* FROM Invoice I, Package P, Orderhdr O&lt;br /&gt;
WHERE I.order_id = P.order_id and I.invoice_id = P.invoice_id&lt;br /&gt;
and I.order_id = O.order_id&lt;br /&gt;
and P.shipmethid in&lt;br /&gt;
(SELECT shipmethid FROM SHIPMETH&lt;br /&gt;
WHERE SEL_LETTER in (&#039;C&#039;,&#039;UC&#039;))&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Targets fulfilled invoices with a specific adcode that does not use a specific term and the order does not contain an item ending with M: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT I.* FROM INVOICE I, ORDERHDR O&lt;br /&gt;
WHERE I.order_id = O.order_id&lt;br /&gt;
AND O.adcode = &#039; HOMESHOW&#039;&lt;br /&gt;
AND O.term_id &amp;lt;&amp;gt; &#039;002&#039;&lt;br /&gt;
AND I.fulfill_dt &amp;gt; &#039;2010-01-01&#039;&lt;br /&gt;
AND I.order_id|I.invoice_id NOT IN&lt;br /&gt;
(SELECT order_id|invoice_id &lt;br /&gt;
FROM itemsord&lt;br /&gt;
WHERE fulfill_dt &amp;gt; &#039;2010-01-01&#039;&lt;br /&gt;
AND prod_code LIKE &#039;%M&#039;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Single Item Orders - The technique used here to identify which invoice are single product is unusual and noteworthy. There is a join against a sub-select because a sub-select on its own is only useful when looking for a single field and in this case we need both order_id and invoice_id. &lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT I.* FROM Invoice I&lt;br /&gt;
JOIN ORDERHDR O ON O.order_id = I.order_id&lt;br /&gt;
JOIN ITEMSORD T ON T.order_id = I.order_id AND T.invoice_id = I.invoice_id&lt;br /&gt;
JOIN (SELECT order_id, invoice_id FROM itemsord&lt;br /&gt;
GROUP BY ORDER_ID, Invoice_id&lt;br /&gt;
HAVING count(line_id) = 1) j ON j.order_id = I.order_id AND j.invoice_id = I.invoice_id&lt;br /&gt;
WHERE I.TRANS_TYPE &amp;lt;&amp;gt; &#039;R&#039; --Excluding returns&lt;br /&gt;
AND T.PROD_CODE IN (&#039;SUB1&#039;,&#039;SUB2&#039;,&#039;SUB3&#039;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Invoices by State and Carrier - We wrote this for invoice filtering by state. This shows the use of a sub-select that is not part of a join: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT I.* FROM Invoice I&lt;br /&gt;
JOIN Orderhdr O ON O.order_id = I.order_id&lt;br /&gt;
JOIN Address A ON A.ADDRESS_ID = I.SHIP_ID&lt;br /&gt;
WHERE A.STATE IN&lt;br /&gt;
(&#039;ME&#039;,&#039;NH&#039;,&#039;VT&#039;,&#039;MA&#039;,&#039;CT&#039;,&#039;RI&#039;,&#039;NJ&#039;,&#039;DE&#039;,&#039;MD&#039;,&#039;DC&#039;,&#039;NY&#039;,&#039;PA&#039;,&#039;VA&#039;,&#039;NC&#039;,&#039;SC&#039;,&#039;GA&#039;,&#039;TN&#039;,&#039;KY&#039;,&#039;WV&#039;,&#039;OH&#039;,&#039;AL&#039;)&lt;br /&gt;
AND O.SHIP_VIA IN (SELECT ship_code FROM SHIPPERS WHERE SHIPPER = &#039;UPS&#039;)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Invoices using a specific shipping method AND have at least one item in a bin location range:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT I.* FROM INVOICE I&lt;br /&gt;
JOIN ORDERHDR O ON O.ORDER_ID = I.ORDER_ID&lt;br /&gt;
JOIN (&lt;br /&gt;
SELECT IO.INVOICE_ID, IO.ORDER_ID FROM SKUWARE S &lt;br /&gt;
JOIN ITEMSORD IO ON IO.SKU_ID = S.SKU_ID&lt;br /&gt;
WHERE REGEXP_SUBSTR(S.BINLOC,&#039;\d+\.\d&#039;) BETWEEN 3.0 AND 3.9&lt;br /&gt;
GROUP BY IO.ORDER_ID, IO.INVOICE_ID, IO.WAREHOUSE&lt;br /&gt;
) BIN ON BIN.INVOICE_ID = I.INVOICE_ID AND BIN.ORDER_ID = I.ORDER_ID&lt;br /&gt;
WHERE I.SHIPMETH_USED = &#039;First Class Mail&#039;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Invoices using a specific shipping method AND have only items in a bin location range (assumes bin locations are numeric):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tSQL&amp;quot;&amp;gt;&lt;br /&gt;
SELECT DISTINCT I.* FROM INVOICE I &lt;br /&gt;
JOIN ORDERHDR O ON O.ORDER_ID = I.ORDER_ID&lt;br /&gt;
JOIN (SELECT IO.INVOICE_ID, &lt;br /&gt;
  IO.ORDER_ID, IO.WAREHOUSE, &lt;br /&gt;
  REGEXP_SUBSTR(S.BINLOC,&#039;\d+\.*\d*&#039;) AS BINLOC_NUM, &lt;br /&gt;
  COUNT(IO.ITEMID) AS ITEMS&lt;br /&gt;
  FROM SKUWARE S JOIN ITEMSORD IO ON IO.SKU_ID = S.SKU_ID&lt;br /&gt;
  GROUP BY IO.ORDER_ID, IO.INVOICE_ID, IO.WAREHOUSE, S.BINLOC&lt;br /&gt;
  HAVING BINLOC_NUM BETWEEN 3.0 AND 3.9&lt;br /&gt;
) IC ON IC.ORDER_ID = I.ORDER_ID AND IC.INVOICE_ID = I.INVOICE_ID&lt;br /&gt;
WHERE IC.ITEMS = (    &lt;br /&gt;
  SELECT COUNT(*) FROM ITEMSORD IO &lt;br /&gt;
  WHERE IO.ORDER_ID = I.ORDER_ID &lt;br /&gt;
  AND IO.INVOICE_ID = I.INVOICE_ID&lt;br /&gt;
) &lt;br /&gt;
AND I.SHIPMETH_USED = &#039;First Class Mail&#039;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Related Articles=&lt;br /&gt;
*[[Compound Mail List Filters]]&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2160</id>
		<title>EMV Cards</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2160"/>
		<updated>2015-07-13T19:07:45Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: /* Will it work with my merchant account? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some background information on EMV cards, clarification on the industry&#039;s roll-out plans, requirements, and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
=[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/what-is-emv/ What is EMV]=&lt;br /&gt;
The above title link is an informative article from our primary payment processing partner, Mercury Payment Systems (MPS). The cards are also referred to as &amp;quot;chip card&amp;quot; (because they have a chip embedded in the card) or NFC which is near field communications chip. Most new devices will have you insert the card chip first into a slot, instead of swiping the mag stripe, where others will use the NFC technology where you&#039;d merely wave the chip over the reader.&lt;br /&gt;
&lt;br /&gt;
=Why chips?=&lt;br /&gt;
The chip is used in lieu of the magnetic stripe to communicate the card number, expiration date, and name to the device you plug it into (no more swiping.) These chip cards are much more difficult to copy/duplicate. This technology used is prevalent worldwide (we&#039;re late to the game in the U.S.A.) and helps to reduce fraudulent &amp;quot;card-present&amp;quot; transactions. It offers no additional security for card use online or by phone (CNP - card not present transactions). It&#039;s worth noting that these cards still have a mag stripe on them to be used with traditional/current card swipe solutions since it is expected that it will take retailers a few years to implement chip card readers.&lt;br /&gt;
&lt;br /&gt;
=Should I care?=&lt;br /&gt;
If you do all of your business by phone and/or online, no need to worry about the change. It is something you should consider if you have a retail store front or other scenario where you accept physical cards.&lt;br /&gt;
&lt;br /&gt;
As a consumer you&#039;ll start receiving new chip cards from your credit card providers and be instructed on how to use them as merchants start adopting the hardware needed to process them. &lt;br /&gt;
&lt;br /&gt;
=Do I have to accept EMV in my store?=&lt;br /&gt;
[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/ &amp;quot;U.S. merchants are not required to implement EMV by October 2015&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
Supporting EMV is not a requirement, see the link about or the following article from Visa:&lt;br /&gt;
&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
&lt;br /&gt;
Be aware that if you accept an EMV card by using its mag stripe instead, and the charge turns out to be fraudulent, you will be responsible for the fraudulent transaction costs.&lt;br /&gt;
&lt;br /&gt;
=What about the PCI fines?!=&lt;br /&gt;
This is not about PCI, breaches or the crippling fines that go with them. If a fraudulent transaction occurs with an EMV card, the merchant is responsible for the cost of that fraudulent transaction. It appears to be the same as losing a chargeback dispute. It is not a data breach that would incur PCI fines. Here is an article from the PCI Council that explains their stance:&lt;br /&gt;
&lt;br /&gt;
*https://www.pcisecuritystandards.org/news_events/quick_resources/increasing_security_with_emv_chip_and_pci.php&lt;br /&gt;
&lt;br /&gt;
It does help to reduce fraudulent card-present transactions. While not a requirement, you may find it is worth the expense/effort to implement an EMV card reader.&lt;br /&gt;
&lt;br /&gt;
There is an additional scenario where if the card was swiped in your store and then a duplicate card was created by someone obtaining the mag stripe data from your system, you would then also be liable for any transactions made with the duplicated card. CMS does not, however, store the mag stripe data (per our adherence to PA-DSS 3.1 regulations) so this should not be a concern for CMS users unless your mag stripe reader itself was replaced/spoofed.&lt;br /&gt;
&lt;br /&gt;
=When or is it required?=&lt;br /&gt;
The first phase of the EMV roll-out is October 1, 2015 but even then it is not required. These articles confirm it is a liability shift, not a requirement:&lt;br /&gt;
&lt;br /&gt;
*http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
*http://www.mercurypay.com/article/emv-chip-card-technology&lt;br /&gt;
&lt;br /&gt;
Our primary payment partner MPS just announced their EMV solution in April and we are a now researching how we can support it. The only solution for EMV is to integrate with one of their certified input devices. We can&#039;t say yet when we will be able to support EMV but it&#039;s possible/likely that it will not be by October.&lt;br /&gt;
&lt;br /&gt;
=I want it already, what&#039;s the ETA?=&lt;br /&gt;
To clarify, these EMV readers are not just another input device to feed the card data to CMS for processing like the mag stripe readers have been. This is a new paradigm where the card reader device MUST handle the processing. As such each device must be individually certified (which is rigorous) and thus we expect to only offer support for a small number of devices. CMS will also have to be modified to support feeding transaction data to the device, have the device process the transaction, and CMS be updated with the results of that processing. This is not a trivial project and must be executed carefully to ensure a trouble-free and PCI compliant implementation. Bottom line, it&#039;s going to take some time.&lt;br /&gt;
&lt;br /&gt;
=Will it work with my merchant account?=&lt;br /&gt;
Our only solution for EMV will be with MPS and some of their devices. If your merchant account is not with MPS, please contact us so we can arrange to have a quote prepared for you.&lt;br /&gt;
&lt;br /&gt;
Again, this has no effect on card not present (CNP) transaction, only card-present. &lt;br /&gt;
&lt;br /&gt;
If you were to assess the number of card present fraudulent charges you&#039;ve received in the past and then further reduce that by the fraction of future charges that will be made with cards that are EMV (noting this liability doesn&#039;t apply to non-EMV cards), in most cases the resulting risk should be low. As explained in this article the corresponding liability risk should also be low.&lt;br /&gt;
&lt;br /&gt;
=Any more good news?=&lt;br /&gt;
Indeed. The devices we&#039;re examining appear to also be conducive to working with other payment solutions like PIN Debit, ApplyPay and other NFC payment solutions.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2159</id>
		<title>EMV Cards</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2159"/>
		<updated>2015-07-13T19:04:08Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: /* What about the PCI fines?! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some background information on EMV cards, clarification on the industry&#039;s roll-out plans, requirements, and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
=[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/what-is-emv/ What is EMV]=&lt;br /&gt;
The above title link is an informative article from our primary payment processing partner, Mercury Payment Systems (MPS). The cards are also referred to as &amp;quot;chip card&amp;quot; (because they have a chip embedded in the card) or NFC which is near field communications chip. Most new devices will have you insert the card chip first into a slot, instead of swiping the mag stripe, where others will use the NFC technology where you&#039;d merely wave the chip over the reader.&lt;br /&gt;
&lt;br /&gt;
=Why chips?=&lt;br /&gt;
The chip is used in lieu of the magnetic stripe to communicate the card number, expiration date, and name to the device you plug it into (no more swiping.) These chip cards are much more difficult to copy/duplicate. This technology used is prevalent worldwide (we&#039;re late to the game in the U.S.A.) and helps to reduce fraudulent &amp;quot;card-present&amp;quot; transactions. It offers no additional security for card use online or by phone (CNP - card not present transactions). It&#039;s worth noting that these cards still have a mag stripe on them to be used with traditional/current card swipe solutions since it is expected that it will take retailers a few years to implement chip card readers.&lt;br /&gt;
&lt;br /&gt;
=Should I care?=&lt;br /&gt;
If you do all of your business by phone and/or online, no need to worry about the change. It is something you should consider if you have a retail store front or other scenario where you accept physical cards.&lt;br /&gt;
&lt;br /&gt;
As a consumer you&#039;ll start receiving new chip cards from your credit card providers and be instructed on how to use them as merchants start adopting the hardware needed to process them. &lt;br /&gt;
&lt;br /&gt;
=Do I have to accept EMV in my store?=&lt;br /&gt;
[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/ &amp;quot;U.S. merchants are not required to implement EMV by October 2015&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
Supporting EMV is not a requirement, see the link about or the following article from Visa:&lt;br /&gt;
&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
&lt;br /&gt;
Be aware that if you accept an EMV card by using its mag stripe instead, and the charge turns out to be fraudulent, you will be responsible for the fraudulent transaction costs.&lt;br /&gt;
&lt;br /&gt;
=What about the PCI fines?!=&lt;br /&gt;
This is not about PCI, breaches or the crippling fines that go with them. If a fraudulent transaction occurs with an EMV card, the merchant is responsible for the cost of that fraudulent transaction. It appears to be the same as losing a chargeback dispute. It is not a data breach that would incur PCI fines. Here is an article from the PCI Council that explains their stance:&lt;br /&gt;
&lt;br /&gt;
*https://www.pcisecuritystandards.org/news_events/quick_resources/increasing_security_with_emv_chip_and_pci.php&lt;br /&gt;
&lt;br /&gt;
It does help to reduce fraudulent card-present transactions. While not a requirement, you may find it is worth the expense/effort to implement an EMV card reader.&lt;br /&gt;
&lt;br /&gt;
There is an additional scenario where if the card was swiped in your store and then a duplicate card was created by someone obtaining the mag stripe data from your system, you would then also be liable for any transactions made with the duplicated card. CMS does not, however, store the mag stripe data (per our adherence to PA-DSS 3.1 regulations) so this should not be a concern for CMS users unless your mag stripe reader itself was replaced/spoofed.&lt;br /&gt;
&lt;br /&gt;
=When or is it required?=&lt;br /&gt;
The first phase of the EMV roll-out is October 1, 2015 but even then it is not required. These articles confirm it is a liability shift, not a requirement:&lt;br /&gt;
&lt;br /&gt;
*http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
*http://www.mercurypay.com/article/emv-chip-card-technology&lt;br /&gt;
&lt;br /&gt;
Our primary payment partner MPS just announced their EMV solution in April and we are a now researching how we can support it. The only solution for EMV is to integrate with one of their certified input devices. We can&#039;t say yet when we will be able to support EMV but it&#039;s possible/likely that it will not be by October.&lt;br /&gt;
&lt;br /&gt;
=I want it already, what&#039;s the ETA?=&lt;br /&gt;
To clarify, these EMV readers are not just another input device to feed the card data to CMS for processing like the mag stripe readers have been. This is a new paradigm where the card reader device MUST handle the processing. As such each device must be individually certified (which is rigorous) and thus we expect to only offer support for a small number of devices. CMS will also have to be modified to support feeding transaction data to the device, have the device process the transaction, and CMS be updated with the results of that processing. This is not a trivial project and must be executed carefully to ensure a trouble-free and PCI compliant implementation. Bottom line, it&#039;s going to take some time.&lt;br /&gt;
&lt;br /&gt;
=Will it work with my merchant account?=&lt;br /&gt;
Our only solution for EMV will be with MPS and some of their devices. If your merchant account is not with MPS, please contact us so we can get arrange to have a quote prepared for you.&lt;br /&gt;
&lt;br /&gt;
Again, this has no effect on card not present (CNP) transaction, only card-present. &lt;br /&gt;
&lt;br /&gt;
If you were to assess the number of card present fraudulent charges you&#039;ve received in the past, and then further reduce that by the fraction of future charges that will be made with cards that are EMV (noting this liability doesn&#039;t apply to non-EMV cards), in most cases the resulting risk should figure to be quite low. As explained in this article, the corresponding liability risk should also be quite low.&lt;br /&gt;
&lt;br /&gt;
=Any more good news?=&lt;br /&gt;
Indeed. The devices we&#039;re examining appear to also be conducive to working with other payment solutions like PIN Debit, ApplyPay and other NFC payment solutions.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2158</id>
		<title>EMV Cards</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2158"/>
		<updated>2015-07-13T19:02:06Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: /* Do I have to accept EMV in my store? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some background information on EMV cards, clarification on the industry&#039;s roll-out plans, requirements, and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
=[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/what-is-emv/ What is EMV]=&lt;br /&gt;
The above title link is an informative article from our primary payment processing partner, Mercury Payment Systems (MPS). The cards are also referred to as &amp;quot;chip card&amp;quot; (because they have a chip embedded in the card) or NFC which is near field communications chip. Most new devices will have you insert the card chip first into a slot, instead of swiping the mag stripe, where others will use the NFC technology where you&#039;d merely wave the chip over the reader.&lt;br /&gt;
&lt;br /&gt;
=Why chips?=&lt;br /&gt;
The chip is used in lieu of the magnetic stripe to communicate the card number, expiration date, and name to the device you plug it into (no more swiping.) These chip cards are much more difficult to copy/duplicate. This technology used is prevalent worldwide (we&#039;re late to the game in the U.S.A.) and helps to reduce fraudulent &amp;quot;card-present&amp;quot; transactions. It offers no additional security for card use online or by phone (CNP - card not present transactions). It&#039;s worth noting that these cards still have a mag stripe on them to be used with traditional/current card swipe solutions since it is expected that it will take retailers a few years to implement chip card readers.&lt;br /&gt;
&lt;br /&gt;
=Should I care?=&lt;br /&gt;
If you do all of your business by phone and/or online, no need to worry about the change. It is something you should consider if you have a retail store front or other scenario where you accept physical cards.&lt;br /&gt;
&lt;br /&gt;
As a consumer you&#039;ll start receiving new chip cards from your credit card providers and be instructed on how to use them as merchants start adopting the hardware needed to process them. &lt;br /&gt;
&lt;br /&gt;
=Do I have to accept EMV in my store?=&lt;br /&gt;
[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/ &amp;quot;U.S. merchants are not required to implement EMV by October 2015&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
Supporting EMV is not a requirement, see the link about or the following article from Visa:&lt;br /&gt;
&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
&lt;br /&gt;
Be aware that if you accept an EMV card by using its mag stripe instead, and the charge turns out to be fraudulent, you will be responsible for the fraudulent transaction costs.&lt;br /&gt;
&lt;br /&gt;
=What about the PCI fines?!=&lt;br /&gt;
This is not about PCI, breaches or the crippling fines that go with them. If a fraudulent transaction occurs with an EMV card, the merchant is responsible for the cost of that fraudulent transaction. It appears to be the same as losing a chargeback dispute. It is not a data breach that would incur PCI fines. Here is an article from the PCI Council that explains their stance:&lt;br /&gt;
&lt;br /&gt;
*https://www.pcisecuritystandards.org/news_events/quick_resources/increasing_security_with_emv_chip_and_pci.php&lt;br /&gt;
&lt;br /&gt;
It does help to reduce fraudulent card-present transactions so, while not a requirement, you may find it is worth the expense/effort to implement an EMV card reader.&lt;br /&gt;
&lt;br /&gt;
There is an additional scenario where if the card was swiped in your store and then a duplicate card was created by someone obtaining the mag stripe data from your system, you would then also be liable for any transactions made with the duplicated card. CMS does not, however, store the mag stripe data (per our adherence to PA-DSS 3.1 regulations) so this should not be a concern for CMS users unless your mag stripe reader itself was replaced/spoofed.&lt;br /&gt;
&lt;br /&gt;
=When or is it required?=&lt;br /&gt;
The first phase of the EMV roll-out is October 1, 2015 but even then it is not required. These articles confirm it is a liability shift, not a requirement:&lt;br /&gt;
&lt;br /&gt;
*http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
*http://www.mercurypay.com/article/emv-chip-card-technology&lt;br /&gt;
&lt;br /&gt;
Our primary payment partner MPS just announced their EMV solution in April and we are a now researching how we can support it. The only solution for EMV is to integrate with one of their certified input devices. We can&#039;t say yet when we will be able to support EMV but it&#039;s possible/likely that it will not be by October.&lt;br /&gt;
&lt;br /&gt;
=I want it already, what&#039;s the ETA?=&lt;br /&gt;
To clarify, these EMV readers are not just another input device to feed the card data to CMS for processing like the mag stripe readers have been. This is a new paradigm where the card reader device MUST handle the processing. As such each device must be individually certified (which is rigorous) and thus we expect to only offer support for a small number of devices. CMS will also have to be modified to support feeding transaction data to the device, have the device process the transaction, and CMS be updated with the results of that processing. This is not a trivial project and must be executed carefully to ensure a trouble-free and PCI compliant implementation. Bottom line, it&#039;s going to take some time.&lt;br /&gt;
&lt;br /&gt;
=Will it work with my merchant account?=&lt;br /&gt;
Our only solution for EMV will be with MPS and some of their devices. If your merchant account is not with MPS, please contact us so we can get arrange to have a quote prepared for you.&lt;br /&gt;
&lt;br /&gt;
Again, this has no effect on card not present (CNP) transaction, only card-present. &lt;br /&gt;
&lt;br /&gt;
If you were to assess the number of card present fraudulent charges you&#039;ve received in the past, and then further reduce that by the fraction of future charges that will be made with cards that are EMV (noting this liability doesn&#039;t apply to non-EMV cards), in most cases the resulting risk should figure to be quite low. As explained in this article, the corresponding liability risk should also be quite low.&lt;br /&gt;
&lt;br /&gt;
=Any more good news?=&lt;br /&gt;
Indeed. The devices we&#039;re examining appear to also be conducive to working with other payment solutions like PIN Debit, ApplyPay and other NFC payment solutions.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2157</id>
		<title>EMV Cards</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2157"/>
		<updated>2015-07-13T19:00:38Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: /* Do I have to accept EMV in my store? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some background information on EMV cards, clarification on the industry&#039;s roll-out plans, requirements, and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
=[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/what-is-emv/ What is EMV]=&lt;br /&gt;
The above title link is an informative article from our primary payment processing partner, Mercury Payment Systems (MPS). The cards are also referred to as &amp;quot;chip card&amp;quot; (because they have a chip embedded in the card) or NFC which is near field communications chip. Most new devices will have you insert the card chip first into a slot, instead of swiping the mag stripe, where others will use the NFC technology where you&#039;d merely wave the chip over the reader.&lt;br /&gt;
&lt;br /&gt;
=Why chips?=&lt;br /&gt;
The chip is used in lieu of the magnetic stripe to communicate the card number, expiration date, and name to the device you plug it into (no more swiping.) These chip cards are much more difficult to copy/duplicate. This technology used is prevalent worldwide (we&#039;re late to the game in the U.S.A.) and helps to reduce fraudulent &amp;quot;card-present&amp;quot; transactions. It offers no additional security for card use online or by phone (CNP - card not present transactions). It&#039;s worth noting that these cards still have a mag stripe on them to be used with traditional/current card swipe solutions since it is expected that it will take retailers a few years to implement chip card readers.&lt;br /&gt;
&lt;br /&gt;
=Should I care?=&lt;br /&gt;
If you do all of your business by phone and/or online, no need to worry about the change. It is something you should consider if you have a retail store front or other scenario where you accept physical cards.&lt;br /&gt;
&lt;br /&gt;
As a consumer you&#039;ll start receiving new chip cards from your credit card providers and be instructed on how to use them as merchants start adopting the hardware needed to process them. &lt;br /&gt;
&lt;br /&gt;
=Do I have to accept EMV in my store?=&lt;br /&gt;
[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/ &amp;quot;U.S. merchants are not required to implement EMV by October 2015&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
Supporting EMV is not a requirement, see the link about or the following article from Visa:&lt;br /&gt;
&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
&lt;br /&gt;
The rub is that if you do not, and you accept an EMV card by using its mag stripe instead, and the charge turns out to be fraudulent, you will be responsible for the fraudulent transaction costs.&lt;br /&gt;
&lt;br /&gt;
=What about the PCI fines?!=&lt;br /&gt;
This is not about PCI, breaches or the crippling fines that go with them. If a fraudulent transaction occurs with an EMV card, the merchant is responsible for the cost of that fraudulent transaction. It appears to be the same as losing a chargeback dispute. It is not a data breach that would incur PCI fines. Here is an article from the PCI Council that explains their stance:&lt;br /&gt;
&lt;br /&gt;
*https://www.pcisecuritystandards.org/news_events/quick_resources/increasing_security_with_emv_chip_and_pci.php&lt;br /&gt;
&lt;br /&gt;
It does help to reduce fraudulent card-present transactions so, while not a requirement, you may find it is worth the expense/effort to implement an EMV card reader.&lt;br /&gt;
&lt;br /&gt;
There is an additional scenario where if the card was swiped in your store and then a duplicate card was created by someone obtaining the mag stripe data from your system, you would then also be liable for any transactions made with the duplicated card. CMS does not, however, store the mag stripe data (per our adherence to PA-DSS 3.1 regulations) so this should not be a concern for CMS users unless your mag stripe reader itself was replaced/spoofed.&lt;br /&gt;
&lt;br /&gt;
=When or is it required?=&lt;br /&gt;
The first phase of the EMV roll-out is October 1, 2015 but even then it is not required. These articles confirm it is a liability shift, not a requirement:&lt;br /&gt;
&lt;br /&gt;
*http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
*http://www.mercurypay.com/article/emv-chip-card-technology&lt;br /&gt;
&lt;br /&gt;
Our primary payment partner MPS just announced their EMV solution in April and we are a now researching how we can support it. The only solution for EMV is to integrate with one of their certified input devices. We can&#039;t say yet when we will be able to support EMV but it&#039;s possible/likely that it will not be by October.&lt;br /&gt;
&lt;br /&gt;
=I want it already, what&#039;s the ETA?=&lt;br /&gt;
To clarify, these EMV readers are not just another input device to feed the card data to CMS for processing like the mag stripe readers have been. This is a new paradigm where the card reader device MUST handle the processing. As such each device must be individually certified (which is rigorous) and thus we expect to only offer support for a small number of devices. CMS will also have to be modified to support feeding transaction data to the device, have the device process the transaction, and CMS be updated with the results of that processing. This is not a trivial project and must be executed carefully to ensure a trouble-free and PCI compliant implementation. Bottom line, it&#039;s going to take some time.&lt;br /&gt;
&lt;br /&gt;
=Will it work with my merchant account?=&lt;br /&gt;
Our only solution for EMV will be with MPS and some of their devices. If your merchant account is not with MPS, please contact us so we can get arrange to have a quote prepared for you.&lt;br /&gt;
&lt;br /&gt;
Again, this has no effect on card not present (CNP) transaction, only card-present. &lt;br /&gt;
&lt;br /&gt;
If you were to assess the number of card present fraudulent charges you&#039;ve received in the past, and then further reduce that by the fraction of future charges that will be made with cards that are EMV (noting this liability doesn&#039;t apply to non-EMV cards), in most cases the resulting risk should figure to be quite low. As explained in this article, the corresponding liability risk should also be quite low.&lt;br /&gt;
&lt;br /&gt;
=Any more good news?=&lt;br /&gt;
Indeed. The devices we&#039;re examining appear to also be conducive to working with other payment solutions like PIN Debit, ApplyPay and other NFC payment solutions.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2156</id>
		<title>EMV Cards</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=EMV_Cards&amp;diff=2156"/>
		<updated>2015-07-13T18:59:03Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: /* Why chips? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Some background information on EMV cards, clarification on the industry&#039;s roll-out plans, requirements, and frequently asked questions.&lt;br /&gt;
&lt;br /&gt;
=[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/what-is-emv/ What is EMV]=&lt;br /&gt;
The above title link is an informative article from our primary payment processing partner, Mercury Payment Systems (MPS). The cards are also referred to as &amp;quot;chip card&amp;quot; (because they have a chip embedded in the card) or NFC which is near field communications chip. Most new devices will have you insert the card chip first into a slot, instead of swiping the mag stripe, where others will use the NFC technology where you&#039;d merely wave the chip over the reader.&lt;br /&gt;
&lt;br /&gt;
=Why chips?=&lt;br /&gt;
The chip is used in lieu of the magnetic stripe to communicate the card number, expiration date, and name to the device you plug it into (no more swiping.) These chip cards are much more difficult to copy/duplicate. This technology used is prevalent worldwide (we&#039;re late to the game in the U.S.A.) and helps to reduce fraudulent &amp;quot;card-present&amp;quot; transactions. It offers no additional security for card use online or by phone (CNP - card not present transactions). It&#039;s worth noting that these cards still have a mag stripe on them to be used with traditional/current card swipe solutions since it is expected that it will take retailers a few years to implement chip card readers.&lt;br /&gt;
&lt;br /&gt;
=Should I care?=&lt;br /&gt;
If you do all of your business by phone and/or online, no need to worry about the change. It is something you should consider if you have a retail store front or other scenario where you accept physical cards.&lt;br /&gt;
&lt;br /&gt;
As a consumer you&#039;ll start receiving new chip cards from your credit card providers and be instructed on how to use them as merchants start adopting the hardware needed to process them. &lt;br /&gt;
&lt;br /&gt;
=Do I have to accept EMV in my store?=&lt;br /&gt;
[http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/ &amp;quot;EMV is not a mandate in October 2015&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
Supporting EMV is not a requirement, see the link about or the following article from Visa:&lt;br /&gt;
&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
&lt;br /&gt;
The rub is that if you do not, and you accept an EMV card by using its mag stripe instead, and the charge turns out to be fraudulent, you will be responsible for the fraudulent transaction costs.&lt;br /&gt;
&lt;br /&gt;
=What about the PCI fines?!=&lt;br /&gt;
This is not about PCI, breaches or the crippling fines that go with them. If a fraudulent transaction occurs with an EMV card, the merchant is responsible for the cost of that fraudulent transaction. It appears to be the same as losing a chargeback dispute. It is not a data breach that would incur PCI fines. Here is an article from the PCI Council that explains their stance:&lt;br /&gt;
&lt;br /&gt;
*https://www.pcisecuritystandards.org/news_events/quick_resources/increasing_security_with_emv_chip_and_pci.php&lt;br /&gt;
&lt;br /&gt;
It does help to reduce fraudulent card-present transactions so, while not a requirement, you may find it is worth the expense/effort to implement an EMV card reader.&lt;br /&gt;
&lt;br /&gt;
There is an additional scenario where if the card was swiped in your store and then a duplicate card was created by someone obtaining the mag stripe data from your system, you would then also be liable for any transactions made with the duplicated card. CMS does not, however, store the mag stripe data (per our adherence to PA-DSS 3.1 regulations) so this should not be a concern for CMS users unless your mag stripe reader itself was replaced/spoofed.&lt;br /&gt;
&lt;br /&gt;
=When or is it required?=&lt;br /&gt;
The first phase of the EMV roll-out is October 1, 2015 but even then it is not required. These articles confirm it is a liability shift, not a requirement:&lt;br /&gt;
&lt;br /&gt;
*http://merchant.mercurypay.com/secure-my-business/getting-ready-emv/do-i-need-emv/&lt;br /&gt;
*http://usa.visa.com/merchants/grow-your-business/payment-technologies/credit-card-chip/liability-shift.jsp&lt;br /&gt;
*http://www.mercurypay.com/article/emv-chip-card-technology&lt;br /&gt;
&lt;br /&gt;
Our primary payment partner MPS just announced their EMV solution in April and we are a now researching how we can support it. The only solution for EMV is to integrate with one of their certified input devices. We can&#039;t say yet when we will be able to support EMV but it&#039;s possible/likely that it will not be by October.&lt;br /&gt;
&lt;br /&gt;
=I want it already, what&#039;s the ETA?=&lt;br /&gt;
To clarify, these EMV readers are not just another input device to feed the card data to CMS for processing like the mag stripe readers have been. This is a new paradigm where the card reader device MUST handle the processing. As such each device must be individually certified (which is rigorous) and thus we expect to only offer support for a small number of devices. CMS will also have to be modified to support feeding transaction data to the device, have the device process the transaction, and CMS be updated with the results of that processing. This is not a trivial project and must be executed carefully to ensure a trouble-free and PCI compliant implementation. Bottom line, it&#039;s going to take some time.&lt;br /&gt;
&lt;br /&gt;
=Will it work with my merchant account?=&lt;br /&gt;
Our only solution for EMV will be with MPS and some of their devices. If your merchant account is not with MPS, please contact us so we can get arrange to have a quote prepared for you.&lt;br /&gt;
&lt;br /&gt;
Again, this has no effect on card not present (CNP) transaction, only card-present. &lt;br /&gt;
&lt;br /&gt;
If you were to assess the number of card present fraudulent charges you&#039;ve received in the past, and then further reduce that by the fraction of future charges that will be made with cards that are EMV (noting this liability doesn&#039;t apply to non-EMV cards), in most cases the resulting risk should figure to be quite low. As explained in this article, the corresponding liability risk should also be quite low.&lt;br /&gt;
&lt;br /&gt;
=Any more good news?=&lt;br /&gt;
Indeed. The devices we&#039;re examining appear to also be conducive to working with other payment solutions like PIN Debit, ApplyPay and other NFC payment solutions.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=NewTestPage&amp;diff=1847</id>
		<title>NewTestPage</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=NewTestPage&amp;diff=1847"/>
		<updated>2014-03-19T21:37:56Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Pending]]&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=NewTestPage&amp;diff=1846</id>
		<title>NewTestPage</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=NewTestPage&amp;diff=1846"/>
		<updated>2014-03-19T21:37:35Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Pending]]&lt;br /&gt;
Should not create.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=NewTestPage&amp;diff=1845</id>
		<title>NewTestPage</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=NewTestPage&amp;diff=1845"/>
		<updated>2014-03-19T21:36:32Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: Created page with &amp;#039;Category:Something Should not create.&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Something]]&lt;br /&gt;
Should not create.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=Hold_Until_Date_Analysis&amp;diff=1844</id>
		<title>Hold Until Date Analysis</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=Hold_Until_Date_Analysis&amp;diff=1844"/>
		<updated>2014-03-19T21:28:29Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Analysis for the pre-processing (early fulfillment) of scheduled future shipping orders.&lt;br /&gt;
&lt;br /&gt;
=Overview=&lt;br /&gt;
Companies with heavy seasonal business may be taking orders well in advance of the holiday and, when the holiday is close to arriving, the user finds themselves with the monumental task of shipping thousands of packages a day where they otherwise would normally process 100 or less. The request from these companies is the ability to prepare these shipments weeks in advance, when they are slower, in order to even out the workload.&lt;br /&gt;
&lt;br /&gt;
=Current Challenges=&lt;br /&gt;
The only way to manage future shipments in CMS today is to use the future fulfill option (which we call future ship.) It really is, however, a delay of the fulfillment. When a future ship order is fulfilled early, it alters the fulfill date and CMS expects that you want it to ship today. There is also no current facility to communicate a future pickup date to UPS Worldship or to delay the sending of shipping confirmation emails since CMS creates these as soon as the invoice is set as shipped.&lt;br /&gt;
&lt;br /&gt;
=Elements of the solution=&lt;br /&gt;
*Ability to schedule a shipment for the future&lt;br /&gt;
*Communicate the desired pick-up date to the carrier via shipping integrations (Worldship and Dazzle at minimum)&lt;br /&gt;
*Post-dating a future shipping date or delaying the setting of the shipped date so the shipped date reflects the date it will actually ship (pick-up date), not when the label is printed&lt;br /&gt;
*Update packages with tracking numbers when labels are printed and have some visibility into the state the order is in (labelled but not shipped, and corresponding controls/lock-downs)&lt;br /&gt;
*Post-dating shipping confirmation emails to match pick-up date (so post-dating is taking place on package and invoice)&lt;br /&gt;
*Way to see, set, and alter the date in the CMS Manifest&lt;br /&gt;
*Means of deciding which orders to release and when without losing the pickup date (date to ship)&lt;br /&gt;
&lt;br /&gt;
=Concerns=&lt;br /&gt;
*Does CMS need to enforce or warn about carrier&#039;s delayed pickup date limitations when releasing a HUD order early?&lt;br /&gt;
**USPS only allows 7 days advance &lt;br /&gt;
**UPS allows 6 months advance&lt;br /&gt;
**FedEx - Freight must be today, Ground up to 14 days, Air services only can be delayed until next shipping day&lt;br /&gt;
*Some indication to the operator that this has been processed/labeled so they do not edit&lt;br /&gt;
*When is the payment processed? Any concern with authorization on release if shipping/capture occurs after the auth expires?&lt;br /&gt;
*For an order that is labeled but not shipped, what is the recourse for an operator to modify or return the order (i.e. customer calls to alter gift message after label printed)&lt;br /&gt;
*If we are allocating early to orders shipping in the future, there is a greater chance the item will not actually be on the shelf when it comes time to pick. Should any provision be made to explicitly handle this (removing the item from the order without restocking) or is it up to the user to simply do what they&#039;d have to do today which is remove the item from the order and manually adjust stock (and contact the customer)?&lt;br /&gt;
*For items that have fixed availability (the primary impetus of wanting to allocate at the time of order) should they be set as discontinued to disallow back orders or do we need a new flag that doesn&#039;t set it as discontinued but also does not allow back ordering?&lt;br /&gt;
&lt;br /&gt;
=Ideas for the Solution=&lt;br /&gt;
One possible way to handle these orders could be with a new Hold type called Hold Until Date (HUD) much like our [http://updates.newhavensoftware.com/v905release_notes.htm#link-1-1 Hold Until Complete] (HUC) feature. These would be manually placed on HUD (vs HUC which CMS can automatically-set). This gives us the following benefits:&lt;br /&gt;
*Exposure that the order is being held until a certain date&lt;br /&gt;
*Allocation for future ships&lt;br /&gt;
*Means of identifying and reporting on orders through FulfillMan&amp;gt;Holds&lt;br /&gt;
*No -2 fulfillment invoice&lt;br /&gt;
*Released from Hold Manager (does release change/update any dates on the order, invoice, package, payment, etc?)&lt;br /&gt;
*Integrations&lt;br /&gt;
**Mods to our XML integration to pass the pick-up date which we know to work&lt;br /&gt;
**Mods to UPSPackages to include the pick-up date for keyed imports (must be tested although we know Worldship can be set in a pick-up date mode so may not be needed)&lt;br /&gt;
**Endicia - TBD&lt;br /&gt;
**FedEx - Possibly not required for a phase 1 solution&lt;br /&gt;
*Like HUC, HUD would not allow for BO items, future ship items, or multiple invoices (or does it need to?)&lt;br /&gt;
&lt;br /&gt;
=Analysis=&lt;br /&gt;
==Proof of Concept==&lt;br /&gt;
Ideas to test in special builds to help expose all needed aspects of the solution.&lt;br /&gt;
===Step 1 - Label &amp;lt;&amp;gt; Shipped===&lt;br /&gt;
In CMS disconnect any logic that would automatically set a shipped date based on the creation of a label or updating of a tracking number. We&#039;ll want to separate the two so a label can be generated without posting as shipped.&lt;br /&gt;
*How should this be automated? Possibly we set as shipped if label processed date &amp;lt;= date to ship otherwise leave to other mechanism to set as shipped (Unshipped, EoD update from Worldship, or ?)&lt;br /&gt;
&lt;br /&gt;
===HUD===&lt;br /&gt;
Explore the &amp;quot;Hold Until Date&amp;quot; idea. Order could be a mix of HUC and HUD and could only fulfill if both were met. Possibly an HUC fulfillment would be allowed to occur but remain on HUD if the date has not been met. How then are HUD&#039;s released and how would we handle an early release so its original date could be retained for use in passing through to the shipping integrations for Pickup Date. Seems to require a new HUD tab in Fulfillment Manager. Like Future Ships, seems there should be an override option. Could future ships and HUD be merged and released from the same list (like we do for HUC) or should they remain separate?&lt;br /&gt;
&lt;br /&gt;
==Use Cases==&lt;br /&gt;
List of user stories/cases to better understand what they are trying to accomplish and expected behavior:&lt;br /&gt;
==C.River==&lt;br /&gt;
&lt;br /&gt;
===L.Orchards===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Specs]]&lt;br /&gt;
[[Category:Published]]&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=Test_page_2&amp;diff=1843</id>
		<title>Test page 2</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=Test_page_2&amp;diff=1843"/>
		<updated>2014-03-19T21:28:00Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Pending]]&lt;br /&gt;
This is more information related to nothing&lt;br /&gt;
Testing&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=Build_A_Product&amp;diff=1842</id>
		<title>Build A Product</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=Build_A_Product&amp;diff=1842"/>
		<updated>2014-03-19T21:27:32Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Pending]]&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Build a Product&amp;quot; products are a way of allowing users to build their own product from a group of products you have chosen. In our example we will use a chocolate gift pack where the user can select four chocolate bars from a list of six.&lt;br /&gt;
&lt;br /&gt;
==Setting up a Build A Product==&lt;br /&gt;
&lt;br /&gt;
Setting up a build a product is the same as you would setup a normal product (Inventory &amp;gt;&amp;gt; All Products &amp;gt;&amp;gt; Add Product), except from the &#039;&#039;&#039;Product Type&#039;&#039;&#039; dropdown menu you will select &#039;&#039;&#039;Build a Product&#039;&#039;&#039; (see image below). Make sure you give your product a name, SKU, URL Name and a Full Description. Add any images and additional parameters and then from the bottom of the page select &#039;&#039;&#039;Save and Close&#039;&#039;&#039;. This will take you back to the All Products page.&lt;br /&gt;
&lt;br /&gt;
[[Image:Build a product main.jpg]]&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=Exporting_customer_list_from_CMS&amp;diff=1841</id>
		<title>Exporting customer list from CMS</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=Exporting_customer_list_from_CMS&amp;diff=1841"/>
		<updated>2014-03-19T21:18:40Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Published]]&lt;br /&gt;
The steps below outline how to export a list of customer names and e-mail addresses from CMS into a simple text file.  This file is perfectly suited for importing into eCMS.&lt;br /&gt;
&lt;br /&gt;
== Setting up the mail list export in CMS ==&lt;br /&gt;
# Click Customers-&amp;gt;Mail List-&amp;gt;Export from Mail List.&lt;br /&gt;
# Next to the Layout To Use drop-down box, click Setup.&lt;br /&gt;
## Give the layout a name.&lt;br /&gt;
## Immediately below, change the Record Separator to CR/LF.&lt;br /&gt;
## Change the Field Separator to a | character (the pipe: Shift-\).&lt;br /&gt;
## Click the Add Field button.&lt;br /&gt;
## Click the Field button just below, and select the First Name field.&lt;br /&gt;
## Repeat the 2 steps immediately above for the Last Name and Email Address fields.&lt;br /&gt;
## Click Save, then Close.&lt;br /&gt;
# Select your new layout from the drop-down.&lt;br /&gt;
# Choose a destination file named with a .txt extension.&lt;br /&gt;
# Next to the Use Filter drop-down box, click the triple-dot button.&lt;br /&gt;
## Give the filter a name.&lt;br /&gt;
## Select the criteria you&#039;d like to use in this filter.&lt;br /&gt;
## Click Save, then Close.&lt;br /&gt;
&lt;br /&gt;
== Running the mail list export ==&lt;br /&gt;
# Select your new layout and filter from the drop-down menus.&lt;br /&gt;
# Click Run Export.&lt;br /&gt;
# A popup will tell you how many records were exported, and the file location as a reminder.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=Address_Matching_in_CMS&amp;diff=1733</id>
		<title>Address Matching in CMS</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=Address_Matching_in_CMS&amp;diff=1733"/>
		<updated>2013-08-22T23:57:47Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: /* Matching orders to existing customers during order import */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
When an order or catalog request is imported into CMS, from any source, CMS must take steps to identify if this is a new or existing customer. If it is a new customer you&#039;d want CMS to create a new customer record. On the other hand, if it is for an existing customer you&#039;d want CMS to attach the order or catalog request to its matching/existing customer record and not create a duplicate customer.&lt;br /&gt;
&lt;br /&gt;
This article explains the logic used by CMS uses when trying to determine that customer match during an import. A similar process is used to determine if the recipient (ship-to) is different from the buyer and this too is covered here.&lt;br /&gt;
&lt;br /&gt;
=Matching orders to existing customers during order import=&lt;br /&gt;
All imported orders that are not imported with the [[Automated Imports Module]] option must go through a verification process (Fulfillment&amp;gt;Verify Imports) so you can ensure the imported order is one that should be converted into a real order. During that verification process you can tell if a customer match was found by looking at the Cust# field on the View Invoice screen (the first screen you are presented with when verifying an order.) If there is a number in this field you know CMS has matched it up to a customer in your mail list. If no match was found, the Cust# field will instead say &amp;quot;&amp;lt;new&amp;gt;&amp;quot;.&lt;br /&gt;
The logic CMS uses to find such matches is as follows: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If a customer number was passed in the file, CMS will use that customer number to match against the customer number in CMS and will append to that customer. No further matching logic will be used. Most sources of orders will not be able to establish and/or pass the proper customer number so, while it will be considered the best match if present...it usually isn&#039;t.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The next matching will be done on email address (CMS 9.0 or later only and can be defeated with a setup option under Fulfillment Options&amp;gt;Import). CMS will match the order to a unique customer record it finds with the same email address. If more than one customer record is found with the same email address, no match will be made by email address. &#039;&#039;&#039;Note:&#039;&#039;&#039; in the XML only the &amp;lt;nowiki&amp;gt;&amp;lt;Order&amp;gt;&amp;lt;Customer&amp;gt;&amp;lt;ContactAddress&amp;gt;&amp;lt;Address&amp;gt;&amp;lt;Email&amp;gt;&amp;lt;/nowiki&amp;gt; element is used for email address matching&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If no customer number or email match it is then up to CMS to scrutinize the name and address to find a match. In this case CMS will match the last name and all of the numbers from the address and 5 digit zip code. (Note: this matching is done by comparing the customer&#039;s mailing address against the order&#039;s mailing/primary address, not billing or shipping.) Only when there is a perfect match will CMS link the imported order to a customer. The reason CMS uses numbers only for the address and only a last name is to ensure the match does not get tripped up by middle initials, misspellings, punctuation and abbreviations. Here is an example:&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
William Smith &amp;lt;br /&amp;gt;&lt;br /&gt;
123 Main Street Apt 3 &amp;lt;br /&amp;gt;&lt;br /&gt;
Evanston, IL 60202-1234 &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
will still match &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Bill P. Smith &amp;lt;br /&amp;gt;&lt;br /&gt;
123 Main St. #3 &amp;lt;br /&amp;gt;&lt;br /&gt;
Evenston, IL 60202&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you should find that CMS has matched up an order to the wrong customer or did not find a customer that it should have, during the verification of the order you can still go to the first screen on the order (Customer) and retrieve the proper customer there. Be warned that when retrieving a customer in this manner it will replace the billing and shipping addresses from the imported order with the default addresses from the retrieved customer record. We expect this behavior to change in the future so CMS will retain the addresses from the imported order or give you the option which to use.&lt;br /&gt;
&lt;br /&gt;
=Multi-recipient and Gift orders=&lt;br /&gt;
CMS is capable of handling and importing orders with multiple recipients and/or gift orders (where the recipient is different than the buyer.) In either of the two scenarios the purchaser may or may not be receiving merchandise themselves. When importing such orders, CMS needs to determine if the recipient(s) is the same as the purchaser or if they should be treated as someone else. The reason for this is CMS will can (optionally) create new customer records for recipients and when printing invoices/pick-tickets CMS will suppress prices from showing so the recipient will not see what you paid.&lt;br /&gt;
&lt;br /&gt;
This is logic used to determine if the recipient is the same as the buyer works in the following ways: &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;In our XML specification document (CMSxml.xsd) there is an attribute of the &amp;lt;Recipient&amp;gt; tag that reads &#039;IsPurchaser&#039;. If the system that is generating the output for CMS to import is capable, our first recommendation would be to use this attribute. In use it looks like: &amp;lt;Recipient IsPurchaser=&amp;quot;false&amp;quot;&amp;gt; In this example the value of &#039;false&#039; is telling CMS that the recipient is not the same as the purchaser and as such should treat this as a gift order, even if there are no gift notes. If the purchaser is shipping to themselves, even at a different address, this value should be &#039;true&#039;.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If any gift notes are present, CMS assumes the buyer is not sending themselves a gift and will make the order a gift order (multiple ship-to, in this case with just one recipient.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;If there are no gift notes and there is no &#039;IsPurchaser&#039; attribute passed, CMS then has to determine if the recipient and purchaser are the same or not. In this case CMS is only using the last name. If the last name matches exactly, CMS will treat the recipient as if they are the purchaser, even if the addresses or any other information is different. While there are a few scenarios where this logic fails (parents shipping to their kid at college) it is the best CMS can do without having the information from 1 and 2 above. It does ensure though that the more common scenario of a person shipping to themselves at another address (work, vacation, etc.) will be handled correctly as a normal, non-gift type order.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: CMS uses an internal address_id to uniquely identify the recipient in an order. This means the same customer/recipient cannot appear more than once in the order but otherwise there is no reason why you cannot have two recipients with the same name (as long as they are different customers.) This has changed in CMS 9.0 where you can now have the same recipient on the order multiple times.&lt;br /&gt;
&lt;br /&gt;
=Customer Duplicate Report=&lt;br /&gt;
&lt;br /&gt;
Also worthy of note is the Customer Duplicate report used for finding possible duplicates. This report is found in the Reports menu under the category Customers. The logic this report uses is a bit different than CMS&#039;s and can be a good tool to find those that made it past CMS&#039;s logic. The most notable difference in logic is that it is matching on physical or email address, not by name.&lt;br /&gt;
&lt;br /&gt;
Matches are on state, city, 5-digit zipcode, then first 10 digits of either the address3 line or Address1 line, depending on which has data.&lt;br /&gt;
&lt;br /&gt;
This system has a lot of merit in that it is total independent of name spellings or most cases of address spellings (even St vs Street) since only the first 10 characters are considered. (UPDATE: As of CMS 8.0 this report now allows you to select how many characters to consider which allows you to control the level of sensitivity.) This system is really matching on the address vs the customer so if you had a husband and wife with diff names at the same address, you&#039;d find them as a possible dupe match. This should prove to be a good tool to find duplicates that escaped CMS&#039;s customer matching (or dupes created by operators for non-imported orders.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternate search terms - customer matching, order imports, order importing, name matching&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=CMS_System_Requirements&amp;diff=1321</id>
		<title>CMS System Requirements</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=CMS_System_Requirements&amp;diff=1321"/>
		<updated>2012-02-10T19:55:51Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: /* Workstations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CMS 7.0 system requirements are fairly meager considering the capabilities of today&#039;s machines. As such, most anything you buy or even already own today will be more than adequate. You do, however, want to make sure you&#039;re meeting the following system requirements.&lt;br /&gt;
&lt;br /&gt;
=64-bit vs 32-bit=&lt;br /&gt;
This option affects both your hardware and software. Many Windows operating systems are available in either a 32-bit or 64-bit version. Either will work with CMS and CMS&#039;s database server software - Sybase Adaptive Server Anywhere (aka iAnywheree). The 64-bit version does not offer any benefits to CMS over its 32-bit counterpart. Sybase, on the other hand, would stand to benefit to some degree from a 64-bit OS, at least in its support of additional RAM and caching. If you&#039;re looking at running Windows XP Pro, Vista or 2003 Server we&#039;d recommend sticking with the 32-bit editions. If you&#039;re considering Windows 7 or 2008 Server you may opt for either the 32 or 64-bit editions. Be aware that Windows Server 2008 R2 is only available in 64-bit.&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
==Servers==&lt;br /&gt;
This section applies to machines that are operating as pure servers or for stand-alone installations which are acting as both a server and workstation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimum Requirements&#039;&#039;&#039;&lt;br /&gt;
* Pentium 4 - 1.8 GHz or faster CPU&lt;br /&gt;
* 1 Gigabyte RAM &lt;br /&gt;
* 20 GB Hard Drive with 2 GB available&lt;br /&gt;
* CD-ROM or CD-R/RW Drive&lt;br /&gt;
* SVGA Monitor&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Database Server Additional Recommendations&#039;&#039;&#039;&lt;br /&gt;
#The best things you can do to improve the performance of your CMS server is maximize your RAM and purchase fast hard drives. The speed and number of processors has less to do with CMS performance than does I/O (disk read/write speed) and being able to cache some or all of the database into RAM. This should be your first goal when purchasing a new server or optimizing and existing server. Read more about [http://wiki.newhavensoftware.com/index.php/CMS_System_Requirements#What_is_.22database_caching.22.3F database caching] options below to make the most of your available RAM.&lt;br /&gt;
#Solid State Drives (SSD) can be an attractive option/addition to your server. They are essentially RAM and are extremely fast.&lt;br /&gt;
#Isolate your CMS database onto its own drive so it is not sharing a drive with your operating system or other server files.&lt;br /&gt;
#The CMS database server (Sybase) can make use of dual processors but, as a rule, processing speed does not play a huge role in performance. Consider this nice to have but not a necessity and lower in priority than the RAM and fast drive recommendations above.&lt;br /&gt;
#Fast network cards - Especially useful if you run a lot of reports from your workstations.&lt;br /&gt;
#[http://en.wikipedia.org/wiki/RAID RAID] 6 or other drive array. Priority of redundancy over striping if going with a different RAID configuration. Your server is at the heart of your company&#039;s operation and you need to make sure you can keep it going. Redundancy will help you sleep at night.&lt;br /&gt;
#Backups - While not a performance issue, this is an important consideration for a new server. You&#039;ll want to have an automated system in place to move the nightly CMS backup (must be turned on and configured) to other storage locations. Ideally you&#039;d have a rolling backup routine that allows you to store backups for each night without overwriting the previous backups and then move the last backup of the week off-site (DVD, tape or online backup location). This way even if your place of business was in a natural disaster or your server was stolen, you would reasonably be able to recover. We unfortunately had a customer of ours go out of business because they were unable to recover when their server was lost in a fire. Protect yourself from the same fate.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuration&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When running directly on a Windows server (2003 and up), CMS will not be able to make web service calls until the following configuration change is made. This can impact some CMS integrations so the following setting should be made on your server:&lt;br /&gt;
&lt;br /&gt;
    * &#039;&#039;&#039;Server 2003:&#039;&#039;&#039; Go into Control Panel-&amp;gt;System-&amp;gt;Advanced-&amp;gt;Performance-&amp;gt;Settings&lt;br /&gt;
    * &#039;&#039;&#039;Server 2008:&#039;&#039;&#039; Go into Control Panel-&amp;gt;System &amp;amp; Security-&amp;gt;System-&amp;gt;advanced System Settings-&amp;gt;Performance-&amp;gt;Settings&lt;br /&gt;
    * Choose the Data Execution Prevention tab. &lt;br /&gt;
&lt;br /&gt;
The default setting is Turn on DEP for all programs and services except those I select, and there is no reason to change it for CMS. However, you need to add CMS to the exception list, which will then allow CMS to communicate with web services.&lt;br /&gt;
&lt;br /&gt;
==CMS workstations==&lt;br /&gt;
Workstations are those machines that are running CMS from a server on your network. If you are running CMS on only one machine or that machine is your server, please see the Server requirements above.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Minimum Requirements&#039;&#039;&#039;&lt;br /&gt;
* Pentium III 500 MHz or faster&lt;br /&gt;
* 1 GB RAM&lt;br /&gt;
* CD-ROM Drive&lt;br /&gt;
* 20GB Hard Drive with 2GB available&lt;br /&gt;
* SVGA Monitor&lt;br /&gt;
* 10Mbps Network Card(s) or faster&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CMS Workstation Recommendations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Very little processing, disk space or hardware is required to run CMS on a workstation. Most everything takes place on the server so your workstation requirements are reasonably small. Our only recommendation beyond the minimums is to maximize your RAM and consider faster network cards.&lt;br /&gt;
&lt;br /&gt;
==[http://en.wikipedia.org/wiki/Peripheral Peripherals]==&lt;br /&gt;
CMS will work with most any peripheral (e.g. printers) as long as the manufacture still supports it and offers drivers for your operating system. If the manufacture does not support your device and offer drivers for your operating system, NewHaven Software cannot assist you with it. It may work with CMS but, if not, you must upgrade your device to a currently supported model.&lt;br /&gt;
&lt;br /&gt;
While this may seem like we&#039;re just washing our hands of supporting older hardware, there is really more to it. CMS, like most other Windows applications, relies on Windows to operate as an intermediary with its peripherals. In other words, CMS communicates to Windows and then Windows communicates with the peripheral. If Windows does not have a current driver, that communication may fail or operate in unexpected ways. In other words, any problems with the peripheral are outside of our software and control.&lt;br /&gt;
&lt;br /&gt;
===[[POS Module]]===&lt;br /&gt;
The only place where CMS has more specific hardware requirements are the peripherals used with its POS Module. The Point of Sale Module only supports specific models of printers, cash drawers, credit card swipes and UPC bar code scanners.&lt;br /&gt;
&lt;br /&gt;
*Printers - Star TSP143II  or Samsung SRP-350&lt;br /&gt;
*[[Barcode Scanners]] - CMS requires USB serial emulation mode. If you are not purchasing these models through NewHaven Software, &#039;&#039;&#039;be sure that you are supplied with a proper cable to allow USB serial emulation&#039;&#039;&#039;.&lt;br /&gt;
**Honeywell (HandHeld) 3800G&lt;br /&gt;
**Metrologic Fusion MS3780&lt;br /&gt;
*Cash Drawer - APG 320 MultiPro or MMC 225151644204 &lt;br /&gt;
*Credit card swipe/reader - Magtek model 21040102&lt;br /&gt;
&lt;br /&gt;
Other hardware may work with CMS but these are the only models we have tested and can support or offer configuration instructions for. The credit card reader, however, is unlikely to work unless you have the specific model we have recommended.&lt;br /&gt;
&lt;br /&gt;
NHS recommends [http://www.posworld.com/ POS World] for your POS hardware. Sharp people, great service, prices and support. Contact Rich King there and identify yourself as a CMS user and he will make sure you get the right equipment. rking@posworld.com , 1.888.801.7282 x678 , www.posworld.com&lt;br /&gt;
&lt;br /&gt;
===Shipping Manifest===&lt;br /&gt;
*Barcode scanners - CMS supports the USB/serial scanners listed above under POS Module and also can work with any keyboard wedge style scanner albeit with reduced capability. Read this article on [[Barcode Scanners]] for more information.&lt;br /&gt;
*Scales - CMS will work with most any scale that connects via a serial connection and can emulate a Mettler Toledo (models 8213 or PS60) or the UPS Fairbanks scale. USB connections are supported in CMS 8.0 for the Toledo PS60 and PS90.&lt;br /&gt;
Other scanners or scales may work with CMS but these are the ones we support and can assist you with configuration.&lt;br /&gt;
&lt;br /&gt;
=Operating Systems=&lt;br /&gt;
The following are operating systems currently supported by Microsoft and NewHaven Software for use with CMS.&lt;br /&gt;
==Servers==&lt;br /&gt;
*Windows Server 2003 SP2 &lt;br /&gt;
**Server 2003 Editions supported - Standard, Small Business Server, Enterprise&lt;br /&gt;
*Windows Server 2008&lt;br /&gt;
**Server 2008 Editions supported - Standard, Small Business Server, Enterprise&lt;br /&gt;
&lt;br /&gt;
==Workstations and CMS Solo==&lt;br /&gt;
*Windows XP Pro (must be SP3)&lt;br /&gt;
*Vista Business Edition SP2&lt;br /&gt;
*Vista Ultimate SP2&lt;br /&gt;
*7 Professional&lt;br /&gt;
*7 Ultimate&lt;br /&gt;
&lt;br /&gt;
NOTE: Microsoft will end support for Windows 2000 Professional on July 13, 2010. Windows 2000 is also not compatible with CMS version 7.0. For more information please refer to the article [[Windows 2000 and CMS]]&lt;br /&gt;
&lt;br /&gt;
=Remote Connections=&lt;br /&gt;
There are many options available to you when wanting to run CMS remotely. The core issue that must be observed is that CMS must be running on a machine that is connected locally to its database server. As long as that is true, you&#039;ll have no troubles running CMS remotely. You cannot, however, have CMS running locally on your workstation and connect to a remote server. The following are some remote access solutions and tips.&lt;br /&gt;
&lt;br /&gt;
==Remote Access Software==&lt;br /&gt;
Software like LogMeIn and GoToMyPC are inexpensive remote access tools that allow you to connect to your PC via their website, thus from any other PC. Performance is a little slower than other solutions but is low cost, flexible and easy to use.&lt;br /&gt;
&lt;br /&gt;
==[http://en.wikipedia.org/wiki/Remote_Desktop_Services Remote Desktop and Terminal Server]==&lt;br /&gt;
*Our preferred method is to use Windows built-in remote access options. Remote Desktop allows you to connect to your work machine with CMS on it and control it remotely. To do this you must first establish a virtual private network (VPN) connection.&lt;br /&gt;
*Terminal Services is also an option that will allow you to VPN into your server and create/run a remote session right on the server and without the need for a dedicated workstation. This is also a popular option but does require purchasing Windows client access licenses (CALs).&lt;br /&gt;
&lt;br /&gt;
==Virtual Deployments==&lt;br /&gt;
We do not yet support running CMS on a virtual server but expect to announce our support for it some time in 2012. We are currently running several virtual machines here at NewHaven Software for our many test environments. We are also running our production environment on a virtual server (VMware). We hope to look at [http://en.wikipedia.org/wiki/Desktop_virtualization VDI] and Citrix XenServer/App in the future. We do have some CMS customers running live on a virtual server presently as well.&lt;br /&gt;
&lt;br /&gt;
Early indications are that CMS and the database server will run with no particular technical issues although performance is not as good as running on a dedicated non-virtual server. Reinforcing what has been said above, lots or RAM and fast drives (read/write) are the biggest factors that impact CMS performance. We suspect that any recommendations we make for running CMS on a virtual server will revolve around ensuring that proper resources are dedicated to CMS.&lt;br /&gt;
&lt;br /&gt;
If you think virtualization is in your future, please contact us for assistance in setting up a test environment. Keep us in the loop regarding your successes and failures so we can build a knowledge base here to share with other users.&lt;br /&gt;
&lt;br /&gt;
Before deploying into production we of course strongly recommend testing. You&#039;ll want to validate that performance is acceptable and that all connectivity, including from peripherals, and all integrations are working and performing at acceptable levels.&lt;br /&gt;
&lt;br /&gt;
==Cloud Computing==&lt;br /&gt;
While there are many appeals to moving to the cloud, there is still a great deal of uncertainty in how this will affect your PCI DSS compliance. It appears the PCI Council is currently wrestling with issues surrounding cloud and mobile computing so more information and regulation may be coming soon. We will be testing cloud computing alternatives to prepare but we will hold back recommending any such solutions until the PCI Council has announced their stance.&lt;br /&gt;
&lt;br /&gt;
=FAQ&#039;s=&lt;br /&gt;
==Do I really need a new machine?==&lt;br /&gt;
Probably not. The operating system is far more important than your hardware. If your operating system is no longer supported, you may be able to update it or reinstall a current operating system on your current machine. Please consult Microsoft for their minimum requirements for the operating system your selecting. Generally if it meets Microsoft&#039;s requirements for their operating system, it will be good enough for CMS as well. From there, you need to decide if good enough is really good enough and that will be clear in the performance of Windows, CMS or other applications.&lt;br /&gt;
&lt;br /&gt;
==My operating system is currently supported, do I need a new machine?==&lt;br /&gt;
Hardware is rarely an issue with CMS and you could be running old machines and still experience reasonable performance. If you&#039;re satisfied with the speed of CMS, you&#039;re able to run a supported operating system without errors, and you have adequate disk space, you may choose to continue to run on your existing machine(s).&lt;br /&gt;
&lt;br /&gt;
If you were to do only one thing, it should be to max the amount of RAM your machine will take. RAM is cheap, too cheap to not have plenty of.&lt;br /&gt;
&lt;br /&gt;
Secondarily, a CMS server needs a lot of disk space not just for its database but it may require additional free gigabytes of space for temp files that is creates and destroys through normal usage. You should never have less than 2Gig of free space on your server. If that is a problem, and you&#039;re not going to upgrade your server, at least move onto new hard drives. Here too, drive space is cheap these days.&lt;br /&gt;
&lt;br /&gt;
There may be other compelling reasons to upgrade your machines, be it for speed, other applications or compatibility with other new technologies. New machines that are capable of running 64-bit operating systems, for example, are capable of handling more than 4 Gigabytes of RAM. While this would rarely be a CMS consideration for a workstation, if you have a database (.db file) that is larger than 2 Gig, you should seriously consider a server with more than 4G of RAM.&lt;br /&gt;
&lt;br /&gt;
As a rule, the performance you need from CMS is merely a factor of hardware. As your company grows, CMS can scale perfectly well with you but may require improved hardware to keep up with the increased server load. Evaluating CPU/memory usage and free disk space during the heat of the day will give you an indication of how well your server is handling the load and if more resources are needed.&lt;br /&gt;
&lt;br /&gt;
==Why can&#039;t I continue to use an older operating system?==&lt;br /&gt;
Even if has worked fine with CMS for years, if Microsoft no longer supports it, you really don&#039;t want to be using it. Once they stop offering security patches, as they just have stopped doing for Windows 2000, you become vulnerable to new threats (viruses, hacks, etc.) and you may find that CMS will no longer work. Such is the case with Windows 2000 as it does not contain the components need for CMS version 7.0 to run properly. [http://wiki.newhavensoftware.com/index.php/Windows_2000_and_CMS This link] provides more information on this subject.&lt;br /&gt;
&lt;br /&gt;
PCI requirements also dictate that your systems must be kept up to date with current security patches.&lt;br /&gt;
&lt;br /&gt;
==What is &amp;quot;database caching&amp;quot;?==&lt;br /&gt;
One of the great features of your CMS database is that it requires little to no maintenance. There is no re-indexing, server administration, etc. It largely just takes care of itself. &lt;br /&gt;
&lt;br /&gt;
One thing you can do, however, to maximize your database performance is to use a setting for database caching. This option requires more RAM but RAM is cheap and the performance gains are worthwhile. With this option, you can force Windows to allocate a specific amount of RAM to your database to allows some or all of your database to be loaded into memory and thus can have significant affects on your server performance.&lt;br /&gt;
&lt;br /&gt;
Limitations (applicable to v8 thru v12) are as follows:&lt;br /&gt;
&lt;br /&gt;
*Maximum cache size for (Win32) Windows XP Home Edition, Windows XP Professional, Windows Server 2003 Web Edition, Windows Server 2003 Standard Edition, Windows 2008, Windows 7 - &#039;&#039;&#039;1.8 Gb&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Maximum cache size for (Win32) Windows Server 2003 Enterprise Edition, Windows Server 2003 Datacenter Edition, Windows Vista Ultimate, Windows Vista Enterprise, Windows Vista Business, Windows Vista Home Premium, Windows Vista Home Basic - &#039;&#039;&#039;2.7 Gb&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Maximum cache size (Win 64) limited by physical memory on 64-bit engines - &#039;&#039;NOTE: Our experience to date has shown that caching beyond 1.8G is not possible even with 64bit operating systems.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Source - http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.sqlanywhere.12.0.0/dbadmin/da-limits.html&lt;br /&gt;
&lt;br /&gt;
To update your cache size, you&#039;ll want to modify the registry key for the service (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ASANYs_NHSDataService\Parameters) like this:&lt;br /&gt;
 -n NHSDataServer &amp;quot;C:\NewHaven Software\Data\Company\Company.db&amp;quot; -c 1800M -ti 0 -tl 0&lt;br /&gt;
&lt;br /&gt;
The above is a cache of 1800 Meg (1.8 Gig.) K, M and G are recognizable increments and they must be in caps. It does not accept decimals however so if you want 1.5G you should do 1500M as shown in the above example. You can experiment with other or higher values but if the service doesn&#039;t start you may need to back your number down or revert to an earlier setting.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re interested in this option and have enough RAM, please contact NewHaven Technical Support for information on how to enable this option.&lt;br /&gt;
&lt;br /&gt;
==What about my network?==&lt;br /&gt;
Our recommendations here are pretty generic. If you&#039;re still on the old 10mbps cards you should consider upgrading. 1Gbps is pretty standard these days. CMS doesn&#039;t need a lot of bandwidth but could benefit from 100mbps over 10mbps...depending on what other network traffic you might expect. If you have hubs or old switches, that would be a good place to look at upgrading.&lt;br /&gt;
&lt;br /&gt;
==Will CMS work with wireless?==&lt;br /&gt;
Yes, although CMS must maintain a constant connection with its database and even momentary interruptions in that connection can be enough to cause errors. As such, we do not recommend running CMS over a wireless network connection. You can, however, use Remote Desktop via wireless to connect to a machine that is on your physical network and, in that scenario, you would not be subject to disconnect issues.&lt;br /&gt;
&lt;br /&gt;
==Can I run CMS remotely?==&lt;br /&gt;
Yes, but it must be done using RDP (remote desktop), terminal services or remote access software like Logmein. CMS must be running on the same network/domain as its database server. You&#039;ll need to remote into Windows first and then run CMS from that machine. You cannot have CMS installed locally and connect to a remote network/server. See the section on [http://wiki.newhavensoftware.com/index.php/CMS_System_Requirements#Remote_Connections remote connections] above.&lt;br /&gt;
&lt;br /&gt;
==Can NewHaven Software assist with purchasing or configuring my hardware/network?==&lt;br /&gt;
We can make recommendations, like we have in this article, but the actual purchase, configuration and maintenance of your hardware and network must be performed by someone at your location. This would either be done by someone on staff that is capable or a local contractor that can provide these services and expertise to you. We&#039;re happy to consult with your staff or contractors on any CMS related configurations.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=Setting_up_CMS_email_through_Exchange&amp;diff=1287</id>
		<title>Setting up CMS email through Exchange</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=Setting_up_CMS_email_through_Exchange&amp;diff=1287"/>
		<updated>2011-11-22T19:50:37Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: Created page with &amp;#039;To setup CMS email to work through Exchange follow the instructions below.   #Bring up the Exchange server manager  #Open Administrative groups  #Open First administrative group …&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To setup CMS email to work through Exchange follow the instructions below. &lt;br /&gt;
&lt;br /&gt;
#Bring up the Exchange server manager &lt;br /&gt;
#Open Administrative groups &lt;br /&gt;
#Open First administrative group &lt;br /&gt;
#Open Servers &lt;br /&gt;
#Open “your server name” &lt;br /&gt;
#Open Protocols &lt;br /&gt;
#Open SMTP &lt;br /&gt;
#Right click on Default SMTP Virtual Server &lt;br /&gt;
#Select Properties &lt;br /&gt;
#Select the Access tab &lt;br /&gt;
#Select Relay &lt;br /&gt;
#Select Add &lt;br /&gt;
#Add in the IP address of the CMS server&lt;br /&gt;
&lt;br /&gt;
== CMS Emails from the workstations  ==&lt;br /&gt;
&lt;br /&gt;
With this in mind all workstations that need to relay through exchange will have to have their IPs added. In addition check for virus protection on the workstations, that may block port 25.&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=Exchange_Server&amp;diff=1286</id>
		<title>Exchange Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=Exchange_Server&amp;diff=1286"/>
		<updated>2011-11-22T19:49:42Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: Created page with &amp;#039;* Setting up CMS email through Exchange&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Setting up CMS email through Exchange]]&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=CV3_Web_Service_Replication&amp;diff=1285</id>
		<title>CV3 Web Service Replication</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=CV3_Web_Service_Replication&amp;diff=1285"/>
		<updated>2011-11-22T01:06:42Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to create a web service that CMS can talk to, that mimics the CV3 web service, you must first accept the following methods into your web service: &lt;br /&gt;
&lt;br /&gt;
*activate &lt;br /&gt;
*CMWebService &lt;br /&gt;
*accountCreate &lt;br /&gt;
*createAccount &lt;br /&gt;
*getAccount &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Web_Service_Replication#getStoresForAccount getStoresForAccount]&#039;&#039;&#039; &lt;br /&gt;
*createStore &lt;br /&gt;
*echoBase64Variation &lt;br /&gt;
*echoDate &lt;br /&gt;
*echoHexBinary &lt;br /&gt;
*echoDecimal &lt;br /&gt;
*echoBoolean &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Web_Service_Replication#downloadOrders downloadOrders]&#039;&#039;&#039; &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Web_Service_Replication#confirmOrdersReceived confirmOrdersReceived]&#039;&#039;&#039; &lt;br /&gt;
*importProducts &lt;br /&gt;
*exportProducts &lt;br /&gt;
*changePassword &lt;br /&gt;
*updateOrders&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can compare this to the wsdl located here:&amp;amp;nbsp;[https://ecms.commercev3.com/services/serviceCV3.php?wsdl https://ecms.commercev3.com/services/serviceCV3.php?wsdl] &lt;br /&gt;
&lt;br /&gt;
== About Responses  ==&lt;br /&gt;
&lt;br /&gt;
All responses are base64 encoded and look like this: &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:si=&amp;quot;http://soapinterop.org/xsd&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;getStoresForAccountResponse&amp;gt;&lt;br /&gt;
         &amp;lt;return xsi:type=&amp;quot;xsd:base64Binary&amp;quot;&amp;gt;PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8+Cgo8U3RvcmVzPgogICA8U3RvcmU+CiAgICAgIDxJRD4yMjI2PC9JRD4KICAgICAgPE5hbWU+Y21zVGVzdFN0b3JlPC9OYW1lPgogICA8L1N0b3JlPgogICA8U3RvcmU+CiAgICAgIDxJRD4yNTg1PC9JRD4KICAgICAgPE5hbWU+R2FtZXMgYnkgTWFpbDwvTmFtZT4KICAgPC9TdG9yZT4KPC9TdG9yZXM+Cg==&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;/getStoresForAccountResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; All the responses below are only the encoded section which is a base64 encoded xml file. &lt;br /&gt;
&lt;br /&gt;
The XML is expected to be in the CMS XML format. See the [[CMSxml.xsd]] for more info. &lt;br /&gt;
&lt;br /&gt;
== getStoresForAccount  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
Here we send the auth info to get the store information (see the response example) &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:getStoresForAccount soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test_user&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;password&amp;lt;/password&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:getStoresForAccount&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
You can see here an ID and Store Name are returned. CMS uses these to create the order source. At least one number and name combination are&amp;amp;nbsp;&#039;&#039;&#039;required&#039;&#039;&#039;. Though the name and number are arbitrary to what the customer would like to see displayed in CMS. &amp;amp;nbsp;&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Stores&amp;gt;&lt;br /&gt;
   &amp;lt;Store&amp;gt;&lt;br /&gt;
      &amp;lt;ID&amp;gt;2226&amp;lt;/ID&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;TestStoreFirst&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;/Store&amp;gt;&lt;br /&gt;
   &amp;lt;Store&amp;gt;&lt;br /&gt;
      &amp;lt;ID&amp;gt;2585&amp;lt;/ID&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;TestStoreSecond&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;/Store&amp;gt;&lt;br /&gt;
&amp;lt;/Stores&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== downloadOrders  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:downloadOrders soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;store_id xsi:type=&amp;quot;xsd:integer&amp;quot;&amp;gt;2226&amp;lt;/store_id&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;testpass&amp;lt;/password&amp;gt;&lt;br /&gt;
         &amp;lt;version xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;&amp;lt;/version&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:downloadOrders&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;CMSData&amp;gt;&lt;br /&gt;
&amp;lt;Orders&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;            &lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;52.85&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;57.85&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;5.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
			&amp;lt;Discount&amp;gt;10.00&amp;lt;/Discount&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;XMAS11&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
			&amp;lt;RefOrderID&amp;gt;Ex1-SizeDisc2&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;Please do not substitute.&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;lschneider1@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;lschneider1@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;SHIRT123&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
									&amp;lt;SizeName&amp;gt;L&amp;lt;/SizeName&amp;gt;&lt;br /&gt;
									&amp;lt;ColorName&amp;gt;Army Green&amp;lt;/ColorName&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;2&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;19.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;39.90&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
						&amp;lt;/Item&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;SHIRT123&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
									&amp;lt;SizeName&amp;gt;Small&amp;lt;/SizeName&amp;gt;&lt;br /&gt;
									&amp;lt;ColorName&amp;gt;Leather&amp;lt;/ColorName&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;17.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;17.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Finest Shirt&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationLine&amp;gt;Optional customization text, no limit on characters&amp;lt;/CustomizationLine&amp;gt;&lt;br /&gt;
									&amp;lt;SerialNumber&amp;gt;Optional serial number, any text up to 50 characters&amp;lt;/SerialNumber&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationUser1&amp;gt;Optional user-defined field/attribute up to 50 characters&amp;lt;/CustomizationUser1&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationUser2&amp;gt;Optional user-defined field/attribute up to 50 characters&amp;lt;/CustomizationUser2&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
            &amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;52.85&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;Visa&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert A Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;4444444444444448&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2014-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
			&amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
            &amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;&lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;60.95&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;59.95&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;6.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
			&amp;lt;Adjustment&amp;gt;-5.00&amp;lt;/Adjustment&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;WEB123&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
            &amp;lt;RefOrderID&amp;gt;Ex2-Ship2Wrk&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;schneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient IsPurchaser=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;The Schneid Corp&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;987 5th Ave Ste 311&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;schneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;LLGOSD&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;59.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;59.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Finest product&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
			&amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;60.95&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;MasterCard&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;5432111111111111&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2014-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
            &amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
			&amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;&lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;63.95&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;59.95&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;5.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
            &amp;lt;Adjustment&amp;gt;-1.00&amp;lt;/Adjustment&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;TVLGOS&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
			&amp;lt;SalesPersonInitials&amp;gt;LUK&amp;lt;/SalesPersonInitials&amp;gt;&lt;br /&gt;
            &amp;lt;RefOrderID&amp;gt;Ex3GiftOrder&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;rrschneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient IsPurchaser=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Jimmy&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Dean&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;Farm Fresh Sausage, Link&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;123 Fryers Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;jdean@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;GLCCD&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;59.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;59.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Next Finest kit&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;Happy Birthday Jimmy!&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
            &amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;63.95&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;Visa&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert A Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;4444444444444448&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2015-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
&lt;br /&gt;
            &amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
            &amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;/Orders&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequests&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequest ID=&amp;quot;123456781&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;Customer&amp;gt;&lt;br /&gt;
	&amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
		&amp;lt;ContactName&amp;gt;&lt;br /&gt;
			&amp;lt;FirstName&amp;gt;Alejandro&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
			&amp;lt;MiddleInitial&amp;gt;&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
			&amp;lt;LastName&amp;gt;Gallardo&amp;lt;/LastName&amp;gt;&lt;br /&gt;
			&amp;lt;Company&amp;gt;Unataki&amp;lt;/Company&amp;gt;&lt;br /&gt;
			&amp;lt;Title&amp;gt;CEO&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;/ContactName&amp;gt;&lt;br /&gt;
		&amp;lt;Address&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine2&amp;gt;&amp;lt;/AddressLine2&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine3&amp;gt;3660 NW 114 Ave&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
			&amp;lt;City&amp;gt;Miami&amp;lt;/City&amp;gt;&lt;br /&gt;
			&amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
			&amp;lt;PostalCode&amp;gt;33178&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
			&amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
		&amp;lt;/Address&amp;gt;&lt;br /&gt;
	&amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
	&amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
		&amp;lt;PhoneNumDigits&amp;gt;8005551212&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
	&amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
	&amp;lt;Email&amp;gt;janrrot@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
	&amp;lt;SourceCode&amp;gt;SPPS&amp;lt;/SourceCode&amp;gt;&lt;br /&gt;
&amp;lt;/Customer&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequest&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequest ID=&amp;quot;1234567901&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;Customer&amp;gt;&lt;br /&gt;
	&amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
		&amp;lt;ContactName&amp;gt;&lt;br /&gt;
			&amp;lt;FirstName&amp;gt;Mark&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
			&amp;lt;MiddleInitial&amp;gt;R&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
			&amp;lt;LastName&amp;gt;Freeze&amp;lt;/LastName&amp;gt;&lt;br /&gt;
			&amp;lt;Company&amp;gt;UFO&amp;lt;/Company&amp;gt;&lt;br /&gt;
			&amp;lt;Title&amp;gt;CEO&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;/ContactName&amp;gt;&lt;br /&gt;
		&amp;lt;Address&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine2&amp;gt;&amp;lt;/AddressLine2&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine3&amp;gt;555 Schenker St&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
			&amp;lt;City&amp;gt;Addison&amp;lt;/City&amp;gt;&lt;br /&gt;
			&amp;lt;State&amp;gt;IL&amp;lt;/State&amp;gt;&lt;br /&gt;
			&amp;lt;PostalCode&amp;gt;60101&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
			&amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
		&amp;lt;/Address&amp;gt;&lt;br /&gt;
	&amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
	&amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
		&amp;lt;PhoneNumDigits&amp;gt;9876543210&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
	&amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
	&amp;lt;Email&amp;gt;mrfreeze@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
	&amp;lt;SourceCode&amp;gt;SS4&amp;lt;/SourceCode&amp;gt;&lt;br /&gt;
&amp;lt;/Customer&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequest&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequests&amp;gt;&lt;br /&gt;
&amp;lt;/CMSData&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== confirmOrdersReceived  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
Here we&#039;re sending a list of the orders that were successfully downloaded into CMS. The item list is the RefOrderID referenced in the downloadOrders response. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot; xmlns:soapenc=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:confirmOrdersReceived soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;store_id xsi:type=&amp;quot;xsd:integer&amp;quot;&amp;gt;2226&amp;lt;/store_id&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;testpass&amp;lt;/password&amp;gt;&lt;br /&gt;
         &amp;lt;order_ids xsi:type=&amp;quot;soap:ArrayOfstring&amp;quot; soapenc:arrayType=&amp;quot;xsd:string[]&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;item&amp;gt;17&amp;lt;/item&amp;gt;&lt;br /&gt;
		&amp;lt;item&amp;gt;18&amp;lt;/item&amp;gt;&lt;br /&gt;
	 &amp;lt;/order_ids&amp;gt;&lt;br /&gt;
         &amp;lt;catalog_ids xsi:type=&amp;quot;soap:ArrayOfstring&amp;quot; soapenc:arrayType=&amp;quot;xsd:string[]&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:confirmOrdersReceived&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
This does not send xml back but a normal response is sent 1 being successful 0 something didn&#039;t go right with the confirmation: &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:si=&amp;quot;http://soapinterop.org/xsd&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;confirmOrdersReceivedResponse&amp;gt;&lt;br /&gt;
         &amp;lt;return xsi:type=&amp;quot;xsd:boolean&amp;quot;&amp;gt;1&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;/confirmOrdersReceivedResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=RubbishDump&amp;diff=1284</id>
		<title>RubbishDump</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=RubbishDump&amp;diff=1284"/>
		<updated>2011-11-22T01:04:56Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: moved RubbishDump to CV3 Web Service Replication over redirect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[CV3 Web Service Replication]]&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=CV3_Web_Service_Replication&amp;diff=1283</id>
		<title>CV3 Web Service Replication</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=CV3_Web_Service_Replication&amp;diff=1283"/>
		<updated>2011-11-22T01:04:56Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: moved RubbishDump to CV3 Web Service Replication over redirect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to create a web service that CMS can talk to, that mimics the CV3 web service, you must first accept the following methods into your web service: &lt;br /&gt;
&lt;br /&gt;
*activate &lt;br /&gt;
*CMWebService &lt;br /&gt;
*accountCreate &lt;br /&gt;
*createAccount &lt;br /&gt;
*getAccount &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#getStoresForAccount getStoresForAccount]&#039;&#039;&#039; &lt;br /&gt;
*createStore &lt;br /&gt;
*echoBase64Variation &lt;br /&gt;
*echoDate &lt;br /&gt;
*echoHexBinary &lt;br /&gt;
*echoDecimal &lt;br /&gt;
*echoBoolean &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#downloadOrders downloadOrders]&#039;&#039;&#039; &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#confirmOrdersReceived confirmOrdersReceived]&#039;&#039;&#039; &lt;br /&gt;
*importProducts &lt;br /&gt;
*exportProducts &lt;br /&gt;
*changePassword &lt;br /&gt;
*updateOrders&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can compare this to the wsdl located here:&amp;amp;nbsp;[https://ecms.commercev3.com/services/serviceCV3.php?wsdl https://ecms.commercev3.com/services/serviceCV3.php?wsdl] &lt;br /&gt;
&lt;br /&gt;
== About Responses  ==&lt;br /&gt;
&lt;br /&gt;
All responses are base64 encoded and look like this: &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:si=&amp;quot;http://soapinterop.org/xsd&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;getStoresForAccountResponse&amp;gt;&lt;br /&gt;
         &amp;lt;return xsi:type=&amp;quot;xsd:base64Binary&amp;quot;&amp;gt;PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8+Cgo8U3RvcmVzPgogICA8U3RvcmU+CiAgICAgIDxJRD4yMjI2PC9JRD4KICAgICAgPE5hbWU+Y21zVGVzdFN0b3JlPC9OYW1lPgogICA8L1N0b3JlPgogICA8U3RvcmU+CiAgICAgIDxJRD4yNTg1PC9JRD4KICAgICAgPE5hbWU+R2FtZXMgYnkgTWFpbDwvTmFtZT4KICAgPC9TdG9yZT4KPC9TdG9yZXM+Cg==&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;/getStoresForAccountResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; All the responses below are only the encoded section which is a base64 encoded xml file. &lt;br /&gt;
&lt;br /&gt;
The XML is expected to be in the CMS XML format. See the [[CMSxml.xsd]] for more info. &lt;br /&gt;
&lt;br /&gt;
== getStoresForAccount  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
Here we send the auth info to get the store information (see the response example) &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:getStoresForAccount soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test_user&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;password&amp;lt;/password&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:getStoresForAccount&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
You can see here an ID and Store Name are returned. CMS uses these to create the order source. At least one number and name combination are&amp;amp;nbsp;&#039;&#039;&#039;required&#039;&#039;&#039;. Though the name and number are arbitrary to what the customer would like to see displayed in CMS. &amp;amp;nbsp;&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Stores&amp;gt;&lt;br /&gt;
   &amp;lt;Store&amp;gt;&lt;br /&gt;
      &amp;lt;ID&amp;gt;2226&amp;lt;/ID&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;TestStoreFirst&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;/Store&amp;gt;&lt;br /&gt;
   &amp;lt;Store&amp;gt;&lt;br /&gt;
      &amp;lt;ID&amp;gt;2585&amp;lt;/ID&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;TestStoreSecond&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;/Store&amp;gt;&lt;br /&gt;
&amp;lt;/Stores&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== downloadOrders  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:downloadOrders soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;store_id xsi:type=&amp;quot;xsd:integer&amp;quot;&amp;gt;2226&amp;lt;/store_id&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;testpass&amp;lt;/password&amp;gt;&lt;br /&gt;
         &amp;lt;version xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;&amp;lt;/version&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:downloadOrders&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;CMSData&amp;gt;&lt;br /&gt;
&amp;lt;Orders&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;            &lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;52.85&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;57.85&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;5.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
			&amp;lt;Discount&amp;gt;10.00&amp;lt;/Discount&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;XMAS11&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
			&amp;lt;RefOrderID&amp;gt;Ex1-SizeDisc2&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;Please do not substitute.&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;lschneider1@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;lschneider1@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;SHIRT123&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
									&amp;lt;SizeName&amp;gt;L&amp;lt;/SizeName&amp;gt;&lt;br /&gt;
									&amp;lt;ColorName&amp;gt;Army Green&amp;lt;/ColorName&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;2&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;19.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;39.90&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
						&amp;lt;/Item&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;SHIRT123&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
									&amp;lt;SizeName&amp;gt;Small&amp;lt;/SizeName&amp;gt;&lt;br /&gt;
									&amp;lt;ColorName&amp;gt;Leather&amp;lt;/ColorName&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;17.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;17.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Finest Shirt&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationLine&amp;gt;Optional customization text, no limit on characters&amp;lt;/CustomizationLine&amp;gt;&lt;br /&gt;
									&amp;lt;SerialNumber&amp;gt;Optional serial number, any text up to 50 characters&amp;lt;/SerialNumber&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationUser1&amp;gt;Optional user-defined field/attribute up to 50 characters&amp;lt;/CustomizationUser1&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationUser2&amp;gt;Optional user-defined field/attribute up to 50 characters&amp;lt;/CustomizationUser2&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
            &amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;52.85&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;Visa&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert A Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;4444444444444448&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2014-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
			&amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
            &amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;&lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;60.95&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;59.95&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;6.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
			&amp;lt;Adjustment&amp;gt;-5.00&amp;lt;/Adjustment&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;WEB123&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
            &amp;lt;RefOrderID&amp;gt;Ex2-Ship2Wrk&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;schneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient IsPurchaser=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;The Schneid Corp&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;987 5th Ave Ste 311&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;schneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;LLGOSD&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;59.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;59.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Finest product&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
			&amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;60.95&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;MasterCard&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;5432111111111111&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2014-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
            &amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
			&amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;&lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;63.95&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;59.95&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;5.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
            &amp;lt;Adjustment&amp;gt;-1.00&amp;lt;/Adjustment&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;TVLGOS&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
			&amp;lt;SalesPersonInitials&amp;gt;LUK&amp;lt;/SalesPersonInitials&amp;gt;&lt;br /&gt;
            &amp;lt;RefOrderID&amp;gt;Ex3GiftOrder&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;rrschneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient IsPurchaser=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Jimmy&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Dean&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;Farm Fresh Sausage, Link&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;123 Fryers Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;jdean@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;GLCCD&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;59.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;59.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Next Finest kit&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;Happy Birthday Jimmy!&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
            &amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;63.95&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;Visa&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert A Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;4444444444444448&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2015-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
&lt;br /&gt;
            &amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
            &amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;/Orders&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequests&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequest ID=&amp;quot;123456781&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;Customer&amp;gt;&lt;br /&gt;
	&amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
		&amp;lt;ContactName&amp;gt;&lt;br /&gt;
			&amp;lt;FirstName&amp;gt;Alejandro&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
			&amp;lt;MiddleInitial&amp;gt;&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
			&amp;lt;LastName&amp;gt;Gallardo&amp;lt;/LastName&amp;gt;&lt;br /&gt;
			&amp;lt;Company&amp;gt;Unataki&amp;lt;/Company&amp;gt;&lt;br /&gt;
			&amp;lt;Title&amp;gt;CEO&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;/ContactName&amp;gt;&lt;br /&gt;
		&amp;lt;Address&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine2&amp;gt;&amp;lt;/AddressLine2&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine3&amp;gt;3660 NW 114 Ave&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
			&amp;lt;City&amp;gt;Miami&amp;lt;/City&amp;gt;&lt;br /&gt;
			&amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
			&amp;lt;PostalCode&amp;gt;33178&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
			&amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
		&amp;lt;/Address&amp;gt;&lt;br /&gt;
	&amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
	&amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
		&amp;lt;PhoneNumDigits&amp;gt;8005551212&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
	&amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
	&amp;lt;Email&amp;gt;janrrot@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
	&amp;lt;SourceCode&amp;gt;SPPS&amp;lt;/SourceCode&amp;gt;&lt;br /&gt;
&amp;lt;/Customer&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequest&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequest ID=&amp;quot;1234567901&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;Customer&amp;gt;&lt;br /&gt;
	&amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
		&amp;lt;ContactName&amp;gt;&lt;br /&gt;
			&amp;lt;FirstName&amp;gt;Mark&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
			&amp;lt;MiddleInitial&amp;gt;R&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
			&amp;lt;LastName&amp;gt;Freeze&amp;lt;/LastName&amp;gt;&lt;br /&gt;
			&amp;lt;Company&amp;gt;UFO&amp;lt;/Company&amp;gt;&lt;br /&gt;
			&amp;lt;Title&amp;gt;CEO&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;/ContactName&amp;gt;&lt;br /&gt;
		&amp;lt;Address&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine2&amp;gt;&amp;lt;/AddressLine2&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine3&amp;gt;555 Schenker St&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
			&amp;lt;City&amp;gt;Addison&amp;lt;/City&amp;gt;&lt;br /&gt;
			&amp;lt;State&amp;gt;IL&amp;lt;/State&amp;gt;&lt;br /&gt;
			&amp;lt;PostalCode&amp;gt;60101&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
			&amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
		&amp;lt;/Address&amp;gt;&lt;br /&gt;
	&amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
	&amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
		&amp;lt;PhoneNumDigits&amp;gt;9876543210&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
	&amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
	&amp;lt;Email&amp;gt;mrfreeze@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
	&amp;lt;SourceCode&amp;gt;SS4&amp;lt;/SourceCode&amp;gt;&lt;br /&gt;
&amp;lt;/Customer&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequest&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequests&amp;gt;&lt;br /&gt;
&amp;lt;/CMSData&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== confirmOrdersReceived  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
Here we&#039;re sending a list of the orders that were successfully downloaded into CMS. The item list is the RefOrderID referenced in the downloadOrders response. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot; xmlns:soapenc=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:confirmOrdersReceived soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;store_id xsi:type=&amp;quot;xsd:integer&amp;quot;&amp;gt;2226&amp;lt;/store_id&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;testpass&amp;lt;/password&amp;gt;&lt;br /&gt;
         &amp;lt;order_ids xsi:type=&amp;quot;soap:ArrayOfstring&amp;quot; soapenc:arrayType=&amp;quot;xsd:string[]&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;item&amp;gt;17&amp;lt;/item&amp;gt;&lt;br /&gt;
		&amp;lt;item&amp;gt;18&amp;lt;/item&amp;gt;&lt;br /&gt;
	 &amp;lt;/order_ids&amp;gt;&lt;br /&gt;
         &amp;lt;catalog_ids xsi:type=&amp;quot;soap:ArrayOfstring&amp;quot; soapenc:arrayType=&amp;quot;xsd:string[]&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:confirmOrdersReceived&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
This does not send xml back but a normal response is sent 1 being successful 0 something didn&#039;t go right with the confirmation: &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:si=&amp;quot;http://soapinterop.org/xsd&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;confirmOrdersReceivedResponse&amp;gt;&lt;br /&gt;
         &amp;lt;return xsi:type=&amp;quot;xsd:boolean&amp;quot;&amp;gt;1&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;/confirmOrdersReceivedResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=CV3_Web_Service_Replication&amp;diff=1281</id>
		<title>CV3 Web Service Replication</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=CV3_Web_Service_Replication&amp;diff=1281"/>
		<updated>2011-11-22T00:54:29Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: moved CV3 Web Service Replication to RubbishDump&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to create a web service that CMS can talk to, that mimics the CV3 web service, you must first accept the following methods into your web service: &lt;br /&gt;
&lt;br /&gt;
*activate &lt;br /&gt;
*CMWebService &lt;br /&gt;
*accountCreate &lt;br /&gt;
*createAccount &lt;br /&gt;
*getAccount &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#getStoresForAccount getStoresForAccount]&#039;&#039;&#039; &lt;br /&gt;
*createStore &lt;br /&gt;
*echoBase64Variation &lt;br /&gt;
*echoDate &lt;br /&gt;
*echoHexBinary &lt;br /&gt;
*echoDecimal &lt;br /&gt;
*echoBoolean &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#downloadOrders downloadOrders]&#039;&#039;&#039; &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#confirmOrdersReceived confirmOrdersReceived]&#039;&#039;&#039; &lt;br /&gt;
*importProducts &lt;br /&gt;
*exportProducts &lt;br /&gt;
*changePassword &lt;br /&gt;
*updateOrders&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can compare this to the wsdl located here:&amp;amp;nbsp;[https://ecms.commercev3.com/services/serviceCV3.php?wsdl https://ecms.commercev3.com/services/serviceCV3.php?wsdl] &lt;br /&gt;
&lt;br /&gt;
== About Responses  ==&lt;br /&gt;
&lt;br /&gt;
All responses are base64 encoded and look like this: &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:si=&amp;quot;http://soapinterop.org/xsd&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;getStoresForAccountResponse&amp;gt;&lt;br /&gt;
         &amp;lt;return xsi:type=&amp;quot;xsd:base64Binary&amp;quot;&amp;gt;PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8+Cgo8U3RvcmVzPgogICA8U3RvcmU+CiAgICAgIDxJRD4yMjI2PC9JRD4KICAgICAgPE5hbWU+Y21zVGVzdFN0b3JlPC9OYW1lPgogICA8L1N0b3JlPgogICA8U3RvcmU+CiAgICAgIDxJRD4yNTg1PC9JRD4KICAgICAgPE5hbWU+R2FtZXMgYnkgTWFpbDwvTmFtZT4KICAgPC9TdG9yZT4KPC9TdG9yZXM+Cg==&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;/getStoresForAccountResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; All the responses below are only the encoded section which is a base64 encoded xml file. &lt;br /&gt;
&lt;br /&gt;
The XML is expected to be in the CMS XML format. See the [[CMSxml.xsd]] for more info. &lt;br /&gt;
&lt;br /&gt;
== getStoresForAccount  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
Here we send the auth info to get the store information (see the response example) &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:getStoresForAccount soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test_user&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;password&amp;lt;/password&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:getStoresForAccount&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
You can see here an ID and Store Name are returned. CMS uses these to create the order source. At least one number and name combination are&amp;amp;nbsp;&#039;&#039;&#039;required&#039;&#039;&#039;. Though the name and number are arbitrary to what the customer would like to see displayed in CMS. &amp;amp;nbsp;&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Stores&amp;gt;&lt;br /&gt;
   &amp;lt;Store&amp;gt;&lt;br /&gt;
      &amp;lt;ID&amp;gt;2226&amp;lt;/ID&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;TestStoreFirst&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;/Store&amp;gt;&lt;br /&gt;
   &amp;lt;Store&amp;gt;&lt;br /&gt;
      &amp;lt;ID&amp;gt;2585&amp;lt;/ID&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;TestStoreSecond&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;/Store&amp;gt;&lt;br /&gt;
&amp;lt;/Stores&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== downloadOrders  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:downloadOrders soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;store_id xsi:type=&amp;quot;xsd:integer&amp;quot;&amp;gt;2226&amp;lt;/store_id&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;testpass&amp;lt;/password&amp;gt;&lt;br /&gt;
         &amp;lt;version xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;&amp;lt;/version&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:downloadOrders&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;CMSData&amp;gt;&lt;br /&gt;
&amp;lt;Orders&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;            &lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;52.85&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;57.85&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;5.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
			&amp;lt;Discount&amp;gt;10.00&amp;lt;/Discount&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;XMAS11&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
			&amp;lt;RefOrderID&amp;gt;Ex1-SizeDisc2&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;Please do not substitute.&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;lschneider1@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;lschneider1@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;SHIRT123&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
									&amp;lt;SizeName&amp;gt;L&amp;lt;/SizeName&amp;gt;&lt;br /&gt;
									&amp;lt;ColorName&amp;gt;Army Green&amp;lt;/ColorName&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;2&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;19.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;39.90&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
						&amp;lt;/Item&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;SHIRT123&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
									&amp;lt;SizeName&amp;gt;Small&amp;lt;/SizeName&amp;gt;&lt;br /&gt;
									&amp;lt;ColorName&amp;gt;Leather&amp;lt;/ColorName&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;17.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;17.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Finest Shirt&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationLine&amp;gt;Optional customization text, no limit on characters&amp;lt;/CustomizationLine&amp;gt;&lt;br /&gt;
									&amp;lt;SerialNumber&amp;gt;Optional serial number, any text up to 50 characters&amp;lt;/SerialNumber&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationUser1&amp;gt;Optional user-defined field/attribute up to 50 characters&amp;lt;/CustomizationUser1&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationUser2&amp;gt;Optional user-defined field/attribute up to 50 characters&amp;lt;/CustomizationUser2&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
            &amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;52.85&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;Visa&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert A Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;4444444444444448&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2014-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
			&amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
            &amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;&lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;60.95&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;59.95&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;6.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
			&amp;lt;Adjustment&amp;gt;-5.00&amp;lt;/Adjustment&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;WEB123&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
            &amp;lt;RefOrderID&amp;gt;Ex2-Ship2Wrk&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;schneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient IsPurchaser=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;The Schneid Corp&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;987 5th Ave Ste 311&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;schneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;LLGOSD&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;59.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;59.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Finest product&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
			&amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;60.95&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;MasterCard&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;5432111111111111&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2014-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
            &amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
			&amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;&lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;63.95&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;59.95&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;5.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
            &amp;lt;Adjustment&amp;gt;-1.00&amp;lt;/Adjustment&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;TVLGOS&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
			&amp;lt;SalesPersonInitials&amp;gt;LUK&amp;lt;/SalesPersonInitials&amp;gt;&lt;br /&gt;
            &amp;lt;RefOrderID&amp;gt;Ex3GiftOrder&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;rrschneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient IsPurchaser=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Jimmy&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Dean&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;Farm Fresh Sausage, Link&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;123 Fryers Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;jdean@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;GLCCD&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;59.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;59.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Next Finest kit&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;Happy Birthday Jimmy!&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
            &amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;63.95&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;Visa&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert A Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;4444444444444448&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2015-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
&lt;br /&gt;
            &amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
            &amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;/Orders&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequests&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequest ID=&amp;quot;123456781&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;Customer&amp;gt;&lt;br /&gt;
	&amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
		&amp;lt;ContactName&amp;gt;&lt;br /&gt;
			&amp;lt;FirstName&amp;gt;Alejandro&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
			&amp;lt;MiddleInitial&amp;gt;&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
			&amp;lt;LastName&amp;gt;Gallardo&amp;lt;/LastName&amp;gt;&lt;br /&gt;
			&amp;lt;Company&amp;gt;Unataki&amp;lt;/Company&amp;gt;&lt;br /&gt;
			&amp;lt;Title&amp;gt;CEO&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;/ContactName&amp;gt;&lt;br /&gt;
		&amp;lt;Address&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine2&amp;gt;&amp;lt;/AddressLine2&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine3&amp;gt;3660 NW 114 Ave&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
			&amp;lt;City&amp;gt;Miami&amp;lt;/City&amp;gt;&lt;br /&gt;
			&amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
			&amp;lt;PostalCode&amp;gt;33178&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
			&amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
		&amp;lt;/Address&amp;gt;&lt;br /&gt;
	&amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
	&amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
		&amp;lt;PhoneNumDigits&amp;gt;8005551212&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
	&amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
	&amp;lt;Email&amp;gt;janrrot@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
	&amp;lt;SourceCode&amp;gt;SPPS&amp;lt;/SourceCode&amp;gt;&lt;br /&gt;
&amp;lt;/Customer&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequest&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequest ID=&amp;quot;1234567901&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;Customer&amp;gt;&lt;br /&gt;
	&amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
		&amp;lt;ContactName&amp;gt;&lt;br /&gt;
			&amp;lt;FirstName&amp;gt;Mark&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
			&amp;lt;MiddleInitial&amp;gt;R&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
			&amp;lt;LastName&amp;gt;Freeze&amp;lt;/LastName&amp;gt;&lt;br /&gt;
			&amp;lt;Company&amp;gt;UFO&amp;lt;/Company&amp;gt;&lt;br /&gt;
			&amp;lt;Title&amp;gt;CEO&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;/ContactName&amp;gt;&lt;br /&gt;
		&amp;lt;Address&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine2&amp;gt;&amp;lt;/AddressLine2&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine3&amp;gt;555 Schenker St&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
			&amp;lt;City&amp;gt;Addison&amp;lt;/City&amp;gt;&lt;br /&gt;
			&amp;lt;State&amp;gt;IL&amp;lt;/State&amp;gt;&lt;br /&gt;
			&amp;lt;PostalCode&amp;gt;60101&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
			&amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
		&amp;lt;/Address&amp;gt;&lt;br /&gt;
	&amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
	&amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
		&amp;lt;PhoneNumDigits&amp;gt;9876543210&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
	&amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
	&amp;lt;Email&amp;gt;mrfreeze@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
	&amp;lt;SourceCode&amp;gt;SS4&amp;lt;/SourceCode&amp;gt;&lt;br /&gt;
&amp;lt;/Customer&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequest&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequests&amp;gt;&lt;br /&gt;
&amp;lt;/CMSData&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== confirmOrdersReceived  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
Here we&#039;re sending a list of the orders that were successfully downloaded into CMS. The item list is the RefOrderID referenced in the downloadOrders response. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot; xmlns:soapenc=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:confirmOrdersReceived soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;store_id xsi:type=&amp;quot;xsd:integer&amp;quot;&amp;gt;2226&amp;lt;/store_id&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;testpass&amp;lt;/password&amp;gt;&lt;br /&gt;
         &amp;lt;order_ids xsi:type=&amp;quot;soap:ArrayOfstring&amp;quot; soapenc:arrayType=&amp;quot;xsd:string[]&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;item&amp;gt;17&amp;lt;/item&amp;gt;&lt;br /&gt;
		&amp;lt;item&amp;gt;18&amp;lt;/item&amp;gt;&lt;br /&gt;
	 &amp;lt;/order_ids&amp;gt;&lt;br /&gt;
         &amp;lt;catalog_ids xsi:type=&amp;quot;soap:ArrayOfstring&amp;quot; soapenc:arrayType=&amp;quot;xsd:string[]&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:confirmOrdersReceived&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
This does not send xml back but a normal response is sent 1 being successful 0 something didn&#039;t go right with the confirmation: &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:si=&amp;quot;http://soapinterop.org/xsd&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;confirmOrdersReceivedResponse&amp;gt;&lt;br /&gt;
         &amp;lt;return xsi:type=&amp;quot;xsd:boolean&amp;quot;&amp;gt;1&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;/confirmOrdersReceivedResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
	<entry>
		<id>http://wiki.newhavensoftware.com/index.php?title=CV3_Web_Service_Replication&amp;diff=1280</id>
		<title>CV3 Web Service Replication</title>
		<link rel="alternate" type="text/html" href="http://wiki.newhavensoftware.com/index.php?title=CV3_Web_Service_Replication&amp;diff=1280"/>
		<updated>2011-11-22T00:42:26Z</updated>

		<summary type="html">&lt;p&gt;Jmorrison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to create a web service that CMS can talk to, that mimics the CV3 web service, you must first accept the following methods into your web service: &lt;br /&gt;
&lt;br /&gt;
*activate &lt;br /&gt;
*CMWebService &lt;br /&gt;
*accountCreate &lt;br /&gt;
*createAccount &lt;br /&gt;
*getAccount &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#getStoresForAccount getStoresForAccount]&#039;&#039;&#039; &lt;br /&gt;
*createStore &lt;br /&gt;
*echoBase64Variation &lt;br /&gt;
*echoDate &lt;br /&gt;
*echoHexBinary &lt;br /&gt;
*echoDecimal &lt;br /&gt;
*echoBoolean &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#downloadOrders downloadOrders]&#039;&#039;&#039; &lt;br /&gt;
*&#039;&#039;&#039;[http://wiki.newhavensoftware.com/index.php/CV3_Webservice_Replication#confirmOrdersReceived confirmOrdersReceived]&#039;&#039;&#039; &lt;br /&gt;
*importProducts &lt;br /&gt;
*exportProducts &lt;br /&gt;
*changePassword &lt;br /&gt;
*updateOrders&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can compare this to the wsdl located here:&amp;amp;nbsp;[https://ecms.commercev3.com/services/serviceCV3.php?wsdl https://ecms.commercev3.com/services/serviceCV3.php?wsdl] &lt;br /&gt;
&lt;br /&gt;
== About Responses  ==&lt;br /&gt;
&lt;br /&gt;
All responses are base64 encoded and look like this: &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:si=&amp;quot;http://soapinterop.org/xsd&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;getStoresForAccountResponse&amp;gt;&lt;br /&gt;
         &amp;lt;return xsi:type=&amp;quot;xsd:base64Binary&amp;quot;&amp;gt;PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8+Cgo8U3RvcmVzPgogICA8U3RvcmU+CiAgICAgIDxJRD4yMjI2PC9JRD4KICAgICAgPE5hbWU+Y21zVGVzdFN0b3JlPC9OYW1lPgogICA8L1N0b3JlPgogICA8U3RvcmU+CiAgICAgIDxJRD4yNTg1PC9JRD4KICAgICAgPE5hbWU+R2FtZXMgYnkgTWFpbDwvTmFtZT4KICAgPC9TdG9yZT4KPC9TdG9yZXM+Cg==&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;/getStoresForAccountResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; All the responses below are only the encoded section which is a base64 encoded xml file. &lt;br /&gt;
&lt;br /&gt;
The XML is expected to be in the CMS XML format. See the [[CMSxml.xsd]] for more info. &lt;br /&gt;
&lt;br /&gt;
== getStoresForAccount  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
Here we send the auth info to get the store information (see the response example) &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:getStoresForAccount soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test_user&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;password&amp;lt;/password&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:getStoresForAccount&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
You can see here an ID and Store Name are returned. CMS uses these to create the order source. At least one number and name combination are&amp;amp;nbsp;&#039;&#039;&#039;required&#039;&#039;&#039;. Though the name and number are arbitrary to what the customer would like to see displayed in CMS. &amp;amp;nbsp;&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Stores&amp;gt;&lt;br /&gt;
   &amp;lt;Store&amp;gt;&lt;br /&gt;
      &amp;lt;ID&amp;gt;2226&amp;lt;/ID&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;TestStoreFirst&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;/Store&amp;gt;&lt;br /&gt;
   &amp;lt;Store&amp;gt;&lt;br /&gt;
      &amp;lt;ID&amp;gt;2585&amp;lt;/ID&amp;gt;&lt;br /&gt;
      &amp;lt;Name&amp;gt;TestStoreSecond&amp;lt;/Name&amp;gt;&lt;br /&gt;
   &amp;lt;/Store&amp;gt;&lt;br /&gt;
&amp;lt;/Stores&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== downloadOrders  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:downloadOrders soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;store_id xsi:type=&amp;quot;xsd:integer&amp;quot;&amp;gt;2226&amp;lt;/store_id&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;testpass&amp;lt;/password&amp;gt;&lt;br /&gt;
         &amp;lt;version xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;&amp;lt;/version&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:downloadOrders&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;CMSData&amp;gt;&lt;br /&gt;
&amp;lt;Orders&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;            &lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;52.85&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;57.85&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;5.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
			&amp;lt;Discount&amp;gt;10.00&amp;lt;/Discount&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;XMAS11&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
			&amp;lt;RefOrderID&amp;gt;Ex1-SizeDisc2&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;Please do not substitute.&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;lschneider1@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;lschneider1@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;SHIRT123&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
									&amp;lt;SizeName&amp;gt;L&amp;lt;/SizeName&amp;gt;&lt;br /&gt;
									&amp;lt;ColorName&amp;gt;Army Green&amp;lt;/ColorName&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;2&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;19.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;39.90&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
						&amp;lt;/Item&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;SHIRT123&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
									&amp;lt;SizeName&amp;gt;Small&amp;lt;/SizeName&amp;gt;&lt;br /&gt;
									&amp;lt;ColorName&amp;gt;Leather&amp;lt;/ColorName&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;17.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;17.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Finest Shirt&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationLine&amp;gt;Optional customization text, no limit on characters&amp;lt;/CustomizationLine&amp;gt;&lt;br /&gt;
									&amp;lt;SerialNumber&amp;gt;Optional serial number, any text up to 50 characters&amp;lt;/SerialNumber&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationUser1&amp;gt;Optional user-defined field/attribute up to 50 characters&amp;lt;/CustomizationUser1&amp;gt;&lt;br /&gt;
									&amp;lt;CustomizationUser2&amp;gt;Optional user-defined field/attribute up to 50 characters&amp;lt;/CustomizationUser2&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
            &amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;52.85&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;Visa&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert A Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;4444444444444448&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2014-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
			&amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
            &amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;&lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;60.95&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;59.95&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;6.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
			&amp;lt;Adjustment&amp;gt;-5.00&amp;lt;/Adjustment&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;WEB123&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
            &amp;lt;RefOrderID&amp;gt;Ex2-Ship2Wrk&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;schneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient IsPurchaser=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;The Schneid Corp&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;987 5th Ave Ste 311&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;schneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
						&amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;LLGOSD&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;59.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;59.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Finest product&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
			&amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;60.95&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;MasterCard&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;5432111111111111&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2014-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
            &amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
			&amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;Order&amp;gt;&lt;br /&gt;
            &amp;lt;OrderDate&amp;gt;2011-09-15T22:31:38&amp;lt;/OrderDate&amp;gt;&lt;br /&gt;
            &amp;lt;OrderTotal&amp;gt;63.95&amp;lt;/OrderTotal&amp;gt;&lt;br /&gt;
            &amp;lt;ItemTotal&amp;gt;59.95&amp;lt;/ItemTotal&amp;gt;&lt;br /&gt;
            &amp;lt;StateTaxes&amp;gt;0.00&amp;lt;/StateTaxes&amp;gt;&lt;br /&gt;
            &amp;lt;ShippingCharges&amp;gt;5.00&amp;lt;/ShippingCharges&amp;gt;&lt;br /&gt;
            &amp;lt;Adjustment&amp;gt;-1.00&amp;lt;/Adjustment&amp;gt;&lt;br /&gt;
            &amp;lt;AdCode&amp;gt;TVLGOS&amp;lt;/AdCode&amp;gt;&lt;br /&gt;
			&amp;lt;SalesPersonInitials&amp;gt;LUK&amp;lt;/SalesPersonInitials&amp;gt;&lt;br /&gt;
            &amp;lt;RefOrderID&amp;gt;Ex3GiftOrder&amp;lt;/RefOrderID&amp;gt;&lt;br /&gt;
            &amp;lt;Notes&amp;gt;&amp;lt;/Notes&amp;gt;&lt;br /&gt;
            &amp;lt;Customer&amp;gt;&lt;br /&gt;
                        &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Robert&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;A&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Schneider&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;3555 Willows Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;rrschneider@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;2399459920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
            &amp;lt;/Customer&amp;gt;&lt;br /&gt;
            &amp;lt;Recipient IsPurchaser=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;ShipToAddress&amp;gt;&lt;br /&gt;
                                    &amp;lt;ContactName&amp;gt;&lt;br /&gt;
                                                &amp;lt;FirstName&amp;gt;Jimmy&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
                                                &amp;lt;MiddleInitial&amp;gt;&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
                                                &amp;lt;LastName&amp;gt;Dean&amp;lt;/LastName&amp;gt;&lt;br /&gt;
                                                &amp;lt;Company&amp;gt;Farm Fresh Sausage, Link&amp;lt;/Company&amp;gt;&lt;br /&gt;
                                                &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;&lt;br /&gt;
                                    &amp;lt;/ContactName&amp;gt;&lt;br /&gt;
                                    &amp;lt;Address&amp;gt;&lt;br /&gt;
                                                &amp;lt;AddressLine3&amp;gt;123 Fryers Rd&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
                                                &amp;lt;City&amp;gt;Cape Coral&amp;lt;/City&amp;gt;&lt;br /&gt;
                                                &amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
                                                &amp;lt;PostalCode&amp;gt;33904&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
                                                &amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
                                                &amp;lt;Email&amp;gt;jdean@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
                                    &amp;lt;/Address&amp;gt;&lt;br /&gt;
                        &amp;lt;/ShipToAddress&amp;gt;&lt;br /&gt;
                        &amp;lt;Item&amp;gt;&lt;br /&gt;
                                    &amp;lt;ProductCode&amp;gt;GLCCD&amp;lt;/ProductCode&amp;gt;&lt;br /&gt;
                                    &amp;lt;OrderQuantity&amp;gt;1&amp;lt;/OrderQuantity&amp;gt;&lt;br /&gt;
                                    &amp;lt;UnitPrice&amp;gt;59.95&amp;lt;/UnitPrice&amp;gt;&lt;br /&gt;
                                    &amp;lt;TotalPrice&amp;gt;59.95&amp;lt;/TotalPrice&amp;gt;&lt;br /&gt;
									&amp;lt;ProductDescription&amp;gt;Our Next Finest kit&amp;lt;/ProductDescription&amp;gt;&lt;br /&gt;
                        &amp;lt;/Item&amp;gt;&lt;br /&gt;
                        &amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumDigits&amp;gt;9325499920&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
                                    &amp;lt;PhoneNumberType&amp;gt;Home&amp;lt;/PhoneNumberType&amp;gt;&lt;br /&gt;
                        &amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
						&amp;lt;Package&amp;gt;&amp;lt;/Package&amp;gt;&lt;br /&gt;
                        &amp;lt;GiftMessage&amp;gt;Happy Birthday Jimmy!&amp;lt;/GiftMessage&amp;gt;&lt;br /&gt;
            &amp;lt;/Recipient&amp;gt;&lt;br /&gt;
            &amp;lt;Payment&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentAmount&amp;gt;63.95&amp;lt;/PaymentAmount&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentType&amp;gt;Visa&amp;lt;/PaymentType&amp;gt;&lt;br /&gt;
						&amp;lt;PaymentName&amp;gt;Robert A Schneider&amp;lt;/PaymentName&amp;gt;&lt;br /&gt;
                        &amp;lt;CardInfo&amp;gt;&lt;br /&gt;
                                    &amp;lt;AccountNumber&amp;gt;4444444444444448&amp;lt;/AccountNumber&amp;gt;&lt;br /&gt;
                                    &amp;lt;ExpirationDate&amp;gt;2015-09&amp;lt;/ExpirationDate&amp;gt;&lt;br /&gt;
                                    &amp;lt;CardInfoFlags Captured=&amp;quot;false&amp;quot; ECommerce=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/CardInfoFlags&amp;gt;&lt;br /&gt;
									&amp;lt;CVC&amp;gt;123&amp;lt;/CVC&amp;gt;&lt;br /&gt;
                        &amp;lt;/CardInfo&amp;gt;&lt;br /&gt;
                        &amp;lt;PaymentFlags&amp;gt;&amp;lt;/PaymentFlags&amp;gt;&lt;br /&gt;
            &amp;lt;/Payment&amp;gt;&lt;br /&gt;
&lt;br /&gt;
            &amp;lt;DefaultShipMethod IndexBy=&amp;quot;Code&amp;quot;&amp;gt;U&amp;lt;/DefaultShipMethod&amp;gt;&lt;br /&gt;
            &amp;lt;OrderFlags&amp;gt;&amp;lt;/OrderFlags&amp;gt;&lt;br /&gt;
&amp;lt;/Order&amp;gt;&lt;br /&gt;
&amp;lt;/Orders&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequests&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequest ID=&amp;quot;123456781&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;Customer&amp;gt;&lt;br /&gt;
	&amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
		&amp;lt;ContactName&amp;gt;&lt;br /&gt;
			&amp;lt;FirstName&amp;gt;Alejandro&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
			&amp;lt;MiddleInitial&amp;gt;&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
			&amp;lt;LastName&amp;gt;Gallardo&amp;lt;/LastName&amp;gt;&lt;br /&gt;
			&amp;lt;Company&amp;gt;Unataki&amp;lt;/Company&amp;gt;&lt;br /&gt;
			&amp;lt;Title&amp;gt;CEO&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;/ContactName&amp;gt;&lt;br /&gt;
		&amp;lt;Address&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine2&amp;gt;&amp;lt;/AddressLine2&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine3&amp;gt;3660 NW 114 Ave&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
			&amp;lt;City&amp;gt;Miami&amp;lt;/City&amp;gt;&lt;br /&gt;
			&amp;lt;State&amp;gt;FL&amp;lt;/State&amp;gt;&lt;br /&gt;
			&amp;lt;PostalCode&amp;gt;33178&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
			&amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
		&amp;lt;/Address&amp;gt;&lt;br /&gt;
	&amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
	&amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
		&amp;lt;PhoneNumDigits&amp;gt;8005551212&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
	&amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
	&amp;lt;Email&amp;gt;janrrot@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
	&amp;lt;SourceCode&amp;gt;SPPS&amp;lt;/SourceCode&amp;gt;&lt;br /&gt;
&amp;lt;/Customer&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequest&amp;gt;&lt;br /&gt;
&amp;lt;CatalogRequest ID=&amp;quot;1234567901&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;Customer&amp;gt;&lt;br /&gt;
	&amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
		&amp;lt;ContactName&amp;gt;&lt;br /&gt;
			&amp;lt;FirstName&amp;gt;Mark&amp;lt;/FirstName&amp;gt;&lt;br /&gt;
			&amp;lt;MiddleInitial&amp;gt;R&amp;lt;/MiddleInitial&amp;gt;&lt;br /&gt;
			&amp;lt;LastName&amp;gt;Freeze&amp;lt;/LastName&amp;gt;&lt;br /&gt;
			&amp;lt;Company&amp;gt;UFO&amp;lt;/Company&amp;gt;&lt;br /&gt;
			&amp;lt;Title&amp;gt;CEO&amp;lt;/Title&amp;gt;&lt;br /&gt;
		&amp;lt;/ContactName&amp;gt;&lt;br /&gt;
		&amp;lt;Address&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine2&amp;gt;&amp;lt;/AddressLine2&amp;gt;&lt;br /&gt;
			&amp;lt;AddressLine3&amp;gt;555 Schenker St&amp;lt;/AddressLine3&amp;gt;&lt;br /&gt;
			&amp;lt;City&amp;gt;Addison&amp;lt;/City&amp;gt;&lt;br /&gt;
			&amp;lt;State&amp;gt;IL&amp;lt;/State&amp;gt;&lt;br /&gt;
			&amp;lt;PostalCode&amp;gt;60101&amp;lt;/PostalCode&amp;gt;&lt;br /&gt;
			&amp;lt;CountryID&amp;gt;840&amp;lt;/CountryID&amp;gt;&lt;br /&gt;
		&amp;lt;/Address&amp;gt;&lt;br /&gt;
	&amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
	&amp;lt;PhoneNumber&amp;gt;&lt;br /&gt;
		&amp;lt;PhoneNumDigits&amp;gt;9876543210&amp;lt;/PhoneNumDigits&amp;gt;&lt;br /&gt;
	&amp;lt;/PhoneNumber&amp;gt;&lt;br /&gt;
	&amp;lt;Email&amp;gt;mrfreeze@example.com&amp;lt;/Email&amp;gt;&lt;br /&gt;
	&amp;lt;SourceCode&amp;gt;SS4&amp;lt;/SourceCode&amp;gt;&lt;br /&gt;
&amp;lt;/Customer&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequest&amp;gt;&lt;br /&gt;
&amp;lt;/CatalogRequests&amp;gt;&lt;br /&gt;
&amp;lt;/CMSData&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== confirmOrdersReceived  ==&lt;br /&gt;
&lt;br /&gt;
=== Sample Request  ===&lt;br /&gt;
&lt;br /&gt;
Here we&#039;re sending a list of the orders that were successfully downloaded into CMS. The item list is the RefOrderID referenced in the downloadOrders response. &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;soapenv:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soapenv=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:soap=&amp;quot;http://soapinterop.org/&amp;quot; xmlns:soapenc=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;soap:confirmOrdersReceived soapenv:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;store_id xsi:type=&amp;quot;xsd:integer&amp;quot;&amp;gt;2226&amp;lt;/store_id&amp;gt;&lt;br /&gt;
         &amp;lt;username xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;cms_test&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;testpass&amp;lt;/password&amp;gt;&lt;br /&gt;
         &amp;lt;order_ids xsi:type=&amp;quot;soap:ArrayOfstring&amp;quot; soapenc:arrayType=&amp;quot;xsd:string[]&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;item&amp;gt;17&amp;lt;/item&amp;gt;&lt;br /&gt;
		&amp;lt;item&amp;gt;18&amp;lt;/item&amp;gt;&lt;br /&gt;
	 &amp;lt;/order_ids&amp;gt;&lt;br /&gt;
         &amp;lt;catalog_ids xsi:type=&amp;quot;soap:ArrayOfstring&amp;quot; soapenc:arrayType=&amp;quot;xsd:string[]&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/soap:confirmOrdersReceived&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&amp;lt;/soapenv:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Sample Response  ===&lt;br /&gt;
&lt;br /&gt;
This does not send xml back but a normal response is sent 1 being successful 0 something didn&#039;t go right with the confirmation: &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; xmlns:si=&amp;quot;http://soapinterop.org/xsd&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;confirmOrdersReceivedResponse&amp;gt;&lt;br /&gt;
         &amp;lt;return xsi:type=&amp;quot;xsd:boolean&amp;quot;&amp;gt;1&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;/confirmOrdersReceivedResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jmorrison</name></author>
	</entry>
</feed>