RetailParameters::isRetailEnabledAndInUse Method [AX 2012]

Indicates whether retail configuration key is enabled and being used for the current LE.

client server public static boolean isRetailEnabledAndInUse()

Run On


Return Value

Type: boolean
true, if retail config. key enabled and functionality is used, false - otherwise.

Retail configuration key is enabled by default.

Besides checking the Retail configuration key it is important to check that Retail is actually in use when changing non-Retail code for performance reasons.