generalLedgerSetup resource type

Represents a general ledger setup in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET generalLedgerSetupgeneralLedgerSetupGets a general ledger setup object.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the general ledger setup. Non-editable.
allowPostingFromdate
allowPostingTodate
additionalReportingCurrencystring
localCurrencyCodestring
localCurrencySymbolstring
lastModifiedDateTimedatetimeThe last datetime the general ledger setup was modified. Read-Only.
allowQueryFromConsolidationboolean
shortcutDimension1Codestring
shortcutDimension2Codestring
shortcutDimension3Codestring
shortcutDimension4Codestring
shortcutDimension5Codestring
shortcutDimension6Codestring
shortcutDimension7Codestring
shortcutDimension8Codestring

JSON representation

Here's a JSON representation of the generalLedgerSetup resource.

{
    "id": "GUID",
    "allowPostingFrom": "date",
    "allowPostingTo": "date",
    "additionalReportingCurrency": "string",
    "localCurrencyCode": "string",
    "localCurrencySymbol": "string",
    "lastModifiedDateTime": "datetime",
    "allowQueryFromConsolidation": "boolean",
    "shortcutDimension1Code": "string",
    "shortcutDimension2Code": "string",
    "shortcutDimension3Code": "string",
    "shortcutDimension4Code": "string",
    "shortcutDimension5Code": "string",
    "shortcutDimension6Code": "string",
    "shortcutDimension7Code": "string",
    "shortcutDimension8Code": "string"
}

GET generalLedgerSetup