SCM

scmc.SCMPlugin

global virtual class SCMPlugin

Class used for various SCM Plugins (see SCM Plugins custom setting for a list). Extend this class and override the 'execute' method to run custom code during a specific transaction in SCM.

Author

Financial Force, Inc.

Properties

Name Type Description
doRollback boolean If true, the code initiating the plugin call will do a rollback if an exception is thrown. * If false, the custom plugin code will need to handle any database rollbacks.
throwException boolean If true, exceptions from inside the plugin will be caught, logged, and thrown again. * If false, they will just be caught and logged.

Methods

execute

global virtual void execute(Id[] recordIds)

This method will be called during the SCM transaction for the designated plugin. It must be overridden for any action to take place.

Input Parameters

Name Type Description
recordIds Id[] A list of record Ids. The type of records depends on the specific plugin.

Return Value

Does not return a value.

© Copyright 2009–2020 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.