pratikshahse
asked on
Data mapping and Import in CRM
I am trying to import data via data mapping into Consumer entity and for some reason even if I put in null data in a required field it creates a record and does not throw any kind of error.
Here is the data that I am trying to map:
FirstName,LastName,Pin,Bir thdate,SSN ,Phone,Zip ,email,Cou nty,Distri ct
,,,,,,,,Clay,04
In the above example FirstName,LastName and Pin are required fields and as you can see I pass in nothing for that and still it creates the record. FirstName and LastName are business required fields in the entity while Pin is being checked in my plugin code. If plugin is null or "" it throws an error message. Now if I try to do the same thing directly from the front end then it does throw me errors saying First Name,Last Name and Pin are required fields.
any suggestion would be greatly helpful.
Here is the data that I am trying to map:
FirstName,LastName,Pin,Bir
,,,,,,,,Clay,04
In the above example FirstName,LastName and Pin are required fields and as you can see I pass in nothing for that and still it creates the record. FirstName and LastName are business required fields in the entity while Pin is being checked in my plugin code. If plugin is null or "" it throws an error message. Now if I try to do the same thing directly from the front end then it does throw me errors saying First Name,Last Name and Pin are required fields.
any suggestion would be greatly helpful.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.