Microsoft Dynamics 365 Blog

Calling the HcmWorkerImportService in AX 2012 to Import Employees 

2 min read

In cumulative update 2 (CU2) for AX 2012 we shipped an HcmWorkerImportService which allows you to import full-time employees and vendors.  The code below is an example of how to call the worker service from C#:             HcmWorkerImportServiceClient proxy = new HcmWorkerImportServiceClient();            CallContext context = new CallContext();            context.Company = “ceu”;             AxdHcmWorkerImport worker = new AxdHcmWorkerImport();            AxdEntity_HcmWorker hcmWorkerTable = new…Read more

0 Comments