select top 1 name from DIRPARTYTABLE inner join HcmWorker ON HcmWorker.PERSON = DIRPARTYTABLE.RECID AND HcmWorker.RECID = (select top 1 worker from HCMPOSITIONWORKERASSIGNMENT INNER JOIN HCMPOSITION ON HCMPOSITIONWORKERASSIGNMENT.POSITION = HCMPOSITION.RECID AND HCMPOSITION.POSITIONID = 'PositionId' where GETDATE() between HCMPOSITIONWORKERASSIGNMENT.VALIDFROM AND HCMPOSITIONWORKERASSIGNMENT.VALIDTO);
Tuesday, July 21, 2020
Get worker name from position with SQL Queries
Subscribe to:
Post Comments (Atom)
How to loop selected records on grid for form in dynamics ax?
To loop/iterate selected records from grid on form you can use following code, this can be done on clicked method of button control : Invent...
-
All Vendors SELECT * FROM VENDTABLE WHERE VENDTABLE.DATAAREAID='CEU' All Addresses - Vendor SELECT * FROM DirPartyPostalAddressVie...
-
Starting in version 10.0.10 Platform update 34, you can use the Message::AddAction() method to embed an action within a message. This will...
No comments:
Post a Comment