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.

No Serial Number Gaps

Featured Replies

Does anyone know how use a calculation for the serial id; where if a record is deleted the next serial number would be the record last deleted or if a record has not been last deleted, calculation would just use next value?

My solution creates invoices. Sometimes a user could make a mistake or simply the invoice needs to be fixed/deleted.

In accounting, it is not good practice to have missing invoice numbers/ids, looks bad if audited.

For example...

1, 2, 3, 4, 5, 6 = good

1, 2, 4, 5, 7, 8 = bad

Should I worry, or just let live?

Thanks for all your help!

In accounting, it is not good practice to allow users to delete invoices once they have been posted.

  • Author

Wow! This works beautifully!

NextID ( ValueListItems ( Get ( FileName ) ; "IDs" ) ; 1 )

Altho I do not understand how it is works and cannot get it to work in my own solution.

How is the calculation referencing NextID and using "IDS", etc...?

I looked through your sample file and did not see ANY other fields other then Serial, not other calculations, etc... magic? lol

Please help me understand how you accomplished this. THANKS A HEAP!

  • Author

In accounting, it is not good practice to allow users to delete invoices once they have been posted.

Maybe I should just mark Invoice as NULL vs. deleting and correcting. My thought behind deleting and re-generating is a user could make a simple mistake in creating an invoice, for example a spelling error. In the spelling error case, I do not think it would justify recording the spelling error invoice, a simple "undo" and redo would suffice.

In the case of an incorrect posted charge on the invoice; the invoice would be allowed to live and a new invoice would be generated to compensate for the incorrect invoice.

Could this model create issues? What I just explained is one invoice may be an over charge, so I would create a new invoice that credited account or visa versa.:

I am still VERY interested in the "Recover Progression SS" technique.

I suggest you consult an accountant or a lawyer for the best practice in your jurisdiction. In general, I believe the correct way is to post a new invoice to "offset" the mistake.

@Daniele:

Watch this short video:

http://www.screencast.com/users/comment/folders/Default/media/7d478ffd-031f-487b-9875-af7c39003a4f

That's too bad !

Thank you, Michael.

NextID ( ValueListItems ( Get ( FileName ) ; "IDs" ) ; 1 )

Altho I do not understand how it is works and cannot get it to work in my own solution.

You'll need the Advanced version to place any Custom Function inside your file.

Also that was an old idea of mines :

Comment has said many times that wasn't good...

and he is always right.

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.