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.

stuck

Featured Replies

I have a script that is copying data from a field on one file, and pasting it into a field on another file. I have a portal that is looking at the information on the file where the data is being pasted. When I click on the button that runs this script and goes to the layout with the portal, I get an error message saying "This record cannot be modified in this window because it is already being modified in a different window" and the script is not completed (it copies but not pastes). But if I click the button a second time, it works fine.

What do I have to do to make it work the first time round???

Have you tried using Set Field (with a relationship or global) instead of Copy/Paste?

  • Author

yeah, set field doesn't work in this situation.

Unless it is a container or result of copying all records, I can't think of a reason why it wouldn't work. What exactly is being copied?

  • Author

I am copying the input of a job cost, an edit box. As well as the selection of yes/no from a drop down list for invoicing, and same again for payment.

Okay, all three could be set to globals and referenced by the other file, as long as you have a File Reference for the first file. You could even simplify it by putting the layouts in the same file, since you can create layouts that reference TOs for other files. Of course it would be easiest if you had a relationship between the TOs or could force one to be valid for setting the data.

I don't see the need for Copy/Paste. However, you could try adding a Commit Records/Request step after each of your copies.

  • Author

If I click outside the field before I click the button that runs the script, it works fine and there is no error message. I tried making it go to another field in the script, but that didn't work. How do I do the equivallent of clicking outside the field in the script to avoid the error messages?

  • Author

Yes! It works... thank you thank you thank you!!

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.