DBA Data[Home] [Help]

APPS.FA_ADDITION_PVT dependencies on FA_SRVR_MSG

Line 138: fa_srvr_msg.add_message(

134: to_date(to_char(px_trans_rec.amortization_start_date,'DD/MM/YYYY'),'DD/MM/YYYY');
135: elsif ((px_trans_rec.amortization_start_date is null) AND
136: (px_trans_rec.transaction_subtype is not null)) then
137:
138: fa_srvr_msg.add_message(
139: calling_fn => 'fa_addition_pvt.initialize',
140: name => 'FA_INVALID_PARAMETER',
141: token1 => 'VALUE',
142: value1 => px_trans_rec.transaction_subtype,

Line 147: fa_srvr_msg.add_message(

143: token2 => 'PARAM',
144: value2 => 'TRANSACTION_SUBTYPE'
145: ,p_log_level_rec => p_log_level_rec);
146:
147: fa_srvr_msg.add_message(
148: calling_fn => 'fa_addition_pvt.initialize',
149: name => 'FA_INVALID_PARAMETER',
150: token1 => 'VALUE',
151: value1 => 'NULL',

Line 494: fa_srvr_msg.add_message(

490:
491: elsif (px_trans_rec.transaction_date_entered <>
492: px_asset_fin_rec.date_placed_in_service) then
493:
494: fa_srvr_msg.add_message(
495: calling_fn => NULL,
496: name => 'FA_WHATIF_ASSET_CHK_TRX_DATE',
497: token1 => 'ASSET_ID',
498: value1 => to_char(px_asset_hdr_rec.asset_id));

Line 646: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',

642: (p_group_asset_id => fa_cache_pkg.fazccbd_record.group_asset_id,
643: p_book_type_code => px_asset_hdr_rec.book_type_code,
644: p_calling_fn => 'fa_addition_pvt.initialize'
645: ,p_log_level_rec => p_log_level_rec) then
646: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',
647: name => 'FA_DISABLED_DEFAULT_GROUP'
648: ,p_log_level_rec => p_log_level_rec);
649: raise init_err;
650: end if;

Line 658: /* fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',

654: (fa_cache_pkg.fazcbc_record.allow_cip_member_flag = 'Y')) then
655: px_asset_fin_rec.group_asset_id := fa_cache_pkg.fazccbd_record.group_asset_id;
656: else
657: px_asset_fin_rec.group_asset_id := NULL;
658: /* fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',
659: name => 'FA_CIP_MEMBER_NOT_ALLOWED'
660: ,p_log_level_rec => p_log_level_rec);
661: raise init_err; */
662: end if; --end HH -- conditional group defaulting

Line 720: fa_srvr_msg.add_message(

716: px_asset_fin_rec.salvage_value := 0;
717: elsif (px_asset_fin_rec.salvage_type <> 'PCT' and
718: px_asset_fin_rec.salvage_type <> 'AMT' and
719: px_asset_fin_rec.salvage_type <> 'SUM') then
720: fa_srvr_msg.add_message(
721: calling_fn => 'fa_addition_pvt.initialize',
722: name => 'FA_INVALID_PARAMETER',
723: token1 => 'VALUE',
724: value1 => px_asset_fin_rec.salvage_type,

Line 758: fa_srvr_msg.add_message(

754: px_asset_fin_rec.allowed_deprn_limit is null) then
755: px_asset_fin_rec.allowed_deprn_limit:=
756: fa_cache_pkg.fazccbd_record.allowed_deprn_limit;
757: if (px_asset_fin_rec.allowed_deprn_limit is null) then
758: fa_srvr_msg.add_message(
759: calling_fn => 'fa_addition_pvt.initialize',
760: name => '***FA_MUST_SPECIFY_LIMIT***'
761: ,p_log_level_rec => p_log_level_rec);
762: raise init_err;

Line 769: fa_srvr_msg.add_message(

765: px_asset_fin_rec.allowed_deprn_limit_amount is null) then
766: px_asset_fin_rec.allowed_deprn_limit_amount:=
767: fa_cache_pkg.fazccbd_record.special_deprn_limit_amount;
768: if (px_asset_fin_rec.allowed_deprn_limit_amount is null) then
769: fa_srvr_msg.add_message(
770: calling_fn => 'fa_addition_pvt.initialize',
771: name => '***FA_MUST_SPECIFY_LIMIT***'
772: ,p_log_level_rec => p_log_level_rec);
773: raise init_err;

Line 782: fa_srvr_msg.add_message(

778: elsif (px_asset_fin_rec.deprn_limit_type <> 'PCT' and
779: px_asset_fin_rec.deprn_limit_type <> 'AMT' and
780: px_asset_fin_rec.deprn_limit_type <> 'SUM' and
781: px_asset_fin_rec.deprn_limit_type <> 'NONE') then
782: fa_srvr_msg.add_message(
783: calling_fn => 'fa_addition_pvt.initialize',
784: name => 'FA_INVALID_PARAMETER',
785: token1 => 'VALUE',
786: value1 => px_asset_fin_rec.deprn_limit_type,

Line 935: fa_srvr_msg.add_message(

931: --
932: if ((px_asset_fin_rec.recognize_gain_loss = 'NO') or
933: (px_asset_fin_rec.terminal_gain_loss <> 'YES')) and
934: (px_asset_fin_rec.member_rollup_flag = 'Y') then
935: fa_srvr_msg.add_message(
936: calling_fn => 'fa_addition_pvt.initialize',
937: name => 'FA_INVALID_PARAMETER',
938: token1 => 'VALUE',
939: value1 => px_asset_fin_rec.recognize_gain_loss,

Line 942: fa_srvr_msg.add_message(

938: token1 => 'VALUE',
939: value1 => px_asset_fin_rec.recognize_gain_loss,
940: token2 => 'PARAM',
941: value2 => 'RECOGNIZE_GAIN_LOSS');
942: fa_srvr_msg.add_message(
943: calling_fn => 'fa_addition_pvt.initialize',
944: name => 'FA_INVALID_PARAMETER',
945: token1 => 'VALUE',
946: value1 => px_asset_fin_rec.terminal_gain_loss,

Line 949: fa_srvr_msg.add_message(

945: token1 => 'VALUE',
946: value1 => px_asset_fin_rec.terminal_gain_loss,
947: token2 => 'PARAM',
948: value2 => 'TERMINAL_GAIN_LOSS');
949: fa_srvr_msg.add_message(
950: calling_fn => 'fa_addition_pvt.initialize',
951: name => 'FA_INVALID_PARAMETER',
952: token1 => 'VALUE',
953: value1 => px_asset_fin_rec.member_rollup_flag,

Line 1006: fa_srvr_msg.add_message(

1002: return TRUE;
1003:
1004: exception
1005: when init_err then
1006: fa_srvr_msg.add_message(
1007: calling_fn => 'fa_addition_pvt.initialize'
1008: ,p_log_level_rec => p_log_level_rec);
1009: x_return_status := FND_API.G_RET_STS_ERROR;
1010: return FALSE;

Line 1013: fa_srvr_msg.add_sql_error(

1009: x_return_status := FND_API.G_RET_STS_ERROR;
1010: return FALSE;
1011:
1012: when others then
1013: fa_srvr_msg.add_sql_error(
1014: calling_fn => 'fa_addition_pvt.initialize'
1015: ,p_log_level_rec => p_log_level_rec);
1016: x_return_status := FND_API.G_RET_STS_ERROR;
1017: return FALSE;

Line 2219: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',

2215: p_asset_fin_rec.nbv_at_switch := nvl(p_asset_fin_rec.nbv_at_switch,0);
2216:
2217: -- deprn reserve not entered and nbv_at_switch entered
2218: if (p_asset_deprn_rec.deprn_reserve = 0 and p_asset_fin_rec.nbv_at_switch <> 0) then
2219: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',
2220: name => 'FA_ADD_SWITCH_NBV_WITHOUT_RSV');
2221: raise general_error;
2222: end if;
2223:

Line 2244: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset');

2240: X_Method_Type => l_method_type,
2241: X_Success => l_success);
2242:
2243: if (l_success <= 0) then
2244: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset');
2245: raise general_error;
2246: end if;
2247:
2248: -- Fix for Bug #6334489. Do not allow addition of asset with

Line 2261: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',

2257: and f.revised_rate = l_rate_in_use;
2258:
2259: -- revised rate with nbv_at_switch not entered
2260: if (l_revised_count > 0) and (p_asset_fin_rec.nbv_at_switch = 0) then
2261: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',
2262: name => 'FA_ADD_REVISED_WITHOUT_SWITCH');
2263: raise general_error;
2264: -- original rate with nbv_at_switch entered
2265: elsif (l_revised_count = 0) and (p_asset_fin_rec.nbv_at_switch <> 0) then

Line 2266: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',

2262: name => 'FA_ADD_REVISED_WITHOUT_SWITCH');
2263: raise general_error;
2264: -- original rate with nbv_at_switch entered
2265: elsif (l_revised_count = 0) and (p_asset_fin_rec.nbv_at_switch <> 0) then
2266: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',
2267: name => 'FA_ADD_SWITCH_NBV_ORIGINAL_RAT');
2268: raise general_error;
2269: end if;
2270:

Line 2286: /*fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',

2282: WHERE book_type_code = p_asset_hdr_rec.book_type_code
2283: AND asset_id = p_asset_hdr_rec.asset_id
2284: AND DEPRN_SOURCE_CODE = 'BOOKS';
2285:
2286: /*fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',
2287: name => 'FA_ADDITION_REVISED_RATE');
2288: raise general_error; */
2289: end if;
2290:

Line 2327: fa_srvr_msg.add_message(

2323: return TRUE;
2324:
2325: EXCEPTION
2326: when mrc_check_error then
2327: fa_srvr_msg.add_message(
2328: calling_fn => 'fa_addition_pvt.insert_asset'
2329: ,p_log_level_rec => p_log_level_rec);
2330: x_return_status := FND_API.G_RET_STS_ERROR;
2331: return FALSE;

Line 2334: fa_srvr_msg.add_message(

2330: x_return_status := FND_API.G_RET_STS_ERROR;
2331: return FALSE;
2332:
2333: when general_error then
2334: fa_srvr_msg.add_message(
2335: calling_fn => 'fa_addition_pvt.insert_asset'
2336: ,p_log_level_rec => p_log_level_rec);
2337: x_return_status := FND_API.G_RET_STS_ERROR;
2338: return FALSE;

Line 2341: fa_srvr_msg.add_sql_error(

2337: x_return_status := FND_API.G_RET_STS_ERROR;
2338: return FALSE;
2339:
2340: when others then
2341: fa_srvr_msg.add_sql_error(
2342: calling_fn => 'fa_addition_pvt.insert_asset'
2343: ,p_log_level_rec => p_log_level_rec);
2344: x_return_status := FND_API.G_RET_STS_ERROR;
2345: return FALSE;