Order and Inventory Management – Accounting Connector Apex API Developer Reference

scmcffa.SCMFFAPlugin

global with sharing virtual class SCMFFAPlugin

Class used for creating OIM – Accounting plugins. See the OIM – Accounting 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 – Accounting Connector.

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 is called during the OIM – Accounting Connector action for the specified plugin. You must override it for any custom action to take place.

Input Parameters

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

© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.