Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7130 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a database for creating internal invoices, whenever someone creates a new invoice the invoice number goes up by 1. However I have noticed that sometimes a number is skipped, ie; the invoice number goes up by 2.

This will normally occur when 2 or more users are logged into the database.

Has anyone noticed this?

Does anyone know of a fix?

Posted

If a new invoice is created then immediately deleted the number is one: serial numbers are never recycled. I'd say this is your problem.

Two solutions are to make it hard for users to create new invoices and delete them; or get used to the fact that the numbers will have holes.

If you are using FMP 7 you can elect to have the serial number generated on comit rather than record creation. That way if a user makes a new record then immediately deletes it the serial number is not lost because it was never assigned.

Posted

According to legislation in my neck of the woods, is deleting invoices the same as cooking the books, a wrong invoice should be followed by a credit note that counters the wrong amount.

But admitted it's a tricky thing to maintain these days with evaporative storage of eh meaning ...Paco di Paciolis two sided book keeping, demanded such matters written in non erasable ink. Removing an invoice in the sequence is simply illegal ...at least inside the EU...

--sd

Posted

Users already do not have permission to delete invoices, this is akin to cooking the books.

I'll give your solution a try Vaughan since having holes in the number sequence would appear as though we are trying to hide something when it comes to audit time.

This topic is 7130 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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