Set Internal Properties with named query

How can we set the boolen/integer in named query ? using with the internal properties

For boolean try passing in True or False. It should get converted to whatever SQL requires.
Integers shouldn't be any problem.

Share your named query. Use the </> button to format it as code.

What do you mean by this?

I mean inside the customer properties >>

Template parameters and internal properties aren't special. If you are using a Named Query Binding in your template, you bind them like any others. If scripting, the parameters would be retrieved by your script and placed in a dictionary for the named query to use.