<?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: Sales Order vs Sales Receipt vs Invoice</title><link>http://forums.method.me/cs/forums/thread/25993.aspx</link><pubDate>Fri, 20 Feb 2015 18:07:56 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25993</guid><dc:creator>Method_Alexander</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25993.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=25993</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;StickerBrad,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes you should still be able to convert a lead to a customer by updating the lead status to false. You need to use&amp;nbsp;MethodAPIUpdateV2 to set&amp;nbsp;IsLeadStatusOnly to false where the RecordID matches the lead you want to convert into a customer. Here&amp;rsquo;s some sample c# code that does this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var MAPIsvc = new MethodAPIService.Service();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string account = txtAccountName.Text;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string email = txtLoginEmail.Text;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string pwd = txtLoginPassword.Text;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string RecordID_To_Update = &amp;quot;446&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string tablename = &amp;quot;Customer&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string[ updatefields = &amp;quot;IsLeadStatusOnly&amp;quot;.Split(&amp;#39;,&amp;#39;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string[ updatevalues = &amp;quot;false&amp;quot;.Split(&amp;#39;,&amp;#39;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; txtResponse.Text = MAPIsvc.MethodAPIUpdateV2(account, email, pwd, &amp;quot;&amp;quot;, tablename, updatefields, updatevalues,RecordID_To_Update);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>Re: Sales Order vs Sales Receipt vs Invoice</title><link>http://forums.method.me/cs/forums/thread/25962.aspx</link><pubDate>Thu, 19 Feb 2015 16:08:26 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25962</guid><dc:creator>StickerBrad</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25962.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=25962</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Thanks for this.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We are also having the API look for leads entered by the sales staff and then converting them to clients once it shown as sold&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could we still work int his fashion&lt;/p&gt;</description></item><item><title>Re: Sales Order vs Sales Receipt vs Invoice</title><link>http://forums.method.me/cs/forums/thread/25958.aspx</link><pubDate>Thu, 19 Feb 2015 15:53:00 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25958</guid><dc:creator>Method_Alexander</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25958.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=25958</wfw:commentRss><description>&lt;p&gt;StickerBrad,&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;div&gt;Since you are inserting already paid items, You&amp;#39;ll want to look at using Sales Receipts rather than Sales Orders.&amp;nbsp; You&amp;#39;ll first create the Sales Receipt header (Table = SalesReceipts), and then insert the items purchased as Sales Receipt Lines (Table = SalesReceiptLines) &amp;nbsp;The total from the Sales Receipt Lines will add up to create the total amount for the Sales Receipt.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I&amp;#39;ve attached a code snippet of how to accomplish this.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;var MAPIsvc = new MethodAPIService.Service();&lt;br /&gt; string account = txtAccountName.Text;&lt;br /&gt; string email = txtLoginEmail.Text;&lt;br /&gt; string pwd = txtLoginPassword.Text;&lt;br /&gt; string recordId = &amp;quot;&amp;quot;;&lt;br /&gt; string tablename = &amp;quot;SalesReceipt&amp;quot;;&lt;br /&gt; string[ fields = &amp;quot;Customer,BillAddressAddr1,DueDate,TxnDate&amp;quot;.Split(&amp;#39;,&amp;#39;);&lt;br /&gt; string[ values = &amp;quot;Angy Trees,123 Fake St,2015-01-01 12:00:00,2015-01-01 12:00:00&amp;quot;.Split(&amp;#39;,&amp;#39;);&lt;br /&gt; txtResponse.Text = MAPIsvc.MethodAPIInsert(account, email, pwd, tablename, fields, values, ref recordId);&lt;/p&gt;
&lt;p&gt;tablename = &amp;quot;SalesReceiptLine&amp;quot;;&lt;br /&gt; fields = &amp;quot;SalesReceiptRecordID,Item,Quantity,Rate,SalesTaxCode&amp;quot;.Split(&amp;#39;,&amp;#39;);&lt;br /&gt; values = (recordId+&amp;quot;,Hours,10,10,NON&amp;quot;).Split(&amp;#39;,&amp;#39;);&lt;br /&gt; txtResponse.Text = MAPIsvc.MethodAPIInsert(account, email, pwd, tablename, fields, values, ref recordId);&lt;/p&gt;</description></item><item><title>Sales Order vs Sales Receipt vs Invoice</title><link>http://forums.method.me/cs/forums/thread/25907.aspx</link><pubDate>Wed, 18 Feb 2015 17:28:55 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25907</guid><dc:creator>StickerBrad</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25907.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=25907</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;We are currently working on integration with our e-commerce website and a daily dump of client sales.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We started working on having the AI insert the sales as invoices but these are full paid items not ones with balances so we started working them as sales orders that are full paid for but what we are running into is we are not able to edit the amount field is the table sales order line.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can not seem to locate where to change this to allow the addition of line items&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please help&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item></channel></rss>