Im trying to execute if employee is terminated or resigned i should execute "yes " otherwise "NO" .how can i write in expression can any one suggest me.
*This post is locked for comments
Im trying to execute if employee is terminated or resigned i should execute "yes " otherwise "NO" .how can i write in expression can any one suggest me.
*This post is locked for comments
The Employee status in NAV can be:
Active
Inactive
Terminated
What do you mean with “Resigned”?
You can write something like:
IF (Employee.Status = Employee.Status::Terminated) OR (CheckIfResigned) THEN
//Do what you need to do
where CheckIfResigned is a function that returns a Boolean. In this function, write your code to check if the Employee is Resigned and return TRUE if it’s resigned, FALSE otherwise.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156