Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

worker type showing in grid view BOTH

(0) ShareShare
ReportReport
Posted on by 131

I am adding contractual employee in Dynamics AX 2012 with worker type CONTRACTUAL as shown in picture below

pastedimage1630746510630v1.png

and after submitting form (keep in mind that i did not select contract dropdown) it shows worker type BOTH in grid view as shown in figure below

pastedimage1630746510631v2.png

and here its method screen shot given below:


pastedimage1630746510632v3.png 

what is the reason behind it and what will be its solution because in database table (HCMWORKER) its showing "Contractual" in field SL_HCMWORKERTYPEID.

thanks in advance

  • Suggested answer
    Laraib Profile Picture
    131 on at
    RE: worker type showing in grid view BOTH

    I have resolve this issue by adding following line of code in a method which is showing data on grid view. picture of code is given below:-

    pastedimage1630929052536v1.png

  • Laraib Profile Picture
    131 on at
    RE: worker type showing in grid view BOTH

    Hi,

    First of all I would like thank you for answering me. I have checked EMPLOYEMENT HISTORY but it also showing CONTRACTUAL as I have attached screenshot. what should I do to resolve

    thanks in advance

    contractual employee selecting worker type both

  • Ramit Paul Profile Picture
    22,375 Most Valuable Professional on at
    RE: worker type showing in grid view BOTH

    Hi,

    Worker type both shows only if the employee is employee in one Le and contractor in other le.

    To confirm in your case, please check the employment history form and see if the worker is assigned with employee and contractor both.

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.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,925 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans