scmcffa.SCMFFAPlugin
global with sharing virtual class SCMFFAPlugin
Class used for creating OIM – FinancialForce plugins. See the OIM – FinancialForce Connector 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 OIM – FinancialForce Connector.
Properties
| 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(Map<Id, sObject> scmIdToFFARecord, Map<Id, sObject[] > scmIdToFFALineRecords, Map<Id, sObject[] > scmIdToFFALineRecords2)
This method is called during the OIM – FinancialForce Connector action for the specified plugin. You must override it for any custom action to take place.
Input Parameters
| scmIdToFFARecord |
Map<Id, sObject> |
Map<Id, sObject> where the ID belongs to the Order and Inventory Management object and the object is the Accounting record. |
| scmIdToFFALineRecords |
Map<Id, sObject[] > |
Map<Id, sObject> where the ID belongs to the Order and Inventory Management object and the object is the Accounting line record. |
| scmIdToFFALineRecords2 |
Map<Id, sObject[] > |
Additional mapping between the Order and Inventory Management and Accounting objects, if needed. |
Return Value
Does not return a value.
|