Accounting API Developer's Reference

c2g.CODAAPICashMatchingTypes_8_0

global with sharing class CODAAPICashMatchingTypes_8_0

Holds cash matching information.

Enums

enumMatchingCurrencyMode

The currency mode to use for cash matching.

Value Description
Account Account currency.
Document Document currency. This is the default option.

enumUndoReason

Possible reasons for undoing a match.

Value Description
MatchingError Matching Error.
RemittanceAdviceIncorrect Remittance Advice Incorrect.

c2g.CODAAPICashMatchingTypes_8_0.Configuration

global with sharing class Configuration

Holds cash matching configuration information.

Properties

Name Type Description
Account c2g.CODAAPICommon.Reference Customer or vendor account for which cash matching is being performed. Mandatory.
MatchingCurrencyMode enum Account mode or Document mode. Mandatory.
MatchingDate Date The matching date. Mandatory.
MatchingPeriod c2g.CODAAPICommon.Reference The matching period.
DiscountDate Date Date used to determine any settlement discount.

c2g.CODAAPICashMatchingTypes_8_0.Item

global with sharing class Item

Holds cash matching values for a transaction line item.

Properties

Name Type Description
TransactionLineItem c2g.CODAAPICommon.Reference Reference to the related transaction line item. Mandatory.
Paid Decimal Amount paid.
Discount Decimal Amount of any settlement discount.
WriteOff Decimal Amount of any write-off.
TransactionLineItemSystemModStamp Datetime Date and time when the related transaction line item was last modified by a user or by a workflow process (such as a trigger).

c2g.CODAAPICashMatchingTypes_8_0.Analysis

global with sharing class Analysis

Holds cash matching analysis information.

Properties

Name Type Description
DiscountGLA c2g.CODAAPICommon.Reference Mandatory if the match involves a discount.
DiscountDimension1 c2g.CODAAPICommon.Reference Reference to the Dimension 1 record by which you want to analyze this discount.
DiscountDimension2 c2g.CODAAPICommon.Reference Reference to the Dimension 2 record by which you want to analyze this discount.
DiscountDimension3 c2g.CODAAPICommon.Reference Reference to the Dimension 3 record by which you want to analyze this discount.
DiscountDimension4 c2g.CODAAPICommon.Reference Reference to the Dimension 4 record by which you want to analyze this discount.
WriteOffGLA c2g.CODAAPICommon.Reference Mandatory if the match involves a write-off.
WriteOffDimension1 c2g.CODAAPICommon.Reference Reference to the Dimension 1 record by which you want to analyze this write-off.
WriteOffDimension2 c2g.CODAAPICommon.Reference Reference to the Dimension 2 record by which you want to analyze this write-off.
WriteOffDimension3 c2g.CODAAPICommon.Reference Reference to the Dimension 3 record by which you want to analyze this write-off.
WriteOffDimension4 c2g.CODAAPICommon.Reference Reference to the Dimension 4 record by which you want to analyze this write-off.
CurrencyWriteOffGLA c2g.CODAAPICommon.Reference Mandatory if the match involves a currency write-off.
CurrencyWriteOffDimension1 c2g.CODAAPICommon.Reference Reference to the Dimension 1 record by which you want to analyze this currency write-off.
CurrencyWriteOffDimension2 c2g.CODAAPICommon.Reference Reference to the Dimension 2 record by which you want to analyze this currency write-off.
CurrencyWriteOffDimension3 c2g.CODAAPICommon.Reference Reference to the Dimension 3 record by which you want to analyze this currency write-off.
CurrencyWriteOffDimension4 c2g.CODAAPICommon.Reference Reference to the Dimension 4 record by which you want to analyze this currency write-off.