Exemplo n.º 1
0
 private void EditData(string codigo)
 {
     _idProducto          = mz.erp.businessrules.tsh_Productos.GetPkByCodigo(codigo);
     _rowProductosPrecios = mz.erp.businessrules.tsh_Productos.GetByPk(IdProducto);
     GetDataProductosPrecios();
     _state = BRTypes.ABMState.Modificacion;
 }
Exemplo n.º 2
0
 private void NewData()
 {
     _rowProductosPrecios     = mz.erp.businessrules.tsh_Productos.NewRow();
     _tableProductosImpuestos = mz.erp.businessrules.tsy_ImpuestosProductos.NewTable();
     GetDataProductosPrecios();
     _state = BRTypes.ABMState.Alta;
 }
Exemplo n.º 3
0
        private void ViewData(string codigo)
        {
            string IdProducto = mz.erp.businessrules.tsh_Productos.GetPkByCodigo(codigo);

            _rowProductos = mz.erp.businessrules.tsh_Productos.GetByPk(IdProducto);
            GetDataProductos();
            _state = BRTypes.ABMState.Consulta;
        }
Exemplo n.º 4
0
 private void NewData()
 {
     _rowProductos = mz.erp.businessrules.tsh_Productos.NewRow();
     GetDataProductos();
     _state = BRTypes.ABMState.Alta;
 }