jcharron003
Member
Hello list,
Here is my scenario, I would appreciate any help:
I have a custom UBE, my primary section uses Set Selection Append Flag <N0> and selects on a business view join, where Shipped Date is in the prior month and Date Updated is in the current month. This report is run say on the 3rd of March - at 2:35 pm. Assuming that like all business views on sections, this report selects 100 records matching this criteria - it should process these 100 records, and produce the PDF once finished. However, this month (no mods were made since last month when it worked perfectly), instead of taking those 100 records, it also took records that had a Date Updated AFTER the run date and time of the report. The Date Updated field being used is an audit field, these records were inserted AFTER the initial launch of the report (which took days to finish, obviously because it kept grabbing any new records being added!!!). I actually save these records to a workfile - I don't update them ever so what's in my workfile is what was initially read from the data selection, and I can see Date Updated values of March 4th and March 5th. This goes against the very basic functionality of data selection - the selected records in the Do Section reflect only the data fitting the criteria at the time of the initialize section's select statement. I'm at a complete loss, I know I could add a statement to keep the report from selecting records with a Date Updated and Time Updated greater than the report run date and time but why should I ever have to when it is absolutely impossible that these records even existed at the time the report did it's initial selection? (Proof being that I save the records with the Date Updated found without ever updating it again and I'm seeing later dates than my report run date). This report took 56 hours to finally finish...
Thanks for any help!
Jennifer.
Heavily modified OW Xe SP19
AS400 (Business Data)
Oracle/Enterprise (Control Tables/Objects)
Citrix/Fats
Here is my scenario, I would appreciate any help:
I have a custom UBE, my primary section uses Set Selection Append Flag <N0> and selects on a business view join, where Shipped Date is in the prior month and Date Updated is in the current month. This report is run say on the 3rd of March - at 2:35 pm. Assuming that like all business views on sections, this report selects 100 records matching this criteria - it should process these 100 records, and produce the PDF once finished. However, this month (no mods were made since last month when it worked perfectly), instead of taking those 100 records, it also took records that had a Date Updated AFTER the run date and time of the report. The Date Updated field being used is an audit field, these records were inserted AFTER the initial launch of the report (which took days to finish, obviously because it kept grabbing any new records being added!!!). I actually save these records to a workfile - I don't update them ever so what's in my workfile is what was initially read from the data selection, and I can see Date Updated values of March 4th and March 5th. This goes against the very basic functionality of data selection - the selected records in the Do Section reflect only the data fitting the criteria at the time of the initialize section's select statement. I'm at a complete loss, I know I could add a statement to keep the report from selecting records with a Date Updated and Time Updated greater than the report run date and time but why should I ever have to when it is absolutely impossible that these records even existed at the time the report did it's initial selection? (Proof being that I save the records with the Date Updated found without ever updating it again and I'm seeing later dates than my report run date). This report took 56 hours to finally finish...
Thanks for any help!
Jennifer.
Heavily modified OW Xe SP19
AS400 (Business Data)
Oracle/Enterprise (Control Tables/Objects)
Citrix/Fats