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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041464
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersmajoralways2019-07-26 12:542019-08-05 09:08
ReporterasiermartirenaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revisiona255b384b45f
ProjectionnoneETAnoneTarget Version
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

0041464: Payments are not correctly created during the reimburse process

DescriptionWhen doing a reimburse of a Credit Note or a Gift Certificate, the payments generate behind are not correct.

When doing a reimburse, a payment of type 'Credit Note/Gift Cartificate' should be created with the reimbursed amount, having positive sign. This payment should be set to the giftcard transaction created in the giftcard instance. The payment must be related to the Reimburse G/L Item.

In addition, a second payment must be created with the same amount, but in negative, having the payment method that the user has selected to reimburse. This new payment must also be related to the Reimburse G/L Item.
Steps To ReproduceLoad the Web POS and create a Credit Note.
Load the Credit Note using the gift cards popup of the menu entry.
Reimburse the Credit Note, using card (for example).
Complete the cash management process.

Go to the backend:
 - The gift card transaction created to cancel the credit note is related to a card payment. This is wrong, it should be related to a Credit Note payment, which has not been created (and should).
 - The 'Card' payment that has been created has positive amount. This is wrong, that amount has been returned to the customer, so it must be a negative payment. This causes that a drop transaction is related to a positive payment, which doesn't have sense.
TagsNo tags attached.
Attached Filespatch file icon issue 41464 source giftcards.patch [^] (6,914 bytes) 2019-07-29 15:17 [Show Content]
patch file icon issue 41464 source giftcards 2.patch [^] (14,863 bytes) 2019-07-30 13:06 [Show Content]
patch file icon issue 41464 source test.patch [^] (16,986 bytes) 2019-07-30 14:05 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0040960 closedranjith_qualiantech_com Server error when trying to reimburse a credit note created in a different organization 

-  Notes
(0113692)
hgbot (developer)
2019-07-29 16:04

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: a255b384b45fbfcf921175574b025aec6a894f96
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Jul 29 16:03:43 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/a255b384b45fbfcf921175574b025aec6a894f96 [^]

Fixes issue 41464: Payments are not correctly created during the reimburse process

---
M src/org/openbravo/retail/giftcards/hooks/ProcessCashMgmtHookGiftCard.java
M src/org/openbravo/retail/giftcards/process/GiftCardGLItemUtils.java
---
(0113699)
ranjith_qualiantech_com (developer)
2019-07-30 08:51

When doing reimbursement, unwanted financial transactions for the reimbursed amount is created
(0113709)
hgbot (developer)
2019-07-30 14:05

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: dd3b5a4f98ddd1a1fd71e9281cdbfc2af6e7becf
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 30 17:35:16 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/dd3b5a4f98ddd1a1fd71e9281cdbfc2af6e7becf [^]

Related to issue 41464 : Reibursement Payment transaction should be linked with Cashup Events

* When doing reimbusrment, 2 finpayments should be created
  1) Credit Note Payment method with positive amount
  2) Reimbursed Payment method with negative amount
* Both Payment transaction should be linked with Payment Mwthod Cashup events

---
M src/org/openbravo/retail/giftcards/GiftCardModel.java
M src/org/openbravo/retail/giftcards/hooks/ProcessCashMgmtHookGiftCard.java
M src/org/openbravo/retail/giftcards/process/GiftCardGLItemUtils.java
---
(0113720)
hgbot (developer)
2019-07-30 17:19

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 6f8c1cca9cf49424c0c9f5071605c72f8faf54bf
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 30 20:49:41 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/6f8c1cca9cf49424c0c9f5071605c72f8faf54bf [^]

Related to issue 41464 : Payment should be created with Gift Card Payment FinAccount.

* When reimbursing Gift Certificate, Payment should be created with FinAccount
  defined in Touchpoint Payment method

---
M src/org/openbravo/retail/giftcards/process/GiftCardGLItemUtils.java
---
(0113796)
hgbot (developer)
2019-08-03 13:36

Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 3791b62b386e8a25d2f46c4cb9695eabddab8cf1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Aug 03 17:06:06 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/3791b62b386e8a25d2f46c4cb9695eabddab8cf1 [^]

Related to issue 41464 : Payment method Cashup events should be linked with related transaction

---
M src/org/openbravo/retail/giftcards/process/GiftCardGLItemUtils.java
---
(0113803)
hgbot (developer)
2019-08-05 08:15

Repository: tools/automation/pi-mobile
Changeset: 604659e4ccecaa3e232c7a7cecd6c54247ee3bd4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Aug 05 11:45:16 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/604659e4ccecaa3e232c7a7cecd6c54247ee3bd4 [^]

Verifies issue 41464 : Modified automated test 'CreditNoteReimburse'

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/creditnote/CreditNoteReimburse.java
---

- Issue History
Date Modified Username Field Change
2019-07-26 12:54 asiermartirena New Issue
2019-07-26 12:54 asiermartirena Assigned To => Retail
2019-07-26 12:54 asiermartirena Resolution time => 1564696800
2019-07-26 12:54 asiermartirena Triggers an Emergency Pack => No
2019-07-29 05:09 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-07-29 07:33 ranjith_qualiantech_com Relationship added caused by 0040960
2019-07-29 07:33 ranjith_qualiantech_com Status new => scheduled
2019-07-29 15:17 ranjith_qualiantech_com File Added: issue 41464 source giftcards.patch
2019-07-29 16:04 hgbot Checkin
2019-07-29 16:04 hgbot Note Added: 0113692
2019-07-29 16:04 hgbot Status scheduled => resolved
2019-07-29 16:04 hgbot Resolution open => fixed
2019-07-29 16:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/a255b384b45fbfcf921175574b025aec6a894f96 [^]
2019-07-30 08:51 ranjith_qualiantech_com Note Added: 0113699
2019-07-30 08:51 ranjith_qualiantech_com Status resolved => new
2019-07-30 08:51 ranjith_qualiantech_com Resolution fixed => open
2019-07-30 08:51 ranjith_qualiantech_com Status new => scheduled
2019-07-30 11:02 ranjith_qualiantech_com File Added: issue 41464 source giftcards 2.patch
2019-07-30 13:06 ranjith_qualiantech_com File Deleted: issue 41464 source giftcards 2.patch
2019-07-30 13:06 ranjith_qualiantech_com File Added: issue 41464 source giftcards 2.patch
2019-07-30 14:05 hgbot Checkin
2019-07-30 14:05 hgbot Note Added: 0113709
2019-07-30 14:05 ranjith_qualiantech_com File Added: issue 41464 source test.patch
2019-07-30 17:19 hgbot Checkin
2019-07-30 17:19 hgbot Note Added: 0113720
2019-08-02 14:53 marvintm Status scheduled => resolved
2019-08-02 14:53 marvintm Fixed in Version => RR19Q4
2019-08-02 14:53 marvintm Resolution open => fixed
2019-08-03 13:36 hgbot Checkin
2019-08-03 13:36 hgbot Note Added: 0113796
2019-08-05 08:15 hgbot Checkin
2019-08-05 08:15 hgbot Note Added: 0113803
2019-08-05 09:08 marvintm Review Assigned To => marvintm
2019-08-05 09:08 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker