
A5批发版的销售单,打印格式如何调用结算时的付款方式呢?

- 提问者: bonchen
- 等级:问不倒翁
- 时间:2012-04-21 21:51
- 悬赏:0
- 解决时间:2012-04-23 22:33
最佳答案
计算列内容如下:
支付方式:db_data2(~"select (select d.payment_name from t_data_payment d where d.payment_no=a.pay_way) from t_cust_accout_master a,t_cust_accout_detail b where a.sheet_no=b.sheet_no and b.voucher_no=?~", sheet_no )
支付的金额:string(real(db_data2(~"select a.total_amt from t_cust_accout_master a,t_cust_accout_detail b where a.sheet_no=b.sheet_no and b.voucher_no=?~",sheet_no)),~"0.00~")
支付方式:db_data2(~"select (select d.payment_name from t_data_payment d where d.payment_no=a.pay_way) from t_cust_accout_master a,t_cust_accout_detail b where a.sheet_no=b.sheet_no and b.voucher_no=?~", sheet_no )
支付的金额:string(real(db_data2(~"select a.total_amt from t_cust_accout_master a,t_cust_accout_detail b where a.sheet_no=b.sheet_no and b.voucher_no=?~",sheet_no)),~"0.00~")
- 回答者:ytkf007
- 等级:问不倒翁
- 时间:2012-04-23 14:57
- 提问者对最佳回答的评论:
- 谢谢您的帮助!支付方式已经能够显示了!
不过好像“支付的金额”显示都是为0呢!
对最佳答案的评论 共 1 条
你重新试下,我这是没有问题的,经过测试后,才放上面的。
- 评论者:ytkf007
其它回答 共 6 条
这个要写一个计算列,先记一下。
- 回答者:李祥
- 等级:问不倒翁
- 时间:2012-04-21 22:36
楼上的对
- 回答者:JCLH
- 等级:问不倒翁
- 时间:2012-04-21 22:45
顶一楼。
- 回答者:zhaoshuai888
- 等级:问不倒翁
- 时间:2012-04-22 12:31
用计算列,但是不知道怎么做
- 回答者:kh359
- 等级:问不倒翁
- 时间:2012-04-22 16:42
顶一楼
- 回答者:55774883
- 等级:钻石会员
- 时间:2012-04-22 20:02
学习一楼
- 回答者:wangze2005
- 等级:问不倒翁
- 时间:2012-04-22 21:14
快到期问题