找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
楼主: 17379467360

[技巧] 【用友U8】常用数据库表名

[复制链接]
 楼主| 发表于 2024-4-20 15:31:13 | 显示全部楼层

亲,一起努力
回复 点赞 拍砖

使用道具 举报

发表于 2024-4-22 10:15:38 | 显示全部楼层
存货档案的计量单位如何在数据库修改

点评

select a.cinvcode,f.cinvstd,f.cinvname,b.cwhname,convert(float ,a.iquantity) , g.cComUnitName as MainUnit,g.iChangRate as mainrate,h.cComUnitName as asUnit,h.iChangRate as asRate from currentstock  详情 回复 发表于 2024-4-22 11:13
回复 点赞 拍砖

使用道具 举报

 楼主| 发表于 2024-4-22 11:13:11 | 显示全部楼层
WU@先森 发表于 2024-4-22 10:15
存货档案的计量单位如何在数据库修改

select   a.cinvcode,f.cinvstd,f.cinvname,b.cwhname,convert(float ,a.iquantity)  ,
g.cComUnitName as MainUnit,g.iChangRate as mainrate,h.cComUnitName as asUnit,h.iChangRate as asRate
from currentstock as a inner join warehouse as b on a.cwhcode=b.cwhcode inner join v_inventory as f on a.cinvcode=f.cinvcode  inner join inventory_extradefine as fe on f.cinvcode=fe.cinvcode
left join (select * from  ComputationUnit where bMainUnit =1) as g on g.cComUnitCode=f.cComUnitCode and g.cGroupCode =f.cGroupCode
left join (select * from  ComputationUnit where bMainUnit =0) as h on h.cComUnitCode=f.cSTComUnitCode and h.cGroupCode =f.cGroupCode
where iQuantity>0 and a.cinvcode like '%'+'500291'+'%'





cinvcode    cinvname    cwhname    storagepos    kc    MainUnit    kcas    asUnit    cinvstd    asRate    mainrate
500291    PE膜    GE成品库    1号库    1003.5842    平米    17985.38    公斤    幅宽1500,厚度0.06-单面6丝单刨    17.921147    1.000000
500291    PE膜    辅料库    1号库    3584.40145    平米    64236.59    公斤    幅宽1500,厚度0.06-单面6丝单刨    17.921147    1.000000

回复 点赞 拍砖

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-5-5 16:15 , Processed in 0.019232 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表