Add the new foreign keys

This commit is contained in:
Carlos Ruiz 2008-05-30 00:04:27 +00:00
parent 730a84c533
commit 12e8fe3f30
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
ALTER TABLE PP_MRP ADD (CONSTRAINT DDOrder_PPMRP FOREIGN KEY (DD_Order_ID) REFERENCES DD_ORDER);
ALTER TABLE PP_MRP ADD (CONSTRAINT DDOrderLine_PPMRP FOREIGN KEY (DD_OrderLine_ID) REFERENCES DD_ORDERLINE);
ALTER TABLE PP_ORDER_BOMLINE ADD (CONSTRAINT ADUser_PPOrderBOMLine FOREIGN KEY (AD_User_ID) REFERENCES AD_USER);

View File

@ -0,0 +1,6 @@
ALTER TABLE PP_MRP ADD CONSTRAINT DDOrder_PPMRP FOREIGN KEY (DD_Order_ID) REFERENCES DD_ORDER;
ALTER TABLE PP_MRP ADD CONSTRAINT DDOrderLine_PPMRP FOREIGN KEY (DD_OrderLine_ID) REFERENCES DD_ORDERLINE;
ALTER TABLE PP_ORDER_BOMLINE ADD CONSTRAINT ADUser_PPOrderBOMLine FOREIGN KEY (AD_User_ID) REFERENCES AD_USER;