Professional Documents
Culture Documents
Lesson3-HDL Keys - PPT
Lesson3-HDL Keys - PPT
Prasanna Borse
Oracle HCM Cloud Center of Excellence
June, 2017
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 3
Overview
•Keys
-What are they?
-Supported Key Types
-Key Resolution Sequence
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 4
Keys
What are they?
SQLs:
Fusion GUID: select OBJECT_NAME, SOURCE_SYSTEM_ID, SOURCE_SYSTEM_OWNER, SURROGATE_ID, RAWTOHEX(GUID) guid from fusion.HRC_INTEGRATION_KEY_MAP WHERE
SOURCE_SYSTEM_OWNER ='STUDENT1‘
Source Key: Same as above or just refer to the source system like PS or EBS for source system owner and ID information.
Surrogate ID: select * from PER_LOCATION_DETAILS_F_VL where location_code = 'STUDENT1 Location1‘ (Result Location ID = 300000001572671)
User Key:- Best way to get this info is the Business Object Documentation from MOS. Other option is UI as shown below
• Natural values
• One or many attributes
• Sometimes alternatives
• Sometimes updateable
•You can use surrogate IDs when updating objects, but the IDs may not be readily available to
Oracle HCM Cloud users.
•Default source keys are generated only if you don't supply a source key when creating an
object.
•You can't use user keys alone when updating some objects because their values are subject
to change.
•Keys that aren't held on the object exist in the Integration Key Map table.
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 15
Supported Key Types
• New Objects
– Source Keys
– User Keys
• Existing Objects
– Source Keys
– User Keys
– Fusion GUID
– Fusion Surrogate ID
METADATA|Assignment|JobCode|SetCode|GradeId(GUID)|OrganizationId|LocationId(
SourceSystemId)|EffectiveStartDate|EffectiveEndDate|AssignmentNumber|SourceS
ystemOwner|SourceSystemId
MERGE|Assignment|SE|COMMON|SFUIO2NELKFSPO30|134|234|2013/01/01|4712/12/31|23
42342-1|EBS-UK|234234
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 24
System Integration Considerations
Coexistence\other Integrations
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 26
SourceKey.dat
Updating Source Key
• When you load data using HCM Data Loader, you can provide a source key.
The source key is a value, usually generated from a legacy environment,
that identifies the record uniquely in that environment.
• If you specify no source key, then a default source key is generated. You
can update both default and locally defined source keys for integration-
enabled objects. This topic describes how to update source keys.
• To update the source key associated with any record, you load a
SourceKey.dat file. In the file, you supply both a reference to the record to
update and the new source-key value.
SourceKey.dat
METADATA SourceKey BusinessObject Component OldSourceSystemOwner OldSourceSystemId NewSourceSystemOwner NewSourceSystemId
MERGE SourceKey Worker PersonPhone FUSION 300000001572671 PEOPLESOFT PH1001_W
MERGE SourceKey Worker PersonAddress FUSION 300000002451147 PEOPLESOFT ADDR1001_HOME