Hi All,
I am trying to create new records using Postman and custom data entity but it always gives validation errors.E.g. We have custom entity for customer address.
Initially it gives the error as "insert is not allowed on CustomerLegalEntity filed." So, we changed AllowEditOnCreate Property value for this field.
Next error it is giving as "party number is mandatory.ValidateWrite failed on DirPartyTable"
In my custom entity we don't have PartyNumber field. Somehow it is checking validation of all tables linked with the entity.
With the same entity if import the same data in file from data management it works fine.Even If I create Enqueue request from Postman with FormData selected as Text file it processed the file without any error.
But when I try to POST request with Raw data in JSAON format it starts giving me validation errors.
Ideally if it is working through file/API (Enqueue request) POST call should also be successful.
I am using below syntax for POST request :
DynamicsURL/data/entityname
Is there any other way to give call? There are so many other entities which are also giving this kind of issues.For all these entries set based processing is set to TRUE.
Thanks ,
Shri