web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to filter when creating web service for G/L Balance/Budget page (422) in Business Central?

(0) ShareShare
ReportReport
Posted on by 2,211 Moderator

Hi, everyone

I am trying to create a web service for the 'G/L Balance/Budget' page 422 in Business Central, but I am having trouble filtering by fields that are not part of the underlying table for that page.

43000.png

I have tried using the filters that are part of the G/L table
63108.png

Same thing I cannot do for the PeriodType
57.png

they only work for the fields that exist in the table. Is there a way to filter by fields that are added to the page but not part of the table? Any suggestions or guidance would be greatly appreciated!

I have the same question (0)
  • Hammed Rildwan Bolaji Profile Picture
    15 on at
    RE: How to filter when creating web service for G/L Balance/Budget page (422) in Business Central?

    YOU HAVE TO CREATE NEW FIELDS USING TABLE EXTENSIONS THEN FILTER WITH IT

  • Suggested answer
    Nitin Verma Profile Picture
    21,595 Moderator on at
    RE: How to filter when creating web service for G/L Balance/Budget page (422) in Business Central?

    You need to add data first on newly created field, and then you can use this field as a filter in your API url

  • Govinda Kumar Profile Picture
    2,211 Moderator on at
    RE: How to filter when creating web service for G/L Balance/Budget page (422) in Business Central?

    Thank you for your suggestion, Nitin Verma. Can you please clarify how to use my field to filter data on the G/L Balance/Budget page? Thank you again.

  • Suggested answer
    Nitin Verma Profile Picture
    21,595 Moderator on at
    RE: How to filter when creating web service for G/L Balance/Budget page (422) in Business Central?

    Unfortunately it will no work, you have create a field using Table extension, and use that in filter the data.

  • Govinda Kumar Profile Picture
    2,211 Moderator on at
    RE: How to filter when creating web service for G/L Balance/Budget page (422) in Business Central?

    Thanks, Nitin Verma.

    I understand that the filters will only work for the fields that are part of the table, but in my case, I need to filter by fields that are added to the page but not part of the table. My requirement is to create a flow in Power Automate to pass the necessary parameters to that page and get the filtered data in response, which I have to email to someone. Do you have any suggestions or guidance for me?
    Regards

  • Suggested answer
    Nitin Verma Profile Picture
    21,595 Moderator on at
    RE: How to filter when creating web service for G/L Balance/Budget page (422) in Business Central?

    Hi,

    If the fields are not in table only in page, and then It will not filter the data, if the fields already available in the Table, you can try with option's index value if its not working with option's text value.

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,899 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,444

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,304

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans