Dynamics AX and CRM integration : Create customer in AX as person type.

Hi All,

I have developed new custom AIF service in AX 2012. Same service could able to access from CRM. but when i am creating a customer as Person Type it is creating in Ax superbly. but the person name details of the customer not displaying on the form.

But the personname record exists in SQL server but not in AX. I have compared those records with existing records in SQL server, I got to understand is,ValidFrom and ValidTo fields are not initlizing properly.

Please help me out on this.