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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040371
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-03-13 14:552019-03-26 17:56
ReporterpsanjuanView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR19Q2
StatusclosedFix in branchFixed in SCM revisionb9713de19b6a
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040371: Cash up process is not creating reverse sales invoices

DescriptionCash up process is not creating reverse sales invoices
Steps To ReproduceIn Livebuilds - Retail Oracle enviroment.

Go to Web POS and run a cash up process.

Go to Openbravo backoffice and configure VBS-1 Channel Touchpoint Type as described below:
Group orders in one invoice = No
Generate Invoice for orders = No
Therefore Cash Up process is the one that triggers invoice creation.

Go to Web POS and create a new sale/ticket for Arturo Montoro. Select 1 unit of product "Balaclava Cap". Confirm the sale and pay it in cash.

Run cash up process and keep that amount in cash.

In the backoffice chech that a sales order, goods shipment and sales invoice have been created.

Go back to Web POS, return that sale by using "Verified Returns".

Confirm and pay by cash that return.

Run cash up process. Check that no amount is remaining.

Go to the backoffice and check that a return from customer order has been created but check also that NO Reverse Sales Invoice has been created. This is not correct.
Proposed SolutionA Reverse Sales Invoice needs to be created.
TagsNo tags attached.
Attached Filesjpg file icon Issue_40371.jpg [^] (82,428 bytes) 2019-03-13 15:18

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040430 closedranjith_qualiantech_com Duplicated negative invoice created by the cash up process. 
blocks feature request 0033973 newRetail Handling Cash VAT Management during the creation of Orders or Invoices from POS 

-  Notes
(0110409)
psanjuan (manager)
2019-03-13 15:02

This scenario was working on 18Q4.
(0110411)
psanjuan (manager)
2019-03-13 15:15
edited on: 2019-03-13 15:17

If the return is invoiced by the same cash up process, then the reverse sales invoice is created either grouped in one invoice (total 0.00) or not (sales invoice for 301.00 and reverse sales invoice for -301.00). See image attached.

(0110504)
hgbot (developer)
2019-03-20 09:00

Repository: erp/pmods/org.openbravo.retail.returns
Changeset: b9713de19b6ad82a2b88991975bf351b611ab53a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Mar 14 17:05:42 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/b9713de19b6ad82a2b88991975bf351b611ab53a [^]

Fixed issue 40371: Cash up process is not creating reverse sales invoices

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
---
(0110659)
hgbot (developer)
2019-03-26 14:36

Repository: tools/automation/pi-mobile
Changeset: efd447389f0c2a341697e8db58a919bb6bb6a015
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Mar 25 12:12:21 2019 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/efd447389f0c2a341697e8db58a919bb6bb6a015 [^]

Related to issue 40371: added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I40371_VerifyCashupCreatesReverseSalesInvoice.java
---

- Issue History
Date Modified Username Field Change
2019-03-13 14:55 psanjuan New Issue
2019-03-13 14:55 psanjuan Assigned To => Retail
2019-03-13 14:55 psanjuan Triggers an Emergency Pack => No
2019-03-13 15:02 psanjuan Note Added: 0110409
2019-03-13 15:02 psanjuan Steps to Reproduce Updated View Revisions
2019-03-13 15:02 psanjuan Proposed Solution updated
2019-03-13 15:15 psanjuan Note Added: 0110411
2019-03-13 15:17 psanjuan Note Edited: 0110411 View Revisions
2019-03-13 15:18 psanjuan File Added: Issue_40371.jpg
2019-03-13 15:51 psanjuan Relationship added blocks 0033973
2019-03-14 11:36 jorge-garcia Status new => scheduled
2019-03-14 11:36 jorge-garcia Assigned To Retail => jorge-garcia
2019-03-20 09:00 hgbot Checkin
2019-03-20 09:00 hgbot Note Added: 0110504
2019-03-20 09:00 hgbot Status scheduled => resolved
2019-03-20 09:00 hgbot Resolution open => fixed
2019-03-20 09:00 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/b9713de19b6ad82a2b88991975bf351b611ab53a [^]
2019-03-26 07:32 ranjith_qualiantech_com Relationship added related to 0040430
2019-03-26 14:36 hgbot Checkin
2019-03-26 14:36 hgbot Note Added: 0110659
2019-03-26 17:56 marvintm Review Assigned To => marvintm
2019-03-26 17:56 marvintm Status resolved => closed
2019-03-26 17:56 marvintm Fixed in Version => RR19Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker