Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028394Retail ModulesWeb POSpublic2014-12-11 20:122015-01-26 16:43
jecharri 
aaroncalero 
urgentminoralways
closedfixed 
5
 
RR15Q2RR15Q2 
mtaal
No
0028394: Cash up creation date is not properly set in the ERP when the cash up is synchronized
Cash up creation date is not properly set in the ERP when the cash up is synchronized
-Go to Web POS
-Open developer tools and verify cash up creation date
-Do the cash up
-Go to POS terminal window and verify the audit information of the cash up
Verify that the creation and updated date is the same

The creation date should be the correct creation date, in that way the client will be able to check when it started the "till" and when it finished
No tags attached.
related to design defect 0028694 closed Orekaria The creationDate is not part of the receipt attributes 
related to defect 0028588 closed aaroncalero The time of a quotation is shown as null/undefined after switching to a ticket and back to the quotation 
related to design defect 0028707 closed Orekaria Stabilization: The Cashup logic is using a field called 'createdDate' while the Openbravo standard is 'creationDate' 
Issue History
2014-12-11 20:12jecharriNew Issue
2014-12-11 20:12jecharriAssigned To => marvintm
2014-12-11 20:12jecharriResolution time => 1424300400
2014-12-11 20:12jecharriTriggers an Emergency Pack => No
2014-12-16 16:39mtaalNote Added: 0072565
2014-12-16 16:39mtaalStatusnew => feedback
2014-12-19 10:09mtaalTarget VersionRR15Q1 => RR15Q2
2014-12-26 08:12jecharriNote Added: 0072831
2014-12-26 08:12jecharriStatusfeedback => new
2015-01-08 11:46mtaalAssigned Tomarvintm => aaroncalero
2015-01-20 09:42hgbotCheckin
2015-01-20 09:42hgbotNote Added: 0073635
2015-01-20 09:42hgbotStatusnew => resolved
2015-01-20 09:42hgbotResolutionopen => fixed
2015-01-20 09:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/74be63e9a638d1a5c28987750cdf09347d95f2dc [^]
2015-01-20 19:46OrekariaRelationship addedrelated to 0028694
2015-01-20 19:46OrekariaRelationship addedrelated to 0028588
2015-01-21 10:40OrekariaRelationship addedrelated to 0028707
2015-01-26 16:43mtaalReview Assigned To => mtaal
2015-01-26 16:43mtaalNote Added: 0073785
2015-01-26 16:43mtaalStatusresolved => closed
2015-01-26 16:43mtaalFixed in Version => RR15Q2

Notes
(0072565)
mtaal   
2014-12-16 16:39   
Hi,
To have the start and end of a session/till there is the retail.sessions module.

The only thing we can change in core retail is that the creation date/time is the time the cashup was done in the client and then try to use this as the creation date in the server.

But this is not the same as the start time/date of the till.

So let me know if the change what I propose is indeed what the customer wants. Or if that the customer has more usage of the retail.sessions module.

gr. Martin
(0072831)
jecharri   
2014-12-26 08:12   
Hi,

The only thing that I am asking is that the cash up in the ERP should have the same creationDate that it has in the client side. With this solution the bug will be solved.

I know and also client knows that the result is not going to be exactly the same as working with tills.
(0073635)
hgbot   
2015-01-20 09:42   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 74be63e9a638d1a5c28987750cdf09347d95f2dc
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Tue Jan 20 09:32:47 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/74be63e9a638d1a5c28987750cdf09347d95f2dc [^]

Fixed issue 28394: Cash up creation date is not properly set in the ERP when the cash up is synchronized

Changed the format of the creationDate of the cashup in the POS to match the format of the date when it's recovered from the server.
Added the createdDate field to the cashup json sent to the backend to be synchronized.
Audit info is updated in the server after the Dal object is saved for the first time.

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0073785)
mtaal   
2015-01-26 16:43   
Reviewed and tested