12-02-2019, 06:01 AM
Hi,
Thanks for your replies .
I used the expression on Table widget expression.
I try to get work hours from another table filter by day as timestamp date.
when i using below expression:
@GET(sthpw/task.sthpw/work_hour['day', @GET(.timestamp)].straight_time)
I got error Expression error: 'datetime.datetime' object is not iterable. If i give date manually like @GET(sthpw/task.sthpw/work_hour['day', '2019-12-02 00:00:00'].straight_time) is working and give exact result.
Thanks for your replies .
I used the expression on Table widget expression.
I try to get work hours from another table filter by day as timestamp date.
when i using below expression:
@GET(sthpw/task.sthpw/work_hour['day', @GET(.timestamp)].straight_time)
I got error Expression error: 'datetime.datetime' object is not iterable. If i give date manually like @GET(sthpw/task.sthpw/work_hour['day', '2019-12-02 00:00:00'].straight_time) is working and give exact result.