Skip 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.

Cost Calculation fields with flexible pricing

Featured Replies

I'm wondering how to set fields up so that the prices for items purchased will fill in the COST field when the items are selected while at the same time having the option to fill in an alternate price.  So if I indicate that Customer 1 selects Item A, the cost will fill in with $100 as I've pre-specified elsewhere for that item, but I could go in and make it $80 for one customer.  Currently if I go in and alter the price in that customer's record, it also changes the price for that item for everyone who has bought that item, because it's a calculation field.  But if I change it to a lookup field, then all the records that are currently filled in go blank, and there's too many records to go back and manually enter all the correct data.  Surely there's a solution to this.

The solution is to use a lookup.

 

30 minutes ago, blissland said:

But if I change it to a lookup field, then all the records that are currently filled in go blank,

If the field is currently an unstored calculation (I am guessing here, because your description is very vague), then define a new Number field and populate it with the current values returned by the calculation (using Replace Field Contents). Then you can make the new field lookup the correct price from now on, and use it instead of the existing field.

Make sure you have a backup before you try this.

  • Author

I have a few different pictures of what you're suggesting, so just to be clear....

Are you saying that I make a new field, populate it with what's in the old field, and then convert the new field to a lookup field from that point forward (and then just remove the old field)?

Or are you saying that I create a new field that always enters the values of the old field but unlike the old field is editable?  

I think you're saying the former.

 

51 minutes ago, blissland said:

I think you're saying the former.

Correct.

You could also reuse the existing field, if you (1) copy the calculation formula, (2) change the field's type to Number,  (3) use the copied formula to replace the field's contents, and (4) set the field to auto-enter the correct price from now on.

 

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.