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 671: if FND_API.To_Boolean(p_commit) then

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

Line 687: x_return_status := FND_API.g_ret_sts_error;

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

Line 697: x_return_status := FND_API.g_ret_sts_error;

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

Line 707: x_return_status := FND_API.g_ret_sts_error;

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

Line 716: x_return_status := FND_API.g_ret_sts_error;

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