Setup Table Singleton Pattern #284
MiePlougstrupTasklet
started this conversation in
BC Patterns
Replies: 1 comment
-
|
Surly it is better pattern. Allowing you to re-use this function also in company initialization codeunit if you decide that setup record supposed to be created at this stage. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the NAV Patterns Archive we have the pattern for singleton setup tables, that mentions having this code on the setup page:
But I remember that Waldo had a pattern for this for AL code.
Something like this:
On the table:
On the page:
Is this the best practice pattern?
Should it be included on the alguidelines.dev site?
Beta Was this translation helpful? Give feedback.
All reactions