Sale detail and its history had a typo in the foreign key which has been fixed.
javadoc fixed
The active predicate for AbtractActiveModel has been added to the QueryContainer.