Esempio n. 1
0
 internal  void _fromJSON(com.sybase.afx.json.JsonObject _json)
 {
     __idFormulario = (_json.GetInt("idFormulario"));
     __idPregunta = (_json.GetInt("idPregunta"));
     __valor = (_json.GetNullableDecimal("valor"));
     __operacionNoCumplimiento = (_json.GetNullableInt("operacionNoCumplimiento"));
     __pending = (_json.GetBoolean("pending"));
     __pendingChange = (_json.GetChar("pendingChange"));
     __replayPending = (_json.GetLong("replayPending"));
     __replayFailure = (_json.GetLong("replayFailure"));
     __preguntaFK = (_json.GetNullableLong("preguntaFK"));
     __formulario1FK = (_json.GetNullableLong("formulario1FK"));
     __surrogateKey = (_json.GetLong("surrogateKey"));
     __replayCounter = (_json.GetLong("_rc"));
     __disableSubmit = (_json.GetBoolean("disableSubmit"));
     char op_2 = _json.GetChar("_op");
     _isNew = (op_2 == 'C');
     _isDirty = (op_2 == 'U');
     _isDeleted = (op_2 == 'D');
 }
Esempio n. 2
0
 internal  void _fromJSON(com.sybase.afx.json.JsonObject _json)
 {
     __idInteraccion = (_json.GetString("idInteraccion"));
     __tipoInteraccion_CodigoSAP = (_json.GetString("tipoInteraccion_CodigoSAP"));
     __titulo = (_json.GetNullableString("titulo"));
     __tipoInteraccion_CategoriaSAP = (_json.GetString("tipoInteraccion_CategoriaSAP"));
     __GUID = (_json.GetString("GUID"));
     __nroOperacionSAP = (_json.GetNullableString("nroOperacionSAP"));
     __segmento_CodigoSAP = (_json.GetNullableString("segmento_CodigoSAP"));
     __negocio_CodigoSAP = (_json.GetNullableString("negocio_CodigoSAP"));
     __formulario_CodigoSAP = (_json.GetNullableString("formulario_CodigoSAP"));
     __puntaje = (_json.GetNullableDecimal("puntaje"));
     __latitud = (_json.GetNullableString("latitud"));
     __longitud = (_json.GetNullableString("longitud"));
     __comentarios = (_json.GetNullableString("comentarios"));
     __notasPreparacion = (_json.GetNullableString("notasPreparacion"));
     __notasResultado = (_json.GetNullableString("notasResultado"));
     __notasResultadoAdministrativo = (_json.GetNullableString("notasResultadoAdministrativo"));
     __notasResultadoComercial = (_json.GetNullableString("notasResultadoComercial"));
     __notasResultadoOperativo = (_json.GetNullableString("notasResultadoOperativo"));
     __notasResultadoMercado = (_json.GetNullableString("notasResultadoMercado"));
     __notasResultadoAsesoramiento = (_json.GetNullableString("notasResultadoAsesoramiento"));
     __fechaInicioPlanificada = (_json.GetNullableDate("fechaInicioPlanificada"));
     __horaInicioPlanificada = (_json.GetNullableTime("horaInicioPlanificada"));
     __fechaFinPlanificada = (_json.GetNullableDate("fechaFinPlanificada"));
     __horaFinPlanificada = (_json.GetNullableTime("horaFinPlanificada"));
     __fechaInicioReal = (_json.GetNullableDate("fechaInicioReal"));
     __horaInicioReal = (_json.GetNullableTime("horaInicioReal"));
     __fechaFinReal = (_json.GetNullableDate("fechaFinReal"));
     __horaFinReal = (_json.GetNullableTime("horaFinReal"));
     __idDireccionEntrega = (_json.GetNullableString("idDireccionEntrega"));
     __direccionEntregaNombre = (_json.GetNullableString("direccionEntregaNombre"));
     __representanteComercial_CodigoInterlocutor = (_json.GetString("representanteComercial_CodigoInterlocutor"));
     __representanteComercial_Nombre = (_json.GetNullableString("representanteComercial_Nombre"));
     __responsable_CodigoInterlocutor = (_json.GetNullableString("responsable_CodigoInterlocutor"));
     __responsableNombre = (_json.GetNullableString("responsableNombre"));
     __estadoInteraccion_CodigoSAP = (_json.GetString("estadoInteraccion_CodigoSAP"));
     __motivo_CodigoSAP = (_json.GetString("motivo_CodigoSAP"));
     __calle = (_json.GetNullableString("calle"));
     __direccionNro = (_json.GetNullableString("direccionNro"));
     __codigoPostal = (_json.GetNullableString("codigoPostal"));
     __ciudad = (_json.GetNullableString("ciudad"));
     __provincia_CodigoSAP = (_json.GetNullableString("provincia_CodigoSAP"));
     __pais_CodigoSAP = (_json.GetNullableString("pais_CodigoSAP"));
     __formularioPrecios = (YPF.Comercial.RRCC.SUP.FormularioPrecios)(YPF.Comercial.RRCC.SUP.FormularioPrecios.FromJSON(_json.Get("formularioPrecios")));
     __formularioPreciosValid = com.sybase.afx.json.JsonValue.GetBoolean(_json.Get("formularioPreciosValid"));
     __formularioMercado = (YPF.Comercial.RRCC.SUP.FormularioMercado)(YPF.Comercial.RRCC.SUP.FormularioMercado.FromJSON(_json.Get("formularioMercado")));
     __formularioMercadoValid = com.sybase.afx.json.JsonValue.GetBoolean(_json.Get("formularioMercadoValid"));
     __relevamientosTransporte = (Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.RelevamientoTransporte>)(YPF.Comercial.RRCC.SUP.RelevamientoTransporte.FromJSONList(_json.Get("relevamientosTransporte")));
     __relevamientosProducto = (Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.RelevamientoProducto>)(YPF.Comercial.RRCC.SUP.RelevamientoProducto.FromJSONList(_json.Get("relevamientosProducto")));
     __relevamientosPrecio = (Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.RelevamientoPrecios>)(YPF.Comercial.RRCC.SUP.RelevamientoPrecios.FromJSONList(_json.Get("relevamientosPrecio")));
     __formularioTransporte = (YPF.Comercial.RRCC.SUP.FormularioTransporte)(YPF.Comercial.RRCC.SUP.FormularioTransporte.FromJSON(_json.Get("formularioTransporte")));
     __formularioTransporteValid = com.sybase.afx.json.JsonValue.GetBoolean(_json.Get("formularioTransporteValid"));
     __relevamientosProveedor = (Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.RelevamientoProveedor>)(YPF.Comercial.RRCC.SUP.RelevamientoProveedor.FromJSONList(_json.Get("relevamientosProveedor")));
     __respuestasInteraccionFormulario = (Sybase.Collections.GenericList<YPF.Comercial.RRCC.SUP.RespuestaInteraccionFormulario>)(YPF.Comercial.RRCC.SUP.RespuestaInteraccionFormulario.FromJSONList(_json.Get("respuestasInteraccionFormulario")));
     __pending = (_json.GetBoolean("pending"));
     __pendingChange = (_json.GetChar("pendingChange"));
     __replayPending = (_json.GetLong("replayPending"));
     __replayFailure = (_json.GetLong("replayFailure"));
     __surrogateKey = (_json.GetLong("surrogateKey"));
     __replayCounter = (_json.GetLong("_rc"));
     __disableSubmit = (_json.GetBoolean("disableSubmit"));
     char op_2 = _json.GetChar("_op");
     _isNew = (op_2 == 'C');
     _isDirty = (op_2 == 'U');
     _isDeleted = (op_2 == 'D');
 }