예제 #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;
 }
예제 #2
0
 private void NewData()
 {
     _rowProductosPrecios     = mz.erp.businessrules.tsh_Productos.NewRow();
     _tableProductosImpuestos = mz.erp.businessrules.tsy_ImpuestosProductos.NewTable();
     GetDataProductosPrecios();
     _state = BRTypes.ABMState.Alta;
 }
예제 #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;
        }
예제 #4
0
 private void NewData()
 {
     _rowProductos = mz.erp.businessrules.tsh_Productos.NewRow();
     GetDataProductos();
     _state = BRTypes.ABMState.Alta;
 }