Accounting Apex API Developer Reference

c2g.CODAAPIGeneralLedgerAccountTypes_4_0

global with sharing class CODAAPIGeneralLedgerAccountTypes_4_0

Holds information about a general ledger account. See "General Ledger Account Fields" and "What is a General Ledger Account?" in the Certinia Help for more details. Some fields that Certinia has added to the GeneralLedgerAccount object have not been made available through the Accounting API because the functionality is supported by the Salesforce API.

Enums

enumType

Types of general ledger account.

Value Description
BalanceSheet Transactions posted to this account contribute to the Balance Sheet statement.
ProfitAndLoss Transactions posted to this account contribute to the Profit & Loss statement.
RetainedEarnings The Retained Earnings Account. There can only be one general ledger account of this type.

c2g.CODAAPIGeneralLedgerAccountTypes_4_0.GeneralLedgerAccount

global with sharing class GeneralLedgerAccount

Holds information about a general ledger account. See "General Ledger Account Fields" and "What is a General Ledger Account?" in the Certinia Help for more details. Some fields that Certinia has added to the GeneralLedgerAccount object have not been made available through the Accounting API because the functionality is supported by the Salesforce API.

Properties

Name Type Description
Id id Globally unique string that identifies the record.
OwnerId c2g.CODAAPICommon.Reference ID of the user who owns this record.
IsDeleted boolean Indicates whether the record has been moved to the Recycle Bin (true) or not (false).
Name string Name of this general ledger account. Mandatory.
CurrencyIsoCode string Currency used by this general ledger account. Must be an active currency within Salesforce.
CreatedDate datetime Date and time when this record was created.
CreatedById c2g.CODAAPICommon.Reference ID of the user who created this record.
LastModifiedDate datetime Date and time when this record was last modified by a user.
LastModifiedById c2g.CODAAPICommon.Reference ID of the user who last updated this record.
SystemModstamp datetime Date and time when this record was last modified by a user or by a workflow process (such as a trigger).
BalanceSheet1 string A user-defined hierarchy value.
BalanceSheet2 string A user-defined hierarchy value.
BalanceSheet3 string A user-defined hierarchy value.
ExternalId string
ReportingCode string Unique code by which this general ledger account can be identified. Mandatory.
TrialBalance1 string A user-defined picklist value.
TrialBalance2 string A user-defined picklist value.
TrialBalance3 string A user-defined picklist value.
TrialBalance4 string A user-defined picklist value.
TypeRef c2g.CODAAPIGeneralLedgerAccountTypes_4_0.enumType Type of general ledger account. Mandatory.
GLAGroup string An optional group that the general ledger account belongs to: Accounts Receivable, Accounts Payable, Cash or None.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.