CREATE COLUMN TABLE "SBODEMODE"."INC4" ("DocEntry" INTEGER CS_INT NOT NULL , "CounterNum" INTEGER CS_INT NOT NULL , "CounteType" INTEGER CS_INT DEFAULT 12 NOT NULL , "CounterId" INTEGER CS_INT NOT NULL , "CounteName" NVARCHAR(155), "LogIns" INTEGER CS_INT, "VisOrder" INTEGER CS_INT, PRIMARY KEY INVERTED VALUE ("DocEntry", "CounterNum")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE CPBTREE INDEX "INC4_BUSINESS" ON "SBODEMODE"."INC4" ( "DocEntry" ASC, "CounteType" ASC, "CounterId" ASC )