1174: );
1175: else
1176: l_application_id := p_application_id;
1177: select userenv('LANG') into l_nls_language 1178: from dual; 1179: end if;
1180:
1181: -- If API call returns with an error status...
1182: if (l_return_status = FND_API.G_RET_STS_UNEXP_ERROR) or