DirPersonUser personUser = DirPersonUser::findParty(worker.Person); this.UserID = personUser.User;
DirPersonUser dirPersonUser;
utcDateTime dateFrom;
utcDateTime dateTo = DateTimeUtil::utcNow();
select firstonly validTimeState(dateFrom, dateTo) from dirPersonUser
order by dirPersonUser.ValidTo desc
where dirPersonUser.PersonParty == worker.Person;
this.UserID = dirPersonUser.UserID;
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,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156