Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform printing terms&condition page depending on condition

maria_merino
Active Participant
0 Kudos

Hi experts,

I have an smartform which prints a terms&condition page after each page. it is done like this:

Page1, next page T&C

Page2, next page T&C

T&C, next page Page2

In page1 and page 2 I have a command to print las T&C page (T&C2).

Now the user wants to print T&C page only of the invoice belongs to a specific sales organization. Is it possible to do that? I'm triing to do it by using command at the end of main window but it doesn't work..

Thanks in advance !

María

3 REPLIES 3

former_member221827
Active Participant
0 Kudos

I would think using the command in the main window to switch to the correct page would work well. I'd definitely do some googling on that or provide more details as to what is happening when you try to put the commands in. If you don't go the command route, I think your best bet would be to make a copy of the smartform that does not have the next pages set to the T&C page and call the original or the copied form conditionally based upon sales org. But that does require you to maintain two forms from there out so it might not be an ideal solution.

0 Kudos

Hi Chris,

There is no possibility to control this without creating a new smartform?

Thanks,

maría

Jelena
Active Contributor
0 Kudos

To the question "Is it possible to do that?" the answer is "yes". Please consider reading this blog on how to ask better questions.

If a business user came to you with a problem and just said "it doesn't work" without providing any explanation, would this be helpful to you? Same here. Kindly be more specific.

There is an option to add a condition to any of the form elements (including the command node that Chris mentioned) and I don't see why there should be an issue with doing that in your case.