Hi Ralph,
It seems to me like "OCRD" it's itself a type but in my case "V_ARTVENDFABR" it's not a type so I'm getting stuck. I have defined the type as you say but the problem it's the same, when the query asks for the datatype (being from a view), it's a major problem and subsequent hangout...
Sorry if I understand wrongly and thanks a lot... :-)