欢迎光临兰州百强信息技术有限公司​​,服务热线:0931-4530200   13109493788
13109493788
兰州百强信息技术有限公司
Lanzhou Baiqiang Information Technology Co., Ltd.
专业信息智能化系统解决方案服务商
当前位置:
技术文章
technical service
赢通A5、A6、I7计算列的使用方法
来源: | 作者:pmtbfbde3 | 发布时间: 2253天前 | 11188 次浏览 | 分享到:

其它出入库表取包装明细:

gf_item_qty_disp(db_data2('select item_no from t_item_info where item_subno=?',item_subno), sub_qty )

A5前台零售查询—单据支付列表—在这里添加一个营业员列:

db_data2(~"select max(sale_man) from t_pos_sale_detail where 『单据编号』 = ?~", 『单据编号』)

 

5. 显示该货号的条码列,用于多包装商品只显示基本包装的条码:
db_data2('select item_barcode from t_item_info where item_no=?',item_no)

A6服装,条码标签打印时,取商品档案中主条码(不是主码):

db_data2("select item_barcode from t_item_Info  where item_subno=?",item_subno) 

在库存查询表中,增加计算列提取商品档案的商品备注1:
db_data2(~"select item_bytxt1 from t_item_info where item_no=?~",item_no)

A5、A6在批发、入库单,增加计算列提取商品成本价:(最后0001条件是指总部仓库)

db_data3('select cost_price from t_branch_stock  where item_no=? and branch_no = ?',item_no,'0001')

IF语句和db_data函数混合使用,取批发销售单是否审核标志:

if(db_data2('select app_sign from t_pf_out_master where sheet_no =?',sheet_no)='1','审','未审')

 

6. string函数使用方法:

打印商品价签、条码标签时,零售价只显示2位小数(系统设置是3位小数,用于精确入库):
string(sale_price,'0.00')

入库单的日期取月份,要注意在表达式编辑框中选列: