Script to check the features enabled in the account

The following code can check whether a feature is enabled in the account or not.

// Check the features enabled in the account.
var multiCurrency = runtime.isFeatureInEffect({
    feature: 'MULTICURRENCY'
});
var multiPrice = runtime.isFeatureInEffect({
    feature: 'MULTIPRICE'
});
var quantityPricing = runtime.isFeatureInEffect({
    feature: 'QUANTITYPRICING'
});

Leave a comment

Your email address will not be published. Required fields are marked *