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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040430
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-03-21 12:382019-03-26 17:57
ReporterpsanjuanView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR19Q1
StatusclosedFix in branchFixed in SCM revision0a7856d5e4e7
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040430: Duplicated negative invoice created by the cash up process.

DescriptionDuplicated negative invoice created by the cash up process.
Steps To ReproduceIn a 19Q1 enviroment, configure below system preference as described below, by putting Web POS module in development:

"Web POS restrict invoice if no tax ID"

as Y

In the backoffice configure channel touchpoint (VBS-1) as:

Group orders in one invoice = No
Generate invoice for orders = No

Go to Web POS and refresh it.
Run a cash up process to start.

Create a receipt for Arturo Montoro, invoice it and pay it. Write down order number for instance receipt 128

Return that receipt by using the option, verified returs. Invoice that return and pay it. Write down order number, for instace 129

Go to the back office and verify that 2 new invoices have been created:
Invoice number 16 related to receipt 128; and Reverse Sales Invoice number 2 related to receipt 129. See image attached 40430_1

Go to Web POS and make another sales for VBS Customer. Do not invoice it. Write down ticket number 130

Return this sales by using the option verified returns. Do not invoice it. Write down ticket number 131

Run Cash up process.

Go to the backoffice and verify that there are 2 sales orders, 2 return from customer orders and 5 invoices.

The error here is that an additional negative sales invoice is created related to the receipt 129, already invoiced (Reverse Sales Invoice). See image attached 40430_2
Proposed SolutionThere should only be 4 invoices in this scenario.

Last negative sales invoice should not have been created.
TagsNo tags attached.
Attached Filesjpg file icon 40430_1.jpg [^] (85,534 bytes) 2019-03-21 13:01


jpg file icon 40430_2.jpg [^] (81,208 bytes) 2019-03-21 13:02

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040371 closedjorge-garcia Cash up process is not creating reverse sales invoices 

-  Notes
(0110543)
psanjuan (manager)
2019-03-21 13:00

This is working OK in 18Q4
(0110639)
hgbot (developer)
2019-03-26 07:38

Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.returns
Changeset: 0a7856d5e4e7ae9ecea5973e70c54c83cbe39663
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Mar 26 12:07:56 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.returns/rev/0a7856d5e4e7ae9ecea5973e70c54c83cbe39663 [^]

Fixed issue 40430 : Duplicated negative invoice created by the cash up process

It necessary to reset invoicedQuantity property from order line when a verified
return line is added.

---
M web/org.openbravo.retail.returns/js/returnUtils.js
---

- Issue History
Date Modified Username Field Change
2019-03-21 12:38 psanjuan New Issue
2019-03-21 12:38 psanjuan Assigned To => Retail
2019-03-21 12:38 psanjuan Triggers an Emergency Pack => No
2019-03-21 13:00 psanjuan Note Added: 0110543
2019-03-21 13:00 psanjuan Steps to Reproduce Updated View Revisions
2019-03-21 13:00 psanjuan Proposed Solution updated
2019-03-21 13:01 psanjuan File Added: 40430_1.jpg
2019-03-21 13:02 psanjuan File Added: 40430_2.jpg
2019-03-25 12:20 psanjuan Steps to Reproduce Updated View Revisions
2019-03-25 12:20 psanjuan Proposed Solution updated
2019-03-25 12:20 psanjuan Steps to Reproduce Updated View Revisions
2019-03-25 12:51 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-03-25 12:51 ranjith_qualiantech_com Status new => scheduled
2019-03-26 07:32 ranjith_qualiantech_com Relationship added related to 0040371
2019-03-26 07:38 hgbot Checkin
2019-03-26 07:38 hgbot Note Added: 0110639
2019-03-26 07:38 hgbot Status scheduled => resolved
2019-03-26 07:38 hgbot Resolution open => fixed
2019-03-26 07:38 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.returns/rev/0a7856d5e4e7ae9ecea5973e70c54c83cbe39663 [^]
2019-03-26 17:57 marvintm Review Assigned To => marvintm
2019-03-26 17:57 marvintm Status resolved => closed
2019-03-26 17:57 marvintm Fixed in Version => RR19Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker