SCM Accounting Connector Apex API Developer Reference

scmcffa.SCMFFAPlugin

global with sharing virtual class SCMFFAPlugin

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

Properties

Name Type Description
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

SCMFFAPlugin

global SCMFFAPlugin()

execute

global virtual void execute(Map<Id, sObject> scmIdToFFARecord, Map<Id, sObject[] > scmIdToFFALineRecords, Map<Id, sObject[] > scmIdToFFALineRecords2)

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

Input Parameters

Name Type Description
scmIdToFFARecord Map<Id, sObject> Map<Id, sObject> where the ID belongs to the SCM object and the object is the FFA record.
scmIdToFFALineRecords Map<Id, sObject[] > Map<Id, sObject> where the ID belongs to the SCM object and the object is the FFA Line record.
scmIdToFFALineRecords2 Map<Id, sObject[] > Extra mapping between SCM and FFA object in case it is needed.

Return Value

Does not return a value.

© Copyright 2009–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.