5948: FOR I IN copy_assignment_frm_temp LOOP
5949: -- bug 10065810
5950: begin
5951: SELECT CONTEXT_ORGANIZATION_ID into l_temp_org_id 5952: FROM mtl_item_templates 5953: WHERE template_id=i.template_id;
5954: end;
5955:
5956: IF (INV_SERIAL_NUMBER_PUB.is_serial_tagged(p_template_id => i.template_id