Al: Extensions and C/Side using the same object ID

Created on 21 Dec 2017  路  2Comments  路  Source: microsoft/AL

It looks like NAV (C/Side) does not check if an object ID is used in an extension.

I've created codeunit 50250 in an extension and published it. Works fine.

When I then create codeunit 50250 in C/Side NAV uses that one instead.

After deleting the codeunit in C/Side it deletes the metadata and you have to re-publish your extension.

The desired way would be that C/Side checks if an extension is using that ID and raises an error. This is how V1 behaved if I remember correctly.

Merry x-mas.

bug shipped

Most helpful comment

All 2 comments

I am not sure we are going to fix this one though.

Was this page helpful?
0 / 5 - 0 ratings