We need to approve all overtime hours. We can search from a Tabular report and then open Details Page to approve the overtime.
I want that when I checked BRW_Overtime_Approve. The field BRW_Overtime_Approved_Date = '[@cbTimestamp]' and field BRW_Overtime_Approved_by = '[@authfield:BRW_Employee_Full_Name]'.
I have done this with Calculated Field to get the info. Fields BRW_Overtime_Approved_Date and BRW_Overtime_Approved_Date are Hidden and On load, receive: Data Source Field CalculatedField1 and CalculatedField2.
CalculatedField1:
CASE WHEN [@field:BRW_OverTime_Approve]=1
THEN
'[@authfield:BRW_Employee_Full_Name]'
ELSE
''
END
CalculatedField2:
CASE WHEN [@field:BRW_OverTime_Approve]=1
THEN
'[@cbTimestamp]'
ELSE
''
END
The problem with this is that it works only when the datapage load, when we unchecked BRW_Overtime_Approve, CalculatedField1 and CalculatedField2 do not change automatically. Can anyone help me with this.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
GIOVAN
Hello,
We need to approve all overtime hours. We can search from a Tabular report and then open Details Page to approve the overtime.
I want that when I checked BRW_Overtime_Approve. The field BRW_Overtime_Approved_Date = '[@cbTimestamp]' and field BRW_Overtime_Approved_by = '[@authfield:BRW_Employee_Full_Name]'.
I have done this with Calculated Field to get the info. Fields BRW_Overtime_Approved_Date and BRW_Overtime_Approved_Date are Hidden and On load, receive: Data Source Field CalculatedField1 and CalculatedField2.
CalculatedField1:
CASE WHEN [@field:BRW_OverTime_Approve]=1
THEN
'[@authfield:BRW_Employee_Full_Name]'
ELSE
''
END
CalculatedField2:
CASE WHEN [@field:BRW_OverTime_Approve]=1
THEN
'[@cbTimestamp]'
ELSE
''
END
The problem with this is that it works only when the datapage load, when we unchecked BRW_Overtime_Approve, CalculatedField1 and CalculatedField2 do not change automatically. Can anyone help me with this.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.