automatic orders checking framework