Accounting API Developer's Reference

c2g.CODAAPIGeneralLedgerAccount_4_0

global with sharing class CODAAPIGeneralLedgerAccount_4_0

This service class provides general ledger account functionality.

Properties

Name Type Description
VERSION_STRING string The API version of this service class.
SERVICE_NAME string The service name of this service class.

Methods

GetAPIVersion

webservice static string GetAPIVersion()

Used to get the latest API version.

GetServiceName

webservice static string GetServiceName()

Used to get the name of the service.

CreateGeneralLedgerAccount

webservice static c2g.CODAAPICommon.Reference CreateGeneralLedgerAccount(c2g.CODAAPICommon_3_0.Context context, c2g.CODAAPIGeneralLedgerAccountTypes_4_0.GeneralLedgerAccount value)

This service allows you to create a general ledger account. See "General Ledger Account Fields" and "What is a General Ledger Account?" in the FinancialForce Help for more details. GLA data can also be loaded using the Salesforce API.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_3_0.Context Identifies the FinancialForce company in which the current operation executes.
value c2g.CODAAPIGeneralLedgerAccountTypes_4_0.GeneralLedgerAccount Holds details of the general ledger account you want to create.

Return Value

This web service returns a CODAAPICommon.Reference object.

UpsertGeneralLedgerAccount

webservice static c2g.CODAAPICommon.Reference[] UpsertGeneralLedgerAccount(c2g.CODAAPICommon_3_0.Context context, c2g.CODAAPIGeneralLedgerAccountTypes_4_0.GeneralLedgerAccount[] values)

This service allows you to update existing general ledger accounts, or create new general ledger accounts if they do not already exist. GLA data can also be loaded using the Salesforce API.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_3_0.Context Identifies the FinancialForce company in which the current operation executes.
values c2g.CODAAPIGeneralLedgerAccountTypes_4_0.GeneralLedgerAccount[] Holds details of the general ledger accounts you want to update or create (upsert).

Return Value

This web service returns a CODAAPICommon.Reference object.