CREATE COLUMN TABLE "SBODEMOPT"."ISW3" ("WizAbsEnt" INTEGER CS_INT NOT NULL , "Line" INTEGER CS_INT NOT NULL , "ItemCode" NVARCHAR(50), "RowStatus" NVARCHAR(1) DEFAULT 'O', "CardCode" NVARCHAR(15), "ObjType" INTEGER CS_INT, "DocNum" INTEGER CS_INT, "DocLineNum" INTEGER CS_INT, "RecpType" NVARCHAR(1), "DocBillDt" LONGDATE CS_LONGDATE, "Quantity" DECIMAL(21,6) CS_FIXED, "BPCtry" NVARCHAR(3), "TaxCodeExt" NVARCHAR(12), "NetMassSgn" NVARCHAR(1) DEFAULT '+', "NetMass" DECIMAL(21,6) CS_FIXED, "NetMassUnt" NVARCHAR(12), "SupMassSgn" NVARCHAR(1) DEFAULT '+', "SupplMass" DECIMAL(21,6) CS_FIXED, "SupplUnit" NVARCHAR(50), "ValueSgn" NVARCHAR(1) DEFAULT '+', "Value" DECIMAL(21,6) CS_FIXED, "ValueFC" DECIMAL(21,6) CS_FIXED, "FCCurrency" NVARCHAR(3), "StatValSgn" NVARCHAR(1), "StatVal" DECIMAL(21,6) CS_FIXED, "ReturnID" NVARCHAR(1), "Include" NVARCHAR(1) DEFAULT 'Y', "IsChanged" NVARCHAR(1) DEFAULT 'N', "DstRegCry" NVARCHAR(3), "DstRegSta" NVARCHAR(12), "OriRegCry" NVARCHAR(3), "OriRegSta" NVARCHAR(12), "BpVATregNo" NVARCHAR(32), "CtryOrig" NVARCHAR(3), "Incoterms" NVARCHAR(12), "NatOfTrans" NVARCHAR(50), "TransMode" NVARCHAR(12), "PortEnEx" NVARCHAR(50), "CustProc" NVARCHAR(50), "StatProc" NVARCHAR(50), "DomFrgID" NVARCHAR(1), "ItemType" NVARCHAR(1) DEFAULT 'I', "CommCode" NVARCHAR(12), "SerCode" NVARCHAR(12), "SerSupplM" NVARCHAR(1) DEFAULT 'I', "SerPymMeth" NVARCHAR(1) DEFAULT 'A', "CorrDate" LONGDATE CS_LONGDATE, "CorrSgn" NVARCHAR(1) DEFAULT '+', "ReferDoc" INTEGER CS_INT, "ReferDocNo" INTEGER CS_INT, "ReferItem" NVARCHAR(50), "RefDocLine" INTEGER CS_INT, "ChgID" NVARCHAR(16), "ChgUser" NVARCHAR(50), "ChgTimest" LONGDATE CS_LONGDATE, "Deleted" NVARCHAR(1) DEFAULT 'N', "CstSecRc" NVARCHAR(6), "CorrMonth" SMALLINT CS_INT, "CorrYear" SMALLINT CS_INT, "CorrDeclNo" INTEGER CS_INT, "CorRowNo" INTEGER CS_INT, "DeclRowNo" INTEGER CS_INT, "CorrType" INTEGER CS_INT, "CntryPay" NVARCHAR(3), "Triangular" NVARCHAR(1) DEFAULT 'N', "CardName" NVARCHAR(100), "StatCode" NVARCHAR(2), "DocEntry" INTEGER CS_INT, "NetValue" DECIMAL(21,6) CS_FIXED, "NetValueFC" DECIMAL(21,6) CS_FIXED, "Freight" DECIMAL(21,6) CS_FIXED, "FreighFC" DECIMAL(21,6) CS_FIXED, "RateFC" DECIMAL(21,6) CS_FIXED, "Remarks" NVARCHAR(250), "ProtocolN" INTEGER CS_INT, "DropShip" NVARCHAR(1) DEFAULT 'N', "WhsZipCode" NVARCHAR(20), PRIMARY KEY ("WizAbsEnt", "Line")) UNLOAD PRIORITY 5  AUTO MERGE 