摘要: 最简单的办法,调用用友的类 import nc.jdbc.framework.generator.SequenceGenerator; IdGenerator idGenerator = new SequenceGenerator(); System.out.println(idGenerator. 阅读全文
posted @ 2023-12-26 10:19 Kwoky 阅读(195) 评论(0) 推荐(0)
摘要: 单据模板公式使用 (一) 公式使用场景 用户使用产品时,往往对单据上的字段取值有各种不同的需求。为此单据模板提供 了模板公式功能,可以让实施顾问或者用户通过配置各种公式,并且不用修改代码,从 而满足用户的各种个性化需求。 (二) 单据模板三种公式 1、编辑公式 可实现单据编辑中字段自动带值的功能。只 阅读全文
posted @ 2023-12-26 10:18 Kwoky 阅读(1039) 评论(0) 推荐(0)
摘要: private static void setToken() { IPriviledgedGenerator tokenGenerator = (IPriviledgedGenerator) BusinessAppServer.getInstance().getContext().lookup("p 阅读全文
posted @ 2023-12-26 10:13 Kwoky 阅读(164) 评论(0) 推荐(0)
摘要: 公式相关 1.显示公式没执行 列表界面显示,卡片界面不显示: Handler的onBoCard执行: getBillCardPanel().execHeadLoadFormulas(); Controller的isLoadCardFormula返回true 另外,字段录入长度不够时,列表显示,卡片不 阅读全文
posted @ 2023-12-26 10:06 Kwoky 阅读(2757) 评论(1) 推荐(0)
摘要: /bin/bash war包名称 war_name="tchg.war" 要上传war包指定目录 war_dir="/usr/local/src/tchg" 工程地址 code_dir="/Lims/tchg/apache-tomcat-9.0.48/webapps/tchg" tomcat地址 t 阅读全文
posted @ 2023-12-26 09:44 Kwoky 阅读(35) 评论(0) 推荐(0)
摘要: Windows 系统下 Odoo 环境搭建流程 ① 安装python2.7 安装完成后 在命令行(cmd)输入python 如果不出现内部错误提示则表示环境配置成功 当出现错误时要设置环境变量 设置方法:计算机-属性-高级系统设置-环境变量-path-编辑(注意添加变量时一定要在该变量的最末尾加上; 阅读全文
posted @ 2017-02-21 17:50 Kwoky 阅读(126) 评论(0) 推荐(0)