118: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
119:
120: select count(*)
121: into l_count
122: from fa_transaction_headers th,
123: xla_transaction_entities en,
124: xla_events ev,
125: fa_book_controls bc
126: where bc.distribution_source_book = px_asset_hdr_rec.book_type_code
170: end if;
171:
172: select count(*)
173: into l_count
174: from fa_transaction_headers th,
175: xla_transaction_entities en,
176: xla_events ev,
177: fa_book_controls bc
178: where bc.distribution_source_book = px_asset_hdr_rec.book_type_code