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

 

转载于:https://www.cnblogs.com/jenrry/p/10006960.html

你可能感兴趣的:(Oracle EBS 取总账期间)