I have created a new module tracking, where i have to add values in a table dynamically. For that i have seen some .js file(like selling_home.js) where in items field there are “label”:wn_(“NAME OF LABEL”) function is used to show label and route: “Report2/Customer” is used for linking a path, so i want to know is there any function which returns a value from other doctype and then i can set it on my tracking module page.
Thanx & Regards Rohit
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I have created a new module tracking, where i have to add values in a table dynamically. For that i have seen some .js file(like selling_home.js) where in items field there are "label":wn_("NAME OF LABEL") function is used to show label and route: "Report2/Customer" is used for linking a path, so i want to know is there any function which returns a value from other doctype and then i can set it on my tracking module page.
Thanx & Regards Rohit
–
You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.
I am not able to understand what you are trying to say.
You can get values from the server using the wn.call function using "webnotes.client.get_value" method and display the returned value using JS / JQuery
I have created a new module tracking, where i have to add values in a table dynamically. For that i have seen some .js file(like selling_home.js) where in items field there are "label":wn_("NAME OF LABEL") function is used to show label and route: "Report2/Customer" is used for linking a path, so i want to know is there any function which returns a value from other doctype and then i can set it on my tracking module page.
Thanx & Regards Rohit
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I have attach a screen shot here for more understanding, where i have added table i want to insert some dynamic values into the table for that i declared a variable with value 50 ( 2nd snap shot ). i want these value in my table so how should i add this value in items field.
Thanx & Regards
Rohit
On Fri, Apr 26, 2013 at 12:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Rohit,
I am not able to understand what you are trying to say.
You can get values from the server using the wn.call function using "webnotes.client.get_value" method and display the returned value using JS / JQuery
I have created a new module tracking, where i have to add values in a table dynamically. For that i have seen some .js file(like selling_home.js) where in items field there are "label":wn_("NAME OF LABEL") function is used to show label and route: "Report2/Customer" is used for linking a path, so i want to know is there any function which returns a value from other doctype and then i can set it on my tracking module page.
Thanx & Regards Rohit
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I have attach a screen shot here for more understanding, where i have added table i want to insert some dynamic values into the table for that i declared a variable with value 50 ( 2nd snap shot ). i want these value in my table so how should i add this value in items field.
Thanx & Regards
Rohit
On Fri, Apr 26, 2013 at 12:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Rohit,
I am not able to understand what you are trying to say.
You can get values from the server using the wn.call function using "webnotes.client.get_value" method and display the returned value using JS / JQuery
I have created a new module tracking, where i have to add values in a table dynamically. For that i have seen some .js file(like selling_home.js) where in items field there are "label":wn_("NAME OF LABEL") function is used to show label and route: "Report2/Customer" is used for linking a path, so i want to know is there any function which returns a value from other doctype and then i can set it on my tracking module page.
Thanx & Regards Rohit
–
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.