CREATE COLUMN TABLE "SBODEMOPT"."OPEX" ("AbsEntry" INTEGER CS_INT NOT NULL , "PayRunDate" LONGDATE CS_LONGDATE, "VendorNum" NVARCHAR(15), "CustNum" NVARCHAR(15), "PaymMethod" NVARCHAR(15), "PaymDocNum" INTEGER CS_INT, "FiscalYear" LONGDATE CS_LONGDATE, "Country" NVARCHAR(3), "CompTaxNum" NVARCHAR(32), "PayeeName" NVARCHAR(100), "PayeeZip" NVARCHAR(20), "PayeeCity" NVARCHAR(100), "PayeeStree" NVARCHAR(100), "PayCountry" NVARCHAR(3), "PayeeState" NVARCHAR(3), "PayBnkName" NVARCHAR(250), "PayBankZip" NVARCHAR(20), "PayBnkCity" NVARCHAR(100), "PayBnkStr" NVARCHAR(100), "PayBnkCntr" NVARCHAR(3), "PayBankAct" NVARCHAR(50), "PayBnkCode" NVARCHAR(30), "PayBnkCtrl" NVARCHAR(2), "PayBnkSwif" NVARCHAR(50), "PayBnkIBAN" NVARCHAR(50), "PymPostDat" LONGDATE CS_LONGDATE, "PymBnkAcct" NVARCHAR(50), "PymBnkCntr" NVARCHAR(3), "PymBnkCode" NVARCHAR(30), "PymBnkIBAN" NVARCHAR(50), "PymGLAcct" NVARCHAR(15), "Currency" NVARCHAR(3), "PymDocAmnt" DECIMAL(21,6) CS_FIXED, "PymDocCurr" NVARCHAR(3), "PymDcAmtFC" DECIMAL(21,6) CS_FIXED, "PymCshDsct" DECIMAL(21,6) CS_FIXED, "PyCshDscFC" DECIMAL(21,6) CS_FIXED, "PymNumOfPa" INTEGER CS_INT, "PymDocRate" DECIMAL(21,6) CS_FIXED, "Status" NVARCHAR(1) DEFAULT 'O', "PaymWizCod" INTEGER CS_INT, "InstrucKey" NVARCHAR(30), "CllctAutho" NVARCHAR(1), "PayBnkPost" NVARCHAR(1), "PayBnkChNo" INTEGER CS_INT, "PayBnkHsBk" NVARCHAR(1) DEFAULT 'N', "PayBnkBlck" NVARCHAR(100), "PayBnkCnty" NVARCHAR(100), "PayBnkStat" NVARCHAR(3), "PayBnkBISR" NVARCHAR(1) DEFAULT 'N', "PayBnkUsr1" NVARCHAR(25), "PayBnkUsr2" NVARCHAR(25), "PayBnkUsr3" NVARCHAR(25), "PayBnkUsr4" NVARCHAR(25), "PaymFormat" NVARCHAR(20), "CompName" NVARCHAR(100), "CompAddres" NVARCHAR(254), "CompISRBil" NVARCHAR(9), "VendISRBil" NVARCHAR(9), "AddIdNum" NVARCHAR(32), "CompOrgNum" NVARCHAR(50), "PayBnkBrnc" NVARCHAR(50), "PymBnkBrnc" NVARCHAR(50), "UserName" NVARCHAR(155), "UserEmail" NVARCHAR(100), "UserPortNo" NVARCHAR(50), "UserFax" NVARCHAR(20), "Department" SMALLINT CS_INT, "DebitMemo" NVARCHAR(1) DEFAULT 'N', "EuInTrnsfr" NVARCHAR(1) DEFAULT 'N', "FilePath" NCLOB MEMORY THRESHOLD 1000, "OrderParty" NVARCHAR(30), "PymCtrlKey" NVARCHAR(2), "PayeeTaxNo" NVARCHAR(32), "PymKeyCode" NVARCHAR(6), "PayRefDtls" NVARCHAR(20), "FormatName" NVARCHAR(100), "CheckPmnt" NVARCHAR(1) DEFAULT 'N', "PymBnkUsr1" NVARCHAR(25), "PymBnkUsr2" NVARCHAR(25), "PymBnkUsr3" NVARCHAR(25), "PymBnkUsr4" NVARCHAR(25), "CompStreet" NVARCHAR(100), "CompBlock" NVARCHAR(100), "CompCity" NVARCHAR(100), "CompZip" NVARCHAR(20), "CompCounty" NVARCHAR(100), "CompState" NVARCHAR(3), "PymBCACode" NVARCHAR(3), "PaymDocTyp" NVARCHAR(20), "PayOrderNo" INTEGER CS_INT, "FreeText1" NVARCHAR(254), "FreeText2" NVARCHAR(254), "FreeText3" NVARCHAR(254), "PymBnkSwif" NVARCHAR(50), "PayBnkUIC" NVARCHAR(3), "LineType" NVARCHAR(1) DEFAULT 'G', "BoeKey" INTEGER CS_INT, "BoeCurrSta" NVARCHAR(1), "BoeDate" LONGDATE CS_LONGDATE, "BoeDueDate" LONGDATE CS_LONGDATE, "Instruct1" NVARCHAR(2), "Instruct2" NVARCHAR(2), "BoeCancIns" NVARCHAR(2), "BoeOccCode" NVARCHAR(2), "BoePtfID" NVARCHAR(3), "BoeOurNum" INTEGER CS_INT, "BoeIntrAm" DECIMAL(21,6) CS_FIXED, "BoeDiscD" LONGDATE CS_LONGDATE, "BoeDisAmnt" DECIMAL(21,6) CS_FIXED, "BoeFineD" LONGDATE CS_LONGDATE, "BoeFineAmt" DECIMAL(21,6) CS_FIXED, "BoeIntrstD" LONGDATE CS_LONGDATE, "BoeIOFAmt" DECIMAL(21,6) CS_FIXED, "BoeMovCode" NVARCHAR(10), "BarcodeRep" NVARCHAR(100), "PONumber" INTEGER CS_INT, "POSeries" INTEGER CS_INT, "PaPriority" NVARCHAR(1) DEFAULT '6', "PaymType" NVARCHAR(1) DEFAULT 'N', "RecipStatu" NVARCHAR(2), "BudegetId" NVARCHAR(100), "OKATO" NVARCHAR(11), "PymReason" NVARCHAR(2), "PostPeriod" NVARCHAR(10), "BaseDocTyp" NVARCHAR(2), "BaseDocDat" LONGDATE CS_LONGDATE, "TaxPymType" NVARCHAR(2), "OKTMO" NVARCHAR(12), "SeqType" NVARCHAR(4), "PymDate" LONGDATE CS_LONGDATE, "PymBnkName" NVARCHAR(250), "UIPCode" NVARCHAR(25), "UserId" SMALLINT CS_INT, "SpltPmtVAT" NVARCHAR(1) DEFAULT 'N', "EnBnkAct" NCLOB MEMORY THRESHOLD 1000, "EnBnkIBan" NCLOB MEMORY THRESHOLD 1000, "EncryptIV" NVARCHAR(100), "DPPStatus" NVARCHAR(1) DEFAULT 'N', PRIMARY KEY ("AbsEntry")) UNLOAD PRIORITY 5  AUTO MERGE 