在单据中取商品的有效期,
1.取有效期数值,并去除小数,
string( item_valid_day,"0" )
2.取有效期单位,如(年,月,日,季)
db_data2(~"select b.code_name from t_item_info a,t_sys_code b where a.item_date_unit=b.code_no and b.code_type=64 and item_no=?~",item_no)
【官方】在单的据中取商品的有效期
- 提问者: 赢通华中区
- 等级:钻石会员
- 时间:2012-01-04 09:56
- 悬赏:0
- 解决时间:2012-01-04 12:20
快到期问题