Adding worker picture to the WorkerIDCard Dynamics AX 2012
Requirement: There is a need to modify the jmgWorkerCard report by adding the worker's image (HcmPersonImage)
Solution: Image is in the HcmPersonImage table, it only has 2 fields: person and image following code worked in the processReport part of the jmgWorkerCardDP class:
tmpWorkerCard.Image = hcmPersonImage::find(hcmWorker.RecId).Image;