YANKRAY
Technical User
- Nov 7, 2003
- 283
Using CR 10
I am using this formula to calculate the Predictated Finish date of a Task.
if {Command.WO_DUE_DATE} < currentdate
then
currentdate + {@Flow Days Remaining (new)}
else
{Command.WO_DUE_DATE}
I continue to recieve the error "The number of days is out of range". Nothing I have tried is working. Any suggestions?
The FORMULA for @Flow Days Remaining is:
if {Command.WO_START_DATE} >= currentdate
then
{@Flow Days}
else
if {Command.WO_START_DATE} < currentdate
then
{@Flow Days} - ({@Flow Days} * (1 - {@ETC} / ({@ETC} + {Command.WLC_ACTUAL_HOURS})))
The FORMULA for @ETC is :
if {Command.ESTIMATED_HOURS}
- {Command.WLC_ACTUAL_HOURS} > 0
then {Command.ESTIMATED_HOURS} - {Command.WLC_ACTUAL_HOURS}
else
{Command.ESTIMATED_HOURS} * .1
Thanks,
Ray
I am using this formula to calculate the Predictated Finish date of a Task.
if {Command.WO_DUE_DATE} < currentdate
then
currentdate + {@Flow Days Remaining (new)}
else
{Command.WO_DUE_DATE}
I continue to recieve the error "The number of days is out of range". Nothing I have tried is working. Any suggestions?
The FORMULA for @Flow Days Remaining is:
if {Command.WO_START_DATE} >= currentdate
then
{@Flow Days}
else
if {Command.WO_START_DATE} < currentdate
then
{@Flow Days} - ({@Flow Days} * (1 - {@ETC} / ({@ETC} + {Command.WLC_ACTUAL_HOURS})))
The FORMULA for @ETC is :
if {Command.ESTIMATED_HOURS}
- {Command.WLC_ACTUAL_HOURS} > 0
then {Command.ESTIMATED_HOURS} - {Command.WLC_ACTUAL_HOURS}
else
{Command.ESTIMATED_HOURS} * .1
Thanks,
Ray