ap accrual script sla

Post on 21-Oct-2015

12 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

AP Accrual Script Sla

TRANSCRIPT

1. AP Accrual SLA - Cost Management SELECT DISTINCT H.LEDGER_ID, H.JE_CATEGORY_NAME, H.AE_HEADER_ID , H.PERIOD_NAME, L.CODE_COMBINATION_ID, H.EVENT_TYPE_CODE, H.ACCOUNTING_DATE, L.ENTERED_DR, L.ENTERED_CR, L.ACCOUNTED_DR, L.ACCOUNTED_CR, H.DESCRIPTION, L.GL_SL_LINK_ID FROM XLA_AE_LINES L , XLA_AE_HEADERS H WHERE H.APPLICATION_ID = 707 AND H.ACCOUNTING_ENTRY_STATUS_CODE = 'F' AND H.GL_TRANSFER_STATUS_CODE = 'Y' AND H.BALANCE_TYPE_CODE = 'A' AND H.LEDGER_ID = :V_LEDGER_ID AND L.APPLICATION_ID = 707 AND L.CODE_COMBINATION_ID =:V_ACCRUAL_ACCOUNT_ID AND h.PERIOD_NAME in (SELECT DISTINCT period_name FROM gl_period_statuses WHERE start_date >= :v_FROM_Date AND end_date = :v_FROM_Date AND end_date = :v_FROM_Date AND end_date

top related