156: return FALSE;
157: end fafb_search_functions;
158:
159: -------------------------------------------------------------------
160: FUNCTION fafbgcc (X_book_type_code in fa_book_controls.book_type_code%type,
161: X_fn_trx_code in varchar2,
162: X_dist_ccid in number,
163: X_acct_segval in varchar2,
164: X_account_ccid in number,
485: END ; /* fafbgcc */
486:
487: -------------------------------------------------------------------
488: PROCEDURE fafbgcc_proc
489: (X_book_type_code in fa_book_controls.book_type_code%type,
490: X_fn_trx_code in varchar2,
491: X_dist_ccid in integer,
492: X_acct_segval in varchar2,
493: X_account_ccid in integer,
691: nvl(BONUS_EXP_ACCOUNT_CCID, -1),
692: nvl(BONUS_RSV_ACCOUNT_CCID, -1),
693: accounting_flex_structure
694: FROM FA_DISTRIBUTION_ACCOUNTS da,
695: FA_BOOK_CONTROLS bc
696: WHERE bc.book_type_code = X_book_type_code
697: AND da.book_type_code = bc.book_type_code
698: AND da.distribution_id = X_distribution_id;
699: