internal  void _fromJSON(com.sybase.afx.json.JsonObject _json)
 {
     __ID = (_json.GetString("ID"));
     __OPERACION = (_json.GetString("OPERACION"));
     __DESCRIPCION = (_json.GetString("DESCRIPCION"));
     __CATEGORIA = (_json.GetString("CATEGORIA"));
     __COD_TRAN_INT = (_json.GetString("COD_TRAN_INT"));
     __NRO_ACTIVIDAD = (_json.GetString("NRO_ACTIVIDAD"));
     __SEGMENTO = (_json.GetString("SEGMENTO"));
     __NEGOCIO = (_json.GetString("NEGOCIO"));
     __COD_FORMULARIO = (_json.GetString("COD_FORMULARIO"));
     __PUNTAJE = (_json.GetDecimal("PUNTAJE"));
     __LATITUD = (_json.GetString("LATITUD"));
     __LONGITUD = (_json.GetString("LONGITUD"));
     __TEXTO_0002 = (_json.GetString("TEXTO_0002"));
     __TEXTO_ZR01 = (_json.GetString("TEXTO_ZR01"));
     __TEXTO_ZR02 = (_json.GetString("TEXTO_ZR02"));
     __TEXTO_ZR07 = (_json.GetString("TEXTO_ZR07"));
     __TEXTO_ZR08 = (_json.GetString("TEXTO_ZR08"));
     __TEXTO_ZR09 = (_json.GetString("TEXTO_ZR09"));
     __TEXTO_ZR10 = (_json.GetString("TEXTO_ZR10"));
     __TEXTO_ZR11 = (_json.GetString("TEXTO_ZR11"));
     __FECHA_INI_P = (_json.GetNullableDate("FECHA_INI_P"));
     __HORA_INI_P = (_json.GetNullableTime("HORA_INI_P"));
     __FECHA_FIN_P = (_json.GetNullableDate("FECHA_FIN_P"));
     __HORA_FIN_P = (_json.GetNullableTime("HORA_FIN_P"));
     __FECHA_INI_R = (_json.GetNullableDate("FECHA_INI_R"));
     __HORA_INI_R = (_json.GetNullableTime("HORA_INI_R"));
     __FECHA_FIN_R = (_json.GetNullableDate("FECHA_FIN_R"));
     __HORA_FIN_R = (_json.GetNullableTime("HORA_FIN_R"));
     __CLIENTE = (_json.GetString("CLIENTE"));
     __NOMBRE_CLIENTE = (_json.GetString("NOMBRE_CLIENTE"));
     __RRCC = (_json.GetString("RRCC"));
     __NOMBRE_RRCC = (_json.GetString("NOMBRE_RRCC"));
     __RESPONSABLE = (_json.GetString("RESPONSABLE"));
     __NOMBRE_RESPONSABLE = (_json.GetString("NOMBRE_RESPONSABLE"));
     __ESTADO = (_json.GetString("ESTADO"));
     __MOTIVO = (_json.GetString("MOTIVO"));
     __CALLE = (_json.GetString("CALLE"));
     __NUMERO = (_json.GetString("NUMERO"));
     __COD_POSTAL = (_json.GetString("COD_POSTAL"));
     __CIUDAD = (_json.GetString("CIUDAD"));
     __PROVINCIA = (_json.GetString("PROVINCIA"));
     __PAIS = (_json.GetString("PAIS"));
 }
 internal  void _fromJSON(com.sybase.afx.json.JsonObject _json)
 {
     __pedido_CodigoSAP = (_json.GetString("pedido_CodigoSAP"));
     __pedido_Cuenta = (_json.GetString("pedido_Cuenta"));
     __pedido_Estado_CodigoSAP = (_json.GetString("pedido_Estado_CodigoSAP"));
     __pedido_direccionEntrega = (_json.GetString("pedido_direccionEntrega"));
     __pedido_FechaCreacion = (_json.GetNullableDate("pedido_FechaCreacion"));
     __pedido_HoraCreacion = (_json.GetNullableTime("pedido_HoraCreacion"));
     __pedido_FechaAprobacion = (_json.GetNullableDate("pedido_FechaAprobacion"));
     __pedido_HoraAprobacion = (_json.GetNullableTime("pedido_HoraAprobacion"));
     __pedido_ImporteTotal = (_json.GetDecimal("pedido_ImporteTotal"));
     __pedido_ImporteFacturado = (_json.GetDecimal("pedido_ImporteFacturado"));
     __producto_CodigoSAP = (_json.GetString("producto_CodigoSAP"));
     __producto_Estado_CodigoSAP = (_json.GetString("producto_Estado_CodigoSAP"));
     __producto_Terminal_CodigoSAP = (_json.GetString("producto_Terminal_CodigoSAP"));
     __producto_VolumenTotal = (_json.GetDecimal("producto_VolumenTotal"));
     __producto_VolumenPendiente = (_json.GetDecimal("producto_VolumenPendiente"));
     __producto_VolumenDespachado = (_json.GetDecimal("producto_VolumenDespachado"));
     __producto_UnidadMedida = (_json.GetString("producto_UnidadMedida"));
     __producto_ImporteTotal = (_json.GetDecimal("producto_ImporteTotal"));
     __entrega_CodigoSAP = (_json.GetString("entrega_CodigoSAP"));
     __entrega_NumeroRemito = (_json.GetString("entrega_NumeroRemito"));
     __entrega_Estado_CodigoSAP = (_json.GetString("entrega_Estado_CodigoSAP"));
     __entrega_Patente = (_json.GetString("entrega_Patente"));
     __entrega_EstadoTransporte_CodigoSAP = (_json.GetString("entrega_EstadoTransporte_CodigoSAP"));
     __entrega_FechaPlanificada = (_json.GetNullableDate("entrega_FechaPlanificada"));
     __entrega_FechaCarga = (_json.GetNullableDate("entrega_FechaCarga"));
     __entrega_FechaInicio = (_json.GetNullableDate("entrega_FechaInicio"));
     __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');
 }
Beispiel #3
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');
 }