Skip to main content
Solved

The Expression statement is invalid

  • April 1, 2021
  • 1 reply
  • 203 views

Forum|alt.badge.img+9

I’m using the below expression statement for an custom field to get the value of the PRESENCE field from the Time Management - Authorization.

ifsapp.Time_Pers_Diary_Result_API.Get_Presence_Hours(v.company_id,v.emp_no,v.valid_from,v.valid_to)

 

But when I try to approve this custom field, I get the below error

 

Best answer by Thilini Aluthweediya

Hi,

 

View AUTHORIZATION is using here as v and it does not have all mentioned parameters  in the expression  v.company_id, v.emp_no, v.valid_from, v.valid_to.

So it is  giving error as The Expression statement is invalid.

 

Cheers,

Thilini

 

 

This topic has been closed for replies.

1 reply

Thilini Aluthweediya
Hero (Employee)
Forum|alt.badge.img+6

Hi,

 

View AUTHORIZATION is using here as v and it does not have all mentioned parameters  in the expression  v.company_id, v.emp_no, v.valid_from, v.valid_to.

So it is  giving error as The Expression statement is invalid.

 

Cheers,

Thilini