EBS:物料失效 检查

EBS  物料失效时,提示: 存在现有量,或者此物料未完成的交货事务处理。请先处理这些交货事务处理,然后更改此属性。 

解决方式:检查以下几个表是是否存在记录,如果存在请完成相关事务后, 再失效物料。 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
select *
  from mtl_onhand_quantities_detail
where inventory_item_id = 188036
and organization_id = 101;
 
select *
  from mtl_material_transactions_temp
where inventory_item_id = &item_id
and organization_id = &org_id;
 
select *
  from mtl_supply ms
where item_id = &item_id
AND  (from_organization_id = &org_id OR to_organization_id = &org_id);
 
select *
  from mtl_demand
where inventory_item_id = &item_id
and organization_id = &org_id;
 
select *
  from mtl_txn_request_lines
where inventory_item_id = &item_id
   and organization_id = &org_id
   and line_status = 7;

  

posted @   samrv  阅读(112)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示