Skip to Content
Menú
This question has been flagged
1 Respondre
4056 Vistes

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
Best Answer
                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
Related Posts Respostes Vistes Activitat
2
de jul. 24
16161
1
de gen. 24
3804
2
de set. 23
8953
1
de jul. 23
3691
0
d’oct. 22
3510