#1002868 IDEMPIERE-1188 Invoice Price Variance for Average PO Costing. Fixed syntax error for oracle script.
This commit is contained in:
parent
95f9bdf22e
commit
ac0099efa0
|
@ -4,7 +4,7 @@ SET DEFINE OFF
|
|||
UPDATE M_CostDetail SET M_MatchInv_ID=NULL WHERE M_MatchInv_ID IS NOT NULL AND NOT EXISTS (SELECT a.M_MatchInv_ID FROM M_MatchInv a WHERE a.M_MatchInv_ID=M_CostDetail.M_MatchInv_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE M_CostDetail ADD CONSTRAINT MCostDetail_MatchInv FOREIGN KEY(M_MatchInv_ID) REFERENCES M_MatchInv(M_MatchInv_ID) ON DELETE RESTRICT
|
||||
ALTER TABLE M_CostDetail ADD CONSTRAINT MCostDetail_MatchInv FOREIGN KEY(M_MatchInv_ID) REFERENCES M_MatchInv(M_MatchInv_ID)
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201309250432_IDEMPIERE-1188.sql') FROM dual
|
||||
|
|
Loading…
Reference in New Issue