Dynamics AX 365 - insert not allowed for fields
Data entity related
Solution 1:
1. Data entity and staging table those error fields shouldn't set property for AllowEdit and AllowEditOnCreate to "NO".
2. Chaneg those field property to "Yes"
3. Rebuild solution and SYNC DB
4. Refresh entity List
Solution 2:
1. Code:
this. skipDatasourceValidationField(FieldNum(<DS Name>, <DS Field Name>), true);
2. Write above on data entity methods (mapEntityToDatasource and intializedEntityDatasource
3. Rebuild soluton
Data entity related
Solution 1:
1. Data entity and staging table those error fields shouldn't set property for AllowEdit and AllowEditOnCreate to "NO".
2. Chaneg those field property to "Yes"
3. Rebuild solution and SYNC DB
4. Refresh entity List
Solution 2:
1. Code:
this. skipDatasourceValidationField(FieldNum(<DS Name>, <DS Field Name>), true);
2. Write above on data entity methods (mapEntityToDatasource and intializedEntityDatasource
3. Rebuild soluton
ReplyDeleteVery helpful explanation of the ‘Address Record Insert Not Allowed’ issue in Microsoft Dynamics 365. The breakdown of permissions and data entity behavior really clarifies why this error occurs.
To Know More Visit: https://codexoxo.com/dynamics-365-address-record-insert-not-allowed/