mnovak3309
Technical User
I'm working on customizing an existing crystal report that was created for Sage 300 CRE. The report tracks the current RFI's for the project.
The input parameters that I'm pulling from are the required date, returned date, and print date.
Ultimately, I want the "Days Overdue" column to spit out the difference between the print date and required date if the print date is past the required date and the returned date isn't inputted. If the required date hasn't been reached yet or if the RFI has been returned then the formula can report "0".
Example:
RFI Required Date = 2/1/16
RFI Returned Date = blank (nothing entered because it hasn't been returned)
Report Print Date = 2/10/16
So the days overdue should be 9.
I currently have an extremely base formula as follows but I get an error with the second row.
IF ({PJD_DOCUMENT__RFI.Required_Date} < PrintDate
AND {PJD_DOCUMENT__RFI.Returned_Date} = False)
Then PrintDate - {PJD_DOCUMENT__RFI.Required_Date}
Else "0"
Any advice would be greatly appreciated!
The input parameters that I'm pulling from are the required date, returned date, and print date.
Ultimately, I want the "Days Overdue" column to spit out the difference between the print date and required date if the print date is past the required date and the returned date isn't inputted. If the required date hasn't been reached yet or if the RFI has been returned then the formula can report "0".
Example:
RFI Required Date = 2/1/16
RFI Returned Date = blank (nothing entered because it hasn't been returned)
Report Print Date = 2/10/16
So the days overdue should be 9.
I currently have an extremely base formula as follows but I get an error with the second row.
IF ({PJD_DOCUMENT__RFI.Required_Date} < PrintDate
AND {PJD_DOCUMENT__RFI.Returned_Date} = False)
Then PrintDate - {PJD_DOCUMENT__RFI.Required_Date}
Else "0"
Any advice would be greatly appreciated!