Jump to content
Sign in to follow this  
Dani R

Goto layout and...

Recommended Posts

How do i write a script that if i select in layout 1 a line it will open in layout 2 and create a new record ?

Share this post


Link to post
Share on other sites

I'm not sure I understand what you mean by 'Select a Line?' Do you mean a Button?

Anyway a basic script would look similar to this:

Set Variable($ID;CustomerIDField)

go to layout(layout2)

New record/request

set field(layout2::CustomerIDField;$ID)

exit script

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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