CREATE TABLE "ASEDBUSR"."EXTZAHLUNGEN" 
   (	"PKEY" NUMBER(12,0) CONSTRAINT "SYS_C0096921" NOT NULL ENABLE, 
	"BOID" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096922" NOT NULL ENABLE, 
	"METABO" NUMBER(12,0) CONSTRAINT "SYS_C0096923" NOT NULL ENABLE, 
	"LASTUPDATE" TIMESTAMP (9) CONSTRAINT "SYS_C0096924" NOT NULL ENABLE, 
	"PROCESSID" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096925" NOT NULL ENABLE, 
	"ROWCOMMENT" VARCHAR2(15 CHAR), 
	"CREATED" TIMESTAMP (9) CONSTRAINT "SYS_C0096926" NOT NULL ENABLE, 
	"CREATEDUSER" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096928" NOT NULL ENABLE, 
	"REPLACED" TIMESTAMP (9) CONSTRAINT "SYS_C0096929" NOT NULL ENABLE, 
	"REPLACEDUSER" VARCHAR2(40 CHAR), 
	"TYPE" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096930" NOT NULL ENABLE, 
	"ITSEXTZAHLZMITTEL" VARCHAR2(40 CHAR), 
	"BETRAG" NUMBER(20,3), 
	"REFERENZNR" VARCHAR2(35 CHAR), 
	"AUFGABEREF" VARCHAR2(10 CHAR), 
	"MIKROFILMNR" VARCHAR2(10 CHAR), 
	"SPESEN" NUMBER(20,3), 
	"TRANSAKTIONSART" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096931" NOT NULL ENABLE, 
	"REJECTCODE" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096932" NOT NULL ENABLE, 
	"TEILNEHMERNR" VARCHAR2(35 CHAR), 
	"EINAUSZAHLDATUM" DATE CONSTRAINT "SYS_C0096934" NOT NULL ENABLE, 
	"BUCHUNGSDATUM" DATE CONSTRAINT "SYS_C0096935" NOT NULL ENABLE, 
	"VERARBEITET" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096936" NOT NULL ENABLE, 
	"HINWEIS" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096937" NOT NULL ENABLE, 
	"ITSEXTZAPARTNER" VARCHAR2(40 CHAR), 
	"ISUMGEBUCHT" VARCHAR2(40 CHAR) CONSTRAINT "SYS_C0096938" NOT NULL ENABLE, 
	"ITSEXTZAHLHDG" VARCHAR2(40 CHAR), 
	"ITSEXTZELZAHLUNG" VARCHAR2(40 CHAR), 
	"XMLDATEN" VARCHAR2(4000 CHAR), 
	"BETRAGWA" NUMBER(20,3), 
	"ORIGPAYMENTINSTRID" VARCHAR2(40 CHAR), 
	"ITSVERGUETWAEHRUNG" VARCHAR2(40 CHAR), 
	"BETRAGVERGUETWA" NUMBER(20,3), 
	"KURSVERGUETUNG" NUMBER(15,7), 
	"ARCHIVETAG" VARCHAR2(40 CHAR), 
	"ABSLASTKTONR1" VARCHAR2(40 CHAR), 
	"ABSLASTKTONR2" VARCHAR2(40 CHAR), 
	"ABSBEZEICHNUNG1" VARCHAR2(140 CHAR), 
	"ABSBEZEICHNUNG2" VARCHAR2(500 CHAR), 
	"ABSPLZORT" VARCHAR2(40 CHAR), 
	"AFGNAMEVORNAME" VARCHAR2(40 CHAR), 
	"AFGZUSBEZ" VARCHAR2(40 CHAR), 
	"AFGSTRASSE" VARCHAR2(90 CHAR), 
	"AFGPLZORT" VARCHAR2(55 CHAR), 
	"MITTEILUNG1" VARCHAR2(40 CHAR), 
	"MITTEILUNG2" VARCHAR2(40 CHAR), 
	"MITTEILUNG3" VARCHAR2(40 CHAR), 
	"MITTEILUNG4" VARCHAR2(40 CHAR), 
	"BANKKONTONR" VARCHAR2(35 CHAR), 
	"BUCHUNGSID" VARCHAR2(40 CHAR), 
	"ERRORCODE" VARCHAR2(40 CHAR), 
	"ORIGPAYMENTINFID" VARCHAR2(40 CHAR), 
	"ORIGMSGID" VARCHAR2(40 CHAR), 
	"RETURNCODE" VARCHAR2(4 CHAR), 
	"RETURNREASON" VARCHAR2(500 CHAR), 
	"MDBID" VARCHAR2(255 CHAR), 
	"ITSSPESENWAEHRUNG" VARCHAR2(40 CHAR), 
	"QRIBAN" VARCHAR2(34 CHAR), 
	"AMOUNTBETRAG" NUMBER(20,3) DEFAULT null, 
	"AMOUNTWAEHRUNG" VARCHAR2(3 CHAR) DEFAULT null, 
	"AMOUNTKURS" NUMBER(15,7) DEFAULT null, 
	"TRANSBETRAG" NUMBER(20,3) DEFAULT null, 
	"TRANSWAEHRUNG" VARCHAR2(3 CHAR) DEFAULT null, 
	"TRANSKURS" NUMBER(15,7) DEFAULT null, 
	"CNTRVALBETRAG" NUMBER(20,3) DEFAULT null, 
	"CNTRVALWAEHRUNG" VARCHAR2(3 CHAR) DEFAULT null, 
	"CNTRVALKURS" NUMBER(15,7) DEFAULT null, 
	"INSTRBETRAG" NUMBER(20,3) DEFAULT null, 
	"INSTRWAEHRUNG" VARCHAR2(3 CHAR) DEFAULT null, 
	"INSTRKURS" NUMBER(15,7) DEFAULT null, 
	"CHARGESAMOUNT" NUMBER(20,3) DEFAULT null, 
	"CHARGESWAEHRUNG" VARCHAR2(3 CHAR) DEFAULT null, 
	"CDTDBTIND" VARCHAR2(4 CHAR) DEFAULT null, 
	"VALUTADATUM" DATE NOT NULL ENABLE, 
	"DOMAIN" VARCHAR2(5 CHAR) DEFAULT null, 
	"FAMILY" VARCHAR2(5 CHAR) DEFAULT null, 
	"SUBFAMILY" VARCHAR2(5 CHAR) DEFAULT null, 
	"GVC" VARCHAR2(35 CHAR) DEFAULT null, 
	"ISSR" VARCHAR2(35 CHAR) DEFAULT null, 
	"ALTERNATIVETRXTYPE" VARCHAR2(40 CHAR) DEFAULT null, 
	"ALTERNATIVEPAYTYPE" VARCHAR2(40 CHAR) DEFAULT null, 
	"ALTERTRXCODES" VARCHAR2(40 CHAR) DEFAULT null, 
	"PAYMENTNOTICEID" VARCHAR2(40 CHAR) DEFAULT null, 
	 SUPPLEMENTAL LOG DATA (ALL) COLUMNS
   ) PCTFREE 10 PCTUSED 40 INITRANS 40 MAXTRANS 255  LOGGING 
  STORAGE(
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "ASEDBUSR_DAT" 
  PARTITION BY LIST ("REPLACED") 
 (PARTITION "P_CURR"  VALUES (TIMESTAMP' 3000-01-01 00:00:00') SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 40 MAXTRANS 255 
 NOCOMPRESS LOGGING 
  STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "ASEDBUSR_DAT" , 
 PARTITION "P_ARCH"  VALUES (DEFAULT) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 40 MAXTRANS 255 
 NOCOMPRESS LOGGING 
  STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "ASEDBUSR_DAT" )  ENABLE ROW MOVEMENT ;
  CREATE UNIQUE INDEX "ASEDBUSR"."PK149" ON "ASEDBUSR"."EXTZAHLUNGEN" ("PKEY") 
  PCTFREE 10 INITRANS 80 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "ASEDBUSR_DAT" ;
ALTER TABLE "ASEDBUSR"."EXTZAHLUNGEN" ADD CONSTRAINT "PK149" PRIMARY KEY ("PKEY")
  USING INDEX "ASEDBUSR"."PK149"  ENABLE;