Ejemplo n.º 1
0
 public ENDistributorsOrder()
 {
     id = 0;
     cad = new CADDistributorsOrder();
     line = new ENLineDistributorsOrder();
     status = 'P';
     total = 0;
     lines = new List<ENLineDistributorsOrder>();
 }
Ejemplo n.º 2
0
        public ENDistributorsOrder(int dis, DateTime DataOrder, char status)
        {
            this.id = 0;
            this.distributor = dis;
            this.dataOrder = DataOrder;

            cad = new CADDistributorsOrder();
            total = 0;
            total = 0;
            if (status == 'P' || status == 'C')
            {

                this.status = status;
            }
            else
            {
                this.status = 'P';
            }
            lines = new List<ENLineDistributorsOrder>();
        }