380_BF2492444-2492437_RF2492429-2492433.sql : set PP_Cost_Collector.DocumentNo = PP_Cost_Collector_ID for backward compatibility

This commit is contained in:
teo_sarca 2009-01-08 07:03:38 +00:00
parent 263c07f7da
commit 47efb54696
1 changed files with 3 additions and 0 deletions

View File

@ -582,6 +582,9 @@ UPDATE AD_Column SET AD_Reference_ID=10,Updated=TO_DATE('2009-01-02 02:51:16','Y
ALTER TABLE PP_Cost_Collector MODIFY DocumentNo NVARCHAR2(30) DEFAULT NULL
;
-- Fix old records
update PP_Cost_Collector set DocumentNo=PP_Cost_Collector_ID where DocumentNo is null;
-- Jan 2, 2009 2:51:20 AM ECT
-- Accounting Manufacturing Management
ALTER TABLE PP_Cost_Collector MODIFY DocumentNo NOT NULL