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.

Unique IDs with matching prefixes

Featured Replies

  • Newbies

We use our database to track purchase orders that come into our office and are then sent to vendors. The "Product Catalog" table uses a UPC as the primary key which is linked to the "Purchase Order" table. Users create a PO and enter the UPC which then populates item description, price, etc. They then enter how much of each item is ordered. Majority of our products have unique UPCs which work perfectly as the field is set to require a unique value. However, there are a few instances where we sell a branded item to multiple customers, meaning I need to somehow differentiate the UPC between each customer. My solution for this was simply to add three letters to the end of the UPC to identify which customer this product needs to be linked to. Unfortunately when I try to achieve this I'm told that the field needs to be unique. If I turn off the "require unique value" setting, the sales between all customers reflect on any customer that sells this product. Any ideas on how to resolve this?

1 hour ago, adrsub said:

My solution for this was simply to add three letters to the end of the UPC to identify which customer this product needs to be linked to. Unfortunately when I try to achieve this I'm told that the field needs to be unique.

Is it possible that the field is defined as a Number field?

  • Author
  • Newbies

It was, but I changed to a text field.

12 minutes ago, adrsub said:

I changed to a text field.

That should solve the problem. If not, try reindexing the field.

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.