273:
274: Begin
275: select entity_type
276: into l_entity_type
277: from wip_entities
278: where wip_entity_id = mo_line.txn_source_id
279: and organization_id = mo_line.organization_id;
280: Exception
281: when others then