by daleadmin » Thu Feb 11, 2010 7:57 pm
Well the good news is that the following shows you that I am working on this...
The plan was to allow the saving to a file of up to 10,000,000 invoices. This is not going to happen. I had been playing with the smallest file (100,000 invoices) because it is quicker to delete and recreate it. This is something that needs to be done many times when the program is being written to make sure that it works every time. Yesterday I came up with the bright idea to see how long it would take to write a blank 1,000,000 invoice file. Apparently it will take forever because after writing more than 500,000 invoices the program died with the error message, "Don't ever even try this again!"
It seems that the file size had exceeded the ability of DOS to address it. This is techno-speak meaning that the maximum file size will be 500,000 invoices. So there will be two options for the file, a maximum of 100,000 or 500,000 invoices. When the limit is exceeded to file will "rollover." This means that (for a 500,000 invoice file) than the 500,001st invoice will be numbered 000,001 and will overwrite the previous 000,001 invoice.
There will also be 4 options to storing transactions as invoices.
1. No invoices.
2. Only transactions charged to the customer's account will go into the invoice file.
3. All transactions linked to a customer (paid or charged to account) will go into the invoice file.
4. All transactions will go into the invoice file.
The point of options 3 & 4 is that the program will have data-mining capabilities when it goes through the invoices.
Dale