How to create a Sales Invoice using Web Service API

Dear Ankit,

We have shifted your account to the cutting edge branch, in which we have released these changes. 

So you can now check if your api code works.

Let me know if you get stuck.

Thanks,
Anand.

On 03-May-2013, at 1:10 PM, Ankit Parikh <ap...@gmail.com> wrote:

Thanks Anand


On Fri, May 3, 2013 at 7:30 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Ankit,

This change required some other related changes and hence, it could introduce bugs.

I hope that you don't get the idea that I am stalling the release. 

The coding has been done and I am doing some tests on it.

We don't release any major changes on our server on a Friday. Hence, we will release it on Monday.

Thanks,
Anand. 

On 03-May-2013, at 12:01 PM, Anand Doshi <an...@iwebnotes.com> wrote:

Hi Ankit,

We have had a heavy support load this week along with our usual development. Hence, we were unable to release it. I am testing it. We will release it on monday.

Thanks,
Anand.


On 03-May-2013, at 11:58 AM, Ankit Parikh <ap...@gmail.com> wrote:

Hello Anand,

Another week has ended here.
Still waiting for those changes to kick in.

Haven't heard from you.

Ankit


On Wed, May 1, 2013 at 2:29 PM, Ankit Parikh <ap...@gmail.com> wrote:
Hello Anand,

The changes are not there yet. Please email me when you have done those changes.
Very crucial to fetch the details for customers and items to automate the process otherwise it defeats the purpose of automatic invoice generation.


regards
Ankit


On Tue, Apr 30, 2013 at 5:50 PM, Anand Doshi <an…@iwebnotes.com> wrote:

Oops. Since this was a sensitive release, we were supposed to release it after some testing. But due to heave support load yesterday, we couldn't make it live.


We will do it today and also try to get the item fetching done.

Thanks,
Anand.


On 30-Apr-2013, at 7:47 AM, Ankit Parikh <ap…@gmail.com> wrote:


Hello Anand,

Just verified and the customer contact is not fetched when I set the customer.So it is still not working.

I cannot provide item name and description exactly to match the database hence the preferred option would be fetch it from erpnext like a normal flow of events when creating an invoice manually.





On Tue, Apr 30, 2013 at 2:12 PM, Anand Doshi <an…@iwebnotes.com> wrote:

Hi Ankit

As per your last mail I had implemented fetching of customer data an post settings. 

Item details fetching was not mentioned. Will try to get this done. In the mean time, pass the item name and description. 

Sent from my phone

On 30-Apr-2013, at 5:55 AM, Ankit Parikh <ap...@gmail.com> wrote:


Hello Anand,

I still can’t see the changes. Now I am passing the item code as I start populating the items, and it should fetch the name and description from the database.


Are you going to implement what we discussed last week.
Setting customer, pos defaults, item details - all depend on this feature.

regards
Ankit


On Sat, Apr 27, 2013 at 12:14 AM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Ankit,

We will release these changes on Monday, since we can provide better support then.

Thanks,
Anand.

On 26-Apr-2013, at 11:44 AM, Ankit Parikh <ap...@gmail.com> wrote:

Hello Anand,

Calculations are not an issue.
We just the fields to be populated with the default values
like, primary contact for the customer should be selected automatically, when we send the customer.


We are checking all calculations before submitting the invoice.

regards
Ankit


On Fri, Apr 26, 2013 at 6:11 PM, Anand Doshi <an…@iwebnotes.com> wrote:

Hi Ankit,

We will shift the fetching of values to server side, as you requested.

However, at this point, most calculations are done on the client side. We have started work on shifting them to server side. 

Hence, for now, you will need to specify values and totals when you pass the doclist.

Thanks,
Anand.

On 26-Apr-2013, at 10:35 AM, Ankit Parikh <ap...@gmail.com> wrote:


Thank you Rushabh.


On Fri, Apr 26, 2013 at 4:52 PM, Rushabh Mehta <rm…@gmail.com> wrote:

Ankit,

Thanks for identifying - we will add these in the server side validations and update you. We are already in the process of updating all our server side validations.

Should be done by end of day today.

best,
Rushabh


On Fri, Apr 26, 2013 at 9:28 AM, Ankit <ap...@gmail.com> wrote:
Hello Rushabh,

Two observations once I got it working.
1. The customer and debit to is selected, but when I check the contact, that is not selected. I was hoping that the primary contact gets selected by default.
  1. If I set isPos via the webservice, It doens’t populate the fields with default values for that Pos setting.

    So I have to manually tick isPos which is fine, but I also have to reselect the customer to get the default contact.


How can I make sure the primary contact is selected when I set the customer?

regards
Ankit





You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.


To post to this group, send email to er…@googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/8CbwNqRZ4HUJ.


For more options, visit https://groups.google.com/groups/opt_out.
 
 



--



Twitter: @rushabh_mehta



You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.


For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 






You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 






You received this message because you are subscribed to a topic in the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hello Anand,

That is working now. Thank you very much.

regards
Ankit


On Fri, May 3, 2013 at 9:24 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Dear Ankit,

We have shifted your account to the cutting edge branch, in which we have released these changes.

So you can now check if your api code works.

Let me know if you get stuck.

Thanks,
Anand.

On 03-May-2013, at 1:10 PM, Ankit Parikh <ap...@gmail.com> wrote:

Thanks Anand


On Fri, May 3, 2013 at 7:30 PM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Ankit,

This change required some other related changes and hence, it could introduce bugs.

I hope that you don't get the idea that I am stalling the release.

The coding has been done and I am doing some tests on it.

We don't release any major changes on our server on a Friday. Hence, we will release it on Monday.

Thanks,
Anand.

On 03-May-2013, at 12:01 PM, Anand Doshi <an...@iwebnotes.com> wrote:

Hi Ankit,

We have had a heavy support load this week along with our usual development. Hence, we were unable to release it. I am testing it. We will release it on monday.

Thanks,
Anand.


On 03-May-2013, at 11:58 AM, Ankit Parikh <ap...@gmail.com> wrote:


Hello Anand,

Another week has ended here.
Still waiting for those changes to kick in.

Haven't heard from you.

Ankit




On Wed, May 1, 2013 at 2:29 PM, Ankit Parikh <ap…@gmail.com> wrote:

Hello Anand,

The changes are not there yet. Please email me when you have done those changes.
Very crucial to fetch the details for customers and items to automate the process otherwise it defeats the purpose of automatic invoice generation.


regards
Ankit


On Tue, Apr 30, 2013 at 5:50 PM, Anand Doshi <an…@iwebnotes.com> wrote:

Oops. Since this was a sensitive release, we were supposed to release it after some testing. But due to heave support load yesterday, we couldn't make it live.


We will do it today and also try to get the item fetching done.

Thanks,
Anand.


On 30-Apr-2013, at 7:47 AM, Ankit Parikh <ap…@gmail.com> wrote:


Hello Anand,

Just verified and the customer contact is not fetched when I set the customer.So it is still not working.

I cannot provide item name and description exactly to match the database hence the preferred option would be fetch it from erpnext like a normal flow of events when creating an invoice manually.





On Tue, Apr 30, 2013 at 2:12 PM, Anand Doshi <an…@iwebnotes.com> wrote:

Hi Ankit

As per your last mail I had implemented fetching of customer data an post settings.

Item details fetching was not mentioned. Will try to get this done. In the mean time, pass the item name and description.

Sent from my phone

On 30-Apr-2013, at 5:55 AM, Ankit Parikh <ap...@gmail.com> wrote:


Hello Anand,

I still can't see the changes. Now I am passing the item code as I start populating the items, and it should fetch the name and description from the database.


Are you going to implement what we discussed last week.
Setting customer, pos defaults, item details - all depend on this feature.

regards
Ankit


On Sat, Apr 27, 2013 at 12:14 AM, Anand Doshi <an...@iwebnotes.com> wrote:
Hi Ankit,

We will release these changes on Monday, since we can provide better support then.

Thanks,
Anand.

On 26-Apr-2013, at 11:44 AM, Ankit Parikh <ap...@gmail.com> wrote:

Hello Anand,

Calculations are not an issue.
We just the fields to be populated with the default values
like, primary contact for the customer should be selected automatically, when we send the customer.


We are checking all calculations before submitting the invoice.

regards
Ankit


On Fri, Apr 26, 2013 at 6:11 PM, Anand Doshi <an…@iwebnotes.com> wrote:

Hi Ankit,

We will shift the fetching of values to server side, as you requested.

However, at this point, most calculations are done on the client side. We have started work on shifting them to server side.

Hence, for now, you will need to specify values and totals when you pass the doclist.

Thanks,
Anand.

On 26-Apr-2013, at 10:35 AM, Ankit Parikh <ap...@gmail.com> wrote:


Thank you Rushabh.


On Fri, Apr 26, 2013 at 4:52 PM, Rushabh Mehta <rm…@gmail.com> wrote:

Ankit,

Thanks for identifying - we will add these in the server side validations and update you. We are already in the process of updating all our server side validations.

Should be done by end of day today.

best,
Rushabh


On Fri, Apr 26, 2013 at 9:28 AM, Ankit <ap...@gmail.com> wrote:
Hello Rushabh,

Two observations once I got it working.
1. The customer and debit to is selected, but when I check the contact, that is not selected. I was hoping that the primary contact gets selected by default.
  1. If I set isPos via the webservice, It doens't populate the fields with default values for that Pos setting.

    So I have to manually tick isPos which is fine, but I also have to reselect the customer to get the default contact.


How can I make sure the primary contact is selected when I set the customer?

regards
Ankit





You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.


To post to this group, send email to er…@googlegroups.com.




--



Twitter: @rushabh_mehta



You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.


For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.







You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.









You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.









You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.







You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/2TM0Tr_RILg/unsubscribe?hl=en.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To post to this group, send email to er…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.







You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.