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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031541
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2015-11-20 09:492015-12-07 18:16
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revisionee02df1dfd18
ProjectionnoneETAnoneTarget VersionRR16Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031541: Ensure that in case of multi-server that the all the generated documents in the orderloader have the same document no

DescriptionIn case of multi-server approaches a ticket is send to multiple servers at the same time. This means that the same ticket is processed in 2 places, each with their own document numbers. This means that document numbers in the store and central server can be different.

For larger customers (using multi-server) the document numbers of our payments and shipments (created through the orderloader) are not critical.
Steps To ReproduceInstall multiple servers:
http://wiki.openbravo.com/wiki/How_to_Setup_MultiServer_Dev_Environment [^]

Create a ticket from webpos
Check the document numbers
Proposed SolutionThere are 2 solution approaches:
1- generate the document number in webpos
2- use the order document number for all related business documents

The proposal is to do approach 2 as the document numbers are not really important for most customers.

Note for the invoice generated daily for the cashup we can't really control the document number like this. But to be fair this daily invoice is not important at all for store server environments.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0082009)
mtaal (manager)
2015-11-20 10:26

We can re-use the use the preference use order document number for related documents. As is described here:
http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Base_Setup:_Enabling_Preference_.26_Multi-Server_Authentication [^]

We need some additional small changes to make it correctly work: payments need an incremental doc number and invoice document number should also be covered by this approach.
(0082050)
hgbot (developer)
2015-11-22 15:50

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ee02df1dfd189d42fe3006176981fac2d5a11251
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Nov 20 17:58:07 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ee02df1dfd189d42fe3006176981fac2d5a11251 [^]

Fixes issue 31541: Ensure that in case of multi-server that the all the generated documents in the orderloader have the same document no
Added count to make unique predictable doc numbers

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---

- Issue History
Date Modified Username Field Change
2015-11-20 09:49 mtaal New Issue
2015-11-20 09:49 mtaal Assigned To => mtaal
2015-11-20 09:49 mtaal Triggers an Emergency Pack => No
2015-11-20 10:26 mtaal Note Added: 0082009
2015-11-20 10:40 mtaal Status new => scheduled
2015-11-20 10:48 mtaal Review Assigned To => marvintm
2015-11-22 15:50 hgbot Checkin
2015-11-22 15:50 hgbot Note Added: 0082050
2015-11-22 15:50 hgbot Status scheduled => resolved
2015-11-22 15:50 hgbot Resolution open => fixed
2015-11-22 15:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ee02df1dfd189d42fe3006176981fac2d5a11251 [^]
2015-12-07 18:16 marvintm Status resolved => closed
2015-12-07 18:16 marvintm Fixed in Version => RR16Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker