[ID Type] == "Dummy" || [ID Type] == ""
If column "ID Type" contains "Dummy" or (=||) is an empty string ...
? "" : [ID No#])
Then return an empty string otherwise (= :) the value of column [ID No#]
(DT_WSTR,50)
and cast that result to a wide string (WSTR) of length 50.