速达SQL大数据库表结构Word文档下载推荐.docx
- 文档编号:22084407
- 上传时间:2023-02-02
- 格式:DOCX
- 页数:73
- 大小:37.06KB
速达SQL大数据库表结构Word文档下载推荐.docx
《速达SQL大数据库表结构Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《速达SQL大数据库表结构Word文档下载推荐.docx(73页珍藏版)》请在冰豆网上搜索。
TAXNUMBER税号VARCHAR(20)
BIND进销存财务捆绑VARCHAR
(1)
STEP0一级科目长度SMALLINT
STEP1二级科目长度SMALLINT
STEP2三级科目长度SMALLINT
STEP3四级科目长度SMALLINT
STEP4五级科目长度SMALLINT
STEP5六级科目长度SMALLINT
BACKUPOPTIONSMALLINT
LASTDATEDATE
STATUS启用状态SMALLINT
VERSION帐套版本号VARCHAR(4)
MAXLOGRECOUNTSMALLINT
MAXLOGDAYSMALLINT
ADDRESS地址VARCHAR(100)
PHONE电话VARCHAR(20)
POSYEAR进销存年份SMALLINT
POSMON进销存月份SMALLINT
POSSTOREIDSMALLINT,
GUID帐套唯一编号VARCHAR(40)
●帐套选项表
ACCOPTIONS
OPTIONID顺序号SMALLINTNOTNULL,
OPTIONNAME名称VARCHAR(20)NOTNULL,
OPTIONVALUE值VARCHAR(20),
MEMO备注VARCHAR(40)
●调价单
ADJAP描述:
记录调价的详细资料
ADJAPID顺序号INTEGERNOTPrimary;
CODE单据编号VARCHAR(25)NOT
BILLDATE单据日期DATE
FLAG冲红标志INTEGER
REFERBILLID冲红单IDINTEGER
OPERATOR操作员VARCHAR(10)
TOTALAMT总金额DOUBLEPRECISION
MEMO备注VARCHAR(40)
UPDATETIME修改日期DATE
RPTID打印样式IDINTEGER
SHOPID分支机构IDSMALLINT
SFLAG传输标志SMALLINT
●调拨单
ALLOT描述:
记录货品调拨的详细资料
ALLOTID顺序号INTEGERNOTPrimary;
CODE单据号VARCHAR(25)NOTUnique;
OUTSID调出仓库号INTEGERNOT
INSID调进仓库号INTEGERNOT
UPDATETIME修改日期DATE
RPTID打印样式IDINTEGER
●地区资料
AREA描述:
记录地区的详细资料
AREAID地区IDINTEGERNOTPrimary;
LCODE地区编号VARCHAR(10)NOT
NAME地区名称VARCHAR(12)NOT
UPFLAG发送标志ARCHAR
(1)
●固定资产卡片
ASSETCARD描述:
企业固定资产详细资料
CODE编号VARCHAR(10)NOT
NAME名称VARCHAR(40)
SPECTYPE规格型号VARCHAR(20)
ASSETTYPEID类别IDINTEGER
DEPTID所属部门IDINTEGER
INCRDECRID固定资产增加减少INTEGER
LOCATION地址VARCHAR(60)
USEDTYPEID使用方式INTEGER
DEPRECIATEID折旧IDINTEGER
STARTDATE入帐日期DATE
WORKLOAD预计使用月份INTEGER
USEDAGOINTEGER
USEDALL已计使用月份INTEGER
UNIT工作量单位VARCHAR(10)
RAWVALUE入帐原值DOUBLEPRECISION
USEDVALUE累计折旧DOUBLEPRECISION
USEDVALUEAGODOUBLEPRECISION
REMAINRATE预计净残值率DOUBLEPRECISION
REMAINVALUE预计净残值DOUBLEPRECISION
DEPRRATE月折旧率DOUBLEPRECISION
DEPRVALUE月折旧额DOUBLEPRECISION
SUBID折旧科目VARCHAR(18)
CLEARFLAG清除标志VARCHAR
(1)
INITFLAG初始化标志VARCHAR
(1)
CREDID凭证IDVARCHAR(10)
●固定资产类别
ASSETTYPE描述:
固定资产类别的明细资料
NAME类别名称VARCHAR(20)NOTUnique;
DEPRECIATEID折旧IDSMALLINT,
REMAINRATE预计净残值率DOUBLEPRECISION
●固定资产及累计折旧余额表
ASTBALANCE描述:
字段名中文描述字段类型/字段长度是否为空说明
YEARMON地区IDVARCHAR(6)NOTPrimary;
ID顺序号INTEGERNOTPrimary;
TOTALWL总工作量INTEGER
CURRWL本月工作量INTEGER
USEDVALUE累计折旧DOUBLEPRECISION
DEPRRATE月折旧率DOUBLEPRECISION
DEPRVALUE月折旧额DOUBLEPRECISION
BASTDEBIT(余额方向为借方)|期初余额DOUBLEPRECISION
YASTDEBIT(余额方向为借方)|本年借方余额DOUBLEPRECISION
YASTCREDIT(余额方向为借方)|本年贷方余额DOUBLEPRECISION
ASTDEBIT(余额方向为借方)|本期借方余额DOUBLEPRECISION
ASTCREDIT(余额方向为借方)|本期贷方余额DOUBLEPRECISION
BDPRCREDIT(余额方向为贷方)|期初余额DOUBLEPRECISION
YDPRDEBIT(余额方向为贷方)|本年借方DOUBLEPRECISION
YDPRCREDIT(余额方向为贷方)|本年贷方DOUBLEPRECISION
DPRDEBIT(余额方向为贷方)|本期借方DOUBLEPRECISION
DPRCREDIT(余额方向为贷方)|本期贷方DOUBLEPRECISION
●固定资产清除
ASTCLEAR描述:
记录被清除固定资产的详细资料
CLEARDATE清除日期DATE,
INCRDECRID增减IDINTEGER,
EARINGDOUBLE清理收入PRECISION,
PAYOUT清理费用DOUBLEPRECISION,
MEMO标志VARCHAR(40)
●附属设备表
ATTACHAST
ITEMNO明细号INTEGERNOTPrimary;
NAME名称VARCHAR(20),
SPECTYPE规格VARCHAR(20),
UNIT计量单位VARCHAR(10),
AMOUNT数量DOUBLEPRECISION,
ATTACHSUM金额DOUBLEPRECISION,
STARTDATE使用日期DATE,
●退货明细表(从表)
BACKDETAIL描述:
记录所退货品的详细资料
BACKDRAWID主表IDINTEGERNOTPrimary;
ITEMNO明细号SMALLINTNOT
GOODSID货品IDVARCHAR(20),
QUANTITY数量DOUBLEPRECISION,
APRICE单价DOUBLEPRECISION
●退货单(主表)
BACKDRAW
BACKDRAWID单据IDINTEGERNOTPrimary;
BILLDATE单据日期DATE,
REFERBILLID冲红单IDINTEGER
OPERATOR操作员VARCHAR(10),
BACKMANID退货员INTEGER,
INSID退入仓库号INTEGER,
TOTALAMT总金额DOUBLEPRECISION,
MEMO备注VARCHAR(40),
UPDATETIME修改日期DATE,
BALANCE描述:
YEARMON年月份VARCHAR(6)NOTPrimary;
MONEYID货币IDSMALLINTNOTNULL,Primary;
SUBID会计科目VARCHAR(18)NOTNULL,
RATE汇率DOUBLEPRECISION,
YBRAWDEBIT年初借方原币金额DOUBLEPRECISION,
YBRAWCREDIT年初贷方原币金额DOUBLEPRECISION,
BRAWDEBIT期初借方原币金额DOUBLEPRECISION,
BRAWCREDIT期初贷方原币金额DOUBLEPRECISION,
RAWDEBIT本期累计借方原币金额DOUBLEPRECISION,
RAWCREDIT本期累计贷方原币金额DOUBLEPRECISION,
ERAWDEBIT期末借方原币金额DOUBLEPRECISION,
ERAWCREDIT期末贷方原币金额DOUBLEPRECISION,
YRAWDEBIT本年借方原币金额DOUBLEPRECISION,
YRAWCREDIT本年贷方原币金额DOUBLEPRECISION,
YBDEBIT本年借方本位币金额DOUBLEPRECISION,
YBCREDIT本年贷方本位币金额DOUBLEPRECISION,
BDEBIT期初借方本位币金额DOUBLEPRECISION,
BCREDIT期初贷方本位币金额DOUBLEPRECISION,
DEBIT本期累计借方本位币金额DOUBLEPRECISION,
CREDIT本期累计贷方本位币金额DOUBLEPRECISION,
EDEBIT期末借方本位币金额DOUBLEPRECISION,
ECREDIT期末贷方本位币金额DOUBLEPRECISION,
YDEBIT本年借方本位币金额DOUBLEPRECISION,
YCREDIT本年贷方本位币金额DOUBLEPRECISION
●仓库盘点单(明细)
BALDETAIL
BALITEMID盘点单IDINTEGERNOTPrimary;
ITEMNO明细号SMALLINTNOTPrimary;
●仓库盘点单
BALITEM
CODE单据编号VARCHAR(25)NOTUnique
BALSID仓库IDINTEGER
●现金银行
BANK
BANKID银行编号SMALLINTNOTPrimary;
NAME名称VARCHAR(20)NOTUnique;
SUBID会计科目编号VARCHAR(18),
BANKNAME银行全称VARCHAR(40),
BANKCODE银行帐户VARCHAR(20),
BALANCE开帐金额DOUBLEPRECISION,
BALINIT存款余额DOUBLEPRECISION,
FLAG存款类别VARCHAR
(1),
UPFLAG发送标志VARCHAR
(1)
●基本资料查询(主表)
BCFIND
TABLEID表IDSMALLINTNOTPrimary;
TABLECNAME表中文名VARCHAR(50),
TABLENAME表英文名VARCHAR(20)NOT
●基本资料查询(从表)
BCFINDDETAIL
字段名中文描述字段类型/字段长度是否为空说明
TABLEID表IDSMALLINTNOTPrimary;
FIELDID字段名IDSMALLINTNOTPrimary;
FIELDENAME字段英文名VARCHAR(20)NOT
FIELDCNAME字段中文名VARCHAR(40),
FIELDTYPE字段类型SMALLINTNOTDEFAULT0
ISLOOKUP是否LookUpVARCHAR
(1)DEFAULT'
F'
LOOKUPTBLNAMELookUp表名VARCHAR(20),
LOOKUPRESULTFIELDVARCHAR(20),
LOOKUPKEYFIELDVARCHAR(20)
BILLFLOWQUEUE(不用)
BILLDATE单据日期DATENOT
BILLTYPE单据类型SMALLINTNOT
BILLID单据IDINTEGERNOT
BILLCODE单据编号VARCHAR(25)NOT
ITEMNO明细号INTEGERNOT
GOODSID货品IDVARCHAR(20)NOT
QUEUEINDEXINTEGERNOTNULL,
INQTYDOUBLEPRECISION,
INPRICEDOUBLEPRECISION,
OUTQTYDOUBLEPRECISION,
OUTPRICEDOUBLEPRECISION,
EQTYDOUBLEPRECISION,
EPRICEDOUBLEPRECISION,
STOREIDINTEGER,
CACULATEFLAGVARCHAR
(1)NOTNULL,
INOUTFLAGINTEGER,
VALIDQUEUEVARCHAR
(1)
BILLFLOWQUEUE_TMP(不用)
BILLDATEDATENOTNULL,
BILLTYPESMALLINTNOTNULL,
BILLIDINTEGERNOTNULL,
BILLCODEVARCHAR(25)NOTNULL,
ITEMNOINTEGERNOTNULL,
GOODSIDVARCHAR(20)NOTNULL,
QUEUEINDEXINTEGERNOTNULL,
INQTYDOUBLEPRECISION,
INPRICEDOUBLEPRECISION,
OUTQTYDOUBLEPRECISION,
OUTPRICEDOUBLEPRECISION,
EQTYDOUBLEPRECISION,
EPRICEDOUBLEPRECISION,
STOREIDINTEGER,
CACULATEFLAGVARCHAR
(1)NOTNULL,
INOUTFLAGINTEGER
●单据打印
BILLPRINT描述:
单据打印设置表
BILLID单据类型SMALLINTNOTPrimary;
NAME单据名称VARCHAR(10)
OLDNAME原单据名称VARCHAR(10)
MASTNAME单据正标题VARCHAR(40)
OLDMASTNAME原单据正标题VARCHAR(40)
ROWHIGHT行高SMALLINT
DETAILNAME单据副标题VARCHAR(40)
OLDDETAILNAME原单据副标题VARCHAR(40)
MASTFONTNAME单据正标题字体名称VARCHAR(20)
OLDMASTFONTNAME原单据正标题字体名称VARCHAR(20)
MASTFONTSTYLE单据正标题字体字形VARCHAR
(1)
OLDMASTFONTSTYLE原单据正标题字体字形VARCHAR
(1)
MASTFONTSIZE单据正标题字体大小SMALLINT
OLDMASTFONTSIZE原单据正标题字体大小SMALLINT
MASTFONTCOLOR单据正标题颜色FLOAT
OLDMASTFONTCOLOR原单据正标题颜色FLOAT
DETAILFONTNAME单据副标题字体名称VARCHAR(20)
OLDDETAILFONTNAME原单据副标题字体名称VARCHAR(20)
DETAILFONTSTYLE单据副标题字体字形VARCHAR
(1)
OLDDETAILFONTSTYLE原单据副标题字体字形VARCHAR
(1)
DETAILFONTSIZE单据副标题字体大小SMALLINT
OLDDETAILFONTSIZE原单据副标题字体大小SMALLINT
DETAILFONTCOLOR单据副标题颜色FLOAT
OLDDETAILFONTCOLOR原单据副标题颜色FLOAT
BILLFONTNAME单据内容字体名称VARCHAR(20)
OLDBILLFONTNAME原单据内容字体名称VARCHAR(20)
BILLFONTSTYLE单据内容字体字形VARCHAR
(1)
OLDBILLFONTSTYLE原单据内容字体字形VARCHAR
(1)
BILLFONTSIZE单据内容字体大小SMALLINT
OLDBILLFONTSIZE原单据内容字体大小SMAL
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 速达 SQL 数据库 结构
![提示](https://static.bdocx.com/images/bang_tan.gif)