Records not showing on form from Employee table after importing in Ax 2012

If you are  using dynamics ax 2012 r2 then you may face problem is there are no records of employees/workers/contractors in you hr module but record are in the tables same when you create a new record its visible only in the tables.
Solution:The records in your tables are most probably imported, but when you did so you forgot to import all related tables like dirperson, dirparty employment and so on
Check all tables that are in hcmworker form datasource and make sure they contain appropriate data with relations to hcmworker table .

Same way if you are facing problem in other module like item master or customer table then you need to import data for all master data of related tables,