1.业务需求:
时常有用户要求修改部分物料属性,下面列子是一部分物料因为采购页签-->允许更新说明没有打勾 导致通过MRP平台下达PR时,卡在接口表中。
2.具体操作方式:
A.往接口表插入数据
INSERT INTO mtl_system_items_interface (organization_id,
process_flag,
transaction_type,
set_process_id,
segment1,
allow_item_desc_update_flag)
select DISTINCT msi.organization_id,
1,
'UPDATE',
1,
msi.segment1,
'Y'
from PO_REQUISITIONS_INTERFACE_ALL a,
mtl_system_items_b msi
where a.interface_source_code='MRP'
and msi.organization_id=84
and a.item_id=msi.inventory_item_id
B.提交接口程序:
NG:INV -->Items-->Import--Import Items,
参数对应值为:
All organizations:No
Validate Items:Yes
Process Items: Yes
Delete Processed Rows:No
Create or Update Items:2
时常有用户要求修改部分物料属性,下面列子是一部分物料因为采购页签-->允许更新说明没有打勾 导致通过MRP平台下达PR时,卡在接口表中。
2.具体操作方式:
A.往接口表插入数据
INSERT INTO mtl_system_items_interface (organization_id,
process_flag,
transaction_type,
set_process_id,
segment1,
allow_item_desc_update_flag)
select DISTINCT msi.organization_id,
1,
'UPDATE',
1,
msi.segment1,
'Y'
from PO_REQUISITIONS_INTERFACE_ALL a,
mtl_system_items_b msi
where a.interface_source_code='MRP'
and msi.organization_id=84
and a.item_id=msi.inventory_item_id
B.提交接口程序:
NG:INV -->Items-->Import--Import Items,
参数对应值为:
All organizations:No
Validate Items:Yes
Process Items: Yes
Delete Processed Rows:No
Create or Update Items:2
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/41594/viewspace-617219/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/41594/viewspace-617219/