财务-总帐-凭证输出一二末级科目 济南用友软件
发布时间:2014-12-15 22:41 文章来源:未知 被浏览次数: 次
SELECT GL_accvouch.iperiod AS [会计期间],GL_accvouch.csign AS [凭证类别字], GL_accvouch.ino_id AS [凭证编号],GL_accvouch.inid AS [行号],GL_accvouch.cdigest AS [摘要], Left(code.ccode , 4) AS [一级科目编码], code1.ccode_name AS [一级科目名称], Left(code.ccode , 6) AS [二级科目编码],code2.ccode_name AS [二级科目名称], GL_accvouch.ccode AS [科目编码],code.ccode_name AS [科目名称], GL_accvouch.md AS [借方金额],GL_accvouch.mc AS [贷方金额], GL_accvouch.cexch_name AS [币种名称],GL_accvouch.md_f AS [外币借方金额], GL_accvouch.mc_f AS [外币贷方金额],GL_accvouch.nfrat AS [汇率],GL_accvouch.nd_s AS [数量借方], GL_accvouch.nc_s AS [数量贷方],GL_accvouch.dbill_date AS [制单日期],GL_accvouch.cbill AS [制单人], GL_accvouch.ccheck AS [审核人],GL_accvouch.cbook AS [记账人],GL_accvouch.ibook AS [记账标志], GL_accvouch.cdept_id AS [部门编码],Department.cDepName AS [部门名称],GL_accvouch.ccus_id AS [客户编码], GL_accvouch.csup_id AS [供应商编码],Vendor.cVenName AS [供应商名称],GL_accvouch.ioutyear AS [外部凭证会计年度], GL_accvouch.coutsysname AS [外部凭证系统名称],GL_accvouch.ioutperiod AS [外部凭证会计期间], GL_accvouch.coutid AS [外部凭证单据号]
FROM GL_accvouch LEFT JOIN Department ON Department.cDepCode= GL_accvouch.cdept_id
Left Join Vendor on Vendor.cVenCode=GL_accvouch.csup_id,code,code as code1,code as code2 where GL_accvouch.ccode = code.ccode and code1.ccode=Left(code.ccode , 4) and code2.ccode=Left(code.ccode , 6)
最新文章
- ·仓库-生产领料考核表
- [12-15]
- ·仓库-产成品入库跟踪表 www.jina
- [12-15]
- ·财务-总帐-凭证输出一二末级科目
- [12-15]
- ·UfSystem..Ua_identity 表中常用
- [12-15]
- ·总账管理数据管理 www.jinanyony
- [12-14]
- ·应付应收管理 济南用友软件
- [12-14]
- ·存货核算管理 济南用友
- [12-14]
- ·销售管理及库存管理 济南用友
- [12-14]
- ·数据维护所用的表及采购管理
- [12-14]
- ·课后练习 济南用友软件 www.jina
- [12-12]
推荐阅读