Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4104 Vistas

Hi,

I need select the value of a one field of type Many2One using xml-rpc. This filed is loss_id and is necesary for block a workorder. I don´t know if is posible this or there is other wave to do this.

Thanks

Avatar
Descartar
Mejor respuesta
                if (Opportunity.GetField("user_id").Value != null)
{
Object[] user_id = (Object[])Opportunity.GetField("user_id").Value;
dealOpportunity.UserId = Int32.Parse(user_id[0].ToString());
}
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jul 24
16440
1
ene 24
4190
2
sept 23
9201
1
jul 23
3986
0
oct 22
3700