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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035175
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSmajoralways2017-02-07 08:072017-02-15 10:32
ReporterpradeepvarmaView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed 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

0035175: Loss of ticket number if ticket numbering is different from return numbering

DescriptionLoss of ticket number if ticket numbering is different from return numbering :

Add prefix in the field "Return No Prefix" in the POS Terminal.

1 - Create a ticket with 1 product : number 01. Don't finalize the ticket
2 - Create a new ticket with 1 line : Number 02. Don't finalize the ticket
3 - Call back the ticket 01
4 - Delete the line . New number for the ticket is RT01 (return ticket). This is the
first problem.
5 - Add a new line in this ticket (01) the number is 03.
6 - Finalize the ticket 03
7 - Finalize the ticket 02

The ticket number 01 is lost.

After the step 5 :
6 - Create a new tikcet (all tickets are pending). The number is 03. Don't finalize
the ticket
7 - Create a new ticket, the number is also 03
8 - same than 7

We check in a standard version (16Q3 and 16Q4.2) without specific development and
it's the same.
Steps To ReproduceLoss of ticket number if ticket numbering is different from return numbering :

Add prefix in the field "Return No Prefix" in the POS Terminal.

1 - Create a ticket with 1 product : number 01. Don't finalize the ticket
2 - Create a new ticket with 1 line : Number 02. Don't finalize the ticket
3 - Call back the ticket 01
4 - Delete the line . New number for the ticket is RT01 (return ticket). This is the
first problem.
5 - Add a new line in this ticket (01) the number is 03.
6 - Finalize the ticket 03
7 - Finalize the ticket 02

After the step 5 :
6 - Create a new tikcet (all tickets are pending). The number is 03. Don't finalize
the ticket
7 - Create a new ticket, the number is also 03
8 - same than 7

The ticket number 01 is lost.

We check in a standard version (16Q3 and 16Q4.2) without specific development and
it's the same.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0094310)
marvintm (manager)
2017-02-14 13:01

The reported problem is different from issue 35184. Issue 35184 refers to empty tickets, but in this case, tickets have lines, and it's possible to generate a hole in the sequence, even when using Saving Delete Tickets functionality.
(0094321)
marvintm (manager)
2017-02-14 15:53

After discussing it internally, we have concluded that this is a design defect, and to fix it, the way document numbers are generated for the Web POS should be overhauled.

Currently, we only keep track of the maximum next document number which should be assigned to the next ticket. This means that it is possible to generate holes in the ticket sequence, because it's possible to create tickets after a given ticket, and then delete it. Using the Saving Delete Tickets functionality mitigates the problem in some cases, but it doesn't fix it completely, as it's still possible to generate holes by deleting empty tickets, or as this issue explains, by changing orders into returns or viceversa, and likely there are other flows which may generate this.

The proper solution for this problem would be to change the way the Web POS assigns the next document number, so that it keeps track of lost document numbers, and reuses them for new tickets when possible. This however is quite a complex development, which is why we are changing this issue to be a design defect.

- Issue History
Date Modified Username Field Change
2017-02-07 08:07 pradeepvarma New Issue
2017-02-07 08:07 pradeepvarma Assigned To => Retail
2017-02-07 08:07 pradeepvarma Triggers an Emergency Pack => No
2017-02-07 10:44 pradeepvarma Description Updated View Revisions
2017-02-07 10:44 pradeepvarma Steps to Reproduce Updated View Revisions
2017-02-07 14:41 egoitz Resolution time => 1488236400
2017-02-13 11:06 ranjith_qualiantech_com Relationship added duplicate of 0035184
2017-02-13 11:13 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2017-02-13 11:13 ranjith_qualiantech_com Status new => scheduled
2017-02-13 11:31 jorge-garcia Status scheduled => resolved
2017-02-13 11:31 jorge-garcia Resolution open => fixed
2017-02-14 13:01 marvintm Note Added: 0094310
2017-02-14 13:01 marvintm Status resolved => new
2017-02-14 13:01 marvintm Resolution fixed => open
2017-02-14 15:53 marvintm Note Added: 0094321
2017-02-14 15:53 marvintm Type defect => design defect
2017-02-14 16:07 marvintm Resolution time 1488236400 =>
2017-02-15 10:31 ranjith_qualiantech_com Relationship deleted 0035184
2017-02-15 10:32 ranjith_qualiantech_com Assigned To ranjith_qualiantech_com => Retail


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker