Automate BOL number and Route in Wave processing

Hi is there a way to automatically generate a BOL number and route after a wave is processed?

What is your AX version? Please always tag it.