RetailParameters::isRetailInUse Method
Indicates whether retail functionality is being used for the current LE.
Syntax
client server public static boolean isRetailInUse()
Run On
Called
Return Value
Type: boolean
true, if retail functionality is used, false - otherwise.
Remarks
The method should be used for performance purpose. E.g. expensive queries on retail tables should not be executed, if retail functionality is not used within the LE.
Current solution of this problem is to check whether systemInUse field in RetailParameters is true. That field is set to true, when user clicks Initialize button on Retail parameters form.