Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0040689 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | major | have not tried | 2019-04-26 11:39 | 2019-04-26 11:39 | |||||||
Reporter | jorge-garcia | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0040689: Wrong order status if calculate currentcash or updateDocumentSequenceWhenOrderSaved fails in syncrhonize mode | |||||||||||
Description | Wrong order status if calculate currentcash or updateDocumentSequenceWhenOrderSaved fails in syncrhonize mode | |||||||||||
Steps To Reproduce | This code is inside dataordersave.js file: if (OB.MobileApp.model.hasPermission('OBMOBC_SynchronizedMode', true)) { OB.Dal.transaction(function(tx) { OB.UTIL.calculateCurrentCash(null, tx); OB.MobileApp.model.updateDocumentSequenceWhenOrderSaved(frozenReceipt.get('documentnoSuffix'), frozenReceipt.get('quotationnoSuffix'), frozenReceipt.get('returnnoSuffix'), function() { // the trigger is fired on the receipt object, as there is only 1 that is being updated receipt.trigger('integrityOk', frozenReceipt); // Is important for module print last receipt. This module listen trigger. syncSuccessCallback(function() { serverMessageForQuotation(frozenReceipt); closeParamCallback(); }, eventParams); }, tx); }); } If the transaction fails, the order could enter in a wrong state. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Copyright © 2000 - 2009 MantisBT Group |