DBA Data[Home] [Help]

APPS.FA_FAS771_XMLP_PKG SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 13

  SELECT bc.book_type_code,
         bc.book_class,
         bc.accounting_flex_structure,
         bc.distribution_source_book,
         sob.currency_code,
         cur.precision
  INTO   l_book,
         l_book_class,
         l_accounting_flex_Structure,
         l_distribution_source_book,
         l_currency_code,
         l_precision
  FROM   FA_BOOK_CONTROLS bc,
         GL_SETS_OF_BOOKS sob,
         FND_CURRENCIES cur
  WHERE  bc.book_type_code = P_BOOK
  AND    sob.set_of_books_id = bc.set_of_books_id
  AND    sob.currency_code    = cur.currency_code;
Line: 49

  SELECT cr.concurrent_program_id
  INTO l_conc_program_id
  FROM FND_CONCURRENT_REQUESTS cr
  WHERE cr.program_application_id = 140
  AND   cr.request_id = P_CONC_REQUEST_ID;
Line: 54

  SELECT cp.user_concurrent_program_name
  INTO   l_report_name
  FROM    FND_CONCURRENT_PROGRAMS_VL cp
  WHERE
      cp.concurrent_program_id= l_conc_program_id
  and cp.application_id = 140;
Line: 87

select nvl(PERIOD_CLOSE_DATE,sysdate)
into end_date
FROM FA_DEPRN_PERIODS
WHERE BOOK_TYPE_CODE = P_BOOK
and period_counter = end_period_counter;
Line: 143

select count(*)
into tmp
from fa_transaction_headers
where asset_id = p_asset_id
and book_type_code = p_book
and transaction_subtype = 'AMORTIZED'
AND to_char(transaction_date_entered, 'YYYY') = P_FISCAL_YEAR;