Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4128 Visualizações

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
Cancelar
Melhor resposta
                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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jul. 24
16452
1
jan. 24
4217
2
set. 23
9217
1
jul. 23
3994
0
out. 22
3707