1251: END IF;
1252: -- check what is the analysis level
1253: IF p_analysis_level in ('P')
1254: THEN
1255: OE_Credit_Exposure_PUB.Get_customer_exposure
1256: ( p_party_id => p_party_id,
1257: p_customer_id => NULL,
1258: p_site_id => NULL,
1259: p_limit_curr_code => p_limit_currency_code,
1265: x_external_amount => l_external_amount,
1266: x_return_status => l_return_status);
1267: ELSIF p_analysis_level in ('A')
1268: THEN
1269: OE_Credit_Exposure_PUB.Get_customer_exposure
1270: ( p_party_id => p_party_id,
1271: p_customer_id => p_cust_account_id,
1272: p_site_id => NULL,
1273: p_limit_curr_code => p_limit_currency_code,
1280: x_return_status => l_return_status);
1281:
1282: ELSIF p_analysis_level = 'S'
1283: THEN
1284: OE_Credit_Exposure_PUB.Get_customer_exposure
1285: ( p_party_id => p_party_id,
1286: p_customer_id => p_cust_account_id,
1287: p_site_id => p_site_use_id,
1288: p_limit_curr_code => p_limit_currency_code,