public tsh_ProductosSucursalesRow Addtsh_ProductosSucursalesRow(
                string IdProducto,
                long IdSucursal,
                long IdEmpresa,
                System.Decimal IncrementoDeCosto,
                System.Decimal MAC,
                System.Decimal PrecioDeVentaNeto,
                System.Decimal MaxDescuento,
                System.Decimal PrecioDeVentaBruto,
                System.Decimal StockReservado,
                System.Decimal StockConfirmado,
                System.Decimal StockDisponible,
                System.Decimal StockFisico,
                System.Decimal StockMinimo,
                System.Decimal StockMaximo,
                bool Activo,
                bool Bloqueado,
                System.DateTime FechaCreacion,
                long IdConexionCreacion,
                System.Byte[] UltimaModificacion,
                long IdConexionUltimaModificacion,
                long IdReservado,
                System.Guid RowId)
            {
                tsh_ProductosSucursalesRow rowtsh_ProductosSucursalesRow = ((tsh_ProductosSucursalesRow)(this.NewRow()));

                rowtsh_ProductosSucursalesRow.ItemArray = new object[] {
                    IdProducto,
                    IdSucursal,
                    IdEmpresa,
                    IncrementoDeCosto,
                    MAC,
                    PrecioDeVentaNeto,
                    MaxDescuento,
                    PrecioDeVentaBruto,
                    StockReservado,
                    StockConfirmado,
                    StockDisponible,
                    StockFisico,
                    StockMinimo,
                    StockMaximo,
                    Activo,
                    Bloqueado,
                    FechaCreacion,
                    IdConexionCreacion,
                    UltimaModificacion,
                    IdConexionUltimaModificacion,
                    IdReservado,
                    RowId
                };
                this.Rows.Add(rowtsh_ProductosSucursalesRow);
                return(rowtsh_ProductosSucursalesRow);
            }
Beispiel #2
0
            public tsh_ProductosSucursalesRow Addtsh_ProductosSucursalesRow(
                string IdProducto,
                long IdSucursal,
                long IdEmpresa,
                System.Decimal IncrementoDeCosto,
                System.Decimal MAC,
                System.Decimal PrecioDeVentaNeto,
                System.Decimal MaxDescuento,
                System.Decimal PrecioDeVentaBruto,
                System.Decimal StockReservado,
                System.Decimal StockConfirmado,
                System.Decimal StockDisponible,
                System.Decimal StockFisico,
                System.Decimal StockMinimo,
                System.Decimal StockMaximo,
                bool Activo,
                bool Bloqueado)
            {
                tsh_ProductosSucursalesRow rowtsh_ProductosSucursalesRow = ((tsh_ProductosSucursalesRow)(this.NewRow()));

                rowtsh_ProductosSucursalesRow.ItemArray = new object[] {
                    IdProducto,
                    IdSucursal,
                    IdEmpresa,
                    IncrementoDeCosto,
                    MAC,
                    PrecioDeVentaNeto,
                    MaxDescuento,
                    PrecioDeVentaBruto,
                    StockReservado,
                    StockConfirmado,
                    StockDisponible,
                    StockFisico,
                    StockMinimo,
                    StockMaximo,
                    Activo,
                    Bloqueado
                };
                this.Rows.Add(rowtsh_ProductosSucursalesRow);
                return(rowtsh_ProductosSucursalesRow);
            }
 public void Removetsh_ProductosSucursalesRow(tsh_ProductosSucursalesRow row)
 {
     this.Rows.Remove(row);
 }
 public void Addtsh_ProductosSucursalesRow(tsh_ProductosSucursalesRow row)
 {
     this.Rows.Add(row);
 }
 public tsh_ProductosSucursalesRowChangeEvent(tsh_ProductosSucursalesRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }