DECUPAS-18: Work in progress on the Views query plugin for promotions.