コード例 #1
0
        public static void updateOrderProcessData(long orderId )
        {
            OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter();
            //OrderProcessDataSet.OrderProcessSelectCommandDataTable orderTable = adapter.GetData();

            adapter.UpdateOrderProcessQuery( (long)OrderStatus.Cancelled, orderId) ;
            notifyCustomer(orderId);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        public static OrderProcessDataSet.OrderProcessSelectCommandDataTable getOrderProcessData()
        {
            OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter();

            DateTime now = DateTime.Today;
            OrderProcessDataSet.OrderProcessSelectCommandDataTable table = adapter.GetOrderProcessDataUsingFromdate(now);

            return table;
        }
コード例 #4
0
        public static void updateOrderProcessData(long orderId)
        {
            OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter();

            //OrderProcessDataSet.OrderProcessSelectCommandDataTable orderTable = adapter.GetData();

            adapter.UpdateOrderProcessQuery((long)OrderStatus.Cancelled, orderId);
            notifyCustomer(orderId);
        }
コード例 #5
0
        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);
        }
コード例 #6
0
        public static OrderProcessDataSet.OrderProcessSelectCommandDataTable getOrderProcessData()
        {
            OrderProcessSelectCommandTableAdapter adapter = new OrderProcessSelectCommandTableAdapter();

            DateTime now = DateTime.Today;

            OrderProcessDataSet.OrderProcessSelectCommandDataTable table = adapter.GetOrderProcessDataUsingFromdate(now);

            return(table);
        }