Hi Krishna,
Again you posted the assumption without the error. See on your screen shoot that OR is with a different colour but IF this leads me to a quick answer.
What about the error you are facing?
What about which datatype PTYPE is?
Regards, Fernando Da Rós