Jump to content

Creating Invoice Numbers ?


ShaolinF

Recommended Posts

i typically use an auto-incrementing ID field and add whatever offset i need. for instance if i want invoice nums to start at 100001, i'll add 10000 to the auto-incrementing field. so i insert the invoice record, then get mysq_insert_id() and add the offset. assuming you're using mysql...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.