Sunday, October 21, 2018

Field can appear only once in table Dynamics 365 Business Central

Hello Friends,

If you try to add new field using table extension and field already exists in standard table by other installed extension or manual created in standard table using developer environment (on-prime). 

tableextension 50001 CustomreExt extends Customer
{
fields
{
field(50000; "Field From BC"; Integer)
{
DataClassification = ToBeClassified;
}
}

var
myInt: Integer;
}

When you publish than extension than system give error failed with code 422. Reason:
The field ID '50000' can only appear once in the table 'Customer'

In this case we already created field using development environment (on-prime D365 BC)

Error
Error coming at publishing of extension,



















Thank you for reading...
Write a comment if you have any concern.

No comments:

Post a Comment