500: update EAM Elemental costs */
501: if (i_citw_flag = 1) then
502: select entity_type
503: into l_entity_type 504: from wip_entities 505: where wip_entity_id = l_txn_source_id;
506:
507: if (l_entity_type in (6,7)) then
508: CST_eamCost_PUB.process_matCost (