scmc.SCMPlugin
global inherited sharing virtual class SCMPlugin
Class used for creating OIM plugins. See the OIM Plugins custom setting for a list of available plugins. Extend this class and override the execute method to run custom code during a specific action in Order and Inventory Management.
Properties
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 is called during the Order and Inventory Management action for the specified plugin. You must override it for any custom action to take place.
Input Parameters
recordIds |
Id[] |
A list of record IDs. The type of records depends on the specific plugin. |
Return Value
Does not return a value.
|