码迷,mamicode.com
首页 > 其他好文 > 详细

刷shipid 简便方法

时间:2019-02-15 13:29:08      阅读:346      评论:0      收藏:0      [点我收藏+]

标签:where   nbsp   eps   sel   image   for   ati   upd   查询   

将表中的数据手动更改:

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

 

 

 

 

 

 

 

刷shipid 简便方法

标签:where   nbsp   eps   sel   image   for   ati   upd   查询   

原文地址:https://www.cnblogs.com/sharon0203/p/10382989.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!