889: EXCEPTION
890: WHEN OTHERS THEN
891: l_org_name := cr.organization_id;
892: END;
893: FND_MESSAGE.SET_NAME ('INV', 'INV_NO_OP_UNIT_FOR_ORG');
894: FND_MESSAGE.SET_TOKEN ('ORGANIZATION', l_org_name);
895: l_msg_text := FND_MESSAGE.GET;
896: err_text := 'No Operating Unit Found for the Organization';
897: dumm_status := INVPUOPI.mtl_log_interface_err(
890: WHEN OTHERS THEN
891: l_org_name := cr.organization_id;
892: END;
893: FND_MESSAGE.SET_NAME ('INV', 'INV_NO_OP_UNIT_FOR_ORG');
894: FND_MESSAGE.SET_TOKEN ('ORGANIZATION', l_org_name);
895: l_msg_text := FND_MESSAGE.GET;
896: err_text := 'No Operating Unit Found for the Organization';
897: dumm_status := INVPUOPI.mtl_log_interface_err(
898: cr.organization_id,
891: l_org_name := cr.organization_id;
892: END;
893: FND_MESSAGE.SET_NAME ('INV', 'INV_NO_OP_UNIT_FOR_ORG');
894: FND_MESSAGE.SET_TOKEN ('ORGANIZATION', l_org_name);
895: l_msg_text := FND_MESSAGE.GET;
896: err_text := 'No Operating Unit Found for the Organization';
897: dumm_status := INVPUOPI.mtl_log_interface_err(
898: cr.organization_id,
899: user_id,