How can I cast multiple recordtype to data type

Hi

I would like to ask a question.

I want to cast multiple record type to custom data type.

If possible how can i cast it.

Here is my cast data.

  Discussion posts and replies are publicly visible