[Home] [Help]
258:
259: BEGIN
260: IF l_organizations_rec.COUNT > 0 THEN
261: FOR I IN l_organizations_rec.FIRST .. l_organizations_rec.LAST LOOP
262: INV_ITEM_EVENTS_PVT.Raise_Events(
263: p_event_name => 'EGO_WF_WRAPPER_PVT.G_ITEM_CAT_ASSIGN_EVENT'
264: ,p_dml_type => 'CREATE'
265: ,p_inventory_item_id => current_inv_item_id
266: ,p_organization_id => l_organizations_rec(i)
323:
324: BEGIN
325: IF l_organizations_rec.COUNT > 0 THEN
326: FOR I IN l_organizations_rec.FIRST .. l_organizations_rec.LAST LOOP
327: INV_ITEM_EVENTS_PVT.Raise_Events(
328: p_event_name => 'EGO_WF_WRAPPER_PVT.G_ITEM_CAT_ASSIGN_EVENT'
329: ,p_dml_type => 'UPDATE'
330: ,p_inventory_item_id => current_inv_item_id
331: ,p_organization_id => l_organizations_rec(i)
545: BEGIN
546: IF l_organizations_rec.COUNT > 0 THEN
547: FOR I IN l_organizations_rec.FIRST .. l_organizations_rec.LAST LOOP
548: IF current_master_org_id <> l_organizations_rec(i) THEN
549: INV_ITEM_EVENTS_PVT.Raise_Events(
550: p_event_name => 'EGO_WF_WRAPPER_PVT.G_ITEM_CAT_ASSIGN_EVENT'
551: ,p_dml_type => 'DELETE'
552: ,p_inventory_item_id => current_inv_item_id
553: ,p_organization_id => l_organizations_rec(i)