Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040689
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2019-04-26 11:392019-04-26 11:39
Reporterjorge-garciaView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040689: Wrong order status if calculate currentcash or updateDocumentSequenceWhenOrderSaved fails in syncrhonize mode

DescriptionWrong order status if calculate currentcash or updateDocumentSequenceWhenOrderSaved fails in syncrhonize mode
Steps To ReproduceThis 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040232 closedrqueralta Sales quotation is not saved in Back Office 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-04-26 11:39 jorge-garcia New Issue
2019-04-26 11:39 jorge-garcia Assigned To => Retail
2019-04-26 11:39 jorge-garcia Triggers an Emergency Pack => No
2019-04-26 11:40 jorge-garcia Relationship added related to 0040232


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker