c2g.BackgroundMatchingServiceglobal with sharing class BackgroundMatchingService the service class relating to background matching. EnumsMatchActionSpecifies match actions on which the matching should be performed.
MatchTypeSpecifies whether matching should be performed based on Customer Reference or Document Number.
MatchModeSpecifies how any available outstanding cash or credit note is automatically matched to other sales invoices, credit notes or cash for the same account.
CurrencyModeIndicates whether matching should be in the currency of the account, or the currency of the posted document.
Methods
matchglobal static Id match(c2g.BackgroundMatchingService.Configuration configuration) This service allows you to match outstanding transactions asynchronously. See "About Background Matching" in the FinancialForce Help for more details. Use the CashEntryMatch (Process Cash Matching) custom permission to grant permissions on this method. Input Parameters
Return ValueThis service returns the ID of an Accounting Background Worker object. matchCashglobal static Id matchCash(c2g.BackgroundMatchingService.Configuration configuration) This service allows you to match outstanding transactions asynchronously. See "About Background Matching" in the FinancialForce Help for more details. Use the CashEntryMatch (Process Cash Matching) custom permission to grant permissions on this method. Input Parameters
Return ValueThis service returns the ID of a Process Run object. matchglobal static c2g.BackgroundMatchingService.MatchResult match(c2g.BackgroundMatchingService.Configuration configuration, List<Id> transactionLines) This service allows you to match outstanding transactions synchronously. See "About Background Matching" in the FinancialForce Help for more details. Use the CashEntryMatch (Process Cash Matching) custom permission to grant permissions on this method. Input Parameters
Return ValueThis service returns a c2g.BackgroundMatchingService.MatchResult object. Sample Code
matchCashglobal static c2g.BackgroundMatchingService.MatchResult matchCash(c2g.BackgroundMatchingService.Configuration configuration, List<Id> transactionLines) This service allows you to match outstanding transactions synchronously. See "About Background Matching" in the FinancialForce Help for more details. Use the CashEntryMatch (Process Cash Matching) custom permission to grant permissions on this method. Input Parameters
Return ValueThis service returns a c2g.BackgroundMatchingService.MatchResult object. Sample Code
c2g.BackgroundMatchingService.Configurationglobal class Configuration holds parameters used by the background matching process. Properties
c2g.BackgroundMatchingService.MatchDetailsglobal class MatchDetails holds summary values for all the lines of the transaction type. Properties
c2g.BackgroundMatchingService.MatchResultglobal class MatchResult holds the details of the match. Properties
|