Project:
View Revisions: Issue #35745 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0035745: Add a transaction where it is needed | ||
Revision | 2017-04-11 08:15 by migueldejuana | ||
Description | There are some places in the code where saves in the local database must be inside a transaction: - Inside cancelLayaway listener: Save order and cashup info(add calculateCurrentCash also??) - Inside voidLayaway listener: Save order, cashup info and calculateCurrentCash - Inside multiOrdersFunction function: Save order, cashup info, calculateCurrentCash and updateDocumentSequenceWhenOrderSaved - Inside errorCalbacks of multiOrdersFunction and mainReceiptCloseFunction Review the code. There should be more cases |
||
Revision | 2017-04-11 08:14 by migueldejuana | ||
Description | There are some places in the code where saves in the local database must be inside a transaction: - Inside cancelLayaway listener: Save order and cashup info(add calculateCurrentCash also??) - Inside voidLayaway listener: Save order, cashup info and calculateCurrentCash - Inside multiOrdersFunction function: Save order, cashup info, calculateCurrentCash and updateDocumentSequenceWhenOrderSaved - Inside errorCalbacks of multiOrdersFunction and mainReceiptCloseFunction |
Copyright © 2000 - 2009 MantisBT Group |