Hi how can I get the envoriment name in SaaS using AL code. By example Sandbox, Production, etc.
Thanks!
Hi how can I get the envoriment name in SaaS using AL code. By example Sandbox, Production, etc.
Thanks!
Declared:
EnvironmentInformation: Codeunit "Environment Information";
Used:
EnvironmentInformation.GetEnvironmentName()
André Arnaud de Cal... 291,759 Super User 2024 Season 2
Martin Dráb 230,468 Most Valuable Professional
nmaenpaa 101,156