938: EXCEPTION
939: WHEN OTHERS THEN
940: l_org_name := cr.organization_id;
941: END;
942: FND_MESSAGE.SET_NAME ('INV', 'INV_NO_OP_UNIT_FOR_ORG');
943: FND_MESSAGE.SET_TOKEN ('ORGANIZATION', l_org_name);
944: l_msg_text := FND_MESSAGE.GET;
945: err_text := 'No Operating Unit Found for the Organization';
946: dumm_status := INVPUOPI.mtl_log_interface_err(
939: WHEN OTHERS THEN
940: l_org_name := cr.organization_id;
941: END;
942: FND_MESSAGE.SET_NAME ('INV', 'INV_NO_OP_UNIT_FOR_ORG');
943: FND_MESSAGE.SET_TOKEN ('ORGANIZATION', l_org_name);
944: l_msg_text := FND_MESSAGE.GET;
945: err_text := 'No Operating Unit Found for the Organization';
946: dumm_status := INVPUOPI.mtl_log_interface_err(
947: cr.organization_id,
940: l_org_name := cr.organization_id;
941: END;
942: FND_MESSAGE.SET_NAME ('INV', 'INV_NO_OP_UNIT_FOR_ORG');
943: FND_MESSAGE.SET_TOKEN ('ORGANIZATION', l_org_name);
944: l_msg_text := FND_MESSAGE.GET;
945: err_text := 'No Operating Unit Found for the Organization';
946: dumm_status := INVPUOPI.mtl_log_interface_err(
947: cr.organization_id,
948: user_id,