Edit

Share via


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

Method Return Type Description
GET generalLedgerSetup generalLedgerSetup Gets a general ledger setup object.

Properties

Property Type Description
id GUID The unique ID of the general ledger setup. Non-editable.
allowPostingFrom date
allowPostingTo date
additionalReportingCurrency string
localCurrencyCode string
localCurrencySymbol string
lastModifiedDateTime datetime The last datetime the general ledger setup was modified. Read-Only.
allowQueryFromConsolidation boolean
shortcutDimension1Code string
shortcutDimension2Code string
shortcutDimension3Code string
shortcutDimension4Code string
shortcutDimension5Code string
shortcutDimension6Code string
shortcutDimension7Code string
shortcutDimension8Code string

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