Take constraint into account to generate date and decimal