SO_ORDERHISTORY 销售订单修订主表返回目录
序号 | 列名 | 数据类型 | 长度 | 小数位数 | 主键 | 自增 | 允许空 | 默认值 | 列说明 |
1 | APPROVER | VARCHAR2 | 20 | | | | √ | | 审批人 |
2 | BADVFEEFLAG | CHAR | 1 | | | | √ | | 代垫运费 |
3 | BARSETTLEFLAG | CHAR | 1 | | | | √ | | 收入结算关闭 |
4 | BCOOPTOPOFLAG | CHAR | 1 | | | | √ | | 已协同生成采购订单 |
5 | BCOSTSETTLEFLAG | CHAR | 1 | | | | √ | | 成本结算关闭 |
6 | BFREECUSTFLAG | CHAR | 1 | | | | √ | | 是否散户 |
7 | BILLMAKER | VARCHAR2 | 20 | | | | √ | | 制单人 |
8 | BINVOICENDFLAG | CHAR | 1 | | | | √ | | 开票关闭 |
9 | BOFFSETFLAG | CHAR | 1 | | | | √ | | 是否冲抵 |
10 | BOUTENDFLAG | CHAR | 1 | | | | √ | | 出库关闭 |
11 | BPOCOOPTOMEFLAG | CHAR | 1 | | | | √ | | 由采购订单协同生成 |
12 | BPRECEIVEFLAG | CHAR | 1 | | | | √ | | 收款限额控制预收 |
13 | BSENDENDFLAG | CHAR | 1 | | | | √ | | 发货关闭 |
14 | CARSUBTYPEID | VARCHAR2 | 20 | | | | √ | | 赠品兑付类型 |
15 | CBALANCETYPEID | VARCHAR2 | 20 | | | | √ | | 结算方式 |
16 | CBILLSRCID | VARCHAR2 | 20 | | | | √ | | 整单来源单据ID |
17 | CBIZTYPEID | VARCHAR2 | 20 | | | | √ | | 业务流程 |
18 | CCHANNELTYPEID | VARCHAR2 | 20 | | | | √ | | 销售渠道类型 |
19 | CCUSTBANKACCID | VARCHAR2 | 20 | | | | √ | | 开户银行账户 |
20 | CCUSTBANKID | VARCHAR2 | 20 | | | | √ | | 开户银行 |
21 | CCUSTOMERID | VARCHAR2 | 20 | | | | √ | | 客户 |
22 | CDEPTID | VARCHAR2 | 20 | | | | √ | | 部门最新版本 |
23 | CDEPTVID | VARCHAR2 | 20 | | | | √ | | 部门 |
24 | CEMPLOYEEID | VARCHAR2 | 20 | | | | √ | | 业务员 |
25 | CFREECUSTID | VARCHAR2 | 20 | | | | √ | | 散户 |
26 | CHISTRANTYPEID | VARCHAR2 | 20 | | | | √ | | 修订订单类型 |
27 | CHRECEIVEADDID | VARCHAR2 | 20 | | | | √ | | 收货地址 |
28 | CHRECEIVECUSTID | VARCHAR2 | 20 | | | | √ | | 收货客户 |
29 | CINVOICECUSTID | VARCHAR2 | 20 | | | | √ | | 开票客户 |
30 | CORDERHISTORYID | CHAR | 20 | | √ | | | | 销售订单修订主表id |
31 | CORIGCURRENCYID | VARCHAR2 | 20 | | | | √ | | 原币 |
32 | CPAYTERMID | VARCHAR2 | 20 | | | | √ | | 收款协议 |
33 | CREATIONTIME | CHAR | 19 | | | | √ | | 创建时间 |
34 | CREATOR | CHAR | 20 | | | | √ | | 创建人 |
35 | CREVISERID | VARCHAR2 | 20 | | | | √ | | 修订人 |
36 | CSALEORDERID | CHAR | 20 | | | | | | 销售订单主实体 |
37 | CTRADEWORDID | VARCHAR2 | 20 | | | | √ | | 贸易术语 |
38 | CTRANSPORTTYPEID | VARCHAR2 | 20 | | | | √ | | 运输方式 |
39 | CTRANTYPEID | VARCHAR2 | 20 | | | | √ | | 订单类型 |
40 | DBILLDATE | CHAR | 19 | | | | √ | | 单据日期 |
41 | DMAKEDATE | CHAR | 19 | | | | √ | | 制单日期 |
42 | DR | NUMBER | 10 | 0 | | | √ | 0 | |
43 | FPFSTATUSFLAG | NUMBER | 38 | 0 | | | √ | | 审批流状态 |
44 | FSTATUSFLAG | NUMBER | 38 | 0 | | | √ | | 单据状态 |
45 | IPRINTCOUNT | NUMBER | 38 | 0 | | | √ | | 打印次数 |
46 | IVERSION | NUMBER | 38 | 0 | | | √ | | 修订版本号 |
47 | MODIFIEDTIME | CHAR | 19 | | | | √ | | 修改时间 |
48 | MODIFIER | VARCHAR2 | 20 | | | | √ | | 修改人 |
49 | NDISCOUNTRATE | NUMBER | 28 | 8 | | | √ | | 整单折扣 |
50 | NLRGTOTALORIGMNY | NUMBER | 28 | 8 | | | √ | | 赠品价税合计 |
51 | NPRECEIVEMNY | NUMBER | 28 | 8 | | | √ | | 实际预收款金额 |
52 | NPRECEIVEQUOTA | NUMBER | 28 | 8 | | | √ | | 订单收款限额 |
53 | NPRECEIVERATE | NUMBER | 28 | 8 | | | √ | | 订单收款比例 |
54 | NRECEIVEDMNY | NUMBER | 28 | 8 | | | √ | | 实际收款金额 |
55 | NTOTALNUM | NUMBER | 28 | 8 | | | √ | | 总数量 |
56 | NTOTALORIGMNY | NUMBER | 28 | 8 | | | √ | | 价税合计 |
57 | NTOTALORIGSUBMNY | NUMBER | 28 | 8 | | | √ | | 费用冲抵金额 |
58 | NTOTALPIECE | NUMBER | 28 | 8 | | | √ | | 总件数 |
59 | NTOTALVOLUME | NUMBER | 28 | 8 | | | √ | | 合计体积 |
60 | NTOTALWEIGHT | NUMBER | 28 | 8 | | | √ | | 合计重量 |
61 | PK_GROUP | VARCHAR2 | 20 | | | | √ | | 集团 |
62 | PK_ORG | VARCHAR2 | 20 | | | | √ | | 销售组织 |
63 | PK_ORG_V | VARCHAR2 | 20 | | | | √ | | 销售组织版本 |
64 | TAUDITTIME | VARCHAR2 | 19 | | | | √ | | 审核日期 |
65 | TREVISETIME | CHAR | 19 | | | | √ | | 修订时间 |
66 | TS | CHAR | 19 | | | | √ | to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') | |
67 | VBILLCODE | VARCHAR2 | 40 | | | | √ | | 单据号 |
68 | VBILLSRCTYPE | VARCHAR2 | 20 | | | | √ | | 整单来源单据类型 |
69 | VCOOPPOHCODE | VARCHAR2 | 40 | | | | √ | | 对方订单号 |
70 | VCREDITNUM | VARCHAR2 | 20 | | | | √ | | 信用证号 |
71 | VDEF1 | VARCHAR2 | 101 | | | | √ | | 自定义项1 |
72 | VDEF10 | VARCHAR2 | 101 | | | | √ | | 自定义项10 |
73 | VDEF11 | VARCHAR2 | 101 | | | | √ | | 自定义项11 |
74 | VDEF12 | VARCHAR2 | 101 | | | | √ | | 自定义项12 |
75 | VDEF13 | VARCHAR2 | 101 | | | | √ | | 自定义项13 |
76 | VDEF14 | VARCHAR2 | 101 | | | | √ | | 自定义项14 |
77 | VDEF15 | VARCHAR2 | 101 | | | | √ | | 自定义项15 |
78 | VDEF16 | VARCHAR2 | 101 | | | | √ | | 自定义项16 |
79 | VDEF17 | VARCHAR2 | 101 | | | | √ | | 自定义项17 |
80 | VDEF18 | VARCHAR2 | 101 | | | | √ | | 自定义项18 |
81 | VDEF19 | VARCHAR2 | 101 | | | | √ | | 自定义项19 |
82 | VDEF2 | VARCHAR2 | 101 | | | | √ | | 自定义项2 |
83 | VDEF20 | VARCHAR2 | 101 | | | | √ | | 自定义项20 |
84 | VDEF3 | VARCHAR2 | 101 | | | | √ | | 自定义项3 |
85 | VDEF4 | VARCHAR2 | 101 | | | | √ | | 自定义项4 |
86 | VDEF5 | VARCHAR2 | 101 | | | | √ | | 自定义项5 |
87 | VDEF6 | VARCHAR2 | 101 | | | | √ | | 自定义项6 |
88 | VDEF7 | VARCHAR2 | 101 | | | | √ | | 自定义项7 |
89 | VDEF8 | VARCHAR2 | 101 | | | | √ | | 自定义项8 |
90 | VDEF9 | VARCHAR2 | 101 | | | | √ | | 自定义项9 |
91 | VHISTRANTYPECODE | VARCHAR2 | 20 | | | | √ | | 修订订单类型编码 |
92 | VNOTE | VARCHAR2 | 181 | | | | √ | | 备注 |
93 | VREVISEREASON | VARCHAR2 | 181 | | | | √ | | 修订理由 |
94 | VTRANTYPECODE | VARCHAR2 | 20 | | | | √ | | 订单类型编码 |
|