How can I get an aging formula which does not take into consideration the weekend? So it would be how ever long a work order was open not counting the weekends into the age.
Note: There is no end date...until a work order is in "close" status. So the only field from the database that can be used in a formula is the work order open date. I am only dealing with "open" work orders.
This is what I am using now to get the age:
IF {BSCC-FL-TM&ACTION_JOIN.Call_Status} = 'PENDING' THEN
{BSCC-FL-TM&ACTION_JOIN.Status-History.PENDING.TIME} - {BSCC-FL-TM&ACTION_JOIN.Status-History.OPEN.TIME}
else
If{BSCC-FL-TM&ACTION_JOIN.Call_Status} <> "CLOSED" THEN
CurrentDate - {BSCC-FL-TM&ACTION_JOIN.Call_Time Call Received}
ELSE
if day({BSCC-FL-TM&ACTION_JOIN.Status-History.CLOSED.TIME}) = day({BSCC-FL-TM&ACTION_JOIN.Call_Time Call Received}) then
1 //instead of displaying "0"
else
{BSCC-FL-TM&ACTION_JOIN.Status-History.CLOSED.TIME} - {BSCC-FL-TM&ACTION_JOIN.Call_Time Call Received}
I tried using Ken. H's website formulas, but the only problem is I would need a end date for it to work. Thanks for suggestion though.
Any help would be greatly appreciated thanks. I am using crystal reports 7.01.
Note: There is no end date...until a work order is in "close" status. So the only field from the database that can be used in a formula is the work order open date. I am only dealing with "open" work orders.
This is what I am using now to get the age:
IF {BSCC-FL-TM&ACTION_JOIN.Call_Status} = 'PENDING' THEN
{BSCC-FL-TM&ACTION_JOIN.Status-History.PENDING.TIME} - {BSCC-FL-TM&ACTION_JOIN.Status-History.OPEN.TIME}
else
If{BSCC-FL-TM&ACTION_JOIN.Call_Status} <> "CLOSED" THEN
CurrentDate - {BSCC-FL-TM&ACTION_JOIN.Call_Time Call Received}
ELSE
if day({BSCC-FL-TM&ACTION_JOIN.Status-History.CLOSED.TIME}) = day({BSCC-FL-TM&ACTION_JOIN.Call_Time Call Received}) then
1 //instead of displaying "0"
else
{BSCC-FL-TM&ACTION_JOIN.Status-History.CLOSED.TIME} - {BSCC-FL-TM&ACTION_JOIN.Call_Time Call Received}
I tried using Ken. H's website formulas, but the only problem is I would need a end date for it to work. Thanks for suggestion though.
Any help would be greatly appreciated thanks. I am using crystal reports 7.01.