CREATE TABLE "ASEDBUSR"."ECLAIMKOAMAPPING" 
   (	"PKEY" NUMBER(12,0) NOT NULL ENABLE, 
	"BOID" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"METABO" NUMBER(12,0) NOT NULL ENABLE, 
	"LASTUPDATE" TIMESTAMP (9) NOT NULL ENABLE, 
	"PROCESSID" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"ROWCOMMENT" VARCHAR2(15 CHAR), 
	"CREATED" TIMESTAMP (9) NOT NULL ENABLE, 
	"CREATEDUSER" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"REPLACED" TIMESTAMP (9) NOT NULL ENABLE, 
	"REPLACEDUSER" VARCHAR2(40 CHAR), 
	"LSTABRPOS" NUMBER(12,0), 
	"LSTABRPOSPROD" NUMBER(12,0), 
	"GRPSCHLUESSEL" NUMBER(12,0), 
	"RECORDID" NUMBER(12,0), 
	"ITSECLAIMPROC" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"AMOUNT" NUMBER(11,2) NOT NULL ENABLE, 
	"AMOUNTBRUTTO" NUMBER(11,2), 
	"NICHTPFLICHT" NUMBER(11,2) NOT NULL ENABLE, 
	"BEHANDLUNGSBEGINN" DATE NOT NULL ENABLE, 
	"BEHANDLUNGSENDE" DATE NOT NULL ENABLE, 
	"ITSECLAIMKOA" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"ITSECLAIMPRODGRP" VARCHAR2(40 CHAR), 
	"ITSECLAIMMAPSCHAD" VARCHAR2(40 CHAR), 
	"CONSULTATION" NUMBER(12,0), 
	"VISIT" NUMBER(12,0), 
	"ANZSTUNDEN" NUMBER(9,2), 
	"ANZTAGE" NUMBER(12,0), 
	"ITSECCLAIMTEXT" VARCHAR2(40 CHAR), 
	"POSCOMMENT" VARCHAR2(350 CHAR), 
	"ITSTRAIFKATMAP" VARCHAR2(40 CHAR), 
	"ITSTRAIFKOSTMAP" VARCHAR2(40 CHAR), 
	"MANUELLERSTELLT" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"ITSLEISTUNGSFALL" VARCHAR2(40 CHAR), 
	"LSTFALLCODE" VARCHAR2(40 CHAR), 
	"TDUNITMT" NUMBER(15,6), 
	"TDUNITFACTORMT" NUMBER(15,6), 
	"TDINTSCALEFACTORMT" NUMBER(15,6), 
	"TDEXTSCALEFACTORMT" NUMBER(15,6), 
	"TDUNITTT" NUMBER(15,6), 
	"TDUNITFACTORTT" NUMBER(15,6), 
	"TDINTSCALEFACTORTT" NUMBER(15,6), 
	"TDEXTSCALEFACTORTT" NUMBER(15,6), 
	"TDAMOUNTTT" NUMBER(17,6), 
	"TDAMOUNTMT" NUMBER(17,6), 
	"QUANTITY" NUMBER(15,6), 
	"ODUNIT" NUMBER(9,2), 
	"ODUNITFACTOR" NUMBER(16,7), 
	"ODEXTERNALFACTOR" NUMBER(15,6), 
	"KORREKTURFELD" VARCHAR2(40 CHAR), 
	"AMOUNTROUNDED" NUMBER(11,2), 
	"AMOUNTFOREIGN" NUMBER(11,2), 
	"AMOUNTFOREIGNOVR" NUMBER(12,0) NOT NULL ENABLE, 
	"ITSLERBTEXT" VARCHAR2(40 CHAR), 
	"ITSVERSTEXT" VARCHAR2(40 CHAR), 
	"TEXTVAR1" VARCHAR2(500 CHAR), 
	"TEXTVAR2" VARCHAR2(500 CHAR), 
	"TEXTVAR3" VARCHAR2(500 CHAR), 
	"TEXTVAR4" VARCHAR2(500 CHAR), 
	"SORTPOSITION" NUMBER(12,0) NOT NULL ENABLE, 
	"ITSECLAIMPRODUKT" VARCHAR2(40 CHAR), 
	"ITSVPRODUKT" VARCHAR2(40 CHAR), 
	"ITSKVANONYMPRODUKT" VARCHAR2(40 CHAR), 
	"VPRODUKTOVR" NUMBER(12,0) NOT NULL ENABLE, 
	"ITSLEISTUNGSPOS" VARCHAR2(40 CHAR), 
	"BUCHUNGSGRUND" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"ITSVERSTEXTERKL" VARCHAR2(40 CHAR), 
	"REGELVARIABLE1" VARCHAR2(255 CHAR), 
	"ITSLIMITDEF" VARCHAR2(40 CHAR), 
	"REGRESSPROZ" NUMBER(5,2), 
	"AMOUNTROUNDEDDIFF" NUMBER(11,2), 
	"SPLITGRUND" VARCHAR2(40 CHAR), 
	"ITSOBLIGOPARTNER" VARCHAR2(40 CHAR), 
	"SZFPOSSTATUS" VARCHAR2(40 CHAR), 
	"ARCHIVETAG" VARCHAR2(40 CHAR), 
	"EINSPARUNGSGRUND" VARCHAR2(40 CHAR), 
	"EINSPARUNG" NUMBER(11,2), 
	"MDBID" VARCHAR2(255 CHAR), 
	"CK_EINSPARUNGSGRUND" VARCHAR2(40 CHAR), 
	"ITSLSTZAHLER" VARCHAR2(40 CHAR), 
	"LSTZAHLUNGAN" VARCHAR2(40 CHAR), 
	"LSTFORDERUNGAN" VARCHAR2(40 CHAR), 
	 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"."PK1019014" ON "ASEDBUSR"."ECLAIMKOAMAPPING" ("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"."ECLAIMKOAMAPPING" ADD CONSTRAINT "PK1019014" PRIMARY KEY ("PKEY")
  USING INDEX "ASEDBUSR"."PK1019014"  ENABLE;