K3 单据,单据体自定义字段显示及时库存
--1、解决了显示可发数量的单据,且已经审核的单据,库存数据更新后,单据上的可发数量随库存变化,现在能实现当时的可发数量和件数保存到单据中
--2、解决了负库存数据显示为0的问题
--2011.09.28 by 申宪峰
--更改显示现库存和可发件数的单据模板的取数方式
--领料单
update ictemplateentry set frelationid='fitemid',faction='.,f_104' where fid='B04' and ffieldname='FEntrySelfB0426'
update ictemplateentry set frelationid='fitemid',faction='.,f_105' where fid='B04' and ffieldname='FEntrySelfB0427'
--产成品入库
update ictemplateentry set frelationid='fitemid',faction='.,f_104' where fid='A02' and ffieldname='FEntrySelfA0225'
update ictemplateentry set frelationid='fitemid',faction='.,f_105' where fid='A02' and ffieldname='FEntrySelfA0226'
--其他入库
update ictemplateentry set frelationid='fitemid',faction='.,f_104' where fid='A97' and ffieldname='FEntrySelfA9726'
update ictemplateentry set frelationid='fitemid',faction='.,f_105' where fid='A97' and ffieldname='FEntrySelfA9727'
--其他出库
update ictemplateentry set frelationid='fitemid',faction='.,f_104' where fid='B09' and ffieldname='FEntrySelfB0924'
update ictemplateentry set frelationid='fitemid',faction='.,f_105' where fid='B09' and ffieldname='FEntrySelfB0925'
--销售订单
update ictemplateentry set frelationid='fitemid',faction='.,f_104' where fid='S01' and ffieldname='FEntrySelfS0133'
update ictemplateentry set frelationid='fitemid',faction='.,f_105' where fid='S01' and ffieldname='FEntrySelfS0134'
--发货通知单
update ictemplateentry set frelationid='fitemid',faction='.,f_104' where fid='S02' and ffieldname='FEntrySelfS0218'
update ictemplateentry set frelationid='fitemid',faction='.,f_105' where fid='S02' and ffieldname='FEntrySelfS0221'
--采购申请单
update ictemplateentry set frelationid='fitemid',faction='.,f_104' where fid='P01' and ffieldname='FEntrySelfP0118'
update ictemplateentry set frelationid='fitemid',faction='.,f_105' where fid='P01' and ffieldname='FEntrySelfP0119'
--采购订单
update ictemplateentry set frelationid='fitemid',faction='.,f_104' where fid='P02' and ffieldname='FEntrySelfP0223'
update ictemplateentry set frelationid='fitemid',faction='.,f_105' where fid='P02' and ffieldname='FEntrySelfP0226'
-采购申请单,上限,下限,到货周期
select * from ictemplateentry where fid='p01'
update ictemplateentry set frelationid='fitemid',faction='.,FLOWLIMIT' where fid='P01' and ffieldname='FEntrySelfP0116'
update ictemplateentry set frelationid='fitemid',faction='.,FHIGHLIMIT' where fid='P01' and ffieldname='FEntrySelfP0117'
update ictemplateentry set frelationid='fitemid',faction='.,FFIXLEADTIME' where fid='P01' and ffieldname='FEntrySelfP0120'
--采购订单,上限,下限,计划单价
select * from ictemplateentry where fid='p02'
update ictemplateentry set frelationid='fitemid',faction='.,FLOWLIMIT' where fid='P02' and ffieldname='FEntrySelfP0224'
update ictemplateentry set frelationid='fitemid',faction='.,FHIGHLIMIT' where fid='P02' and ffieldname='FEntrySelfP0225'
update ictemplateentry set frelationid='fitemid',faction='.,FPLANPRICE' where fid='P02' and ffieldname='FEntrySelfP0227'
--购货发票,计划单价
select * from ictemplateentry where fid='I02'
update ictemplateentry set frelationid='fitemid',faction='.,FPLANPRICE' where fid='I02' and ffieldname='FEntrySelfI0231'
转载于:https://www.cnblogs.com/youzhangcai1/p/10685326.html
K3 单据,单据体自定义字段显示及时库存相关推荐
- php 自定义字段erp,ERP自定义单据界面、自定义字段
自定义功能模块 泛普软件ERP有几十个成熟的子系统,除了系统默认的组合外,客户可以根据信息化需求阶段,自己设定功能模组及菜单.自定义模块.自定义功能组的功能可以任意拆分组合子系统,通过根据企业实际情况 ...
- php json传输被过滤,php-the_content过滤器,用于将自定义字段添加到JSON响应
我对这个用于显示JSON API中的自定义字段的the_content过滤器感到绝望. 我正在使用此插件http://wordpress.org/plugins/json-rest-api/从自定义帖 ...
- 【金蝶K3/KIS】简单操作让单据上引用基础资料信息的自定义字段可以修改并保存
金蝶ERP的实施人员在实施过程中最常见的一个操作就是给单据添加自定义字段 其中有一种自定义字段是引用系统基础资料上的信息的,比如下图,新增一个字段TEST,引用物料上安全库存的数值 但是有时候就会有这 ...
- 金蝶KIS,从旧账套拷贝供应链单据的自定义字段到全新帐套
K3系列请直接忽略,有官方的直接拷贝工具,详情见k3help.kingdee.com 一般来说自定义字段过多又需要每年重新开账的,建议将恢复一个旧账套然后将数据清除重新录单就行了,或者备份一个初始帐套 ...
- U9单据打印模板自定义扩展字段显示名称
UBF打印模板中,单据自定义扩展字段显示均为扩展字段值集值编码,而在实际运用过程中打印时需要显示扩展字段名称,具体实现方法如下 方式一:采用SQL系统定义函数[dbo].[fn_GetSegName] ...
- 金蝶K3对特定单据表体数据进行列锁定
作用:系统数据库默认设置对字段进行锁定,限制用户输入(前台表现为灰色),效果见下图: 利弊:好处是锁定彻底,所有用户均有效:缺点是对特殊需要更改的订单无法实现手动更改. 实现方式:以锁定采购订单的采购 ...
- EAS BOS 单据打开新增界面设置字段默认值
EAS BOS 单据打开新增界面设置字段默认值 1.通常情况下,新增一张单据的时候,表体的一些字段值是需要自动带出来. 2.例如上图圈中的部分,业务日期.单据状态.公司.创建者.创建时间:以及默认添加 ...
- php sku添加,php – 在单个产品页面中显示SKU下的自定义字段值
我正在定制WooCommerce,我想在产品页面中添加和显示自定义文本(条件和品牌). 该头寸位于"库存"或"SKU"元下.我已设法创建并保存自定义字段,但如何 ...
- SAP LSMW Standard Batch (Direct) Input 方式制作的LSMW工具导入OPEN PO 单据时候’税码’字段的处理
SAP LSMW Standard Batch (Direct) Input 方式制作的LSMW工具导入OPEN PO 单据时候'税码'字段的处理 如下的Open PO 批量导入LSMW工具, 方式是 ...
最新文章
- Java 读写Properties配置文件
- uva-10152-乌龟排序
- 关于cast类型转换后无法使用索引的优化
- Postman里如何把某个HTTP的请求和响应作为example保存
- spring-boot基础概念与简单应用
- c++——reverse()函数的使用
- web安全之CSRF
- 20.校准相机——介绍,使用已知点进行校正,直接线性校准均匀性第1部分,直接线性校准均匀性第2部分_1
- 亚马逊遭遇15万人联名抗议:AI刷脸可以,但卖给政府不OK
- 蓝桥杯 ADV-84 算法提高 图形输出
- eclipse打不开,报错 java was started with exit code=13
- 初识TensorFlow
- 拓扑排序:LC 207. 课程表 210. 课程表 II
- easyui快速入门
- 小米wifi驱动 linux驱动,小米wifi驱动程序
- linux 生成p12证书,Linux下使用openssl制作CA及证书颁发
- PWM整流器仿真。 在simulink中搭建了PWM整流器,采用电压电流双闭环控制,实现了网侧电压与电流同相位,单位功率因数运行
- linux 下ssd训练自己的数据
- linux卸载小企鹅输入法,linux下小企鹅输入法的安装
- BUUCTF:[XMAN2018排位赛]file