Accounting Apex API Developer Reference

c2g.CODAAPIJournalLineItemTypes_12_0

global with sharing class CODAAPIJournalLineItemTypes_12_0

The service class relating to Journal Line Items.

Enums

enumLineType

Possible journal line item types.

Value Description
Account_Customer A customer account line.
Account_Vendor A vendor account line.
BankAccount A bank account line.
GeneralLedgerAccount A general ledger account line.
Product_Purchases A vendor product line.
Product_Sales A customer product line.
TaxCode A tax code line.
Intercompany An intercompany line.

enumDestinationLineType

Possible journal destination line item types.

Value Description
Account_Customer A customer account line.
Account_Vendor A vendor account line.
BankAccount A bank account line.
GeneralLedgerAccount A general ledger account line.
Product_Purchases A vendor product line.
Product_Sales A customer product line.
TaxCode A tax code line.

enumDebitCredit

Indicates whether the journal line item is a debit or credit value.

Value Description
Credit The value is a credit.
Debit The value is a debit.

c2g.CODAAPIJournalLineItemTypes_12_0.JournalLineItem

global with sharing class JournalLineItem

Holds information about a journal line item. See "Journal Fields" and "What is a Journal?" in the Certinia Help for more details.

Properties

Name Type Description
Id id Globally unique string that identifies the record.
IsDeleted boolean Indicates whether the record has been moved to the Recycle Bin (true) or not (false).
Name string Unique number allocated to this journal line item.
CreatedDate datetime Date and time when the record was created.
CreatedById c2g.CODAAPICommon.Reference ID of the user who created the record.
LastModifiedDate datetime Date and time when the record was last modified by a user.
LastModifiedById c2g.CODAAPICommon.Reference ID of the user who last modified the record.
SystemModstamp datetime Date and time when the record was last modified by a user or by a workflow process (such as a trigger).
Journal c2g.CODAAPICommon.Reference Reference to the related journal.
AccountValue decimal Value associated with the specified customer account. Default (calculated) or user-defined.
Account c2g.CODAAPICommon.Reference Reference to the account affected by this journal line item. Mandatory when the LineTypeRef is "Account_Type_Customer".
BankAccountValue decimal Value of the line associated with the specified bank account. Default (calculated) or user-defined.
BankAccount c2g.CODAAPICommon.Reference Reference to the bank account affected by this journal line item.
DestinationCompany c2g.CODAAPICommon.Reference Reference to the company that receives the costs during an intercompany journal process.
Dimension1Value decimal Value of the line associated with the specified Dimension 1. Default (calculated) or user-defined.
Dimension1 c2g.CODAAPICommon.Reference Reference to the Dimension 1 record by which you want to analyze this journal line item.
Dimension2Value decimal Value of the line associated with the specified Dimension 2. Default (calculated) or user-defined.
Dimension2 c2g.CODAAPICommon.Reference Reference to the Dimension 2 record by which you want to analyze this journal line item.
Dimension3Value decimal Value of the line associated with the specified Dimension 3. Default (calculated) or user-defined.
Dimension3 c2g.CODAAPICommon.Reference Reference to the Dimension 3 record by which you want to analyze this journal line item.
Dimension4Value decimal Value of the line associated with the specified Dimension 4. Default (calculated) or user-defined.
Dimension4 c2g.CODAAPICommon.Reference Reference to the Dimension 4 record by which you want to analyze this journal line item.
DualValue decimal The value of the line dual currency. Default (calculated) or user-defined.
GeneralLedgerAccountValue decimal Value of the line associated with the general ledger account. Default (calculated) or user-defined.
GeneralLedgerAccount c2g.CODAAPICommon.Reference Reference to the general ledger account. Mandatory when the LineTypeRef requires a general ledger account.
LocalGLAValue decimal Value of the line associated with the Local GLA. Default (calculated) or user-defined.
LocalGLA c2g.CODAAPICommon.Reference Reference to the Local GLA associated with corporate GLA through COA. Mandatory when the LineTypeRef requires a general ledger account.
HomeValue decimal Value of the line in home currency. Default (calculated) or user-defined.
LineDescription string Description of this journal line item.
AccountReference string Any significant reference from the journal line item, to be used in matching.
LineTypeRef c2g.CODAAPIJournalLineItemTypes_12_0.enumLineType Type of journal line. Mandatory.
DestinationLineTypeRef c2g.CODAAPIJournalLineItemTypes_12_0.enumDestinationLineType Type of journal destination line.
OwnerCompany c2g.CODAAPICommon.Reference Company to which this line item belongs.
Product c2g.CODAAPICommon.Reference Name of the related product.
TaxCode c2g.CODAAPICommon.Reference Name of the related tax code.
DebitCredit c2g.CODAAPIJournalLineItemTypes_12_0.enumDebitCredit Indicates whether this journal line item is a debit or credit value.
Value decimal The value of the line in document currency. Mandatory.
VendorValue decimal Value of the line associated with the specified vendor account.
DualRate decimal The exchange rate used on this journal line item for home to dual currency.
JournalRate decimal The exchange rate used on this journal line item for journal to home currency.
TaxValue1 decimal Total value of tax relating to this journal line, to two decimal places.
TaxValue2 decimal Total value of tax relating to this journal line, to two decimal places. Sales and Use Tax only.
TaxValue3 decimal Total value of tax relating to this journal line, to two decimal places. Sales and Use Tax only.
TaxAnalysis1 c2g.CODAAPICommon.Reference Name of the tax code by which you want to analyze this journal line. Only relevant to non-tax lines.
TaxAnalysis2 c2g.CODAAPICommon.Reference Name of the tax code by which you want to analyze this journal line. Only relevant to non-tax lines. Sales and Use Tax only.
TaxAnalysis3 c2g.CODAAPICommon.Reference Name of the tax code by which you want to analyze this journal line. Only relevant to non-tax lines. Sales and Use Tax only.
TaxableValue decimal Taxable value relating to this tax line, to two decimal places.
AccountAnalysis c2g.CODAAPICommon.Reference Reference to the related account on a non-account line.
ProductAnalysis c2g.CODAAPICommon.Reference Reference to the related product on a non-product line.
CustomFields List<c2g.CODAAPIJournalLineItemTypes_12_0.CustomField> Reference to the list of user-defined fields that have been exposed with a type 1 integration rule.

c2g.CODAAPIJournalLineItemTypes_12_0.JournalLineItems

global with sharing class JournalLineItems

Holds the collection of line items associated with a journal.

Properties

Name Type Description
LineItemList c2g.CODAAPIJournalLineItemTypes_12_0.JournalLineItem[] The collection of JournalLineItem objects.

c2g.CODAAPIJournalLineItemTypes_12_0.CustomField

global with sharing class CustomField implements CODAAPICommon.IAPICustomField

Holds the information about the user-defined fields that have been exposed with a type 1 integration rule. See "Integration Rules - Type 1" in the Certinia Help for more details.
The same read and write permissions granted for the Certinia application extend to the Certinia API.

Properties

Name Type Description
FieldName string Name of the user-defined field.
Value string Value of the user-defined field.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.