刷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

insert into cmpps063 select ncmp, cbar, 'H4020000JM', null, null, null, null, null, null, null from cmpps025 where pino ='';

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中查询。

 

 

 

 

 

 

 

posted on 2019-02-15 12:15  Sharon0203  阅读(236)  评论(0编辑  收藏  举报

导航