ffrr.RetrieveAmountsRecognizedServiceglobal with sharing class RetrieveAmountsRecognizedService implements Callable Provides stateless methods related to Retrieving Recognized Amounts, implements the callable interface to support loose coupling between packages. Methods
getRecognizedBetweenglobal static Map<Id, Map<Date, Decimal>> getRecognizedBetween(Set<Id> sourceIds, Date recognizedFrom, Date recognizedTo) Provides the total amount recognized by recognition date between the recognizedFrom and recognizedTo dates inclusive. Input Parameters
Return ValueMap of source Record Id with amount recognized per recognition date. Sample Code
callglobal Object call(String action, Map<String, Object> args) Executes method supplied as action, with the arguments supplied in args. Input Parameters
Return ValueObject containing method output. Sample Code
|