251: if X_ASSET_TYPE = 'CIP' then
252: -- check that CIP accounts are set up
253: select count(*)
254: into ll_count
255: from fa_category_books
256: where category_id = X_new_cat_ID
257: and book_type_code = ll_corp_book
258: and cip_cost_acct is not null
259: and cip_clearing_acct is not null;
266:
267: -- check if cat is set up in this book
268: select count(*)
269: into ll_count
270: from fa_category_books
271: where book_type_code = ll_corp_book and
272: category_id = X_new_cat_ID;
273: --
274: if ll_count = 0 then