日期:2014-05-17 浏览次数:21007 次
SELECT EXTERNORDERKEY,ORDERLINENUMBER,STORERKEY,SKU,SHIPPEDQTY,UOM,PACKKEY FROM 仓库名.ORDERDETAIL
WHERE ORDERKEY =订单号
select keycount from 仓库名.ncounter where keyname ='RECEIPT'得到keycount值
Insert into "+warehouse+".ReceiptDetail(keycount,EXTERNORDERKEY,ORDERLINENUMBER,STORERKEY,SKU,SHIPPEDQTY,UOM,PACKKEY )values()