Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055095Retail ModulesWeb POSpublic2024-04-04 11:592024-04-18 13:23
kousalya_r 
kousalya_r 
normalmajoralways
closedfixed 
5
 
 
No
0055095: No valid DocumentNo for the 'Canellation Invoice' when cancel and replace.
No valid DocumentNo for the 'Corrective Invoice' when cancel and replace.

In POS1, when a cancel and replace operation is done, three invoices are generated following the sequences defined at ‘Channel - Touchpoint’ level.

In POS2, when a cancel and replace operation is done, three invoices are generated but only the original invoice and the new one are following the sequences defined at ‘Channel - Touchpoint’ level. The corrective invoice has a documentNo='Original Invoice DocumentNo' || ‘*R*’.

The current DocumentNo for the corrective invoices generate two issues for TRU

Firstly, TRU only can send to SAP DocumentNo with 15 characters.

Secondly, TRU send the Corrective Invoices to SII and SAFT and a the documentNo must be correlatives and with no gaps.
*
No tags attached.
depends on backport 0055243RR24Q2 closed kousalya_r No valid DocumentNo for the 'Canellation Invoice' when cancel and replace. 
png image-20240318-120602.png (288,608) 2024-04-04 11:59
https://issues.openbravo.com/file_download.php?file_id=19608&type=bug
png image-20240318-120529.png (133,139) 2024-04-04 12:00
https://issues.openbravo.com/file_download.php?file_id=19609&type=bug
png
Issue History
2024-04-04 11:59kousalya_rNew Issue
2024-04-04 11:59kousalya_rFile Added: image-20240318-120602.png
2024-04-04 12:00kousalya_rFile Added: image-20240318-120529.png
2024-04-04 12:06hgbotNote Added: 0162835
2024-04-05 09:22rearendhickNote Added: 0162865
2024-04-05 09:55aferrazNote Deleted: 0162865
2024-04-11 15:36hgbotNote Added: 0163103
2024-04-15 09:51hgbotResolutionopen => fixed
2024-04-15 09:51hgbotStatusnew => closed
2024-04-15 09:51hgbotFixed in Version => PR24Q3
2024-04-15 09:51hgbotNote Added: 0163184
2024-04-15 09:51hgbotNote Added: 0163185
2024-04-15 09:51hgbotNote Added: 0163186
2024-04-15 09:51hgbotNote Added: 0163187
2024-04-18 13:22aferrazAssigned To => kousalya_r
2024-04-18 13:22aferrazStatusclosed => new
2024-04-18 13:22aferrazResolutionfixed => open
2024-04-18 13:22aferrazFixed in VersionPR24Q3 =>
2024-04-18 13:22aferrazProjectOpenbravo Localizations => Retail Modules
2024-04-18 13:23aferrazTriggers an Emergency Pack => No
2024-04-18 13:23aferrazCategoryLocalization France => Web POS
2024-04-18 13:23aferrazStatusnew => scheduled
2024-04-18 13:23aferrazNote Added: 0163375
2024-04-18 13:23aferrazStatusscheduled => resolved
2024-04-18 13:23aferrazResolutionopen => fixed
2024-04-18 13:23aferrazStatusresolved => closed

Notes
(0162835)
hgbot   
2024-04-04 12:06   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1181 [^]
(0163103)
hgbot   
2024-04-11 15:36   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/385 [^]
(0163184)
hgbot   
2024-04-15 09:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: aa1bdac37d7ecc2d1ab55363e8776c6eecf782d1
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 15-04-2024 07:51:22
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/aa1bdac37d7ecc2d1ab55363e8776c6eecf782d1 [^]

Fixes ISSUE-55095: Cancelled document type sequence is set for corrective invoice

---
M src/org/openbravo/erpCommon/businessUtility/ReplaceOrderExecutor.java
---
(0163185)
hgbot   
2024-04-15 09:51   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/385 [^]
(0163186)
hgbot   
2024-04-15 09:51   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1181 [^]
(0163187)
hgbot   
2024-04-15 09:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 6dc3a3a30318c1066b4ed724a11d0a233f550c1b
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 15-04-2024 07:51:32
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/6dc3a3a30318c1066b4ed724a11d0a233f550c1b [^]

Fixes ISSUE-55095: Cancelled document type sequence is set for corrective invoice

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleCancelI.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleCancelII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleInvoice.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleLayaway.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSalePartial.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleQuotation.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleReceipt.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleReplaceI.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleReplaceII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleReplaceIII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleReturn.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleReverse.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleVoidI.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreSaleVoidII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreTerminalHelper.java
---
(0163375)
aferraz   
2024-04-18 13:23   
Reopened to create backport.