<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:API Q&amp;A</title><link>http://forums.method.me/cs/forums/15.aspx</link><description>Ask questions specific to the MethodAPI from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11880.aspx</link><pubDate>Thu, 19 Apr 2012 10:07:43 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11880</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11880.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11880</wfw:commentRss><description>&lt;p&gt;This question is no longer API related. The problem is between Method and Quickbooks. When I create a new sales order and put an item with a price - $44.20, after syncing I get under &amp;quot;Rate&amp;quot; in Quickbooks $44.1999999&lt;/p&gt;
&lt;p&gt;I will post it in the general forum.&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11869.aspx</link><pubDate>Wed, 18 Apr 2012 20:01:00 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11869</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11869.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11869</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Warren_nickus,&lt;/p&gt;
&lt;p&gt;I am unable to reproduce this problem. I have tested MethodAPIInsert,MethodAPIInsertV2,MethodAPIUpdate, MethodAPIUpdateV2 on both the original and forthcoming version of the API.&lt;/p&gt;
&lt;p&gt;Below is an example of the code I used to test &lt;strong&gt;MethodAPIInsert&lt;/strong&gt; (I have blanked out the company account, user name and password, with XXXX, YYYY, and ZZZZ respectively)&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;string[ arrInsertFields = new string[ { &amp;quot;EstimateRecordID&amp;quot;, &amp;quot;Item&amp;quot;, &amp;quot;Quantity&amp;quot;, &amp;quot;Rate&amp;quot; }; &lt;/p&gt;
&lt;p&gt;string[ arrInsertValue = new string[ { &amp;quot;12&amp;quot;, &amp;quot;AR BID&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;442.20&amp;quot; };&amp;nbsp; &lt;/p&gt;
&lt;p&gt;string RecordID = &amp;quot;&amp;quot;; &lt;/p&gt;
&lt;p&gt;lblMethodAPIInsert.Text = MethodAPI.MethodAPIInsert(XXXX, YYYY, ZZZZ, &amp;quot;EstimateLine&amp;quot;, arrInsertFields, arrInsertValue, ref RecordID);&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Below is an example of the code I used to test&lt;strong&gt; MethodAPIInsertV2&lt;/strong&gt; (I have blanked out the company account, user name and password, with XXXX, YYYY, and ZZZZ respectively) &lt;/p&gt;
&lt;p&gt;string[ arrInsertFields = new string[ { &amp;quot;EstimateRecordID&amp;quot;, &amp;quot;Item&amp;quot;, &amp;quot;Quantity&amp;quot;, &amp;quot;Rate&amp;quot; }; &lt;/p&gt;
&lt;p&gt;string[ arrInsertValue = new string[ { &amp;quot;12&amp;quot;, &amp;quot;AR BID&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;442.20&amp;quot; };&amp;nbsp; &lt;/p&gt;
&lt;p&gt;lblMethodAPIInsertV2.Text = MethodAPI.MethodAPIInsertV2(XXXX, YYYY, ZZZZ,&amp;quot;&amp;quot;, &amp;quot;EstimateLine&amp;quot;, arrInsertFields, arrInsertValue);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Below is an example of the code I used to test&lt;strong&gt; MethodAPIUpdate&lt;/strong&gt; (I have blanked out the company account, user name and password, with XXXX, YYYY, and ZZZZ respectively)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;string[ arrUpdateFields = new string[ { &amp;quot;Rate&amp;quot; };&lt;/p&gt;
&lt;p&gt;string[ arrUpdateValue = new string[ { &amp;quot;442.20&amp;quot; };&lt;/p&gt;
&lt;p&gt;lblMethodAPIUpdate.Text = _MethodAPI.MethodAPIUpdate(XXXX, YYYY, ZZZZ, &amp;quot;EstimateLine&amp;quot;, arrUpdateFields, arrUpdateValue, &amp;quot;62&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Below is an example of the code I used to test &lt;strong&gt;MethodAPIUpdateV2&lt;/strong&gt; (I have blanked out the company account, user name and password, with XXXX, YYYY, and ZZZZ respectively)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;string[ arrUpdateFields = new string[ { &amp;quot;Rate&amp;quot; };&lt;/p&gt;
&lt;p&gt;string[ arrUpdateValue = new string[ { &amp;quot;442.20&amp;quot; }; &lt;/p&gt;
&lt;p&gt;lblMethodAPIUpdate.Text = MethodAPI.MethodAPIUpdateV2(XXXX, YYYY, ZZZZ, &amp;quot;&amp;quot;, &amp;quot;EstimateLine&amp;quot;, arrUpdateFields, arrUpdateValue, &amp;quot;63&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This works fine 442.20 is being entered in method as 442.20. When the quickbooks sync happens the rate in quickbooks shows up as 442.20.&lt;/p&gt;
&lt;p&gt;You will notice I used hardwired string values. &lt;/p&gt;
&lt;p&gt;You mentioned in your post above you are using float values from a database. Have you confirmed that the value is not saved there as 442.199999? If it is stored there as 442.199999, and you want to use it in method as 442.20 have you rounded it to 2 decimal places first? &lt;/p&gt;
&lt;p&gt;Have you confirmed that the value being passed to the api function calls is not 442.199999?&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11866.aspx</link><pubDate>Wed, 18 Apr 2012 17:59:18 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11866</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11866.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11866</wfw:commentRss><description>&lt;p&gt;Dave,&lt;/p&gt;
&lt;p&gt;Were you able to come up with anything? This is really frustrating. Is the problem with the API on your end?&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11852.aspx</link><pubDate>Tue, 17 Apr 2012 16:14:58 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11852</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11852.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11852</wfw:commentRss><description>&lt;p&gt;Please keep me posted - We cannot insert items before we rectify this problem.&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11851.aspx</link><pubDate>Tue, 17 Apr 2012 12:40:50 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11851</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11851.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11851</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;warren_nickus,&lt;/p&gt;
&lt;p&gt;I am currently working on trying to reproduce the problem you have outlined.&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11848.aspx</link><pubDate>Tue, 17 Apr 2012 07:57:56 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11848</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11848.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11848</wfw:commentRss><description>&lt;p&gt;Guys are you checking it out or I&amp;#39;m all alone here? :)&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11842.aspx</link><pubDate>Mon, 16 Apr 2012 18:59:12 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11842</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11842.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11842</wfw:commentRss><description>&lt;p&gt;Dave,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m checking Method CRM - it does show the correct amount of $442.20 - The problem is in the intergration between Method and Quickbooks.&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11841.aspx</link><pubDate>Mon, 16 Apr 2012 18:56:28 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11841</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11841.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11841</wfw:commentRss><description>&lt;p&gt;Dave,&lt;/p&gt;
&lt;p&gt;Its not working. I&amp;#39;m getting the same result. The same thing is happening in an Estimate Object. If I insert an EstimateLine with a rate of &amp;quot;442.20&amp;quot;, QuickBooks shows it as &amp;quot;442.199999&amp;quot;. Any ideas?&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11839.aspx</link><pubDate>Mon, 16 Apr 2012 15:40:31 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11839</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11839.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11839</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Warren_nickus&lt;/p&gt;
&lt;p&gt;Can you please trying inserting it using the new version of the api and let me know if that solves the problem&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span style="text-decoration:underline;"&gt;&lt;span style="color:#698d73;"&gt;&lt;a href="http://www.methodintegration.com/MethodAPItest/Service.asmx"&gt;https://www.methodintegration.com/MethodAPItest/Service.asmx&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11837.aspx</link><pubDate>Mon, 16 Apr 2012 14:36:31 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11837</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11837.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11837</wfw:commentRss><description>&lt;p&gt;No David, the data is populated from a SQL database. The value inside the database is &amp;quot;1,442.20&amp;quot; and the data type is a Float.&lt;/p&gt;
&lt;p&gt;When debugging we can actually see that the value is correct.&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11836.aspx</link><pubDate>Mon, 16 Apr 2012 14:23:43 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11836</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11836.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11836</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi warren_nickus,&lt;/p&gt;
&lt;p&gt;Are you using values generated in excel like the date issue from last week? If the value has been formatted to display in excel, it does not change the underlying root value.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11834.aspx</link><pubDate>Mon, 16 Apr 2012 13:56:23 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11834</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11834.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11834</wfw:commentRss><description>&lt;p&gt;David,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using&amp;nbsp;MethodAPIInsert and&amp;nbsp;MethodAPIUpdate, on the old service.&lt;/p&gt;</description></item><item><title>Re: Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11832.aspx</link><pubDate>Mon, 16 Apr 2012 13:33:42 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11832</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11832.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11832</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi warren_nickus,&lt;/p&gt;
&lt;p&gt;Can you tell me what function you are using to insert into the API? Also can you tell me whether you are using the current version of the api (&lt;a href="https://www.methodintegration.com/MethodAPI/Service.asmx"&gt;https://www.methodintegration.com/MethodAPI/Service.asmx&lt;/a&gt;)&amp;nbsp;or the one that will be released May 1 &lt;a href="https://www.methodintegration.com/MethodAPItest/Service.asmx"&gt;(https://www.methodintegration.com/MethodAPItest/Service.asmx&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Inserting Items through the API</title><link>http://forums.method.me/cs/forums/thread/11827.aspx</link><pubDate>Sun, 15 Apr 2012 13:30:48 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11827</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11827.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11827</wfw:commentRss><description>&lt;p&gt;When I insert an item through the API the &amp;quot;PurchaseCost&amp;quot; field sometimes does not match the actual value which was sent.&lt;/p&gt;
&lt;p&gt;For instance, if the PurchaseCost field is &amp;quot;1442.20&amp;quot;, the cost which is then shown in QuickBooks is &amp;quot;1,244.19995&amp;quot;&lt;/p&gt;
&lt;p&gt;Any idea why this is happening? I&amp;#39;m 100% sure our value is &amp;quot;1442.20&amp;quot; as its coming from a Database and we can actually see the data before sumbitting it to the API.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;</description></item></channel></rss>