Notifications
Announcements
No record found.
In Ax 2012
Moved to the Dynamics AX forum.
Hi Mobeen,
Can you tell what object is behind the variable 'hcmWorkerImport_HcmWorker'? Is it the same object as returned by the 'addNew()' method?
Well As I am new to this hcmWorkerImport_HcmWorker is class as you can see
There is no problem in use. If any object has custom code, try forward compiling (addNew return AfStronglyTypedDataContainer and class extends AfStronglyTypedDataContainer)
didn't get it
The error you get is not normal. I tried it in a job, I didn't get any error (it's normal, both sides of the operator have the same type of object).
It looks like customaziton has been made on your system. It is not easy for us to support you in this matter. My guess is they didn't change the return value, but you can get errors like this if the code of one of the related objects in the inherited objects was changed and not compiled forward.
What you need to do is find the relevant object and compile it forward or compile the whole system (with parallel compilation)
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.
Abhilash Warrier 669 Super User 2025 Season 2
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 384 Most Valuable Professional