DBA Data[Home] [Help]

APPS.CST_TPRICE_PVT dependencies on FND_API

Line 111: if NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) then

107: SAVEPOINT Adjust_Acct_PVT;
108:
109: -- Standard call to check for call compatibility
110: l_stmt_num := 10;
111: if NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) then
112: raise FND_API.g_exc_unexpected_error;
113: end if;
114:
115: -- Initialize message list if p_init_msg_list is set to TRUE

Line 112: raise FND_API.g_exc_unexpected_error;

108:
109: -- Standard call to check for call compatibility
110: l_stmt_num := 10;
111: if NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) then
112: raise FND_API.g_exc_unexpected_error;
113: end if;
114:
115: -- Initialize message list if p_init_msg_list is set to TRUE
116: l_stmt_num := 20;

Line 117: if FND_API.to_Boolean(p_init_msg_list) then

113: end if;
114:
115: -- Initialize message list if p_init_msg_list is set to TRUE
116: l_stmt_num := 20;
117: if FND_API.to_Boolean(p_init_msg_list) then
118: FND_MSG_PUB.initialize;
119: end if;
120:
121: -- Initialize API return status and local variables

Line 123: x_return_status := FND_API.g_ret_sts_success;

119: end if;
120:
121: -- Initialize API return status and local variables
122: l_stmt_num := 30;
123: x_return_status := FND_API.g_ret_sts_success;
124: l_err_num := 0;
125: l_err_code := '';
126: l_err_msg := '';
127:

Line 382: l_concat_desc, l_msg_count, l_msg_data) <> FND_API.g_ret_sts_success) then

378: then
379: mo_global.set_policy_context('S',l_from_ou);
380:
381: if (OE_FLEX_COGS_PUB.start_process(1.0, l_line_id, l_om_ccid, l_concat_seg, l_concat_id,
382: l_concat_desc, l_msg_count, l_msg_data) <> FND_API.g_ret_sts_success) then
383: l_stmt_num := 160;
384:
385: SELECT nvl(MSI.cost_of_sales_account, MP.cost_of_sales_account)
386: INTO l_om_ccid

Line 668: if FND_API.To_Boolean(p_commit) then

664:
665: end if;
666:
667: -- Standard check of p_commit
668: if FND_API.To_Boolean(p_commit) then
669: COMMIT WORK;
670: end if;
671:
672: -- Standard call to get message count and message info

Line 684: x_return_status := FND_API.g_ret_sts_error;

680: EXCEPTION
681:
682: when inv_exp_acct_err then
683: rollback to Adjust_Acct_PVT;
684: x_return_status := FND_API.g_ret_sts_error;
685: x_error_num := 9999;
686: x_error_code := 'CST_TPRICE_INV_ACCT_ERROR';
687: FND_MESSAGE.set_name('BOM', 'CST_TPRICE_INV_ACCT_ERROR');
688: x_error_message := FND_MESSAGE.Get;

Line 694: x_return_status := FND_API.g_ret_sts_error;

690: p_data => x_msg_data);
691:
692: when prf_inv_acct_err then
693: rollback to Adjust_Acct_PVT;
694: x_return_status := FND_API.g_ret_sts_error;
695: x_error_num := 9999;
696: x_error_code := 'CST_NO_PROFIT_INV_ACCT';
697: FND_MESSAGE.set_name('BOM', 'CST_NO_PROFIT_INV_ACCT');
698: x_error_message := FND_MESSAGE.Get;

Line 704: x_return_status := FND_API.g_ret_sts_error;

700: p_data => x_msg_data);
701:
702: when process_error then
703: rollback to Adjust_Acct_PVT;
704: x_return_status := FND_API.g_ret_sts_error;
705: x_error_num := l_err_num;
706: x_error_code := l_err_code;
707: x_error_message := l_err_msg;
708: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,

Line 713: x_return_status := FND_API.g_ret_sts_error;

709: p_data => x_msg_data);
710:
711: when others then
712: rollback to Adjust_Acct_PVT;
713: x_return_status := FND_API.g_ret_sts_error;
714: x_error_num := SQLCODE;
715: x_error_message := 'CST_TPRICE.adjust_acct(' || to_char(l_stmt_num) || ') ' ||
716: substr(SQLERRM,1,180);
717: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,