同一存货不同颜色有不同的条形码如何实现
2016-2-2 0:0:0 wondial同一存货不同颜色有不同的条形码如何实现
同一存货不同颜色有不同的条形码如何实现
|
如果您的问题还没有解决,可以到 T+搜索>>上找一下答案
相关阅读
- 用友T3用友通系统重装后,没有账套备份,如何恢复账套2019-4-29 8:0:0
- 明细账权限设置时提示“没有操作员”?2019-4-29 8:0:0
- 用友T3用友通凭证及明细帐打印出错2019-4-23 8:0:0
- 用友T3用友通凭证删除问题2019-4-23 8:0:0
- 用友T3用友通其他出入库单据的对方科目如何设置2019-4-23 8:0:0
- 用友T3用友通其他业务成本在科目余额表中无数据,在明细账中可以查到2019-4-23 8:0:0
- 用友T3用友通关于销售模块中发货单生成发票时存在的问题或需求?2019-4-23 8:0:0
- 用友T3用友通关于销售开票如何能只开金额不开明细2019-4-23 8:0:0
- 用友T3用友通关于银行代发的表样设置2019-4-23 8:0:0
- 用友T3用友通关于采购订单的执行问题?2019-4-23 8:0:0
最新信息
U6普及版3.1重新计算每个月的年初原值、月初原值、月末原值U6普及版3.1重新计算每个月的年初原值、月初原值、月末原值
U6普及版3.1-重新计算每个月的年初原值、月初原值、月末原值
自动编号: | 19357 | 产品版本: | U6普及版3.1 |
产品模块: | 固定资产 | 所属行业: | 通用 |
适用产品: | 关 键 字: | ||
问题名称: | 重新计算每个月的年初原值、月初原值、月末原值 | ||
问题现象: | 如何利用语句重新计算每个月的年初原值、月初原值、月末原值 | ||
原因分析: | update fa_total set dblyearvalue = '年初原值' where sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = dblyearvalue where iperiod = '1' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '1' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '2' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '2' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '3' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '3' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '4' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from f | ||
解决方案: | update fa_total set dblyearvalue = '年初原值' where sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = dblyearvalue where iperiod = '1' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '1' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '2' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '2' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '3' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '3' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '4' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '4' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '5' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '5' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '6' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '6' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '7' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '7' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '8' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '8' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '9' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '9' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '10' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '10' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '11' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblmonthvalue = x.dblvalue from (select dblvalue from fa_total where iperiod = '11' and sdeptnum = '部门编码' and stypenum = '资产编码')as x where iperiod = '12' and sdeptnum = '部门编码' and stypenum = '资产编码' update fa_total set dblvalue = dblmonthvalue - dbldecvalue +dbladdvalue 温馨提示:如果您的问题还没有解决,欢迎进入用友云基地。 |