Time Card locking

Burhan2
Tera Contributor

Hii,We had a requirement to lock the time cards for previous week after certain day in the current week.For ex previous week time card can't be submitted by the user after wednesday of current week.

We implemented that using business rule and it is working as expected.But we are confuse on one part if suppose user forgets to fill timecard of previous how will he able to fill that after demanding access from timecard_admin so how to implement that like we can't deactivate br for every user how can we implement that please help us...?

1 ACCEPTED SOLUTION

Hello @Burhan 

You just need to create a field of true/false type on time_card table. In dictionary set the default value to false

In your BR condition just check like below. In my case field name is different

YOUR BR CODE WILL BE AS IT IS.

Please mark my respsone as helpful/correct, if it answer your question.

Thanks

View solution in original post

13 REPLIES 13

@Mahendra Thanks its working just a last ques u said this field will be visible to time_card admin only in form so how that will be possible ?

Hey @Mahendra we implemented this on server side but can we also restrict the calendar field on client side so that user can't select the date of previous week from that week starts on field?

Burhan2
Tera Contributor

@Mahendra any update on this

@Mahendra  @Arav  please look into my issue if u know anything let me know

@Mahendra can u please look into this