SData, Selection and user selection fields.

SOLVED

Hi

Want to ask a question about SData, Selection and user selection fields.

A customer has a requirement to automatically fill some fields when creating a new opportunity with the same information in the previous opportunity for the same company they are creating the current opportunity.

My first thought was to do it with a SData query which gets data from the previous opportunity once the company has been set in the current opportunity.But 

But SData is retuning translations for selection fields (like oppo_source)  and Name+Lastname for user selection fields (like oppo_assigneduserid) which make the returned values unusable to assign it to the current record.

In the other hand, for text only or integer fields it works perfectly (I use “virtual” fields of these types to work around this).

Can someone  confirm-me this is the expected behaviour for SData on CRM 2020R2 and earlier or I’m missing something Frowning2?

PS: I find this old post that seems to confirm me that is an old know issue:  Sdata pulling through names rather than IDs, despite the Sdata Schema showing that the type is xs:integer - Sage CRM General Discussion - Sage CRM - Sage City Community

Thanks in advance