2 using System.Collections.Generic;
12 internal class TrazaLog
14 #region PROPIEDADES INTERNAS 16 private string _cEmpresa =
string.Empty;
17 private string _cEntidad =
string.Empty;
18 private int _nIdTrazaRgpd = 0;
19 private string _cEntidadVal =
string.Empty;
20 private DateTime? _dFecha = null;
21 private string _cUsuario =
string.Empty;
22 private string _cValorant =
string.Empty;
23 private string _cValoract =
string.Empty;
24 private int _nTipoMov = 0;
25 private string _cDescripcion =
string.Empty;
26 private string _cGrupo =
string.Empty;
30 #region PROPIEDADES PUBLICAS 35 public string _Empresa
39 return _cEmpresa.Trim();
50 public string _Entidad
54 return _cEntidad.Trim();
65 public int _IdTrazaRgpd
73 _nIdTrazaRgpd = value;
80 public string _EntidadVal
84 return _cEntidadVal.Trim();
95 public DateTime? _Fecha
110 public string _Usuario
114 return _cUsuario.Trim();
125 public string _ValorAnt
129 return _cValorant.Trim();
137 public string _ValorAct
141 return _cValoract.Trim();
167 public string _DescripcionTipoMov
171 string lcDescripcion =
"";
175 lcDescripcion =
"Alta";
179 lcDescripcion =
"Modificación";
183 return lcDescripcion;
190 public string _Descripcion
194 return _cDescripcion.Trim();
198 _cDescripcion = value;
209 return _cGrupo.Trim();
223 public TrazaLog(DataRow tdrTrazalog = null)
225 if (tdrTrazalog != null)
227 _cEmpresa = tdrTrazalog[
"empresa"].ToString();
228 _cEntidad = tdrTrazalog[
"entidad"].ToString();
229 _nIdTrazaRgpd = Convert.ToInt32(tdrTrazalog[
"idtrazrgpd"]);
230 _cEntidadVal = tdrTrazalog[
"entidadval"].ToString();
231 _dFecha = Convert.ToDateTime(tdrTrazalog[
"fecha"]);
232 _cUsuario = tdrTrazalog[
"usuario"].ToString();
233 _cValorant = tdrTrazalog[
"valorant"].ToString();
234 _cValoract = tdrTrazalog[
"valoract"].ToString();
235 _nTipoMov = Convert.ToInt32(tdrTrazalog[
"tipomov"]);
236 _cDescripcion = tdrTrazalog[
"nombre"].ToString();
237 _cGrupo = tdrTrazalog[
"grupo"].ToString();
Es como el tipo de entrada asientos pero por negocio, sin formulario, pq quiero que me haga las propu...