Notifications
Announcements
No record found.
How can i get personnel number in sale header
*This post is locked for comments
Can you please tell me personnel number of whom??
Name of sales responsible and sales taker is coming if you want the personnel number of these two you can fetch from HCMWorker table.
SaleResposible , sale taker
i want to retrieve sale header record with sale responsible number
Where you want to retrieve??
On any report or in any form.
It is available on Sales order header check the datasource fetch where ever required.
are you looking something in terms of development code x++?
yes, i want to retrieve it on view and form
on SaleHeader
On sales order header, already Sales reposnsible appears for that specif order.
what are yo looking for? do you want to display all orders, for whcih this guy is reponsible or something else you are looking for?
on Sale order display Reference Worker Number, but i would like to display Personnel Number for all transaction on sale header, thank you
Make a display method and use:
return HCMWorker::Find(SalesTable.WorkerSalesResponsible).PersonnelNumber;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Priya_K 4
Martin Dráb 4 Most Valuable Professional
Ali Zaidi 2