DBA Data[Home] [Help]

APPS.CSI_TXN_HISTORY_PURGE_PVT dependencies on CSI_I_ASSETS_H

Line 4273: From CSI_I_ASSETS_H csh,

4269:
4270: Cursor ins_asset_hist_csr (p_from_trans IN NUMBER,
4271: p_to_trans IN NUMBER) IS
4272: Select csh.*
4273: From CSI_I_ASSETS_H csh,
4274: CSI_TRANSACTIONS csit
4275: Where csit.transaction_id between p_from_trans and p_to_trans --Bug 8836533
4276: And csit.creation_date < to_date(purge_to_date, 'YYYY/MM/DD HH24:MI:SS')
4277: And csh.transaction_id = csit.transaction_id;

Line 4290: Where object_name = 'CSI_I_ASSETS_H';

4286: Begin
4287: Select object_id
4288: Into l_table_id
4289: From csi_object_dictionary
4290: Where object_name = 'CSI_I_ASSETS_H';
4291: Exception
4292: When no_data_found Then
4293: l_table_id := 7;
4294: When others Then

Line 4520: Delete From CSI_I_ASSETS_H

4516: -- Purge the corresonding Archive data from the Instance Asset history tables
4517:
4518: FORALL i IN 1 .. l_cnt
4519:
4520: Delete From CSI_I_ASSETS_H
4521: Where instance_asset_history_id = l_ins_asset_hist_rec_tab.instance_asset_history_id(i);
4522:
4523: End If; -- if l_cnt > 0
4524: --

Line 6001: From CSI_I_ASSETS_H csh,

5997: --
5998: Begin
5999: Select COUNT(*)
6000: Into l_temp6
6001: From CSI_I_ASSETS_H csh,
6002: CSI_TRANSACTIONS csit
6003: Where csit.transaction_id between From_trans and To_trans
6004: And csit.creation_date < to_date(purge_to_date, 'YYYY/MM/DD HH24:MI:SS')
6005: And csh.transaction_id = csit.transaction_id;