I'm developing a web application that launches internal documents in Spring ERP. I have this code:
PriEngine.Engine.Comercial.Internos.Actualiza(invoice)
Dim file As String = "C:\temp\" & invoice.Tipodoc & invoice.Serie & invoice.NumDoc & ".pdf"
PriEngine.Engine.Comercial.Internos.ImprimeDocumento(invoice.Tipodoc, invoice.Serie, invoice.NumDoc, Filial:="000", DestinoPDF:=file)
The problem is as follows: The Update works extremely well, but the PrintDocument does not, I already created the folder and nothing. No mistake even gives. Can someone help me?