This document contains Oracle SQL functions and queries for generating an inventory aging report in Oracle Discoverer Desktop. It defines functions to set client information, convert characters to numbers for sorting, and calculates inventory quantities and costs by aging period. The main query returns inventory item details including organization, item code, description, quantity on hand, unit cost and total cost grouped and sorted by aging period.