Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3995 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

For a reason I cannot explain the second print does not use the layout specified in the second goto related record. I do have one print for customer and another one for merchant. Both are different.

 

However when executing the script I get two copies of the customer layout.

 

I do not understand why. Is there something that I am missing ?

 

Thanks!
Daniel

TSP100_InvoicePrinting.pdf

Posted

Got it to work by replacing the second goto related record to a goto layout"PRINT_MERCHANT_COPY".

 

Thanks.

Posted

After the first print-out, you need to go back to the original layout, or the second Go to Related Record step doesn't have the correct context, so it's ignored, including its integrated layout switch.

 

I don't know your setup, but I suspect that you're effectively printing the same record twice, only from a different layout; in this case you could simply switch layouts, since you're already on the correct record.

 

Speaking of which: if you Set Error Capture [ On ], you might as well watch out for errors. What if you initiate the script and the current Invoice (I guess) has no related Facture record (yet)?

This topic is 3995 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.