//************************************************************************** /// <Description> /// Get max sale order line /// This max number will be used to add next value for the Line /// </Description> /// <Inputs> /// Sale Order Detail ID /// </Inputs> /// <Outputs> /// /// </Outputs> /// <Returns> /// /// </Returns> /// <Authors> /// HungLa /// </Authors> /// <History> /// Tuesday, February 01, 2005 /// </History> /// <Notes> /// </Notes> //************************************************************************** public int GetMaxDeliveryScheduleLine(int pintSaleOrderDetailID) { try { SO_DeliveryScheduleDS objSO_DeliveryScheduleDS = new SO_DeliveryScheduleDS(); return(objSO_DeliveryScheduleDS.GetMaxDeliveryScheduleLine(pintSaleOrderDetailID)); } catch (PCSDBException ex) { throw ex; } catch (Exception ex) { throw ex; } }