Go-ERP / Ax2Git

Dynamics Ax 2012 source control with Git
The Unlicense
23 stars 15 forks source link

Detect deleted AOT objects #2

Open min2sia opened 10 years ago

min2sia commented 10 years ago

In case AOT object was exported to source control but later was deleted from AOT. When doing regular export, such situation won't be detected. Need to create function which will scan repository files and check if corresponding AOT object exists. If not - delete.

ksulli commented 8 years ago

How about just deleting all files in the exported path (on the filesystem, not through git) and re-export everything and let git handle the differences? From an AX standpoint, deleting a class and creating a new with the same name is making a different class (different object id), but from change tracking standpoint it doesn't matter.