Fix DocumentAction for Null value and vendor code values