so_sale - 销售主表
字段列表
编码 | 显示名称 | 数据类型 | 主键 | 长度 | 精度 | 默认值 | 初始值 | 提示 | 注释 | csaleid | 销售主表ID | CHAR | Y | 20 | 0 | | | | |
bcooptopo | 是否已协同生成采购订单 | CHAR | | 1 | 0 | N | | | |
bfreecustflag | 是否散户 | CHAR | | 1 | 0 | | | | |
binitflag | 期初标志 | CHAR | | 1 | 0 | | | | |
binvoicendflag | 开票关闭标记 | CHAR | | 1 | 0 | N | | | |
boutendflag | 出库关闭标记 | CHAR | | 1 | 0 | N | | | |
boverdate | 是否超帐期 | CHAR | | 1 | 0 | | | | |
bpayendflag | 付款关闭标记 | CHAR | | 1 | 0 | N | | | |
bpocooptome | 是否由采购订单协同生成 | CHAR | | 1 | 0 | N | | | |
breceiptendflag | 发货关闭标记 | CHAR | | 1 | 0 | | | | |
bretinvflag | 退货标记 | CHAR | | 1 | 0 | N | | | |
btransendflag | 运输关闭标志 | CHAR | | 1 | 0 | | | | |
capproveid | 审批人 | CHAR | | 20 | 0 | | | | |
cbaltypeid | 结算方式 | CHAR | | 20 | 0 | | | | |
cbiztype | 业务类型 | CHAR | | 20 | 0 | | | | |
ccalbodyid | 库存组织 | CHAR | | 20 | 0 | | | | |
ccooppohid | 对方订单号 | VARCHAR | | 30 | 0 | | | | |
ccreditnum | 信用证号 | CHAR | | 20 | 0 | | | | |
ccustbankid | 开户银行 | CHAR | | 20 | 0 | | | | |
ccustomerid | 客户ID | CHAR | | 20 | 0 | | | | |
cdeptid | 部门 | CHAR | | 20 | 0 | | | | |
cemployeeid | 业务员 | CHAR | | 20 | 0 | | | | |
cfreecustid | 散户ID | CHAR | | 20 | 0 | | | | |
coperatorid | 制单人 | CHAR | | 20 | 0 | | | | |
creceiptareaid | 收货地区 | CHAR | | 20 | 0 | | | | |
creceiptcorpid | 开票单位 | CHAR | | 20 | 0 | | | | |
creceiptcustomerid | 收货单位 | CHAR | | 20 | 0 | | | | |
creceipttype | 单据类型 | VARCHAR | | 4 | 0 | | | | |
csalecorpid | 销售组织 | CHAR | | 20 | 0 | | | | |
ctermprotocolid | 收款协议 | CHAR | | 20 | 0 | | | | |
ctransmodeid | 运输方式 | CHAR | | 20 | 0 | | | | |
cwarehouseid | 仓库 | CHAR | | 20 | 0 | | | | |
dapprovedate | 审批日期 | CHAR | | 10 | 0 | | | | |
daudittime | 审批时间 | CHAR | | 19 | 0 | | | | |
dbilldate | 单据日期 | CHAR | | 10 | 0 | | | | |
dbilltime | 单据时间 | CHAR | | 19 | 0 | | | | |
dmakedate | 制单日期 | CHAR | | 10 | 0 | | | | |
dmoditime | 最后修改时间 | CHAR | | 19 | 0 | | | | |
dr | 删除标志 | SMALLINT | | 2 | 0 | | | | |
editauthor | 修订人 | CHAR | | 20 | 0 | | | | |
editdate | 修订日期 | CHAR | | 10 | 0 | | | | |
editionnum | 修订版本号 | VARCHAR | | 10 | 0 | | | | |
finvoiceclass | 发票类别 | SMALLINT | | 2 | 0 | | | | |
finvoicetype | 发票类型 | SMALLINT | | 2 | 0 | | | | |
fstatus | 状态 | SMALLINT | | 2 | 0 | | | | |
ibalanceflag | 结算标志 | SMALLINT | | 2 | 0 | | | | |
iprintcount | 打印次数 | SMALLINT | | 2 | 0 | 0 | | | |
naccountperiod | 帐期 | DECIMAL | | 20 | 8 | | | | |
ndiscountrate | 整单折扣 | DECIMAL | | 20 | 6 | | | | |
nevaluatecarriage | 预估运费 | DECIMAL | | 20 | 8 | | | | |
nheadsummny | 金额合计 | DECIMAL | | 20 | 8 | | | | |
npreceivemny | 预收款金额 | DECIMAL | | 20 | 8 | | | | |
npreceiverate | 预收款比例 | DECIMAL | | 9 | 6 | | | | |
nsubscription | 订金 | DECIMAL | | 20 | 8 | | | | |
pk_corp | 公司ID | CHAR | | 4 | 0 | | | | |
pk_defdoc1 | 自定义项主键1 | CHAR | | 20 | 0 | | | | |
pk_defdoc10 | 自定义项主键10 | CHAR | | 20 | 0 | | | | |
pk_defdoc11 | 自定义项主键11 | CHAR | | 20 | 0 | | | | |
pk_defdoc12 | 自定义项主键12 | CHAR | | 20 | 0 | | | | |
pk_defdoc13 | 自定义项主键13 | CHAR | | 20 | 0 | | | | |
pk_defdoc14 | 自定义项主键14 | CHAR | | 20 | 0 | | | | |
pk_defdoc15 | 自定义项主键15 | CHAR | | 20 | 0 | | | | |
pk_defdoc16 | 自定义项主键16 | CHAR | | 20 | 0 | | | | |
pk_defdoc17 | 自定义项主键17 | CHAR | | 20 | 0 | | | | |
pk_defdoc18 | 自定义项主键18 | CHAR | | 20 | 0 | | | | |
pk_defdoc19 | 自定义项主键19 | CHAR | | 20 | 0 | | | | |
pk_defdoc2 | 自定义项主键2 | CHAR | | 20 | 0 | | | | |
pk_defdoc20 | 自定义项主键20 | CHAR | | 20 | 0 | | | | |
pk_defdoc3 | 自定义项主键3 | CHAR | | 20 | 0 | | | | |
pk_defdoc4 | 自定义项主键4 | CHAR | | 20 | 0 | | | | |
pk_defdoc5 | 自定义项主键5 | CHAR | | 20 | 0 | | | | |
pk_defdoc6 | 自定义项主键6 | CHAR | | 20 | 0 | | | | |
pk_defdoc7 | 自定义项主键7 | CHAR | | 20 | 0 | | | | |
pk_defdoc8 | 自定义项主键8 | CHAR | | 20 | 0 | | | | |
pk_defdoc9 | 自定义项主键9 | CHAR | | 20 | 0 | | | | |
ts | 时间戳 | CHAR | | 19 | 0 | | | | |
vaccountyear | 会计年度 | CHAR | | 4 | 0 | | | | |
vdef1 | 自定义项1 | VARCHAR | | 100 | 0 | | | | |
vdef10 | 自定义项10 | VARCHAR | | 100 | 0 | | | | |
vdef11 | 自定义项11 | VARCHAR | | 100 | 0 | | | | |
vdef12 | 自定义项12 | VARCHAR | | 100 | 0 | | | | |
vdef13 | 自定义项13 | VARCHAR | | 100 | 0 | | | | |
vdef14 | 自定义项14 | VARCHAR | | 100 | 0 | | | | |
vdef15 | 自定义项15 | VARCHAR | | 100 | 0 | | | | |
vdef16 | 自定义项16 | VARCHAR | | 100 | 0 | | | | |
vdef17 | 自定义项17 | VARCHAR | | 100 | 0 | | | | |
vdef18 | 自定义项18 | VARCHAR | | 100 | 0 | | | | |
vdef19 | 自定义项19 | VARCHAR | | 100 | 0 | | | | |
vdef2 | 自定义项2 | VARCHAR | | 100 | 0 | | | | |
vdef20 | 自定义项20 | VARCHAR | | 100 | 0 | | | | |
vdef3 | 自定义项3 | VARCHAR | | 100 | 0 | | | | |
vdef4 | 自定义项4 | VARCHAR | | 100 | 0 | | | | |
vdef5 | 自定义项5 | VARCHAR | | 100 | 0 | | | | |
vdef6 | 自定义项6 | VARCHAR | | 100 | 0 | | | | |
vdef7 | 自定义项7 | VARCHAR | | 100 | 0 | | | | |
vdef8 | 自定义项8 | VARCHAR | | 100 | 0 | | | | |
vdef9 | 自定义项9 | VARCHAR | | 100 | 0 | | | | |
veditreason | 修订理由 | VARCHAR | | 120 | 0 | | | | |
vnote | 备注 | VARCHAR | | 120 | 0 | | | | |
vreceiptcode | 单据号 | VARCHAR | | 30 | 0 | | | | |
vreceiveaddress | 收货地址 | VARCHAR | | 256 | 0 | | | | |
外键列表
索引列表