ALTER TABLE LOGACESPEDCOL 
	ADD CONSTRAINT FKCMP00583PEDIDOCOL FOREIGN KEY (CDFILIAL, NRPEDIDOCOL, NRORG)
	REFERENCES PEDCOLGERAL (CDFILIAL, NRPEDIDOCOL, NRORG)
/
CREATE INDEX FKCMP00583PEDIDOCOL ON LOGACESPEDCOL (CDFILIAL, NRPEDIDOCOL, NRORG)
/
ALTER TABLE LOGACESPEDCOL 
	ADD CONSTRAINT FKCMP00584FORNECEDOR FOREIGN KEY (CDFORNECED, NRORG)
	REFERENCES FORNECEDOR (CDFORNECED, NRORG)
/
CREATE INDEX FKCMP00584FORNECEDOR ON LOGACESPEDCOL (CDFORNECED, NRORG)