web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    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.

  • Laraib Profile Picture
    131 on at

    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

  • Suggested answer
    Laraib Profile Picture
    131 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans