CREATE COLUMN TABLE "SBODEMODE"."DPO15" ("DocEntry" INTEGER CS_INT NOT NULL , "LineNum" INTEGER CS_INT NOT NULL , "ObjType" NVARCHAR(20) DEFAULT '204', "LogInstanc" INTEGER CS_INT DEFAULT 0, "VatGroup" NVARCHAR(8), "StaCode" NVARCHAR(8), "StaType" INTEGER CS_INT, "StaIndex" INTEGER CS_INT, "BaseNet" DECIMAL(21,6) CS_FIXED, "BaseNetFc" DECIMAL(21,6) CS_FIXED, "BaseNetSc" DECIMAL(21,6) CS_FIXED, "VatSum" DECIMAL(21,6) CS_FIXED, "VatSumFc" DECIMAL(21,6) CS_FIXED, "VatSumSc" DECIMAL(21,6) CS_FIXED, "DctSum" DECIMAL(21,6) CS_FIXED, "DctSumFc" DECIMAL(21,6) CS_FIXED, "DctSumSc" DECIMAL(21,6) CS_FIXED, "EqSum" DECIMAL(21,6) CS_FIXED, "EqSumFc" DECIMAL(21,6) CS_FIXED, "EqSumSc" DECIMAL(21,6) CS_FIXED, "ApplNet" DECIMAL(21,6) CS_FIXED, "ApplNetFc" DECIMAL(21,6) CS_FIXED, "ApplNetSc" DECIMAL(21,6) CS_FIXED, "ApplVat" DECIMAL(21,6) CS_FIXED, "ApplVatFc" DECIMAL(21,6) CS_FIXED, "ApplVatSc" DECIMAL(21,6) CS_FIXED, "ApplDct" DECIMAL(21,6) CS_FIXED, "ApplDctFc" DECIMAL(21,6) CS_FIXED, "ApplDctSc" DECIMAL(21,6) CS_FIXED, "ApplEq" DECIMAL(21,6) CS_FIXED, "ApplEqFc" DECIMAL(21,6) CS_FIXED, "ApplEqSc" DECIMAL(21,6) CS_FIXED, "PaidNet" DECIMAL(21,6) CS_FIXED, "PaidNetFc" DECIMAL(21,6) CS_FIXED, "PaidNetSc" DECIMAL(21,6) CS_FIXED, "PaidVat" DECIMAL(21,6) CS_FIXED, "PaidVatFc" DECIMAL(21,6) CS_FIXED, "PaidVatSc" DECIMAL(21,6) CS_FIXED, "PaidDct" DECIMAL(21,6) CS_FIXED, "PaidDctFc" DECIMAL(21,6) CS_FIXED, "PaidDctSc" DECIMAL(21,6) CS_FIXED, "PaidEq" DECIMAL(21,6) CS_FIXED, "PaidEqFc" DECIMAL(21,6) CS_FIXED, "PaidEqSc" DECIMAL(21,6) CS_FIXED, "DpApplNet" DECIMAL(21,6) CS_FIXED, "DpApplNetF" DECIMAL(21,6) CS_FIXED, "DpApplNetS" DECIMAL(21,6) CS_FIXED, "DpApplVat" DECIMAL(21,6) CS_FIXED, "DpApplVatF" DECIMAL(21,6) CS_FIXED, "DpApplVatS" DECIMAL(21,6) CS_FIXED, "DpApplDct" DECIMAL(21,6) CS_FIXED, "DpApplDctF" DECIMAL(21,6) CS_FIXED, "DpApplDctS" DECIMAL(21,6) CS_FIXED, "DpApplEq" DECIMAL(21,6) CS_FIXED, "DpApplEqFc" DECIMAL(21,6) CS_FIXED, "DpApplEqSc" DECIMAL(21,6) CS_FIXED, "TaxCode" NVARCHAR(8), "LineType" NVARCHAR(1) DEFAULT 'D', "BaseGrs" DECIMAL(21,6) CS_FIXED, "BaseGrsFc" DECIMAL(21,6) CS_FIXED, "BaseGrsSc" DECIMAL(21,6) CS_FIXED, "ApplGrs" DECIMAL(21,6) CS_FIXED, "ApplGrsFc" DECIMAL(21,6) CS_FIXED, "ApplGrsSc" DECIMAL(21,6) CS_FIXED, "PaidGrs" DECIMAL(21,6) CS_FIXED, "PaidGrsFc" DECIMAL(21,6) CS_FIXED, "PaidGrsSc" DECIMAL(21,6) CS_FIXED, "DpApplGrs" DECIMAL(21,6) CS_FIXED, "DpApplGrsF" DECIMAL(21,6) CS_FIXED, "DpApplGrsS" DECIMAL(21,6) CS_FIXED, "RvsChrgSum" DECIMAL(21,6) CS_FIXED, "RvsChrgSc" DECIMAL(21,6) CS_FIXED, "RvsChrgFc" DECIMAL(21,6) CS_FIXED, "ApplRvs" DECIMAL(21,6) CS_FIXED, "ApplRvsSc" DECIMAL(21,6) CS_FIXED, "ApplRvsFc" DECIMAL(21,6) CS_FIXED, "PaidRvs" DECIMAL(21,6) CS_FIXED, "PaidRvsSc" DECIMAL(21,6) CS_FIXED, "PaidRvsFc" DECIMAL(21,6) CS_FIXED, "DpApplRvs" DECIMAL(21,6) CS_FIXED, "DpApplRvsS" DECIMAL(21,6) CS_FIXED, "DpApplRvsF" DECIMAL(21,6) CS_FIXED, "IsPrscGood" NVARCHAR(1) DEFAULT 'N', "IsCstmAct" NVARCHAR(1) DEFAULT 'N', PRIMARY KEY ("DocEntry", "LineNum")) UNLOAD PRIORITY 5  AUTO MERGE 