Skip to main content
January 28, 2025

Extensibility Rule to grab all entities with a Text1 field and run logic on them.

  • January 28, 2025
  • 2 replies
  • 0 views

Looking for some code on grabbing all entities with a text1 field of "ABC" and then run logic on them.  I didnt see anything in the Golfstream app to use.  

2 replies

January 28, 2025

E#Top.Base.Where(Text1 = 'ABC')

February 7, 2025

What’s your goal with that? Are you looking to apply a financial rule, or do you plan to use it in a Dashboard Extender or Extensibility rule?

As T_Kress mentioned earlier, you can use E#Top.Base.Where(Text1 = 'ABC'). If it's a calculation, you could incorporate that in the DM that calls the Finance BR. If you're aiming for something specific in a Dashboard Extender, BRApi.Finance.Metadata.GetMembersUsingFilter might be the way to go. Ultimately, it depends on what you’re trying to accomplish.