Example #1
0
        /// <summary>
        /// Searches the work order line.
        /// </summary>
        /// <param name="multiTransNo">The multi trans no.</param>
        /// <returns></returns>
        public DataTable SearchWorkOrderLine(string multiTransNo)
        {
            var completionDS = new PRO_WorkOrderCompletionDS();
            var dataSource   = completionDS.SearchWorkOrderLine(multiTransNo);
            int counter      = 1;

            foreach (DataRow row in dataSource.Rows)
            {
                row["No"] = counter;
                counter++;
            }
            return(dataSource);
        }
Example #2
0
        /// <summary>
        /// Searches the work order line.
        /// </summary>
        /// <param name="fromDate">From date.</param>
        /// <param name="toDate">To date.</param>
        /// <param name="masterLocationId">The master location id.</param>
        /// <param name="workOrderMasterId">The work order master id.</param>
        /// <param name="productCondition"></param>
        /// <returns></returns>
        public DataTable SearchWorkOrderLine(DateTime fromDate, DateTime toDate, int masterLocationId, int workOrderMasterId, string productCondition)
        {
            var completionDS = new PRO_WorkOrderCompletionDS();
            var dataSource   = completionDS.SearchWorkOrderLine(fromDate, toDate, masterLocationId, workOrderMasterId, productCondition);
            int counter      = 1;

            foreach (DataRow row in dataSource.Rows)
            {
                row["No"] = counter;
                counter++;
            }
            return(dataSource);
        }