Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to make Automatically serial number ?

Community Beginner ,
Mar 05, 2022 Mar 05, 2022

I want when I click on the serial number field, it automatically switches to the next number, for example 00001 and the next number it is automatic 00002 and clear all data to enter new invoice data with the new invoice number.
And I want to make a button to save the invoice, and the saved PDF copy is not editable on it.
Is this possible?

TOPICS
How to , JavaScript
776
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2022 Mar 05, 2022

You ask a lot, this is much more difficult than it seems. The key thing is this: SOMEWHERE you must keep the serial number, changed for next time. But you don't want to keep it in the PDF, because you want to lock it. But where else can you keep it? PDF files cannot write to files. You would need a web service to give serial numbers, a serious programming task.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 05, 2022 Mar 05, 2022
LATEST

This sounds more like a job for a database. Take a look at FileMaker Pro--it works cross-platform and there are server based options available. It can output a PDF per invoice.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines