Monday, February 24, 2020

Parent And Child LOV Are Linked In The Different Workspaces in Siebel Innovation Pack 19

Issue:- After migrated the runtime repository from lower environment to higher environment,  ROW_IDs of the LOVS are created with new values in the higher environment.
But the PAR_ROW_IDs of the child LOVs are not updated with the new ROW_IDs of the parent LOVs in the target environment.
The child LOVs that have a parent LOV are linked with the parent LOV with the one that belongs to the first workspace not the one that belongs to the current workspace  ( which means the PAR_ROW_ID refers to a LOV that is in the original workspace instead of the current one).

The hierarchical list of values are working fine as they use the name to link the 2 lov.    However,   due this behavior,   the sql from custom procedure  is not able to find find the LOV records as the sql is using PAR_ROW_ID = ROW_ID to find the record.

The PAR_ROW_IDs of the child LOVs  should be updated with the new ROW_IDs of the parent LOVs in the target environment. 

Solution-
This has an impact on all the queries where we are querying LOVs on parent-child/hierarchial relationship directly from the siebel database. 
As all the queries consider below queries
Select * from S_LST_OF_VAL T1
left outer join S_LST_OF_VAL T2 on T1.PAR_ROW_ID = T2.ROW_ID   

But now  we have to consider the below query:
Select * from S_LST_OF_VAL T1
left outer join S_LST_OF_VAL T2 on T1.PAR_ROW_ID = T2.WS_SRC_ID

Unable to insert record in EBC through "Inbound Email Database Operations" in Siebel Innovation Pack 19

Issue:- While working on the IP-19 upgrade we found a strange issue in which a workflow had a step to insert record in EBC 
and it was failing in Insert step. The BS used to insert a record in EBC was "Inbound Email Database Operations".
This insert operation was working absolutely fine till IP15. 

Solution:- To resolve this issue "Inbound Email Database Operations" BS was replaced by custom Business service. In BS script we need to get the EBC and set admin mode to true and then use normal Siebel Set Field Value and Write record to insert
a record.