Set constants logic to grubbing record.