Oracle EBS 取总账期间

--取期间
select GPS.EFFECTIVE_PERIOD_NUM, GPS.PERIOD_NAME
  from GL_PERIOD_STATUSES GPS
 WHERE GPS.APPLICATION_ID = 101
   AND (GPS.SET_OF_BOOKS_ID = :$FLEX$.P_LEDGER_ID OR
       :$FLEX$.P_LEDGER_ID IS NULL)
   AND GPS.CLOSING_STATUS <> 'N'
 ORDER BY GPS.START_DATE DESC

 

posted on 2018-11-23 13:16  Jenrry  阅读(988)  评论(0编辑  收藏  举报