cancel
Showing results for 
Search instead for 
Did you mean: 

Call smartform to smartform

Former Member
0 Kudos

Hi @ll,

I`d like to add an attachment to the standard invoice form. Therefore I`ve created a second smartform. As suggested at this

[forum entry|; I call the second form on initialization of the first smartform.

This procedure works fine - the problem is that the pages of the second form are printed first.

Is there a possibility to call the second form at the end of the first form?

Regards,

Flo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi florian,

In dont think that is possible,

because you are calling the second smartform before the process of the 1st ends...

so...this happens...

process 1st smart -> call 2nd smart ->process 2nd ->show 2nd -> ends 1st -> show 1st.

just a question: Why you need to do this?

Regards, Sebastiá

Former Member
0 Kudos

We need this because we`d like to append timesheets to the invoice.

Answers (4)

Answers (4)

Former Member
0 Kudos

If you need to print the attachment on all the invoice forms, add a command node to the first form at the end of main window, give a new page break and include the texts which are in the second form i.e. attachment, thereby you dont need to create a second form at all. And the attachment would be printed at the end.

Former Member
0 Kudos

Hi,

After the main window create node program lines and in that call the next smartform.

Former Member
0 Kudos

Hi

Yes of course, it depends on how u call the 2 smartforms:

U need to call the smartform of the invoice and then the new one you've just created: so u need to check the logic of your program.

Max

Former Member
0 Kudos

Hi,

If possible do it this way

call 1st smart form in second smart form initialization

Regards

Krishna