Exemplo n.º 1
0
        private void ObtenerDatosDetalleIngreso()
        {
            var dsIDProducDetalleIngreso = new DataSet();
            var operaciones = new OperacionProducto();

            dsIDProducDetalleIngreso = operaciones.BuscarDetalleIngreso(Convert.ToInt32(textBox6.Text));
            LLenarCampostxts(dsIDProducDetalleIngreso);
        }
Exemplo n.º 2
0
        private void ObtenerDatosDetalleTaslado()
        {
            var dsIDProducDetalleTraslado = new DataSet();
            var operaciones = new OperacionProducto();

            dsIDProducDetalleTraslado = operaciones.BuscarDetalleIngreso(Convert.ToInt32(txtidprod.Text));
            LLenarCampostxtstraslado(dsIDProducDetalleTraslado);

            if (txtactual.Text == "" && txtinicial.Text == "")
            {
                MessageBox.Show("NO SE PUEDE HACER TRASLADO DEBIDO A QUE NO HAY STOCK \n PONGASE EN CONTACTO CON LOS BODEGUEROS O SELECCIONE OTRO PRODUCTO", "NO SE PUEDE REALIZAR TRASLADO", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            else if (txtactual.Text == "0" && txtinicial.Text == "0")
            {
                MessageBox.Show("NO SE PUEDE HACER TRASLADO DEBIDO A QUE NO HAY STOCK \n PONGASE EN CONTACTO CON LOS BODEGUEROS O SELECCIONE OTRO PRODUCTO", "NO SE PUEDE REALIZAR TRASLADO", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }