2172065 - SuccessFactors: API field "country-of-company" (Transient field) not available in SFAPI Entity CompoundEmployee

SAP Knowledge Base Article - Public

2172065 - SuccessFactors: API field "country-of-company" (Transient field) not available in SFAPI Entity CompoundEmployee

Symptom

"Country" of "Legal Entity" Field is not returned when Job Information is queried via API

Following is a screenshot from the Successfactors Job Information portlet/segment

(Country of Company/Legal Entity)

5.png

 

Following is a Screenshot from the SFAPI Data Dictionary for CompoundEmployee Entity – Job Information Node – country_of_company field

4.png

 

Example Query:

SELECT person , job_information
FROM CompoundEmployee
WHERE person_id_external='ABCD';

Cause

country_of_company is a Transient field (Result is not a fix value stored in Database, Value for this field is calculated during runtime) 

  • Transient fields are configurable, however, they are ignored by the Compound Employee API.
  • Below is the list of transient fields that are ignored by the Compound Employee API(You can find more information on this from the Compound Employee API User Guide)

3.png

Resolution

  1. The use of country-of-company is not supported via API, instead you can use company_territory_code
  2. CompoundEmployee API  supports company_territory_code since several releases.
  3. It contains the country of the legal entity that belongs to that particular job time slice.
  4. There has never been the intention to support country-of-company, because it is a field calculated only on the UI and Compound API already supports company_territory_code.

Keywords

country-of-company, CompoundEmployee, SFAPI, company_territory_code,  , KBA , LOD-SF-INT-EC , EC SF API/OData Entities , Problem

Product

SAP SuccessFactors HCM Core all versions