Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1796026
  • 博文数量: 334
  • 博客积分: 11301
  • 博客等级: 上将
  • 技术积分: 3452
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-18 10:19
个人简介

路虽弥,不行不至;事虽少,不做不成。

文章分类

全部博文(334)

文章存档

2013年(4)

2012年(19)

2011年(27)

2010年(71)

2009年(45)

2008年(15)

2007年(84)

2006年(69)

分类: Oracle

2009-09-14 16:18:49

RTP报错信息: RVTPT-020: Subroutine rvtoe_RmaPushApi() - EDelivered quantity cannot exceed received quantity. returned error
 
原因:部分接收时,系统没有自动split这个RMA订单行;
 
现假设RMA订单行数量为10个,先前已成功接收5个,现再接收余下5个时报上面的错误.
 
解决方法(假设RMA行的id为1234567):
 
 BEGIN
  dbms_application_info.set_client_info(123);--假定OU为123
  oe_rma_receiving.push_receiving_info(p_rma_line_id             => 1234567
                                      ,p_quantity                => 5    --之前成功接收的5个要进行split;
                                      ,p_parent_transaction_type => NULL
                                      ,p_transaction_type        => 'RECEIVE'
                                      ,p_mismatch_flag           => NULL
                                      ,x_return_status           => x_return_status
                                      ,x_msg_count               => x_msg_count
                                      ,x_msg_data                => x_msg_data
                                      ,p_quantity2               => NULL
                                      ,p_r2cust_parent_trn_type  => NULL);
  oe_order_wf_util.update_flow_status_code(p_line_id          => 1234567
                                          ,p_flow_status_code => 'RETURNED'
                                          ,x_return_status    => x_return_status);
END;
 
阅读(3527) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~