Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 2 Jahren, 10 Monaten
Letzter Beitrag:
vor 2 Jahren, 10 Monaten
Beteiligte Autoren:
Allard, steve erts, Fabrice Harari

Print preview window

Startbeitrag von Allard am 22.08.2015 08:10

Hi I was wondering if it is possibe to change the pdf to email button so that it can add an xml file to the attatchment of an email as well?

I know it is possible to add the window to the project and customize it. But if I do this I have to repeat it every time I upgrade windev to a new version.

I sow then buttons can be manipulated but I havenot found if it is possible to add an extra file to the button that creates an attatchement to an email.

What I want to achief is following.

I want to make an invoice in xml ( ubl ) format . Then sent the pdf and the xml with an email , as two attachements, to the customer.

regards
Allard

Antworten:

Hi Allard

no. You will have to add another button or replace the one existing. And yes, you'll have to copy and paste that with each new version

Best regards

von Fabrice Harari - am 22.08.2015 12:11
Quote
Allard
Hi I was wondering if it is possibe to change the pdf to email button so that it can add an xml file to the attatchment of an email as well?

I know it is possible to add the window to the project and customize it. But if I do this I have to repeat it every time I upgrade windev to a new version.

I sow then buttons can be manipulated but I havenot found if it is possible to add an extra file to the button that creates an attatchement to an email.

What I want to achief is following.

I want to make an invoice in xml ( ubl ) format . Then sent the pdf and the xml with an email , as two attachements, to the customer.

regards
Allard


You'd probably be better off bypassing print preview and just printing directly to pdf and attaching to an email directly. That's what I'm doing in my app.

von steve erts - am 22.08.2015 23:54
Yes I was thinking of that as well.

Do you create xml invoices as well?

regards
Allard

von Allard - am 24.08.2015 21:33
Quote
Allard
Yes I was thinking of that as well.

Do you create xml invoices as well?

regards
Allard


No, but I don't see why you couldn't. I am creating XML files and sending them to Quickbooks using their SDK.

von steve erts - am 26.08.2015 23:23
Hi steve,

It has been a bit of a strugle but I have finnished the task. I can now generate xml invoices in the dutch uml 1.1 format.

judging by the response of my posts though it seems not many do this kind of thing?

regards

PS
Now I have to sent the xml with the pdf together as an attachement to outlook. This what my qyuestion was about. I guess I make a print button and a sent invoice button and leave the printprview window as it is ( removing the pdf to emil and xml button

von Allard - am 27.08.2015 19:00
Allard,

The way I do it is to have have a radio button to specify target output

(Print, Preview, Email)

and a button to execute.

Steve

von steve erts - am 27.08.2015 19:17
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.