public static void updateOrderProcessData(long orderId ) { OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter(); //OrderProcessDataSet.OrderProcessSelectCommandDataTable orderTable = adapter.GetData(); adapter.UpdateOrderProcessQuery( (long)OrderStatus.Cancelled, orderId) ; notifyCustomer(orderId); }
public static void updateOrderProcessData(long orderId, long statusId, long orderTypeId ) { OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter(); OrderProcessDataSet.OrderProcessSelectCommandDataTable table = adapter.GetOrderProcessDataUsingFromdate(DateTime.Today); long newOrderStatus = nextProcessStep(orderTypeId, statusId, orderTypeId); adapter.UpdateOrderProcessQuery(newOrderStatus, orderId); }
public static OrderProcessDataSet.OrderProcessSelectCommandDataTable getOrderProcessData() { OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter(); DateTime now = DateTime.Today; OrderProcessDataSet.OrderProcessSelectCommandDataTable table = adapter.GetOrderProcessDataUsingFromdate(now); return table; }
public static void updateOrderProcessData(long orderId) { OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter(); //OrderProcessDataSet.OrderProcessSelectCommandDataTable orderTable = adapter.GetData(); adapter.UpdateOrderProcessQuery((long)OrderStatus.Cancelled, orderId); notifyCustomer(orderId); }
public static void updateOrderProcessData(long orderId, long statusId, long orderTypeId) { OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter(); OrderProcessDataSet.OrderProcessSelectCommandDataTable table = adapter.GetOrderProcessDataUsingFromdate(DateTime.Today); long newOrderStatus = nextProcessStep(orderTypeId, statusId, orderTypeId); adapter.UpdateOrderProcessQuery(newOrderStatus, orderId); }
public static OrderProcessDataSet.OrderProcessSelectCommandDataTable getOrderProcessData() { OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter(); DateTime now = DateTime.Today; OrderProcessDataSet.OrderProcessSelectCommandDataTable table = adapter.GetOrderProcessDataUsingFromdate(now); return(table); }