I would like to create a incoming document on the purchase invoice.
I got a path and would like to add this document in code.
Does anyone know how I can add a incoming document in code, when I got the Purchase Header?
I have no idea how I can do this and didn't find any code.
Thanks for your help :)