[2975308] - Image columns (and others) does not have a foreignkey / separate POS foreign keys (still not on release)

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2975308
This commit is contained in:
Carlos Ruiz 2010-04-20 05:25:27 +00:00
parent d856ad08a5
commit c65dd5723d
2 changed files with 0 additions and 28 deletions

View File

@ -56,8 +56,6 @@ ALTER TABLE C_BP_Group_Acct ADD CONSTRAINT CReceivableServices_CBPGroupAc FOREIG
ALTER TABLE CM_Media ADD CONSTRAINT ADImage_CMMedia FOREIGN KEY(AD_Image_ID) REFERENCES AD_Image(AD_Image_ID);
ALTER TABLE C_POSKey ADD CONSTRAINT ADImage_CPOSKey FOREIGN KEY(AD_Image_ID) REFERENCES AD_Image(AD_Image_ID);
ALTER TABLE DD_OrderLine ADD CONSTRAINT MAttributeSetInstance_DDOrderL FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID);
ALTER TABLE DD_OrderLine ADD CONSTRAINT MAttributeSetInstanceTo_DDOrde FOREIGN KEY(M_AttributeSetInstanceTo_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID);
@ -170,18 +168,6 @@ ALTER TABLE C_DunningRun ADD (CONSTRAINT CDunning_CDunningRun FOREIGN KEY (C_Dun
ALTER TABLE C_DunningRunEntry ADD (CONSTRAINT CDunningLevel_CDunningRunEntry FOREIGN KEY (C_DunningLevel_ID) REFERENCES C_DunningLevel);
ALTER TABLE C_POS ADD (CONSTRAINT OSKKeyLayout_CPOS FOREIGN KEY (OSK_KeyLayout_ID) REFERENCES C_POSKeyLayout);
ALTER TABLE C_POS ADD (CONSTRAINT OSNPKeyLayout_CPOS FOREIGN KEY (OSNP_KeyLayout_ID) REFERENCES C_POSKeyLayout);
ALTER TABLE C_POSKey ADD (CONSTRAINT ADPrintFont_CPOSKey FOREIGN KEY (AD_PrintFont_ID) REFERENCES AD_PrintFont);
ALTER TABLE C_POSKey ADD (CONSTRAINT SubKeyLayout_CPOSKey FOREIGN KEY (SubKeyLayout_ID) REFERENCES C_POSKeyLayout);
ALTER TABLE C_POSKeyLayout ADD (CONSTRAINT ADPrintColor_CPOSKeyLayout FOREIGN KEY (AD_PrintColor_ID) REFERENCES AD_PrintColor);
ALTER TABLE C_POSKeyLayout ADD (CONSTRAINT ADPrintFont_CPOSKeyLayout FOREIGN KEY (AD_PrintFont_ID) REFERENCES AD_PrintFont);
ALTER TABLE I_Order ADD (CONSTRAINT COrderSource_IOrder FOREIGN KEY (C_OrderSource_ID) REFERENCES C_OrderSource);
ALTER TABLE I_ProductPlanning ADD (CONSTRAINT Planner_IProductPlanning FOREIGN KEY (Planner_ID) REFERENCES AD_User);

View File

@ -56,8 +56,6 @@ ALTER TABLE C_BP_Group_Acct ADD CONSTRAINT CReceivableServices_CBPGroupAc FOREIG
ALTER TABLE CM_Media ADD CONSTRAINT ADImage_CMMedia FOREIGN KEY(AD_Image_ID) REFERENCES AD_Image(AD_Image_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POSKey ADD CONSTRAINT ADImage_CPOSKey FOREIGN KEY(AD_Image_ID) REFERENCES AD_Image(AD_Image_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE DD_OrderLine ADD CONSTRAINT MAttributeSetInstance_DDOrderL FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE DD_OrderLine ADD CONSTRAINT MAttributeSetInstanceTo_DDOrde FOREIGN KEY(M_AttributeSetInstanceTo_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED;
@ -170,18 +168,6 @@ ALTER TABLE C_DunningRun ADD CONSTRAINT CDunning_CDunningRun FOREIGN KEY (C_Dunn
ALTER TABLE C_DunningRunEntry ADD CONSTRAINT CDunningLevel_CDunningRunEntry FOREIGN KEY (C_DunningLevel_ID) REFERENCES C_DunningLevel DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POS ADD CONSTRAINT OSKKeyLayout_CPOS FOREIGN KEY (OSK_KeyLayout_ID) REFERENCES C_POSKeyLayout DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POS ADD CONSTRAINT OSNPKeyLayout_CPOS FOREIGN KEY (OSNP_KeyLayout_ID) REFERENCES C_POSKeyLayout DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POSKey ADD CONSTRAINT ADPrintFont_CPOSKey FOREIGN KEY (AD_PrintFont_ID) REFERENCES AD_PrintFont DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POSKey ADD CONSTRAINT SubKeyLayout_CPOSKey FOREIGN KEY (SubKeyLayout_ID) REFERENCES C_POSKeyLayout DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POSKeyLayout ADD CONSTRAINT ADPrintColor_CPOSKeyLayout FOREIGN KEY (AD_PrintColor_ID) REFERENCES AD_PrintColor DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POSKeyLayout ADD CONSTRAINT ADPrintFont_CPOSKeyLayout FOREIGN KEY (AD_PrintFont_ID) REFERENCES AD_PrintFont DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Order ADD CONSTRAINT COrderSource_IOrder FOREIGN KEY (C_OrderSource_ID) REFERENCES C_OrderSource DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_ProductPlanning ADD CONSTRAINT Planner_IProductPlanning FOREIGN KEY (Planner_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED;