OBIA 11g W_WRKFC_EVT_MONTH_F Fact Rows Are Being Created With Zero EMP_POSTN_DH_WID On A Retrospective REHIRE (Doc ID 2034365.1)

Last updated on JANUARY 30, 2017

Applies to:

Siebel Data Warehouse Server - Version 7.9.6.2 [AA 1830] and later
Information in this document applies to any platform.

Goal

OBIA 7.9.6.2

You are  experiencing an issue whereby you're seeing w_wrkfc_evt_month_f fact rows being created with a zero value in the emp_postn_dh_wid field.
One of the issues appears to be when a retrospective Rehire is input into eBusiness Suite (i.e. with the effective start date sometime in the past).

If our understanding of the process is correct then in order for the position dimension hierarchy to get updated in response to the change then a row needs to be present in the w_position_dh_base_tmp table with either the TYPE2 or the TYPE2B flag set and in some Rehire instances there is no row getting into that table.

The mappings that update the relevant flags in the w_position_dh_base_tmp table are:

SIL_PositionDimensionHierarchy_IdentifyBaseModified (updates the Type1 and Type2 flags)
SIL_PositionDimensionHierarchy_IdentifyBaseModified_TypeB (updates the Type1B and Type2B flags)

In SIL_PositionDimensionHierarchy_IdentifyBaseModified the relevant part of the source qualifier condition is as follows:

AND
(
D.EFFECTIVE_TO_DT > $$LAST_TARGET_EXTRACT_DATE_IN_SQL_FORMAT OR
DS.SRC_EFF_FROM_DT > $$LAST_TARGET_EXTRACT_DATE_IN_SQL_FORMAT
)
) TMP


On a Rehire, D.EFFECTIVE_TO_DT is most likely going to be in the past (the end of the previous period of employment) so if DS.SRC_EFF_FROM_DT is also in the past (i.e. you are adding a retrospective rehire to the system) this condition is not going to pick up the change.

In SIL_PositionDimensionHierarchy_IdentifyBaseModified_TypeB the relevant part of the source qualifier condition is as follows:

AND D.SRC_EFF_FROM_DT = DS.SRC_EFF_FROM_DT
AND D.SRC_EFF_FROM_DT < $$LAST_TARGET_EXTRACT_DATE_IN_SQL_FORMAT


On a Rehire it is unlikely that D.SRC_EFF_FROM_DT = DS.SRC_EFF_FROM_DT (the start date of the previous employment = the start date of the rehire) so this is condition is not going to pick up the change either.


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms