Hi all,
I've recently received a change request to enable CreatedBy/CreatedDateTime/ModifiedBy/ModifiedDateTime fields on multiple tables as part of a D365 Finance & Operations implementation project.
Only there are a LOT of tables for which they want those fields enabled (like about 400+ tables probably)
I'm in the process of challenging why this needs to happen for so many tables, and what the added value would be... (user accountability, audits,... etc... I guess)
But for the moment it looks like I will be asked to proceed with this change no matter what.
So normally I would to do this by creating table extensions in Visual Studio for each of those tables and changing the appropriate properties, checking everything into DevOps and release to all environments through build/release pipelines.
But given the number of tables I was hoping to find a more time efficient way of achieving this.
In AX2012 you could do this by looping over a list of table names and using the TreeNode.AOTsetProperty() and TreeNode.AOTsave() methods.
I suppose technically that could still work in a D365F&O development environment (although those methods are marked as /obsolete/ now so it seems), but :
- it's a bad idea
- I suppose you would be overlayering instead of creating a table extension in this way ?
- AND I would still have to find a way to get the changes in version control since I want to release these changes to the different environments (ACC, PROD) in a controlled way through DevOps
Does anyone have experience with something similar ?
Any suggestions on how to approach this ?
Thanks !