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.
MatchingDateModeIndicates whether the matching date on the cash matching history is populated by either a custom date or the cash entry date.
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. This class contains deprecated items. Properties
DeprecatedThe following items are deprecated and not supported for use. We recommend that you stop using these items to avoid exceptions. 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
|