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.

Non-standard serialization?

Featured Replies

  • Newbies

Hi...I'm new to the forum and an "intermediate" level FM person...I apologize if this question is elementary, but...

How can I create an "Invoice ID" field that utilizes the first 3 or 4 characters of a company's name and a company-specific serial number??

Eg: if I have 2 companies in my DB (Curly, Larry) and I generate invoices for each of them. I want each company's invoices to have their own sequential serial #'s, even if the invoices themselves are not created sequentially. So, Curly's would always be CUR-001, CUR-002, CUR-003, etc. and Larry's would be LAR-001, LAR-002, LAR-003 regardless of creation order vis-a-vis the other company.

Is there some way to build the field such that it looks for the Customer's invoices and puts the NEXT serial number for THAT company, instead of just a standard serial number? Thanks!

Yes. store the invoice numbers in a single-record table, and script the process to edit the record and increment the appropriate number each time an invoice is created.

Note, please, that you should NEVER use these invoice numbers as the key fields for the table relationships. Use normal auto-entered serial numbers for the primary keys. The users never neeed to see these anyway.

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.