批发客户绑定会员卡,在批发类报表中需要查看本单积分!!
      
      
      
在批发销售报表中增加【积分】数据列
      - 提问者: 张岗
 - 等级:普通会员
 - 时间:2017-06-26 16:46
 - 悬赏:0
 - 解决时间:2017-07-06 16:46
 
回答  共 1 条
你好 可在批发销售报表中->批发单据中新增 计算列.
计算列函数为
db_data3(~"select isnull(pf_integral,0)pf_integral from t_pf_out_master where sheet_no=? union select isnull(pf_integral,0)pf_integral from t_pf_return_master where sheet_no=?~",sheet_no,sheet_no)
计算列函数为
db_data3(~"select isnull(pf_integral,0)pf_integral from t_pf_out_master where sheet_no=? union select isnull(pf_integral,0)pf_integral from t_pf_return_master where sheet_no=?~",sheet_no,sheet_no)
- 回答者:ytkf007
 - 等级:问不倒翁
 - 时间:2017-06-27 10:45
 
快到期问题
    
20062 
4708