/****** Object: Table [dbo].[t_op_td_seae] Script Date: 01/23/2018 14:37:22 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[t_op_td_seae]( [baseid] [int] IDENTITY(1,1) NOT NULL, [base_reportid] [varchar](60) NOT NULL, [编号] [varchar](12) NULL, [主编号] [varchar](12) NULL, [业务状态] [varchar](8) NULL, [费用状态] [varchar](8) NULL, [业务编号] [varchar](12) NULL, [会计期间] [smalldatetime] NULL, [周次] [int] NULL, [主提单号] [varchar](20) NULL, [分提单号] [varchar](20) NULL, [委托编号] [varchar](300) NULL, [装运方式] [varchar](8) NULL, [委托单位] [varchar](20) NULL, [发货人] [varchar](20) NULL, [收货人] [varchar](20) NULL, [通知人] [varchar](20) NULL, [发货人代码] [varchar](500) NULL, [收货人代码] [varchar](500) NULL, [通知人代码] [varchar](500) NULL, [代理] [varchar](20) NULL, [代理内容] [varchar](500) NULL, [场站] [varchar](20) NULL, [船名] [varchar](60) NULL, [航次] [varchar](20) NULL, [开船日期] [smalldatetime] NULL, [截港日期] [smalldatetime] NULL, [预抵日期] [smalldatetime] NULL, [起运港] [varchar](60) NULL, [装货港] [varchar](60) NULL, [装港代码] [varchar](10) NULL, [卸货港] [varchar](100) NULL, [卸货代码] [varchar](10) NULL, [二程开船日期] [smalldatetime] NULL, [二程港口] [varchar](60) NULL, [二程船名] [varchar](60) NULL, [二程航次] [varchar](20) NULL, [目的地] [varchar](100) NULL, [交货地点] [varchar](100) NULL, [交货代码] [varchar](10) NULL, [提单份数] [varchar](10) NULL, [签单方式] [varchar](10) NULL, [签单地点] [varchar](100) NULL, [签单日期] [smalldatetime] NULL, [付费方式] [varchar](60) NULL, [预付地点] [varchar](30) NULL, [到付地点] [varchar](100) NULL, [运输条款] [varchar](10) NULL, [唛头] [varchar](4000) NULL, [箱号封号] [varchar](4000) NULL, [件数包装] [varchar](4000) NULL, [货物描述] [varchar](4000) NULL, [货物名称] [varchar](100) NULL, [货物重量] [varchar](4000) NULL, [货物尺码] [varchar](4000) NULL, [件数] [int] NULL, [包装] [varchar](60) NULL, [重量] [numeric](18, 3) NULL, [尺码] [numeric](18, 4) NULL, [件数大写] [varchar](100) NULL, [箱数大写] [varchar](100) NULL, [箱型1] [int] NULL, [箱型2] [int] NULL, [箱型3] [int] NULL, [箱型4] [int] NULL, [箱型5] [int] NULL, [箱型6] [int] NULL, [箱型7] [int] NULL, [箱型8] [int] NULL, [箱型9] [int] NULL, [箱型10] [int] NULL, [其他箱型] [int] NULL, [箱TEU] [int] NULL, [集装箱] [varchar](200) NULL, [录入人] [varchar](12) NULL, [录入日期] [smalldatetime] NULL, [操作员] [varchar](10) NULL, [揽货人] [varchar](10) NULL, [客服员] [varchar](10) NULL, [航线] [varchar](30) NULL, [船公司] [varchar](20) NULL, [货代公司] [varchar](20) NULL, [备注] [varchar](800) NULL, [报关行] [varchar](20) NULL, [承运车队] [varchar](20) NULL, [分单列表] [varchar](500) NULL, [计费标准] [varchar](500) NULL, [报关服务] [bit] NULL, [报验服务] [bit] NULL, [熏蒸服务] [bit] NULL, [仓储服务] [bit] NULL, [拖车服务] [bit] NULL, [报关日期] [smalldatetime] NULL, [报关员] [varchar](10) NULL, [报关单号] [varchar](20) NULL, [核销单号] [varchar](50) NULL, [手册号] [varchar](20) NULL, [经营单位] [varchar](60) NULL, [单位代码] [varchar](20) NULL, [合同号] [varchar](20) NULL, [报关备注] [varchar](600) NULL, [是否退税] [bit] NULL, [退税日期] [smalldatetime] NULL, [是否通关] [bit] NULL, [通关日期] [smalldatetime] NULL, [发票号] [varchar](20) NULL, [商品编码] [varchar](400) NULL, [危险品分类] [varchar](5) NULL, [危险品编号] [varchar](20) NULL, [冷藏通风量] [varchar](3) NULL, [温度单位] [varchar](1) NULL, [设置温度] [varchar](5) NULL, [最低温度] [varchar](5) NULL, [最高温度] [varchar](5) NULL, [货物标识] [varchar](1) NULL, [销售部门] [varchar](30) NULL, [操作部门] [varchar](30) NULL, [工作量] [int] NULL, [业务来源] [varchar](8) NULL, [核对提单] [bit] NULL, [柜检] [bit] NULL, [转关] [bit] NULL, [转船] [bit] NULL, [英文船期] [varchar](12) NULL, [是否签单] [bit] NULL, [签回日期] [smalldatetime] NULL, [请求派车] [bit] NULL, [是否派车] [bit] NULL, [派车日期] [smalldatetime] NULL, [三程开船日期] [smalldatetime] NULL, [三程港口] [varchar](60) NULL, [三程船名] [varchar](60) NULL, [三程航次] [varchar](20) NULL, [辅助字段一] [varchar](200) NULL, [辅助字段二] [varchar](200) NULL, [辅助字段三] [varchar](200) NULL, [辅助字段四] [varchar](200) NULL, [是否解锁] [bit] NULL, [解锁人] [varchar](10) NULL, [解锁日期] [smalldatetime] NULL, [应收陆运] [numeric](18, 2) NULL, [应付陆运] [numeric](18, 2) NULL, [陆运利润] [numeric](18, 2) NULL, [二程取货日期] [smalldatetime] NULL, [二程到港日期] [smalldatetime] NULL, [三程取货日期] [smalldatetime] NULL, [三程到港日期] [smalldatetime] NULL, [主提单标准] [varchar](30) NULL, [分提单标准] [varchar](30) NULL, [委托标准] [varchar](30) NULL, [财务] [bit] NULL, [财务凭证] [varchar](30) NULL, [附加条款] [varchar](200) NULL, [备案号] [varchar](20) NULL, [运抵国] [varchar](60) NULL, [境内货源地] [varchar](60) NULL, [批准文号] [varchar](20) NULL, [成交方式] [varchar](20) NULL, [净重] [numeric](18, 2) NULL, [单价] [varchar](100) NULL, [总价] [varchar](100) NULL, [商品名称] [varchar](400) NULL, [数量单位] [varchar](400) NULL, [接单日期] [smalldatetime] NULL, [报检日期] [smalldatetime] NULL, [报检单号] [varchar](20) NULL, [验货时间] [smalldatetime] NULL, [实验时间] [smalldatetime] NULL, [熏蒸时间] [smalldatetime] NULL, [出证时间] [smalldatetime] NULL, [实验内容] [varchar](100) NULL, [报关操作] [varchar](10) NULL, [报检操作] [varchar](10) NULL, [币制] [varchar](100) NULL, [单证信息] [varchar](100) NULL, [核销标准] [varchar](20) NULL, [报关标准] [varchar](20) NULL, [报检标准] [varchar](20) NULL, [是否寄单] [bit] NULL, [寄单日期] [smalldatetime] NULL, [目的地代码] [varchar](10) NULL, [包装代码] [varchar](10) NULL, [发货人编号] [varchar](10) NULL, [运输方式] [varchar](10) NULL, [是否自有箱] [bit] NULL, [运费协议号] [varchar](20) NULL, [业务类型] [char](8) NULL, [保险人] [varchar](50) NULL, [保险单号] [varchar](50) NULL, [保险金额] [numeric](18, 2) NULL, [分部名称] [varchar](20) NULL, [upload] [smallint] NULL, [合票数] [smallint] NULL, [签单编号] [int] NULL, [费用封帐日期] [smalldatetime] NULL, [是否垫付] [bit] NULL, [EDI备注] [varchar](3000) NULL, [是否打印] [bit] NULL, [订舱单号] [varchar](20) NULL, [来源明细] [varchar](30) NULL, [销售订舱] [bit] NULL, [报关票数] [int] NULL, [是否结汇] [bit] NULL, [结汇日期] [smalldatetime] NULL, [是否退舱] [bit] NULL, [销售订舱说明] [varchar](400) NULL, [封帐前状态] [varchar](8) NULL, [仓库] [varchar](20) NULL, [fee] [bit] NULL, [FEE2] [bit] NULL, [预录数] [smallint] NULL, [贸易方式] [varchar](50) NULL, [核销单] [bit] NULL, [防伪] [bit] NULL, [核销] [bit] NULL, [所在海关] [varchar](20) NULL, [提单签发状态] [varchar](20) NULL, [结费类型] [varchar](8) NULL, [运费] [bit] NULL, [货代公司联系人] [varchar](60) NULL, [湿度] [varchar](5) NULL, [截单日期] [smalldatetime] NULL, [场站联系人] [varchar](20) NULL, [内部航次号] [varchar](50) NULL, [DOOR地址] [varchar](200) NULL, [第二通知人] [varchar](500) NULL, [到付地点代码] [varchar](10) NULL, [拆单并单编号] [varchar](200) NULL, [副本提单份数] [varchar](10) NULL, [财务凭证2] [varchar](30) NULL, [海尔联系部门] [varchar](50) NULL, [海尔联系人] [varchar](50) NULL, [订舱状态] [varchar](10) NULL, [确认状态] [varchar](10) NULL, [费用备注] [varchar](400) NULL, [其它备注] [varchar](400) NULL, [合计20] [int] NULL, [合计40] [int] NULL, [合计40H] [int] NULL, [合计45] [int] NULL, [集团成本] [numeric](18, 2) NULL, [凭证日期] [smalldatetime] NULL, [提交财务日期] [smalldatetime] NULL, [自责更改] [bit] NULL, [海丰财务凭证] [varchar](40) NULL, [应收海运费] [numeric](18, 2) NULL, [应付海运费] [numeric](18, 2) NULL, [船公司代理费] [numeric](18, 2) NULL, [捷丰代理费] [numeric](18, 2) NULL, [香港付费] [bit] NULL, [香港付费对象] [varchar](20) NULL, [拖车数] [int] NULL, [报关数] [int] NULL, [代理数] [int] NULL, [拼箱整箱] [int] NULL, [舱单申报] [varchar](12) NULL, [船代] [varchar](12) NULL, [客户邮件方案] [varchar](30) NULL, [是否换签] [bit] NULL, [不发签单条] [bit] NULL, [对账联系人] [varchar](20) NULL, [录入时间] [datetime] NOT NULL ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO ALTER TABLE [dbo].[t_op_td_seae] ADD CONSTRAINT [DF_t_op_td_seae_录入时间] DEFAULT (getdate()) FOR [录入时间] GO