Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

new record in related file

Featured Replies

I have a job record file that I need to create invoices for. I also have separate file for invoicing. I want to click a button in the job file and create a new record in the invoice file. Do I do this a a script?

Short Answer..Yes. If you want a button to do something it has to be attached to a script or at least a script step.

~Genx

Well, ask a Yes/No question, get a Yes/No answer, eh?

  • 2 weeks later...
  • Author

OK, to be more specific, what is the script (or general example of script) that I need to write, so that when i press a button (to invoice) in one file, a new record is created in another file ie the next invoice record? I think I'm OK with the data being pulled through, it's just the actual method of moving to the invoice file and creating the record automatically that I'm struggling with

Thanks

The script steps

Freeze screen

Go to layout (any layout in the invoice file

New record/request)

Go to layout (original)

would allow a new record in the invoice file to be created eithout the user seeing anything happening on their screen

Phil

  • Author

ah, but what is the command for my first click because at that point I am still in the other file. Eg I am in a job file, I click 'invoice' and then I need to create the new record in the invoice file

thanks

  • 3 weeks later...

The script steps

Freeze screen

Go to layout (any layout in the invoice file

New record/request)

Go to layout (original)

would allow a new record in the invoice file to be created eithout the user seeing anything happening on their screen

Phil

What hes suggesting is creating a layout in your main file.

go to >layout>Layout Setup on the menu, change the layout to show records from the invoice table, rename invoice table or similar

Then have a button in your main table that does this

Freeze Window

Goto Invoice Table

Create new Record (even though you are in the original file will create a new record in the external file because the layout you are in is attched to that file.)

Goto Main Layout

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.