2023年12月13日发(作者:)

1、11.5.10.2接收入库时出现以下错误:

+------------------------------------------------------------------------------------------------------------------+

RVTTH-&ERR_NUMBER:子例行程序 process_transaction() 返回的错误

原因:子例行程序 process_transaction() 返回时出现内部错误。

措施:请记录此错误编号以及您尝试进行的活动。 请与系统管理

并发程序 RVCTP 返回错误

原因:RVCTP 遇到内部错误。参数:RVCTP,IMMEDIATE,45163,

措施:请记录此错误编号以及您尝试进行的活动。请与系统管理员联系以寻求帮助。

RVTBM-&ERR_NUMBER:子例行程序 rvtbm_immediate_mngr() 返回的错误

原因:子例行程序 rvtbm_immediate_mngr() 返回时出现内部错误。

措施:请记录此错误编号以及您尝试进行的活动。 请与系统管

RVTBM-&ERR_NUMBER:子例行程序 rvtptcontrol() 返回的错误

原因:子例行程序 rvtptcontrol() 返回时出现内部错误。

措施:请记录此错误编号以及您尝试进行的活动。 请与系统管理员联系以

在试图启动立即并发程序 RVCTP 时,并发管理器出现错误。例行程序 &ROUTINE 接收到返回代码失败的信息。

请与您的支持代表联系。

+----------------------------------------------------------------------------------------------------------------+

针对以上问题,运行了以下SQL:

(1)

select *

from _shipment_headers rsh

where T_NUM='20226' --接收单号

(2)

select *

from _transactions rt

where NT_HEADER_ID =35813--

(3)

select *

from _txn_request_lines mtr

where txn_source_id=144074--rt的transaction_id

(4)

select *

from _txn_request_lines mtr

where reference_id=4106

and reference ='PO_LINE_LOCATION_ID' 发现对应检验的transaction_id在表mtl_txn_request_lines mtr中查询不到记录,即(3)的sql没有对应接收事务处理相应数据。(4)也不存在记录,现在此接收的状态是:不能做退货、不能做入库。

2、错误debug信息

RVTPT:040 Error in lot/serial or rvtptdoactions or lpn_validation. Rollback to savepoint

3、Metalink说法:

Note:301524.1

To implement the solution, please execute the following steps:

** The solution assumes the item is active and you are attempting a deliver, correction or return.

(1). Download and apply Patch 4369686 on a test instance which will provide the datafix script,

.

(2). Verify the following file version:

115.10.115100.3

You can use a command like the following:

grep '$Header' $INV_TOP/patch/115/sql/

(3). If you apply the patch, it should automatically run .

However, if you already had this version installed, you will have to manually run the SQL.

4、引发原因分析(11.5.10.2):

(1)物料状态为inactive状态时,无论做接收、检验,在表mtl_txn_request_lines中都无法找到对应的记录;由此推断做此采购接收时,物料状态为inactive状态,并对此接收做了检验;

(2)当对该接收做入库时,因物料属性库存页可储存选项为否,报:“此物料未在目标组织中启

用库存”,入库不成功;此时再把物料状态更改为active(All functions enabled)时,接收事务处理处理器报错;

(3)重现此接收的状态是:不能做退货、不能做入库。

5、解决方法:

(1)把物料状态更改为active;

(2)运行SQL Plus,连接,运行@$INV_TOP/patch/115/sql/、输入参数值接收号;

(3)select * from _txn_request_lines mtr

where txn_source_id=144074--检验事务处理rt的transaction_id

已生成记录;

(4)对接收做入库,成功。