setNotNull removed and validatenotnull used in  pin sale pages