Solved

What is the FBQL equivalent of BQL's SelectWindowed?

  • 11 November 2022
  • 3 replies
  • 83 views

Userlevel 7
Badge +5

I’ve done a few searches but I can’t seem to locate the equivalent.

icon

Best answer by Shawn Burt 11 November 2022, 19:33

View original

3 replies

Userlevel 5
Badge +1

isn’t the SelectWindowed under the View class within the SelectFrom?

 

InventoryItem item = SelectFrom<InventoryItem>
    .Where<InventoryItem.inventoryID.IsEqual<@P.AsInt>>
    .View.SelectWindowed(graph,startRow,totalRows,parameter);

Userlevel 7
Badge +5

It could be. :)  I’m typically coding within the Customization Project screens vs VS Studio so I don’t get the benefit of Intellisense and a search of the Framework documentation turned up almost nothing.

Thank you!

Userlevel 5
Badge +1

Give it a try. If you have more questions please let me know.

My sample kind of sucked as it would only return one row anyway. but in the end if you call View.SelectWindowed from your FBQL results

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved