idreaming2005
22nd August 2009, 14:48
Hi,
Here I got a question on report development.
How to show the reprint times on a report?
For example, reprint invoice.We can unlimited reprint invoice.In order not to repeately send out invoice to customer,user need to see the reprint times on report.
Thanks!
Dream.
jp.aalders
24th August 2009, 10:55
The number of times an invoice has been printed is, as far as I know, not always registrered in the database. To my opinion it is not really important, you should check if the original invoice has been printed. In that case you can consider the invoice as printed and sent to the customer. Al invoices printed afterwards are copies in that case, you can state this on the invoice by marking it with a label f.i. "INVOICE COPY". The status ( final printed etc ) is stored in the Baan database.
idreaming2005
24th August 2009, 17:47
Thanks for your concern on my question.
I think it is very hard to store in database. As we can select one invoice or a batch of invoice to print out,if system indeed need to calculate,it must store the details,one invoice by one invoice to store the times in a table. What's more,in a batch of invoices, some are the first time reprint, some are the second time,some are third time...,how to print them out is also a question to be considered.
jp.aalders
25th August 2009, 09:52
I did not mean to store it in the database. You should use the standard indeed. In most Baan tables an invoice status is stated, not the number of times an invoice is printed. Basicly, to my opinion, the number of times an invoice has been printed isn't interesting at all as an invoice is of the type original invoice (first print) of copy (all others printed). Based on the invoice status, which changes from f.i. proforma to final when printed and the invoice date you could maybe perform some kind of check. F.i. is the status is final and the invoice date > today....print the label "COPY" on your invoice. So the message is check which fields you have available to perform some kind of check on original of copy. The number of copy itself is not relevant as every print after the original invoice is a copy. Good luck,
JP