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.

Discount Unit Price for customers, based on value list result

Featured Replies

Hi Everyone,

I'm new to Filemaker, and am a little stuck on a something.

Can I create a script that will automatically discount a unit price by 50%, if the Customer is set to a certain value in a drop down list?

Thanks in advance,

R

Welcome to the Forums!

With a script, use the Set Field script step.

Set Field [ DiscountPrice; BasePrice * Discount ]

A script may not be needed to perform the calculation. Try an auto-entered calculation with the (BasePrice * Discount) formula. Uncheck the 'Do not replace...'

  • Author

Thank you for the reply and the warm welcome.

I will include that calculation in my script steps, but also what I am wondering is if the person I am invoicing can be invoiced at a discounted rate, depending on meeting criteria in a drop down list.

The discount is for people internally who buy advertising. So the drop down list indicates whether they are an organization member, or a client.

Maybe I can do this, and save half a minute of work for myself for the odd invoice that is for organization members!

Attached is a sample file allowing you to do both calculations.

Price.zip

  • Author

Thanks for that. Worked a treat!

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.