OnCompanyInitialize
event subscriber should exist If a DataPerCompany = true
setup table exists
#251
rvanbekkum
started this conversation in
New Rule
Replies: 1 comment 1 reply
-
I think rule AA0235 does that now actually: But ... I can't get it to work. 😅🤔 https://twitter.com/rvanbekkum/status/1598703510794674176 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It might be good to have a rule which checks that an
OnCompanyInitialize
event subscriber exists if there is at least one 'setup' table that is defined asDataPerCompany = true
.For reference, please see: microsoft/alguidelines#203
I don't think it necessarily should be in an install codeunit though.
Example of an event subscriber to the
OnCompanyInitialize
event publisher from codeunit"Company-Initialize"
:Beta Was this translation helpful? Give feedback.
All reactions