/// <summary> /// LoadByCompaniesIdStartDateEndDateProjectTimeStateWorkFunction /// </summary> /// <para>Load Original to process data for Project Costing report with filters </para> /// <param name="companiesId">Company filter (client) for project Costing report</param> /// <param name="startDate">Start date filter for Project Costing report</param> /// <param name="endDate">End date filter for Project Costing report</param> /// <param name="projectTimeState">State filter for Project Costing report</param> /// <param name="work">work</param> /// <param name="function">function</param> public void LoadAllByCompaniesIdStartDateEndDateProjectTimeStateWorkFunction(int companiesId, DateTime startDate, DateTime endDate, string projectTimeState, string work, string function) { PrintManhoursPerPhaseJLInstallGateway printManhoursPerPhaseGateway = new PrintManhoursPerPhaseJLInstallGateway(Data); printManhoursPerPhaseGateway.ClearBeforeFill = false; printManhoursPerPhaseGateway.LoadByCompaniesIdStartDateEndDateProjectTimeStateWorkFunction(companiesId, startDate, endDate, projectTimeState, work, "Install"); printManhoursPerPhaseGateway.ClearBeforeFill = true; ProcessData(); }
// //////////////////////////////////////////////////////////////////////// // PUBLIC METHODS // /// <summary> /// LoadByStartDateEndDateProjectTimeStateWorkFunction /// </summary> /// <para>Load Original to process data for Project Costing report with filters </para> /// <param name="startDate">Start date filter for Project Costing report</param> /// <param name="endDate">End date filter for Project Costing report</param> /// <param name="projectTimeState">State filter for Project Costing report</param> /// <param name="work">work</param> /// <param name="function">function</param> public void LoadByStartDateEndDateProjectTimeStateWorkFunction(int? countryId, DateTime startDate, DateTime endDate, string projectTimeState, string work, string function) { PrintManhoursPerPhaseJLInstallGateway printManhoursPerPhaseGateway = new PrintManhoursPerPhaseJLInstallGateway(Data); printManhoursPerPhaseGateway.LoadByStartDateEndDateProjectTimeStateWorkFunction(countryId, startDate, endDate, projectTimeState, work, function); ProcessData(); }