I am adding contractual employee in Dynamics AX 2012 with worker type CONTRACTUAL as shown in picture below
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
and here its method screen shot given below:
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