IDEMPIERE-99 01_add_missing_Translations.sql does not create UUIDs (#2570)
This commit is contained in:
parent
36c08e7476
commit
e34371db60
|
@ -32,12 +32,14 @@ BEGIN
|
|||
ins :=
|
||||
'INSERT INTO '
|
||||
|| t.tablename
|
||||
|| '_TRL ('
|
||||
|| '_Trl ('
|
||||
|| 'ad_language,ad_client_id,ad_org_id,created,createdby,updated,updatedby,isactive,istranslated,'
|
||||
|| t.tablename
|
||||
|| '_Trl_UU,'
|
||||
|| t.tablename
|
||||
|| suffix;
|
||||
sel :=
|
||||
'SELECT l.ad_language,t.ad_client_id,t.ad_org_id,t.created,t.createdby,t.updated,t.updatedby,t.isactive,''N'' as istranslated,'
|
||||
'SELECT l.ad_language,t.ad_client_id,t.ad_org_id,SYSDATE,10,SYSDATE,10,t.isactive,''N'' as istranslated,generate_uuid(),'
|
||||
|| t.tablename
|
||||
|| suffix;
|
||||
|
||||
|
@ -65,7 +67,7 @@ BEGIN
|
|||
|| t.tablename
|
||||
|| ' t, ad_language l WHERE l.issystemlanguage=''Y'' AND NOT EXISTS (SELECT 1 FROM '
|
||||
|| t.tablename
|
||||
|| '_TRL b WHERE b.'
|
||||
|| '_Trl b WHERE b.'
|
||||
|| t.tablename
|
||||
|| suffix || '=t.'
|
||||
|| t.tablename
|
||||
|
|
|
@ -28,12 +28,14 @@ BEGIN
|
|||
ins :=
|
||||
'INSERT INTO '
|
||||
|| t.tablename
|
||||
|| '_TRL ('
|
||||
|| '_Trl ('
|
||||
|| 'ad_language,ad_client_id,ad_org_id,created,createdby,updated,updatedby,isactive,istranslated,'
|
||||
|| t.tablename
|
||||
|| '_Trl_UU,'
|
||||
|| t.tablename
|
||||
|| suffix;
|
||||
sel :=
|
||||
'SELECT l.ad_language,t.ad_client_id,t.ad_org_id,t.created,t.createdby,t.updated,t.updatedby,t.isactive,''N'' as istranslated,'
|
||||
'SELECT l.ad_language,t.ad_client_id,t.ad_org_id,statement_timestamp(),10,statement_timestamp(),10,t.isactive,''N'' as istranslated,generate_uuid(),'
|
||||
|| t.tablename
|
||||
|| suffix;
|
||||
|
||||
|
|
Loading…
Reference in New Issue