{"text_format":"2","workbook":"xlsx","n_sheets":1,"sheets":["Sheet1"],"not_rendered":{"charts":0,"images":0,"macros":0,"external_links":0,"defined_names":0,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"run_cost":"one","rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Sheet1","index":0,"n_rows":547,"n_cols":13,"rows_kept":547,"cut":false,"hidden":false,"merged":[]}
["表名","表说明","字段序号","字段名","字段说明","自增长","主键","类型","长度","小数位数","允许空","默认值","占用字节数"]
["ERP_ORDER","ERP主表（记录从接口获取的所有数据）",1,"UID",null,null,"●","int",10,0,null,null,4]
[null,null,2,"ErpBillNum","ERP订单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,3,"VendId","供应商编号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"ModType","单据类型(1:日程单,2:离散订单)",null,null,"nvarchar",50,0,"●",null,100]
[null,null,5,"Contacter","联系人",null,null,"nvarchar",50,0,"●",null,100]
[null,null,6,"Site","地点",null,null,"nvarchar",50,0,"●",null,100]
[null,null,7,"Buyer","采购员",null,null,"nvarchar",50,0,"●",null,100]
[null,null,8,"BuyerPhone","采购员电话",null,null,"nvarchar",50,0,"●",null,100]
[null,null,9,"Address",null,null,null,"nvarchar",200,0,"●",null,400]
[null,null,10,"State","状态（1：有效，0：无效）",null,null,"int",10,0,null,"((1))",4]
[null,null,11,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,12,"CreateTime","创建时间",null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,13,"CreateUser","创建人",null,null,"nvarchar",50,0,null,"('')",100]
[null,null,14,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["ERP_ORDER_DETAIL","ERP订单明细表",1,"UID",null,null,"●","int",10,0,null,null,4]
[null,null,2,"ErpBillNum","ERP订单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,3,"PoLine","订单行",null,null,"int",10,0,null,null,4]
[null,null,4,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"PartPrice","订单价格",null,null,"money",19,4,null,"((0))",8]
[null,null,6,"BeginTime","收货开始时间",null,null,"datetime2",23,3,"●",null,7]
[null,null,7,"EndTime","收货结束时间",null,null,"datetime2",23,3,"●",null,7]
[null,null,8,"PlanQty","计划数量",null,null,"money",19,4,null,"((0))",8]
[null,null,9,"ClosedQty","已结数量",null,null,"money",19,4,null,"((0))",8]
[null,null,10,"DockCode","收货口",null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"State","状态（1：有效，0：无效）",null,null,"int",10,0,null,"((1))",4]
[null,null,12,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,13,"CreateTime","创建时间",null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,14,"CreateUser","创建人",null,null,"nvarchar",50,0,null,"('')",100]
[null,null,15,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TA_BILLTYPE","单据类型表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"BillType","单据类型",null,"●","int",10,0,null,null,4]
[null,null,3,"TypeName","类型名称",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"TypeDesc","描述",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"State","状态",null,null,"int",10,0,null,"((0))",4]
[null,null,6,"Prefix","前缀",null,null,"nvarchar",50,0,null,null,100]
[null,null,7,"BillNumRule","编号规则",null,null,"nvarchar",500,0,null,"(N'P|D:l|N:4')",1000]
[null,null,8,"LastNumber","最终序号",null,null,"int",10,0,null,"((1))",4]
[null,null,9,"LastBillNum","最终单据编号",null,null,"nvarchar",50,0,"●","('')",100]
[null,null,10,"LastBillTime","最终单据时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,11,"PrintTemplateFileName","打印模板文件",null,null,"nvarchar",500,0,"●","('')",1000]
[null,null,12,"ImportTemplateFileName","导入模板文件名称",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,13,"Sep","编号分隔符(\".\")",null,null,"varchar",50,0,"●","('.')",50]
[null,null,14,"PaperOrientation",null,null,null,"int",10,0,null,"((0))",4]
[null,null,15,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,16,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,17,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,18,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,19,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,20,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,21,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TA_CONFIG","系统配置表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"ParamName","参数名称",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"ParamValue","参数值",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,5,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,6,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,7,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,8,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,9,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,11,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,12,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TA_FACTORY","工厂表",1,"UID",null,null,null,"int",10,0,null,null,4]
[null,null,2,"FactoryId","工厂编号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"FactoryName","工厂名称",null,null,"nvarchar",255,0,"●",null,510]
[null,null,4,"ErpSite","ERP地点",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"ErpDomain","ERP域",null,null,"nvarchar",50,0,null,null,100]
[null,null,6,"Address","地址",null,null,"nvarchar",255,0,"●",null,510]
[null,null,7,"ZipCode","邮编",null,null,"nvarchar",255,0,"●",null,510]
[null,null,8,"State",null,null,null,"int",10,0,null,"((1))",4]
[null,null,9,"Remark",null,null,null,"nvarchar",255,0,"●",null,510]
[null,null,10,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,11,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,12,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,13,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,14,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,15,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,16,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TA_PART","零件表",1,"UID",null,"●",null,"bigint",19,0,null,null,8]
[null,null,2,"PartCode","零件号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"ErpPartCode","ERP零件号",null,null,"nvarchar",50,0,"●","('')",100]
[null,null,4,"PartDesc1","零件描述1",null,null,"nvarchar",-1,0,null,null,-1]
[null,null,5,"PartDesc2","零件描述2",null,null,"nvarchar",-1,0,"●","('''')",-1]
[null,null,6,"ProjectId","项目编号",null,null,"nvarchar",50,0,null,"('')",100]
[null,null,7,"Unit","单位",null,null,"nvarchar",50,0,null,"(N'EA')",100]
[null,null,8,"PartGroup","零件组",null,null,"nvarchar",50,0,"●",null,100]
[null,null,9,"State","状态（0：失效 1:有效）",null,null,"varchar",10,0,"●","((1))",10]
[null,null,10,"Configuration","配置信息",null,null,"nvarchar",100,0,"●",null,200]
[null,null,11,"ValidityDays","保质期（天）",null,null,"int",10,0,null,"((365))",4]
[null,null,12,"ReceivePort","收货口",null,null,"nvarchar",50,0,"●","('')",100]
[null,null,13,"PalletSize","托盘尺寸",null,null,"nvarchar",50,0,"●",null,100]
[null,null,14,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,15,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,16,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,17,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,18,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,19,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,20,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,21,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TA_VEND_PART","供应商零件表",1,"UID",null,"●",null,"bigint",19,0,null,null,8]
[null,null,2,"VendId","供应商编号",null,"●","nvarchar",50,0,null,"('')",100]
[null,null,3,"PartCode","零件号",null,"●","nvarchar",50,0,null,null,100]
[null,null,4,"VendPartCode","供应商零件号",null,"●","nvarchar",50,0,null,null,100]
[null,null,5,"VendPackQty","供应商包装数量",null,null,"decimal",18,5,null,"((1))",9]
[null,null,6,"PoUnit","采购单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,7,"State","状态（0：失效 1:有效）",null,null,"int",10,0,null,"((1))",4]
[null,null,8,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,9,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,10,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,11,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,12,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,13,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,14,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,15,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TA_VENDER","供应商表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"VendId","供应商编号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"VendName","供应商名称",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"VendAbbCode","供应商缩写",null,null,"varchar",2,0,"●","((0))",2]
[null,null,5,"VendType","供应商类型 (1:国内,1:国外)",null,null,"nvarchar",50,0,"●",null,100]
[null,null,6,"Country","国家",null,null,"nvarchar",50,0,"●",null,100]
[null,null,7,"City","城市",null,null,"nvarchar",50,0,"●",null,100]
[null,null,8,"Currency","币种",null,null,"nvarchar",50,0,"●",null,100]
[null,null,9,"Address","地址",null,null,"nvarchar",200,0,"●",null,400]
[null,null,10,"ZipCode","邮编",null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"Contacter","联系人",null,null,"nvarchar",50,0,"●",null,100]
[null,null,12,"Phone","电话",null,null,"nvarchar",50,0,"●",null,100]
[null,null,13,"Fax","传真",null,null,"nvarchar",50,0,"●",null,100]
[null,null,14,"Email","电子邮件",null,null,"nvarchar",50,0,"●",null,100]
[null,null,15,"State","状态",null,null,"int",10,0,"●","((0))",4]
[null,null,16,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,17,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,18,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,19,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,20,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,21,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,22,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,23,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_ASK","要货主表",1,"UID",null,null,null,"int",10,0,null,null,4]
[null,null,2,"AskBillNum","要货单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PoBillNum","订单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"VendId","供应商编号",null,null,"nvarchar",50,0,null,null,100]
[null,null,8,"Site","地点",null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,12,"Remark","说明",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,13,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,14,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,15,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,16,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,17,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,18,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,19,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_ASK_DETAIL","要货明细表",1,"UID",null,null,null,"int",10,0,null,null,4]
[null,null,2,"AskBillNum","要货单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PoBillNum","订单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"PoLine","订单行",null,"●","int",10,0,null,"((1))",4]
[null,null,5,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,6,"AskQty","要货数量",null,null,"money",19,4,null,"((0))",8]
[null,null,7,"ShippedQty","已发数量",null,null,"money",19,4,null,"((0))",8]
[null,null,8,"ReceivedQty","已收数量",null,null,"money",19,4,null,"((0))",8]
[null,null,9,"BeginTime","收货开始时间",null,null,"datetime2",23,3,"●",null,7]
[null,null,10,"EndTime","收货结束时间",null,null,"datetime2",23,3,"●",null,7]
[null,null,11,"PoUnit","采购单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,12,"LocUnit",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,15,"PackQty","标包数量",null,null,"money",19,4,null,"((1))",8]
[null,null,16,"UnConv","转换率",null,null,"money",19,4,null,"((1))",8]
[null,null,17,"DockCode","收货口",null,null,"nvarchar",50,0,"●",null,100]
[null,null,18,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,19,"Remark","说明",null,null,"nvarchar",200,0,"●",null,400]
[null,null,20,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,21,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,22,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,23,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,24,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,25,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,26,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_ASN","发货单主表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"AsnBillNum","发货单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"AskBillNum","要货单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"PoBillNum","订单号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,5,"VendId","供应商编号",null,null,"nvarchar",50,0,null,null,100]
[null,null,6,"Site","地点",null,null,"nvarchar",50,0,"●",null,100]
[null,null,7,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,8,"Remark","说明",null,null,"nvarchar",50,0,"●",null,100]
[null,null,9,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,10,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,11,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,12,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,13,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,14,"ShipTime","发货时间",null,null,"datetime2",23,3,"●","('1-1-1')",7]
[null,null,15,"ShipUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,16,"ReceiveTime","收货时间",null,null,"datetime2",23,3,"●",null,7]
[null,null,17,"ReceiveUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,18,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,19,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_ASN_DETAIL","发货单明细表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"AsnBillNum","发货单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PoBillNum","订单号",null,null,"nvarchar",50,0,"●","('')",100]
[null,null,4,"PoLine","订单行",null,"●","int",10,0,null,"((1))",4]
[null,null,5,"PartCode","物料号",null,"●","nvarchar",50,0,null,null,100]
[null,null,6,"Batch","批次",null,"●","nvarchar",50,0,null,null,100]
[null,null,7,"ProduceDate","生产日期",null,null,"date",10,0,"●","(getdate())",3]
[null,null,8,"VendBatch","供应商批次",null,null,"nvarchar",50,0,"●",null,100]
[null,null,9,"Qty","发货数量",null,null,"money",19,4,null,"((0))",8]
[null,null,10,"PoUnit","采购单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"LocUnit","存储单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,14,"PackQty","标包数量",null,null,"money",19,4,null,"((1))",8]
[null,null,15,"UnConv","转换率",null,null,"money",19,4,null,"((1))",8]
[null,null,16,"DockCode","收货口",null,null,"nvarchar",50,0,"●",null,100]
[null,null,17,"State","状态 ",null,null,"int",10,0,"●","((1))",4]
[null,null,18,"Remark",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,19,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,20,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,21,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,22,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,23,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,24,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,25,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_INVOICE","发票主表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"InvcBillNum","发票单号",null,"●","nvarchar",200,0,null,null,400]
[null,null,3,"Site","地点",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"InvoiceNum","金税发票编号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,5,"ExpressNum","快递单号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,6,"VendId","供货商编号",null,null,"nvarchar",50,0,null,null,100]
[null,null,7,"Tax","税率",null,null,"decimal",18,2,"●","((0.16))",9]
[null,null,8,"State","状态",null,null,"int",10,0,null,"((0))",4]
[null,null,9,"Remark","说明",null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,11,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,12,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,13,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,14,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,15,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,16,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_INVOICE_DETAIL","发票明细表",1,"UID",null,"●","●","int",10,0,null,null,4]
[null,null,2,"InvcBillNum","发票单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,3,"RecvBillNum","收货单号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"AsnBillNum","发货单号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,5,"PoBillNum","订单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,6,"PoLineNum","订单行",null,null,"int",10,0,null,"((1))",4]
[null,null,7,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,8,"Batch","批次",null,null,"nvarchar",50,0,null,null,100]
[null,null,9,"ProduceDate","生产日期",null,null,"date",10,0,"●","(getdate())",3]
[null,null,10,"VendBatch","供应商批次",null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"Qty","数量",null,null,"decimal",18,5,null,"((0))",9]
[null,null,12,"PoUnit","采购单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,13,"Price","价格",null,null,"decimal",18,5,null,"((0))",9]
[null,null,14,"Currency","货币",null,null,"nvarchar",50,0,"●",null,100]
[null,null,15,"PackQty","标包数",null,null,"decimal",18,5,"●","((1))",9]
[null,null,16,"State","状态 0：不合格 1：合格",null,null,"int",10,0,"●","((1))",4]
[null,null,17,"Remark","说明",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,18,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,19,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,20,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,21,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,22,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,23,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,24,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_PLAN","计划主表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"PlanId"," 计划单号（ERP计划单号+版本号）",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PlanName","计划单名称",null,null,"nvarchar",250,0,"●",null,500]
[null,null,4,"ErpPlanId","ERP计划单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"Version","版本号",null,null,"nvarchar",50,0,null,null,100]
[null,null,6,"VendId","供应商编号",null,null,"nvarchar",50,0,null,null,100]
[null,null,7,"Site","地点",null,null,"nvarchar",50,0,null,null,100]
[null,null,8,"PlanType","计划类型（0：预测计划，1：固定计划）",null,null,"int",10,0,null,"((1))",4]
[null,null,10,"State",null,null,null,"int",10,0,null,"((1))",4]
[null,null,11,"Remark",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,12,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,13,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,14,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,15,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,16,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,17,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,18,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_PLAN_DETAIL","计划明细表",1,"UID",null,null,null,"int",10,0,null,null,4]
[null,null,2,"PlanId","计划单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PlanPieriod","（D:日，W:周，M：月）",null,"●","nvarchar",50,0,null,null,100]
[null,null,4,"BeginDate","开始日期",null,null,"date",10,0,null,null,3]
[null,null,5,"EndDate","结束日期",null,null,"date",10,0,null,null,3]
[null,null,6,"PartCode","零件号",null,"●","nvarchar",50,0,null,null,100]
[null,null,7,"Qty","数量",null,null,"money",19,4,null,null,8]
[null,null,8,"State",null,null,null,"int",10,0,null,"((1))",4]
[null,null,9,"Remark",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,10,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,11,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,12,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,13,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,14,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,15,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,16,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_PO","订单主表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"PoBillNum","订单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"ErpBillNum","ERP订单号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"VendId","供应商编号",null,null,"nvarchar",50,0,null,null,100]
[null,null,7,"ModType","单据类型(1:日程单,2:离散订单)",null,null,"int",10,0,"●",null,4]
[null,null,8,"Contacter","联系人",null,null,"nvarchar",50,0,"●",null,100]
[null,null,9,"Site","地点",null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"Buyer","采购员",null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"BuyerPhone","采购员电话",null,null,"nvarchar",50,0,"●",null,100]
[null,null,14,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,15,"Remark","说明",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,16,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,17,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,18,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,19,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,20,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,21,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,22,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_PO_DETAIL","订单明细表 ",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"PoBillNum","订单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PoLine","订单行",null,"●","int",10,0,null,"((1))",4]
[null,null,4,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"PlanQty","订货数量",null,null,"money",19,4,null,"((0))",8]
[null,null,6,"ShippedQty","已发数量",null,null,"money",19,4,null,"((0))",8]
[null,null,7,"ReceivedQty","已收数量",null,null,"money",19,4,null,"((0))",8]
[null,null,8,"RejectQty","已退数量",null,null,"nvarchar",50,0,"●",null,100]
[null,null,9,"BeginTime","收货开始时间",null,null,"datetime2",23,3,"●",null,7]
[null,null,10,"EndTime","收货结束时间",null,null,"datetime2",23,3,"●",null,7]
[null,null,11,"PoUnit","采购单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,12,"LocUnit","存储单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,13,"Price","价格",null,null,"money",19,4,null,"((0))",8]
[null,null,14,"Currency","币种",null,null,"nvarchar",50,0,"●",null,100]
[null,null,15,"PackQty","标包数量",null,null,"money",19,4,null,"((1))",8]
[null,null,16,"UnConv",null,null,null,"money",19,4,null,"((1))",8]
[null,null,17,"DockCode",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,18,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,19,"Remark","说明",null,null,"nvarchar",200,0,"●",null,400]
[null,null,20,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,21,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,22,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,23,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,24,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,25,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,26,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_RECEIVE","收货单主表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"RecvBillNum","收货单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PoBillNum","订单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"AsnBillNum","发货单号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,5,"Site","地点",null,null,"nvarchar",50,0,"●",null,100]
[null,null,6,"VendId","供货商名称",null,null,"nvarchar",50,0,null,null,100]
[null,null,7,"ShipTime","发货时间",null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,8,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,9,"Remark","说明",null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,11,"CreateUser","制单人",null,null,"nvarchar",50,0,"●",null,100]
[null,null,12,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,13,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_RECEIVE_DETAIL","收货明细表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"RecvBillNum","收货单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PoBIllNum","订单号",null,"●","nvarchar",50,0,null,"('')",100]
[null,null,4,"PoLine","订单行",null,"●","int",10,0,null,"((1))",4]
[null,null,5,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,6,"Batch","批次",null,null,"nvarchar",50,0,null,null,100]
[null,null,9,"Qty","已结束量",null,null,"money",19,4,null,"((0))",8]
[null,null,16,"DockCode","收货口",null,null,"nvarchar",50,0,"●",null,100]
[null,null,17,"State","状态 0：不合格 1：合格",null,null,"int",10,0,null,"((1))",4]
[null,null,18,"Remark",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,19,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,20,"CreateUser","制单人",null,null,"nvarchar",50,0,null,"('')",100]
[null,null,21,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,22,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_REJECT","退货单主表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"RjctBillNum","退货单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PoBillNum","订单号",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"AsnBillNum","发货单号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,5,"Site","地点",null,null,"nvarchar",50,0,"●",null,100]
[null,null,6,"VendId","供货商名称",null,null,"nvarchar",50,0,null,null,100]
[null,null,7,"ShipTime","发货时间",null,null,"datetime2",27,7,null,"(sysdatetime())",8]
[null,null,8,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,9,"Remark","说明",null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,11,"CreateUser","制单人",null,null,"nvarchar",50,0,"●",null,100]
[null,null,12,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,13,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TB_REJECT_DETAIL","退货明细表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"RjctBillNum","退货单号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"PoBillNum","订单号",null,"●","nvarchar",50,0,null,"('')",100]
[null,null,4,"PoLine","订单行",null,"●","int",10,0,null,"((1))",4]
[null,null,5,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,6,"Batch","批次",null,null,"nvarchar",50,0,null,null,100]
[null,null,9,"Qty","退货数量",null,null,"money",19,4,null,"((0))",8]
[null,null,17,"State","状态 0：不合格 1：合格",null,null,"int",10,0,null,"((1))",4]
[null,null,18,"Remark",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,19,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,20,"CreateUser","制单人",null,null,"nvarchar",50,0,null,"('')",100]
[null,null,21,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,22,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TL_BASEDATA","基础数据修改日志表",1,"UID",null,"●","●","bigint",19,0,null,null,8]
[null,null,2,"UserName","操作人",null,null,"nvarchar",80,0,null,null,160]
[null,null,3,"LogTime","日志时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,4,"LogType","日志类型",null,null,"varchar",50,0,null,null,50]
[null,null,5,"DataType","日志级别",null,null,"varchar",50,0,null,null,50]
[null,null,6,"OldValue","原值",null,null,"nvarchar",4000,0,null,"('')",8000]
[null,null,7,"NewValue","新值",null,null,"nvarchar",4000,0,null,"('')",8000]
[null,null,8,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
["TL_BILL","单据状态变更日志表",1,"UID",null,"●","●","bigint",19,0,null,null,8]
[null,null,2,"UserName","操作人",null,null,"nvarchar",80,0,null,null,160]
[null,null,3,"LogTime","日志时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,4,"LogType","日志类型",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"BillNum","单据号",null,null,"nvarchar",50,0,null,"((0))",100]
[null,null,6,"BillType","单据类型",null,null,"int",10,0,null,null,4]
[null,null,7,"Message","日志信息",null,null,"nvarchar",-1,0,"●",null,-1]
["TL_USER","操作员日志表",1,"UID",null,"●","●","bigint",19,0,null,null,8]
[null,null,2,"UserId","操作员工号",null,null,"nvarchar",80,0,null,null,160]
[null,null,3,"UserName","操作员姓名",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"LogTime","日志时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,5,"LogType","日志类型",null,null,"varchar",50,0,null,null,50]
[null,null,6,"LogSite","IP或机器名",null,null,"nvarchar",200,0,null,"((0))",400]
[null,null,7,"Message","日志信息",null,null,"nvarchar",-1,0,"●",null,-1]
["TS_BARCODE","标签表",1,"UID",null,"●",null,"bigint",19,0,null,null,8]
[null,null,2,"BarCode","标签号（批次管理不带流水号）",null,"●","varchar",50,0,null,null,50]
[null,null,3,"FullBarCode","完整标签号（批次管理也带流水号）",null,null,"varchar",500,0,null,null,500]
[null,null,4,"PartCode","零件号",null,null,"varchar",50,0,null,null,50]
[null,null,5,"VendPartCode","供应商零件号",null,null,"varchar",50,0,"●",null,50]
[null,null,6,"Batch","批次",null,null,"varchar",50,0,null,"(N'‘’‘’')",50]
[null,null,7,"ProduceDate","生产日期",null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,8,"ManageType","管理类型",null,null,"int",10,0,null,null,4]
[null,null,9,"SerialNum","流水号",null,null,"varchar",50,0,null,"('''')",50]
[null,null,10,"Qty","数量",null,null,"money",19,4,null,"((1))",8]
[null,null,11,"BarCodeType","1:一维码 2:二维码",null,null,"int",10,0,null,null,4]
[null,null,12,"BillNum","采购订单号（生产计划号）",null,null,"varchar",50,0,null,"('‘’')",50]
[null,null,13,"BillLine","单据行",null,null,"int",10,0,null,"((0))",4]
[null,null,14,"VendId","供应商编号",null,null,"varchar",50,0,"●",null,50]
[null,null,15,"VendBatch","供应商批次",null,null,"nvarchar",50,0,"●",null,100]
[null,null,16,"PackQty","标包数",null,null,"money",19,4,null,"((1))",8]
[null,null,17,"CreateOper","创建人",null,null,"nvarchar",50,0,null,"(N'‘’‘’')",100]
[null,null,18,"CreateTime","创建时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,19,"State","状态（0：待检，1：合格，2：不合格，3：过期，4：待判定）",null,null,"int",10,0,null,"((1))",4]
[null,null,20,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,21,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TS_INFO","发布信息表",1,"UID",null,"●","●","int",10,0,null,null,4]
[null,null,3,"VendId","供应商编号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"Site","地点",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"InfoType","信息类型",null,null,"int",10,0,"●",null,4]
[null,null,6,"Title","标题",null,null,"nvarchar",50,0,"●",null,100]
[null,null,7,"Infomation","信息内容",null,null,"text",2147483647,0,"●",null,16]
[null,null,8,"FileName","附件文件名",null,null,"nvarchar",500,0,"●",null,1000]
[null,null,9,"state","状态",null,null,"int",10,0,"●",null,4]
[null,null,10,"Remark",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,12,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,13,"UpdateTIme",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,14,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,15,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,16,"IsDeleted",null,null,null,"bit",1,0,"●","((0))",1]
[null,null,17,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TS_STOCK","原料库存表",1,"UID",null,"●",null,"bigint",19,0,null,null,8]
[null,null,2,"BarCode","标签号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"LocCode","库位",null,"●","nvarchar",50,0,null,null,100]
[null,null,4,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,5,"Batch","批次",null,null,"nvarchar",50,0,null,"(N'‘’‘’')",100]
[null,null,6,"State","状态",null,"●","int",10,0,null,"((1))",4]
[null,null,7,"Qty","数量",null,null,"money",19,4,null,"((1))",8]
[null,null,8,"VendId","供应商编号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,9,"VendBatch","供应商批次",null,null,"nvarchar",50,0,"●","('')",100]
[null,null,10,"ReceiveTime","收货日期",null,null,"datetime2",23,3,null,"(getdate())",7]
[null,null,11,"ProduceDate","生产时间",null,null,"date",10,0,null,"('1-1-1')",3]
[null,null,12,"Remark","备注",null,null,"nvarchar",500,0,"●",null,1000]
["TS_UNI_API","接口记录表",1,"UID",null,"●","●","int",10,0,null,null,4]
[null,null,2,"InterfaceType","接口类型",null,null,"nvarchar",50,0,null,null,100]
[null,null,3,"TableName","接口表名",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"BillType","单据类型",null,null,"int",10,0,"●",null,4]
[null,null,5,"SubBillType","子单据类型",null,null,"int",10,0,"●",null,4]
[null,null,6,"BillNum","单据编号",null,null,"nvarchar",50,0,null,null,100]
[null,null,7,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,8,"Batch","批次",null,null,"nvarchar",50,0,null,null,100]
[null,null,9,"FromLoc","来源库位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"ToLoc","目标库位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"FromErpLoc","来源ERP库位",null,null,"varchar",8,0,"●",null,8]
[null,null,12,"ToErpLoc","目标ERP库位",null,null,"varchar",8,0,"●",null,8]
[null,null,13,"Qty","数量",null,null,"decimal",18,5,null,"((0))",9]
[null,null,14,"State","状态",null,null,"int",10,0,null,"((0))",4]
[null,null,15,"PutTime","发送时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,16,"VendId","供应商编号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,17,"PoUnit","采购单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,18,"LocUnit","存储单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,19,"ValidDate","生效日期",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,20,"ErpBillNum","ERP单据号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,21,"ErpLineNum","ERP行号",null,null,"int",10,0,null,"((0))",4]
[null,null,22,"VendBatch","供应商批次",null,null,"nvarchar",50,0,"●",null,100]
[null,null,23,"SourceBillNum","上游单据号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,24,"CreateUser","创建人",null,null,"nvarchar",50,0,"●",null,100]
[null,null,25,"CreateTime","创建时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,26,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TS_UNI_API_HIS","接口记录历史表",1,"UID",null,null,"●","int",10,0,null,null,4]
[null,null,2,"InterfaceType","接口类型",null,null,"nvarchar",50,0,null,null,100]
[null,null,3,"TableName","接口表名",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"BillType","单据类型",null,null,"int",10,0,"●",null,4]
[null,null,5,"SubBillType","子单据类型",null,null,"int",10,0,"●",null,4]
[null,null,6,"BillNum","单据编号",null,null,"nvarchar",50,0,null,null,100]
[null,null,7,"PartCode","零件号",null,null,"nvarchar",50,0,null,null,100]
[null,null,8,"Batch","批次",null,null,"nvarchar",50,0,null,null,100]
[null,null,9,"FromLoc","来源库位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"ToLoc","目标库位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,11,"FromErpLoc","来源ERP库位",null,null,"varchar",8,0,"●",null,8]
[null,null,12,"ToErpLoc","目标ERP库位",null,null,"varchar",8,0,"●",null,8]
[null,null,13,"Qty","数量",null,null,"decimal",18,5,null,"((0))",9]
[null,null,14,"State","状态",null,null,"int",10,0,null,"((0))",4]
[null,null,15,"PutTime","发送时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,16,"VendId","供应商编号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,17,"PoUnit","采购单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,18,"LocUnit","存储单位",null,null,"nvarchar",50,0,"●",null,100]
[null,null,19,"ValidDate","生效日期",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,20,"ErpBillNum","ERP单据号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,21,"ErpLineNum","ERP行号",null,null,"int",10,0,null,"((0))",4]
[null,null,22,"VendBatch","供应商批次",null,null,"nvarchar",50,0,"●",null,100]
[null,null,23,"SourceBillNum","上游单据号",null,null,"nvarchar",50,0,"●",null,100]
[null,null,24,"CreateUser","创建人",null,null,"nvarchar",50,0,"●",null,100]
[null,null,25,"CreateTime","创建时间",null,null,"datetime",23,3,null,"(getdate())",8]
[null,null,26,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TT_CURRENCY","币种表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"CurrencyId","币种",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"CurrencyName","货币描述",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,5,"Remark","备注",null,null,"nvarchar",50,0,"●",null,100]
[null,null,6,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,7,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,8,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,9,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,11,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,12,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TT_PROJECT","项目表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"ProjectId","项目编号",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"ProjectName","项目名称",null,null,"nvarchar",50,0,null,null,100]
[null,null,4,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,5,"Remark","备注",null,null,"nvarchar",50,0,"●",null,100]
[null,null,6,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,7,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,8,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,9,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,11,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,12,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]
["TT_UNIT","计量单位表",1,"UID",null,"●",null,"int",10,0,null,null,4]
[null,null,2,"UnitId","单位",null,"●","nvarchar",50,0,null,null,100]
[null,null,3,"UnitName","单位名称",null,null,"nvarchar",50,0,"●",null,100]
[null,null,4,"State","状态",null,null,"int",10,0,null,"((1))",4]
[null,null,5,"Remak","备注",null,null,"nvarchar",200,0,"●",null,400]
[null,null,6,"CreateTime",null,null,null,"datetime2",23,3,null,"(sysdatetime())",7]
[null,null,7,"CreateUser",null,null,null,"nvarchar",50,0,null,"('')",100]
[null,null,8,"UpdateTime",null,null,null,"datetime2",23,3,"●",null,7]
[null,null,9,"UpdateUser",null,null,null,"nvarchar",50,0,"●",null,100]
[null,null,10,"UpdateInfo",null,null,null,"nvarchar",500,0,"●",null,1000]
[null,null,11,"IsDeleted",null,null,null,"bit",1,0,null,"((0))",1]
[null,null,12,"GUID",null,null,null,"uniqueidentifier",16,0,null,"(newid())",16]