CREATE TABLE FPA_INCIDEPARCPAGAR (
  NRORG NUMBER(10) DEFAULT 1 NOT NULL, 
  NRINCIDEPARCPAGAR NUMBER(10) NOT NULL, 
  NRPARCNEGOCIO NUMBER(10) NOT NULL, 
  NRTIPOINCIDE NUMBER(10) NOT NULL, 
  CDTPCTPAGAR VARCHAR2(6) NOT NULL, 
  IDATIVO VARCHAR2(1) DEFAULT 'S' NOT NULL, 
  DTINCLUSAO DATE , 
  DTULTATU DATE , 
  NRORGINCLUSAO NUMBER(10) DEFAULT 1 NULL, 
  NRORGULTATU NUMBER(10) DEFAULT 1 NULL, 
  CDOPERINCLUSAO VARCHAR2(12) DEFAULT '1' NULL, 
  CDOPERULTATU VARCHAR2(12) DEFAULT '1' NULL,
  CONSTRAINT PK_FPA_INCIDEPARCP PRIMARY KEY(NRINCIDEPARCPAGAR)
)
/
ALTER TABLE FPA_INCIDEPARCPAGAR ADD CONSTRAINT FKHCM00012PARCNEGO FOREIGN KEY (NRPARCNEGOCIO) REFERENCES PARCNEGOCIO (NRPARCNEGOCIO)
/
ALTER TABLE FPA_INCIDEPARCPAGAR ADD CONSTRAINT FKHCM00013TPINCIDE FOREIGN KEY (NRTIPOINCIDE) REFERENCES FPA_TIPOINCIDE (NRTIPOINCIDE)
/
ALTER TABLE FPA_INCIDEPARCPAGAR ADD CONSTRAINT FKHCM00014TPCTPAG FOREIGN KEY (CDTPCTPAGAR) REFERENCES TIPOCTPAGAR (CDTPCTPAGAR)