CRM Integration, proxy tables, fields ids on the 10,000 range

TomigsTomigs Member Posts: 86
edited 2022-10-13 in NAV Three Tier
Hi,

In the context of an integration BC/CRM (BC20), we have used the altpgen tool to generate proxy tables and do the developments based on this. For example we have got the definition of the CRM account extension.

We have been able to work and test deploying using Visual Studio Code. However, when we have tried to deploy the developments as a properly published extensions, we get errors because it doesn't like the fields being on the 10,000 range, seems to allow only on the 50,000 range.

I thought in re-generating the proxy tables using this time the -baseid: 50000 parameter in altpgen, thinking that it would give mthe fields on the 50,000 range but it doesn't: the fields IDs are still on the 10,000 range. Looks like the baseid parameter affects only to the number of the table.

I guess what we'll have to do a manual renaming of all the fields in all of the table extensions and reset the integration that is not great.

Has anyone faced the same situation or know of a better approach?

I think it is exactly the same situation as below:
https://community.dynamics.com/business/f/dynamics-365-business-central-forum/417695/business-central-table-integration-custom-field

Thanks!
Tomas

4tea3xo5tbnu.png
Sign In or Register to comment.