Jump to content

When I call the general Ledger (Get an account group), I received an API error message each time saying that there is a status 500 internal Server Error.


Recommended Posts

  • Members
Posted

@Shlomi Dvir We're aware of that bug and account-group will be fully functional in 24R3 (August timeframe). As a work around you can use the query service. Use this as a baseline query body and add additional fields and filters as needed. The filter that is there must stay there however.

{

    "object": "general-ledger/account-group",

    "fields": [

        "key",

        "id",

        "groupType"

    ],

    "filters": [

        {

            "$in": {

                "groupType": [

                    null,

                    "accounts",

                    "groups",

                    "statisticalAccounts",

                    "computation",

                    "category",

                    "statisticalCategory"

                ]

            }

        }

    ],

    "start": 1,

    "size": 100

}

×
×
  • Create New...