DBA Data[Home] [Help]

APPS.OKS_RENEW_CONTRACT_PVT dependencies on OKS_REPRICE_PVT

Line 894: Calls OKS_REPRICE_PVT.Call_Pricing_API to reprice the contract

890:
891: /*
892: Internal procedure for repricing a contract based on the renewal rules specified.
893: Updates okc_k_lines_b.price_list_id for 'LST' pricing method
894: Calls OKS_REPRICE_PVT.Call_Pricing_API to reprice the contract
895: Parameters
896: p_chr_id : id of the contract that need to be repriced
897: p_price_method : Pricing method, 'MAN', 'LST' or 'PCT'
898: p_price_list_id : Price List Id for 'LST'/'PCT' pricing methods

Line 917: l_reprice_rec OKS_REPRICE_PVT.reprice_rec_type;

913: IS
914: l_api_name CONSTANT VARCHAR2(30) := 'REPRICE_CONTRACT';
915: l_mod_name VARCHAR2(256) := lower(G_OKS_APP_NAME) || '.plsql.' || G_PKG_NAME || '.' || l_api_name;
916: l_error_text VARCHAR2(512);
917: l_reprice_rec OKS_REPRICE_PVT.reprice_rec_type;
918:
919: CURSOR c_top_lines(cp_chr_id IN NUMBER) IS
920: SELECT c.cle_id, sum(nvl(c.price_negotiated,0)), sum(nvl(s.tax_amount,0))
921: FROM okc_k_lines_b c, oks_k_lines_b s

Line 965: FND_LOG.string(FND_LOG.level_statement, l_mod_name || '.call_pricing_api', 'calling OKS_REPRICE_PVT.call_pricing_api p_reprice_rec.contract_id=' || l_reprice_rec.contract_id ||' ,.price_type='||l_reprice_rec.price_type||

961: END IF;
962:
963:
964: IF (FND_LOG.level_statement >= FND_LOG.g_current_runtime_level) THEN
965: FND_LOG.string(FND_LOG.level_statement, l_mod_name || '.call_pricing_api', 'calling OKS_REPRICE_PVT.call_pricing_api p_reprice_rec.contract_id=' || l_reprice_rec.contract_id ||' ,.price_type='||l_reprice_rec.price_type||
966: ' ,.price_list_id='||l_reprice_rec.price_list_id||' ,.markup_percent='||l_reprice_rec.markup_percent);
967: END IF;
968:
969: OKS_REPRICE_PVT.call_pricing_api(

Line 969: OKS_REPRICE_PVT.call_pricing_api(

965: FND_LOG.string(FND_LOG.level_statement, l_mod_name || '.call_pricing_api', 'calling OKS_REPRICE_PVT.call_pricing_api p_reprice_rec.contract_id=' || l_reprice_rec.contract_id ||' ,.price_type='||l_reprice_rec.price_type||
966: ' ,.price_list_id='||l_reprice_rec.price_list_id||' ,.markup_percent='||l_reprice_rec.markup_percent);
967: END IF;
968:
969: OKS_REPRICE_PVT.call_pricing_api(
970: p_api_version => 1,
971: p_init_msg_list => FND_API.G_FALSE,
972: p_reprice_rec => l_reprice_rec,
973: x_return_status => x_return_status,

Line 978: FND_LOG.string(FND_LOG.level_statement, l_mod_name || '.call_pricing_api', 'after call to OKS_REPRICE_PVT.call_pricing_api x_return_status=' || x_return_status);

974: x_msg_count => x_msg_count,
975: x_msg_data => x_msg_data);
976:
977: IF (FND_LOG.level_statement >= FND_LOG.g_current_runtime_level) THEN
978: FND_LOG.string(FND_LOG.level_statement, l_mod_name || '.call_pricing_api', 'after call to OKS_REPRICE_PVT.call_pricing_api x_return_status=' || x_return_status);
979: END IF;
980:
981: IF x_return_status = FND_API.g_ret_sts_unexp_error THEN
982: RAISE FND_API.g_exc_unexpected_error;