Added calculation for daily planned wafer outs and display on production report.
This commit is contained in:
@ -160,7 +160,13 @@ namespace ReportingServices.Shared.Repositories
|
||||
" AND FISCAL_QTR = " +
|
||||
" (SELECT FISCAL_QTR FROM FISCAL_QTR " +
|
||||
" WHERE START_DT < SYSDATETIME() " +
|
||||
" AND END_DT > SYSDATETIME()) ";
|
||||
" AND END_DT > SYSDATETIME()) " +
|
||||
"UNION " +
|
||||
"SELECT 'PlanWorkingDays' As THRU_TARGET," +
|
||||
" PLAN_WORKING_DAYS AS THRU_QTY," +
|
||||
" NULL AS THRU_PCNT" +
|
||||
" FROM FISCAL_QTR " +
|
||||
" WHERE SYSDATETIME() BETWEEN START_DT AND END_DT";
|
||||
|
||||
cmd.CommandText = query;
|
||||
|
||||
@ -184,7 +190,8 @@ namespace ReportingServices.Shared.Repositories
|
||||
Reactor_Outs = (int)targets["Reactor_Outs"],
|
||||
Yield_Outs = (int)targets["Yield_Outs"],
|
||||
IFX_Scrap = (int)targets["IFX_Scrap"],
|
||||
Yield = targets["Yield"]
|
||||
Yield = targets["Yield"],
|
||||
PlanWorkingDays = (int)targets["PlanWorkingDays"]
|
||||
};
|
||||
|
||||
return quarterlyTargets;
|
||||
|
Reference in New Issue
Block a user