Product availability report / BrewwQL expansion

I’m looking to produce a report that would show our available product list with the ability to filter by best before dates in order to generate a list for export customers.

Currently the product reports and Product Availability report don’t include breakdowns by gyle and best before dates. Export the Product availability report aggregates all batches to a single line. Would it be possible to add best before as a BrewwQL variable?

Cheers

Ben