ORACLE ERP通过接口表禁用一道工序
INSERT INTO BOM_OP_SEQUENCES_INTERFACEITPUB个人空间 HG]K8`m!PA
(ITPUB个人空间2u[q(H!q
ASSEMBLY_ITEM_NUMBER,operation_sequence_id,EFFECTIVITY_DATE,disable_date,PROCESS_FLAG,ITPUB个人空间1yt%s:a^
TRANSACTION_TYPE,ORGANIZATION_IDITPUB个人空间8]{Gm2S~-qW!X@
)
select DISTINCT
w*jXRMh{0 msi.segment1,ITPUB个人空间~q
S?1sc8?
bos.operation_sequence_id,ITPUB个人空间Lg.h+Pg3|)j
bos.effectivity_date,sysdate,1,'UPDATE',组织ID
from mtl_system_items_b msi,
!tI5hB;q jg8n0 BOM_OPERATIONAL_ROUTINGS BOR,ITPUB个人空间F RQE)E?G
BOM_OPERATION_SEQUENCES_V BOS
XQ)FMSkK,{.C#_0_0where msi.organization_id=103
%G!@k2\5`~*N0 and bor.organization_id=103ITPUB个人空间*l&fna!z7N
and bor.assembly_item_id=msi.inventory_item_idITPUB个人空间&Q}v%U
Uyj
]
and bor.routing_sequence_id=bos.routing_sequence_id
e;W,fs!xq0 and bor.alternate_routing_designator is null
C]Eq\0 and msi.inventory_item_status_code='Active'
bQnS]pkp Qe0 and bos.disable_date is nullITPUB个人空间)ZX5]jqS;mxIi
and bos.standard_operation_code='标准工序'
/XF_;XJ9X)T+G#?$p0 and msi.segment1 ='项目代码'