Beispiel #1
0
 public static void CargarNotaPedido(DataSet DS, string NroNota)
 {
     if (NotaPedidoAD.ValidarNotaPedido(NroNota) > 0)
     {
         NotaPedidoAD.CargarNotaPedido(DS, NroNota);
         foreach (DataRow row in DS.Tables["Proveedor"].Rows)
             row["Cuit"] = Seguridad.Desencriptar(Conversions.ToString(row["Cuit"]));
         foreach (DataRow row in DS.Tables["Producto"].Rows)
             row["Nombre"] = Seguridad.Desencriptar(Conversions.ToString(row["Nombre"]));
         foreach (DataRow row in DS.Tables["Detalle_NotaPedido"].Rows)
             row["Precio"] = Seguridad.Desencriptar(Conversions.ToString(row["Precio"]));
     }
     else
     {
         throw new WarningException(Negocios.My.Resources.ArchivoIdioma.NotaPedidoNoExiste);
     }
 }
Beispiel #2
0
 public static List<NotaPedidoEN> CargarNotaPedido()
 {
     return NotaPedidoAD.CargarNotaPedido();
 }