Hi Gerry

> 
> Temporal database of business documents
> 

Well, I should say we took that one very seriously at first. Indeed in France, 
this is also a legal requirement to freeze any invoice somewhere for instance, 
they shouldn't change even if somebody changes the business partner name or 
tweaks the invoice header template later on.

I talked about this to Fabien Pinckaers by phone, also mentioning your design 
pattern solution. Well, actually his answered convinced me: a solution would be 
to store the invoice pdf (and other legal documents) directly in the database 
as an attached document and do that automatically, what is currently not done. 
We should also prevent from removing that attachment. After Fabien, this is the 
solution Compiere uses.

Then wouldn't it be a valid solution? I think it would, so then why get into 
trouble with a persistence design pattern that might be hard to implement, hard 
to be 100% complete (should also apply to document templates) and might have 
unexpected performance effects.

What do you think?

Raphaël Valyi.

------------------------
http://www.smile.fr




_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to