85: IF l_max_date < l_min_date THEN
86: IF (l_debug = 1) THEN
87: inv_log_util.trace('Max_date cannot be less than min_date', 'TXN_PURGE_WORKER', 9);
88: END IF; 89: RAISE fnd_api.g_exc_error; 90: END IF;
91:
92: -- Validate the Organization passed to ensure that it has no OPEN
93: -- accounting periods for the Max_date specified