Function of lognormal distribution

In this case you most probably have to work with an external function. There is currently no good example. The best I could find is Integration function - dynare v4?