35 lines
1021 B
MySQL
35 lines
1021 B
MySQL
|
select
|
||
|
bill_code -- 报销单号
|
||
|
,bill_status -- 审核状态
|
||
|
,ct_code -- 合同付款单号
|
||
|
,budget_code -- 预算编号
|
||
|
,credence_code -- 凭证号
|
||
|
,plan_code -- 方案号
|
||
|
,bill_date -- 报销时间
|
||
|
,stat_year -- 年
|
||
|
,stat_month -- 月
|
||
|
,deal_code -- 经销商编码
|
||
|
,deal_name -- 经销商名称
|
||
|
,src_deal_code -- 子经销商编码
|
||
|
,src_deal_name -- 子经销商名称
|
||
|
,city_unit_code -- 城市单元编码
|
||
|
,city_unit_name -- 城市单元名称
|
||
|
,office_code -- 办事处编码
|
||
|
,office_name -- 办事处
|
||
|
,region_code -- 大区编码
|
||
|
,region_name -- 大区
|
||
|
,bu_name -- 事业部
|
||
|
,prodline_name -- 产品线
|
||
|
,fist_item -- 一级项目
|
||
|
,cost_source -- 费用来源
|
||
|
,cost_item -- 费用项目
|
||
|
,activity_type -- 活动类型
|
||
|
,pay_way -- 支付方式
|
||
|
,pay_way_class -- 支付方式类别
|
||
|
,is_valid
|
||
|
,audit_name -- 终审人
|
||
|
-- 单据状态
|
||
|
,amt_fill -- 填报金额
|
||
|
,amt_approval -- 审批金额
|
||
|
from dm.v_ag_str_sale_use_budget
|