ERP Apex API Developer Reference

fferpcore.ErpCurrencyService

global with sharing class ErpCurrencyService

Returns or activates ERP currencies.

Methods

getActiveCurrencies

global static Set<String> getActiveCurrencies()

Get the ERP currencies that are active.

Return Value

A set of currency ISO codes.

activateCurrencies

global static fferpcore.ErpCurrencyService.ActivateCurrenciesResult activateCurrencies(Set<String> isoCodes)

Activate a set of ERP currencies. During the activation process, ERP automatically activates all Salesforce currencies that relate to active ERP currencies to ensure the details are synchronized.

Input Parameters

Name Type Description
isoCodes Set<String> The ISO codes of the currencies you want to activate.

Return Value

An instance of ActivateCurrenciesResult, which provides information about the result of the request.

fferpcore.ErpCurrencyService.ActivateCurrenciesResult

global class ActivateCurrenciesResult

Information relating to an ERP currency activation request.

Properties

Name Type Description
HasRemainingWork Boolean When true, this indicates that the request could not be completed in a single execution context due to platform limits. To complete the request, call the method with the same parameters until the value is false. Additional calls must be done in a new execution context, using a batch job for example.

Methods

ActivateCurrenciesResult

global ActivateCurrenciesResult()

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