/// <summary>
        /// UpdateForProcess
        /// </summary>
        private void UpdateForProcess()
        {
            // Load comments
            foreach (PointRepairsTDS.RepairDetailsRow row in (PointRepairsTDS.RepairDetailsDataTable)Table)
            {
                PointRepairsRepairDetailsGateway pointRepairsRepairDetailsGateway = new PointRepairsRepairDetailsGateway();
                pointRepairsRepairDetailsGateway.LoadAllByWorkIdRepairPointId(row.WorkID, row.RepairPointID, row.COMPANY_ID);
                row.Comments = pointRepairsRepairDetailsGateway.GetComments(row.WorkID, row.RepairPointID);
            }

            // Format comments
            foreach (PointRepairsTDS.RepairDetailsRow row in (PointRepairsTDS.RepairDetailsDataTable)Table)
            {
                if (!row.IsCommentsNull())
                {
                    row.Comments = row.Comments.Replace("<br>", "\n");
                }
            }
        }
 /// <summary>
 /// LoadAllByWorkIdRepairPointId
 /// </summary>
 /// <param name="workId">workId</param>
 /// <param name="repairPointId">repairPointId</param>
 /// <param name="companyId">companyId</param>
 public void LoadAllByWorkIdRepairPointId(int workId, string repairPointId, int companyId)
 {
     PointRepairsRepairDetailsGateway pointRepairsRepairDetailsGateway = new PointRepairsRepairDetailsGateway(Data);
     pointRepairsRepairDetailsGateway.LoadAllByWorkIdRepairPointId(workId, repairPointId, companyId);
 }