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.

Portal Record Creation Script?

Featured Replies

Hello...I want to avoid my portal showing the line for the next record that has not yet been created. My search in the forum shows that not allowing creation of records via the portal relationship will do that but that I need to create the new portal records with a script.

How do I do that? If I have my script go to the line items layout and create a new record, it won't be related to my Order record.

Go into define fields, select the relationship Tab. double click on the relationship, then deselect the checkbox that says allow creation of record in this Table using this relationship.

Lee

Load your script parameter with the OrderID. Go to the line items layout, create a new record, and set the OrderID field to Get (ScriptParameter).

You just have your script button defined with a script parameter equal to the invoice_id field. When your script goes to the line items table to create a new record, you do a set field on the forgeign key field using Get(ScriptParameter) as the result, and then it will be related to the invoice record where you pushed the button.

jinx

  • Author

Thanks. I've just gotten back to solving this today and am struggling with writing this script. Do you have any sample of the script steps/order?

Any additonal direction would be a great help.

thanks

:)

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.