Hi,
Using Jdev 12.2.1.2.
I have a jsff fragment with a table with records of Documents:
- first time some one access it it will show the current day documents;
- after that the user can change the filters to look for a specific document
At the bottom of the page I will show the totals of the documents (counters and other values).
To calculate those totals I will access the Iterator of that table and loop for each record, for that I use DCIteratorBinding getAllRowsInRange to obtain all rows returned from my WebService (REST).
The problem I'm having is:
- that the first time, getAllRowsInRange method returns me 1 row that is empty, so I only see zeros (problem) - I have 3 rows on the original response and the table presents them
- if I change the date filter and execute the service again, getAllRowsInRange will return me the correct amount of rows and will calculate the total amounts (all good)
- if I change the filter back to today's date, it will also work as it should be (all good)
I'm currently out of ideas. Can any one help?
Thanks
Daniel