BF [ 2417012 ] Create PO from Requsition display all requisitions
Fix migration script. Thanks to Moyses !
This commit is contained in:
parent
33a4b05ebd
commit
f051858880
|
@ -6,11 +6,6 @@ AND EXISTS (SELECT 1 FROM M_RequisitionLine rl
|
|||
AND rl.C_OrderLine_ID IS NULL)',TO_DATE('2008-12-11 15:19:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','M_Requistion PO Create Candidate','S',TO_DATE('2008-12-11 15:19:15','YYYY-MM-DD HH24:MI:SS'),0)
|
||||
;
|
||||
|
||||
-- 11.12.2008 15:19:17 EET
|
||||
-- [ 2417012 ] Create PO from Requsition display all requisitions
|
||||
INSERT INTO AD_Val_Rule_Trl (AD_Language,AD_Val_Rule_ID, Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Val_Rule_ID, t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Val_Rule t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Val_Rule_ID=52037 AND EXISTS (SELECT * FROM AD_Val_Rule_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Val_Rule_ID!=t.AD_Val_Rule_ID)
|
||||
;
|
||||
|
||||
-- 11.12.2008 15:19:55 EET
|
||||
-- [ 2417012 ] Create PO from Requsition display all requisitions
|
||||
UPDATE AD_Process_Para SET AD_Val_Rule_ID=52037,Updated=TO_DATE('2008-12-11 15:19:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=697
|
||||
|
|
|
@ -6,11 +6,6 @@ AND EXISTS (SELECT 1 FROM M_RequisitionLine rl
|
|||
AND rl.C_OrderLine_ID IS NULL)',TO_TIMESTAMP('2008-12-11 15:19:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','M_Requistion PO Create Candidate','S',TO_TIMESTAMP('2008-12-11 15:19:15','YYYY-MM-DD HH24:MI:SS'),0)
|
||||
;
|
||||
|
||||
-- 11.12.2008 15:19:17 EET
|
||||
-- [ 2417012 ] Create PO from Requsition display all requisitions
|
||||
INSERT INTO AD_Val_Rule_Trl (AD_Language,AD_Val_Rule_ID, Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Val_Rule_ID, t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Val_Rule t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Val_Rule_ID=52037 AND EXISTS (SELECT * FROM AD_Val_Rule_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Val_Rule_ID!=t.AD_Val_Rule_ID)
|
||||
;
|
||||
|
||||
-- 11.12.2008 15:19:55 EET
|
||||
-- [ 2417012 ] Create PO from Requsition display all requisitions
|
||||
UPDATE AD_Process_Para SET AD_Val_Rule_ID=52037,Updated=TO_TIMESTAMP('2008-12-11 15:19:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=697
|
||||
|
|
Loading…
Reference in New Issue