95: else
96: h_account_ccid := 0;
97: end if;
98:
99: if (not FA_GCCID_PKG.fafbgcc
100: (X_book_type_code => X_book_type_code,
101: X_fn_trx_code => X_account_type,
102: X_dist_ccid => X_dist_ccid,
103: X_acct_segval => X_account,
958: if ((SQL%NOTFOUND or h_distribution_lines = 0) and
959: G_release = 11) THEN
960: FA_SRVR_MSG.ADD_MESSAGE
961: (NAME=>h_mesg_name,
962: CALLING_FN => 'FA_GCCID_PKG.fadoact',
963: p_log_level_rec => p_log_level_rec);
964: return FALSE;
965: end if;
966:
991: -1,
992: p_log_level_rec => p_log_level_rec);
993: if not h_success then
994: FA_SRVR_MSG.ADD_MESSAGE
995: (CALLING_FN => 'FA_GCCID_PKG.fadoact',
996: p_log_level_rec => p_log_level_rec);
997: return FALSE;
998: end if;
999:
1008: (adj_ptr.adjustment_type<>'CIP COST')) then
1009: if (not facdamt(h_adj_dd_amount,
1010: p_log_level_rec => p_log_level_rec)) then
1011: FA_SRVR_MSG.ADD_MESSAGE
1012: (CALLING_FN => 'FA_GCCID_PKG.fadoact',
1013: p_log_level_rec => p_log_level_rec);
1014: return FALSE;
1015: end if;
1016: else
1024: (adj_ptr.adjustment_type like '%EXPENSE%'))
1025: then
1026: if (h_dpr_row.cost = 0) then
1027: if not FA_ASSET_VAL_PVT.validate_period_of_addition(ADJ_PTR.ASSET_ID, adj_ptr.book_type_code,'CAPITALIZED',h_period_of_addition) then
1028: FA_SRVR_MSG.ADD_MESSAGE(CALLING_FN => 'FA_GCCID_PKG.fadoact');
1029: return FALSE;
1030: end if;
1031: if(h_period_of_addition = 'Y') then---Need to add MRC tables.
1032: if(H_DPR_ROW.mrc_sob_type_code = 'R') then
1252: X_distribution_id => h_distribution_id,
1253: X_source_type_code => adj_ptr.source_type_code,
1254: p_log_level_rec => p_log_level_rec)) then
1255: FA_SRVR_MSG.ADD_MESSAGE
1256: (CALLING_FN => 'FA_GCCID_PKG.fadoact',
1257: NAME => h_mesg_name,
1258: p_log_level_rec => p_log_level_rec);
1259: return FALSE;
1260: end if;
1487: X_distribution_id => h_distribution_id,
1488: X_source_type_code => adj_ptr.source_type_code,
1489: p_log_level_rec => p_log_level_rec)) then
1490: FA_SRVR_MSG.ADD_MESSAGE
1491: (CALLING_FN => 'FA_GCCID_PKG.fadoclr',
1492: NAME => h_mesg_name,
1493: p_log_level_rec => p_log_level_rec);
1494: return FALSE;
1495: end if;
1588: X_distribution_id => adj_ptr.distribution_id,
1589: X_source_type_code => adj_ptr.source_type_code,
1590: p_log_level_rec => p_log_level_rec)) then
1591: FA_SRVR_MSG.ADD_MESSAGE
1592: (CALLING_FN =>'FA_GCCID_PKG.fadosglf',
1593: p_log_level_rec => p_log_level_rec);
1594: return FALSE;
1595: end if;
1596:
1676: X_distribution_id => adj_ptr.distribution_id,
1677: X_source_type_code => adj_ptr.source_type_code,
1678: p_log_level_rec => p_log_level_rec)) then
1679: FA_SRVR_MSG.ADD_MESSAGE
1680: (CALLING_FN =>'FA_GCCID_PKG.fadosgl',
1681: p_log_level_rec => p_log_level_rec);
1682: return FALSE;
1683: end if;
1684:
1830:
1831: if SQL%NOTFOUND THEN
1832: FA_SRVR_MSG.ADD_MESSAGE
1833: (NAME => h_mesg_name,
1834: CALLING_FN => 'FA_GCCID_PKG.fadoret',
1835: p_log_level_rec => p_log_level_rec);
1836: return FALSE;
1837: end if;
1838:
1859: -1,
1860: p_log_level_rec => p_log_level_rec);
1861: if not h_success then
1862: FA_SRVR_MSG.ADD_MESSAGE
1863: (CALLING_FN => 'FA_GCCID_PKG.fadoret',
1864: p_log_level_rec => p_log_level_rec);
1865: return FALSE;
1866: end if;
1867: -- Assign H_DPR_ROW to dpr_ptr. They are of same type
1872: if ((adj_ptr.leveling_flag=TRUE)) then
1873: if (not facdamt(h_adj_dd_amount,
1874: p_log_level_rec => p_log_level_rec)) then
1875: FA_SRVR_MSG.ADD_MESSAGE
1876: (CALLING_FN => 'FA_GCCID_PKG.fadoret',
1877: p_log_level_rec => p_log_level_rec);
1878: return FALSE;
1879: end if;
1880: else
1921: X_distribution_id => h_distribution_id,
1922: X_source_type_code => adj_ptr.source_type_code,
1923: p_log_level_rec => p_log_level_rec)) then
1924: FA_SRVR_MSG.ADD_MESSAGE
1925: (CALLING_FN => 'FA_GCCID_PKG.fadoact',
1926: NAME=>h_mesg_name,
1927: p_log_level_rec => p_log_level_rec);
1928: return FALSE;
1929: end if;