For
General Ledger > Journal > General Journal form
when i select a record and click on a button in the form, a report is created, a number sequence should be created in the report.
So everytime i click on a record (single record can be selected at a time) , a report will be created and then the number sequence (for the field invoice number )will increment and a new one will be seen in the report .
eg:
record: 0001 when selected , then the report will contain a field with invoice number = Inv0001
when record :0006 is selected , then report will contain a field with invoice number = Inv0002
when record :0001 is selected again , then report will contain a field with invoice number = Inv0003