511: update EAM Elemental costs */
512: if (i_citw_flag = 1) then
513: select entity_type
514: into l_entity_type 515: from wip_entities 516: where wip_entity_id = l_txn_source_id;
517:
518: if (l_entity_type in (6,7)) then
519: CST_eamCost_PUB.process_matCost (