Hi, I want to get employee name from Sales Order Header View, can anyone help me figure this out?
Sorry, I don't understand you question. Please elaborate.
Should i select first?
SalesTable.WorkerSalesResponsible is a RecId of HcmWorker table. And HcmWorker table has name() method returning the name.
Therefore you need something like this:
HcmWorker::find(salesTable.WorkerSalesResponsible).name();
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