When querying JobRequisition entity via OData API I cannot get the country value localized.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Do a query on the JobRequisition Entity;
- Select the field Country;
- Notice that the field comes as a String with only the en_US value:
This is caused by the design of the system. Job Requisition use a field type Derived for the Country, which does not have a entity for representation.
Although on the field definition on the JobRequisition template the system has a picklist associated to it, the field on the OData Metadata is represented by String since the type of the field is Derived and it doesn't have a representation for this type of fields in OData. This limits the options that we have when working with this field specifically.
Job, requisition, entity, api, odata, derived, country, field, query, get, localized, locale, language, picklist , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem