i am using the ERPNEXT API, i am trying to set the value of a field into the database, but it is not being set.
but i am able to retreive the data, i dont understand what is going on. retreive is working but update is not working.
however there is no error during the process.
https://docs.erpnext.com/web-service-api
i am following this as the guide.
Thanks Syed
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On 11-Jun-2014, at 6:40 pm, Syed Qadeer <sd...@gmail.com> wrote:
Hello guys,
i am using the ERPNEXT API, i am trying to set the value of a field into the database, but it is not being set.
but i am able to retreive the data, i dont understand what is going on. retreive is working but update is not working.
however there is no error during the process.
https://docs.erpnext.com/web-service-api
i am following this as the guide.
Thanks Syed
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
var httpclient = new HttpClient(); url = "http://somewebsite.com/server.py"; parameters = new Dictionary<string,string>{ {"cmd", "webnotes.client.set_value"}, {"doctype", "Profile"}, {"docname", "Administrator"}, {"fieldname", "new_password"}, {"value", "syedx"}
};
var serverResponse = httpclient.PostAsync(new Uri(url), new FormUrlEncodedContent(parameters)).Result;
var result = Encoding.UTF8.GetString(serverResponse.Content.ReadAsByteArrayAsync().Result);
and the result contains that redirection error.
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
ok guys sorry, it seems the issue was with my code.
its working fine,
thanks.
–
Note:
If you are posting an issue,
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.