I have been using your snippets for upgrade and install codeunit a lot lately and ended up doing the sames changes all the time.
Maybe you agree with my changes and we can merge them ;)
I usually create multiple upgrade procedures in the same upgrade codeunit, so I do the handling of the tags inside the procedure and just do a bunch of function calls in the upgrade trigger
The HasUpgradeTag and SetUpgradeTag procedures do automatically grab the current company name, and the company name is part of the PK on the table that stores the tags. No need to included into the tag itsself
EDIT: Seems like the Company could also mean the company doing the development. So I added it back but called it "PublisherAffix"
I only want to set the upgrade tags on install when doing a fresh install of my extension right?
I have been using your snippets for upgrade and install codeunit a lot lately and ended up doing the sames changes all the time. Maybe you agree with my changes and we can merge them ;)