How ro pull an FR Reports where some column are based on a Transaction Optional Field Value?

Hi, I need to make an FR report where I have these columns: YTD - Quarterly, Pretty easy so far.

Now they have asked for some sections to only show amounts where a GL Optional Transaction field named XX has a Value in it.

I know we can use FRPOST to extract optional transaction field data BUT how to get the right amount based on the dates ( quarterly - YTD ) ? I don't see in the FRPOST any place where I can pass the desired starting and ending date). Thanks for your ideas.


Regards,

Eric