Stamping Server time

Hi Friends,

I am keen to have server time in a text box when a button is clicked.Can anyone guide me on this.

Thanks
Sharhan



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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

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

 

 

Sharhan, what are you trying to achieve. Did not get your problem.

Sent from mobile

On 04-Dec-2012, at 1:55 AM, SK <Sh...@sapcle.com> wrote:

Hi Friends,

I am keen to have server time in a text box when a button is clicked.Can anyone guide me on this.

Thanks
Sharhan



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

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

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

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

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 post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Rushabh,

For Attendance marking i have a button called check in

When check in button is clicked, i need to get server time and store that time in a text box.

I have already done using client time, but users could be easily manipulate time using system clock.


Have you understood the issue now.

Kindly help.

Thanks
Sharhan


On Tue, Dec 4, 2012 at 9:42 AM, Rushabh Mehta <rm…@gmail.com> wrote:

Sharhan, what are you trying to achieve. Did not get your problem.

Sent from mobile

On 04-Dec-2012, at 1:55 AM, SK <Sh...@sapcle.com> wrote:

Hi Friends,

I am keen to have server time in a text box when a button is clicked.Can anyone guide me on this.

Thanks
Sharhan



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

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

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

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

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 post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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 post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

You will have to write a server / update script to do that - modify the on_update or validate method in the attendance.py file (or equivalent).

In any case, the timestamps of creation and updation are already stored in the "creation" and "modified" columns. You could use those for your purpose too.

best,
Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 04-Dec-2012, at 10:31 AM, "Sharhan Kassim ( SAPCLE)" <sh...@sapcle.com> wrote:

Rushabh,

For Attendance marking i have a button called check in

When check in button is clicked, i need to get server time and store that time in a text box.

I have already done using client time, but users could be easily manipulate time using system clock.

Have you understood the issue now.

Kindly help.

Thanks
Sharhan


On Tue, Dec 4, 2012 at 9:42 AM, Rushabh Mehta <rm...@gmail.com> wrote:
Sharhan, what are you trying to achieve. Did not get your problem.

Sent from mobile

On 04-Dec-2012, at 1:55 AM, SK <Sh...@sapcle.com> wrote:

Hi Friends,

I am keen to have server time in a text box when a button is clicked.Can anyone guide me on this.

Thanks
Sharhan



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

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

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

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

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 post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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 post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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 post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Hi Rushabh,

Thanks.As i am new to this, can you guide me with any documentation, or atleast give me some part of code.
One more thing, in validate method, how will i check button is clicked or not?

Thanks


On Tue, Dec 4, 2012 at 10:36 AM, Rushabh Mehta <rm…@gmail.com> wrote:

You will have to write a server / update script to do that - modify the on_update or validate method in the attendance.py file (or equivalent).

In any case, the timestamps of creation and updation are already stored in the "creation" and "modified" columns. You could use those for your purpose too.

best,
Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 04-Dec-2012, at 10:31 AM, "Sharhan Kassim ( SAPCLE)" <sh...@sapcle.com> wrote:

Rushabh,

For Attendance marking i have a button called check in

When check in button is clicked, i need to get server time and store that time in a text box.

I have already done using client time, but users could be easily manipulate time using system clock.


Have you understood the issue now.

Kindly help.

Thanks
Sharhan


On Tue, Dec 4, 2012 at 9:42 AM, Rushabh Mehta <rm…@gmail.com> wrote:

Sharhan, what are you trying to achieve. Did not get your problem.

Sent from mobile

On 04-Dec-2012, at 1:55 AM, SK <Sh...@sapcle.com> wrote:

Hi Friends,

I am keen to have server time in a text box when a button is clicked.Can anyone guide me on this.

Thanks
Sharhan



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

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

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

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

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 post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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 post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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 post to this group, send email to er…@googlegroups.com.

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

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







--

On Behalf of Team SAPCLE


Sharhan Kassim
Consultant - Applications

Description: Description: Description: Description: logo

Mob : +918015700445

Description: lines

Description: oracle Description: s Description: b Description: on Description: in Description: f Description: t




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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Sharhan,

Sorry not much documentation apart from the GitHub wiki. The fastest way would be to play with the existing code and infer.

best,
Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 04-Dec-2012, at 10:49 AM, "Sharhan Kassim ( SAPCLE)" <sh...@sapcle.com> wrote:

Hi Rushabh,

Thanks.As i am new to this, can you guide me with any documentation, or atleast give me some part of code.
One more thing, in validate method, how will i check button is clicked or not?
 
Thanks

On Tue, Dec 4, 2012 at 10:36 AM, Rushabh Mehta <rm...@gmail.com> wrote:
You will have to write a server / update script to do that - modify the on_update or validate method in the attendance.py file (or equivalent).

In any case, the timestamps of creation and updation are already stored in the "creation" and "modified" columns. You could use those for your purpose too.

best,
Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 04-Dec-2012, at 10:31 AM, "Sharhan Kassim ( SAPCLE)" <sh...@sapcle.com> wrote:

Rushabh,

For Attendance marking i have a button called check in

When check in button is clicked, i need to get server time and store that time in a text box.

I have already done using client time, but users could be easily manipulate time using system clock.


Have you understood the issue now.

Kindly help.

Thanks
Sharhan


On Tue, Dec 4, 2012 at 9:42 AM, Rushabh Mehta <rm…@gmail.com> wrote:

Sharhan, what are you trying to achieve. Did not get your problem.

Sent from mobile

On 04-Dec-2012, at 1:55 AM, SK <Sh...@sapcle.com> wrote:

Hi Friends,

I am keen to have server time in a text box when a button is clicked.Can anyone guide me on this.

Thanks
Sharhan



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

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

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

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

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 post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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 post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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 post to this group, send email to er…@googlegroups.com.

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

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

 

 




--
On Behalf of Team SAPCLE

Sharhan Kassim
Consultant - Applications
 
Mob : +918015700445
<52786722-FC17-4397-9043-01A28908796C[1].png>




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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un…@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 post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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