core-jgi/migration/340s-351a/oracle/145_BF1959933.sql

7 lines
1.0 KiB
MySQL
Raw Normal View History

INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53029,0,TO_DATE('2008-05-08 11:13:10','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Choose the date of the most recent payment that you plan to allocate, but it must be in an open accounting period or it will not post.','Prefer most recent payment date, within open period.','I',TO_DATE('2008-05-08 11:13:10','YYYY-MM-DD HH24:MI:SS'),100,'AllocDate')
;
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53029 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
;