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.

Featured Replies

Hi, my database produces an invoice at the end of a job.

Sometimes I have to raise a credit note against the invoice. How can I make a copy of the invoice with negative numbers which cancels out the invoice?

Any Ideas?

Thanks

How about something like:

Duplicate Record

Set Field [ Invoices::Amount ; -Invoices::Amount ]

Commit Records []

  • Author

Hi, Thanks! This makes the amount zero. What I need is if the amount is 100 I need the script to make it -100

This makes the amount zero.

No, it doesn't. Make sure you enter only this part:

-Invoices::Amount

into the Calculated result formula box. The first part specifies the target field.

  • Author

Hi I did this. if the sum is 100 and you -100 it leaves zero.

I need it to show -100

Thanks

  • Author

Hi, if the sum was 100 and I could take away 200 it would leave the total as -100 which is what i want.

You don't take anything away - you simply set the field to a new value, which happens to be minus the old one:

Invert.zip

  • Author

Hi, here is script step after duplicate record.

Set Field [ jobs::unit_price ; - jobs::unit_price ]

When run it clears the data from unit price and leaves it blank!

any ideas?

  • Author

Hi, got it working now. Many Thanks!

Create an account or sign in to comment

Important Information

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

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.