Hello Ilma,

with my team I am working on a similar feature for a custom project, and
for sure could be a useful one, since OOTB there is only an inventory
report by product.
Regarding your issue I ask you some questions:
- how are your service parameters defined?
- for date selection do you use the standard calendar component?
- those default dates you mentioned, are passed via UI or are default
values configured in the Groovy logic?

Thanks in advance for clarifying those points.

Kind regards,
Giulio Speri

Il giorno lun 1 dic 2025 alle ore 10:05 Ilma masroor <
[email protected]> ha scritto:

> Dear Apache OFBiz Community,
>
> I hope this message finds you well.
>
> I am currently working on a *custom implementation* in the Inventory
> module. The goal of this implementation is to introduce a *custom
> “Inventory Export” button* under the Facility section. Upon clicking the
> button, users should be prompted to *enter a date range*, after which a
> *custom
> inventory report* would be generated for the specified dates.
>
> I have successfully implemented the button and the report generation logic.
> However, I am currently facing an issue: *only the default dates are being
> processed in the Groovy script*, and the *user-entered dates are not being
> applied*, preventing the report from reflecting the selected date range.
>
> I am in the process of troubleshooting this issue and will provide an
> update once it is resolved. Any guidance or suggestions from the community
> regarding handling user input dates in Groovy within OFBiz would be highly
> appreciated.
>
> Thank you for your attention and support.
>
> Best regards,
> Ilma masroor
>


-- 
------------
Giulio Speri
Full Stack Web Developer



*Mp Styl**e Srl*
via Antonio Meucci, 37
41019 Limidi di Soliera (MO)
T 059/684916
M 347/0965506

www.mpstyle.it

Reply via email to