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
土豆君