刷shipid 简便方法
Posted sharon0203
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了刷shipid 简便方法相关的知识,希望对你有一定的参考价值。
将表中的数据手动更改:
select * from cmpps025 where pino = ‘‘;
insert into cmpps025
select ncmp, pino, pono, item||‘5380Z0001CK‘, item, oqua, ‘CN‘, ‘7S3501592100001‘, ‘N‘, null, null, sysdate,null from cmpps022 where pino = ‘‘;
--时间年月日 更改shipid
select * from cmpps026;
insert into cmpps026 select ncmp, cbar, pick_qty, smal_pakid from cmpps025 where pino = ‘‘;
insert into cmpps026 select distinct ncmp, smal_pakid, ‘1‘, smal_pakid from cmpps025 where pino = ‘‘;
-- Astro Sun R2 need insert CMPPS063
select * from cmpps027;
insert into cmpps027 select ncmp, pino,smal_pakid, pono, coor, item, pick_qty, null, null, null from cmpps025 where pino = ‘‘;
select * from cmpps028;
insert into cmpps028 (ncmp, ship_id, duni, wuni)select distinct ncmp, ship_id, ‘CM‘, ‘KG‘ from cmpps027 where pino = ‘‘;
update cmpps022 set kqua = oqua, dqua = oqua where pino = ‘‘;
update cmpps021 set status = 2 where pino = ‘‘;
2:设置材积
3:
4:
Combine rule:
1.Cmpps021. STATUS =‘ 2’
2.Pack qty match (CMPPS022 OQUA=DQUA and CMPPS022.DQUA= CMPPS027. PICK_QTY)
3. Term of Delivery(cmpps071.cdec) must be same
4.Ship Way(Cmpps021.CRTE) ,Forwarder(Cmpps021.CFRW), Customer code(Cmpps021.CUNO) must be the same
5.Ship to address must be same
6. bill to address:if ‘wtx’ then all address imformation must be same else ccty must be same
7.Maintain all Shipment Weight/Dimension
5:生成packlst:点执行
在EPS send W/H时,要勾选生成合同,中间的数据,在TMSAP013中查询。
以上是关于刷shipid 简便方法的主要内容,如果未能解决你的问题,请参考以下文章