今天遇到了一笔做inrer-org Transfer 接收报错的问题,报错细节大体为category的问题:
分析如下:
当组织间转移的这笔transaction 完成后,其定义的category的弹性栏位发生了变化,原来的category结构中有一个段在value set中失效掉了:
源组织和目标组织的对于此item所分配的category都替换成了新的
但是在待接收信息中,category仍然是原来的
方案如下:
1, 后台改掉原来的category
select category_id
from apps.rcv_shipment_lines
where shipment_header_id =
(select shipment_header_id
from apps, rcv_shipment_headers
where shipment_number = '&ship_num')
2. 重新启用目标组织的旧category 失效的那段