DBA Data[Home] [Help]

APPS.FA_TRANSFER_PUB dependencies on FND_API

Line 13: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,

9: p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null)
10: RETURN BOOLEAN;
11:
12: PROCEDURE do_transfer(p_api_version IN NUMBER,
13: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
14: p_commit IN VARCHAR2 := FND_API.G_FALSE,
15: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
16: p_calling_fn IN VARCHAR2,
17: x_return_status OUT NOCOPY VARCHAR2,

Line 14: p_commit IN VARCHAR2 := FND_API.G_FALSE,

10: RETURN BOOLEAN;
11:
12: PROCEDURE do_transfer(p_api_version IN NUMBER,
13: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
14: p_commit IN VARCHAR2 := FND_API.G_FALSE,
15: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
16: p_calling_fn IN VARCHAR2,
17: x_return_status OUT NOCOPY VARCHAR2,
18: x_msg_count OUT NOCOPY NUMBER,

Line 15: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,

11:
12: PROCEDURE do_transfer(p_api_version IN NUMBER,
13: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
14: p_commit IN VARCHAR2 := FND_API.G_FALSE,
15: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
16: p_calling_fn IN VARCHAR2,
17: x_return_status OUT NOCOPY VARCHAR2,
18: x_msg_count OUT NOCOPY NUMBER,
19: x_msg_data OUT NOCOPY VARCHAR2,

Line 50: raise FND_API.G_EXC_ERROR;

46: if (not g_log_level_rec.initialized) then
47: if (NOT fa_util_pub.get_log_level_rec (
48: x_log_level_rec => g_log_level_rec
49: )) then
50: raise FND_API.G_EXC_ERROR;
51: end if;
52: end if;
53:
54:

Line 55: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,

51: end if;
52: end if;
53:
54:
55: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,
56: l_api_name, G_PKG_NAME) then
57: RAISE FND_API.G_EXC_ERROR;
58: END IF;
59:

Line 57: RAISE FND_API.G_EXC_ERROR;

53:
54:
55: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,
56: l_api_name, G_PKG_NAME) then
57: RAISE FND_API.G_EXC_ERROR;
58: END IF;
59:
60: if (p_init_msg_list = FND_API.G_TRUE) then
61: fa_srvr_msg.Init_Server_Message;

Line 60: if (p_init_msg_list = FND_API.G_TRUE) then

56: l_api_name, G_PKG_NAME) then
57: RAISE FND_API.G_EXC_ERROR;
58: END IF;
59:
60: if (p_init_msg_list = FND_API.G_TRUE) then
61: fa_srvr_msg.Init_Server_Message;
62: fa_debug_pkg.Initialize;
63: end if;
64:

Line 72: raise FND_API.G_EXC_ERROR;

68: name => 'FA_SHARED_ITEM_NULL',
69: token1 => 'ITEM',
70: value1 => 'Asset Id'
71: ,p_log_level_rec => g_log_level_rec);
72: raise FND_API.G_EXC_ERROR;
73: end if;
74:
75: -- Bug 5475276 Get the book_type_code if it is not supplied.
76: if (px_asset_hdr_rec.book_type_code is null) then

Line 87: raise FND_API.G_EXC_ERROR;

83: fa_srvr_msg.add_message
84: (calling_fn => 'FA_TRANSFER_PUB.do_transfer',
85: name => 'FA_EXP_GET_ASSET_INFO'
86: ,p_log_level_rec => g_log_level_rec);
87: raise FND_API.G_EXC_ERROR;
88: end if;
89: end if;
90:
91: -- call the cache for the primary transaction book

Line 94: RAISE FND_API.G_EXC_ERROR;

90:
91: -- call the cache for the primary transaction book
92: if NOT fa_cache_pkg.fazcbc(X_book => px_asset_hdr_rec.book_type_code
93: ,p_log_level_rec => g_log_level_rec) then
94: RAISE FND_API.G_EXC_ERROR;
95: end if;
96:
97: -- validate book is corporate and enabled and asset exists in book
98:

Line 105: raise FND_API.G_EXC_ERROR;

101: p_book_type_code => px_asset_hdr_rec.book_type_code,
102: p_asset_id => px_asset_hdr_rec.asset_id,
103: p_calling_fn => 'FA_TRANSFER_PUB.do_transfer',
104: p_log_level_rec => g_log_level_rec) then
105: raise FND_API.G_EXC_ERROR;
106: end if;
107:
108: px_trans_rec.transaction_type_code := 'TRANSFER';
109: IF NOT FA_TRX_APPROVAL_PKG.faxcat(

Line 116: raise FND_API.G_EXC_ERROR;

112: X_trx_type =>px_trans_rec.transaction_type_code,
113: X_trx_date =>px_trans_rec.transaction_date_entered,
114: X_init_message_flag=> 'NO',
115: p_log_level_rec => g_log_level_rec) then
116: raise FND_API.G_EXC_ERROR;
117: end if;
118:
119: if not fa_asset_val_pvt.validate_period_of_addition
120: (px_asset_hdr_rec.asset_id,

Line 125: RAISE FND_API.G_EXC_ERROR;

121: px_asset_hdr_rec.book_type_code,
122: 'ABSOLUTE',
123: l_period_addition,
124: p_log_level_rec => g_log_level_rec) then
125: RAISE FND_API.G_EXC_ERROR;
126: end if;
127: px_asset_hdr_rec.period_of_addition := l_period_addition;
128:
129: -- validate input

Line 133: raise FND_API.G_EXC_ERROR;

129: -- validate input
130: if not valid_input(px_trans_rec,
131: px_asset_hdr_rec,
132: p_log_level_rec => g_log_level_rec) then
133: raise FND_API.G_EXC_ERROR;
134: end if;
135:
136: -- BUG# 3325400
137: -- forcing selection of the thid here rather

Line 150: raise FND_API.G_EXC_ERROR;

146: px_asset_cat_rec_new => l_asset_cat_rec,
147: px_asset_dist_tbl => px_asset_dist_tbl,
148: p_validation_level => p_validation_level,
149: p_log_level_rec => g_log_level_rec) then
150: raise FND_API.G_EXC_ERROR;
151: end if;
152:
153: /*
154: * Code hook for IAC

Line 162: raise FND_API.G_EXC_ERROR;

158: p_trans_rec => px_trans_rec,
159: p_asset_hdr_rec => px_asset_hdr_rec,
160: p_asset_cat_rec => l_asset_cat_rec,
161: p_calling_function =>'FA_TRANSFER_PUB.Do_Transfer') then
162: raise FND_API.G_EXC_ERROR;
163: end if;
164: end if; -- (FA_IGI_EXT_PKG.IAC_Enabled)
165:
166: -- call to workflow business event

Line 181: raise FND_API.G_EXC_ERROR;

177: if not cse_fa_integration_grp.transfer(
178: p_trans_rec => px_trans_rec,
179: p_asset_hdr_rec => px_asset_hdr_rec,
180: p_asset_dist_tbl => px_asset_dist_tbl) then
181: raise FND_API.G_EXC_ERROR;
182: end if;
183: end if;
184:
185:

Line 186: if (p_commit = FND_API.G_TRUE) then

182: end if;
183: end if;
184:
185:
186: if (p_commit = FND_API.G_TRUE) then
187: COMMIT WORK;
188: end if;
189: /*
190: -- Return the status.

Line 203: x_return_status := FND_API.G_RET_STS_SUCCESS;

199: p_count => x_msg_count,
200: p_data => x_msg_data
201: );
202:
203: x_return_status := FND_API.G_RET_STS_SUCCESS;
204:
205:
206: EXCEPTION
207: WHEN FND_API.G_EXC_ERROR THEN

Line 207: WHEN FND_API.G_EXC_ERROR THEN

203: x_return_status := FND_API.G_RET_STS_SUCCESS;
204:
205:
206: EXCEPTION
207: WHEN FND_API.G_EXC_ERROR THEN
208: FA_SRVR_MSG.Add_Message(
209: calling_fn => 'FA_TRANSFER_PUB.do_transfer'
210: ,p_log_level_rec => g_log_level_rec);
211:

Line 217: x_return_status := FND_API.G_RET_STS_ERROR;

213: p_count => x_msg_count,
214: p_data => x_msg_data
215: );
216: ROLLBACK TO transfer_pub;
217: x_return_status := FND_API.G_RET_STS_ERROR;
218:
219: WHEN OTHERS THEN
220: FA_SRVR_MSG.add_sql_error(
221: calling_fn => 'FA_TRANSFER_PUB.do_transfer'

Line 229: x_return_status := FND_API.G_RET_STS_ERROR;

225: p_count => x_msg_count,
226: p_data => x_msg_data
227: );
228: ROLLBACK TO transfer_pub;
229: x_return_status := FND_API.G_RET_STS_ERROR;
230:
231: END;
232:
233: FUNCTION valid_input(px_trans_rec IN OUT NOCOPY fa_api_types.trans_rec_type,