Openbravo Issue Tracking System - POS2
View Issue Details
0049345POS2POSpublic2022-05-17 14:172022-06-09 08:17
guilleaer 
ruben_jimenez 
normalminorhave not tried
closedfixed 
5
 
 
No
0049345: FLUN-3003 - When credit notes are generated through a payment method their code is the order docNo. This not allow to scan them
When credit notes are generated through a payment method their code is the docNo of the order. This does not allow scanning the credit notes because the scanning handler will detect it as an order.

We need to allow to configure a prefix for this kind as credot note as we are doing as touchpoint level for other documents
N/A
Add new field in touchpoint
Read the value of this field. If it is defined when the credit note is created use it.

Example:
Prefix for order: OR
Prefix for credit note: CN

When credit note is created for order "OR17052022" the generated credit note should be "CN17052022"
No tags attached.
Issue History
2022-05-17 14:17guilleaerNew Issue
2022-05-17 14:17guilleaerAssigned To => Retail
2022-05-17 14:17guilleaerTriggers an Emergency Pack => No
2022-05-17 15:36guilleaerSummaryWhen credit notes are generated through a payment method their code is the order docuemnt No. This not allow to scan them => FLUN-3003 - When credit notes are generated through a payment method their code is the order docNo. This not allow to scan them
2022-05-23 10:03mtaalAssigned ToRetail => ruben_jimenez
2022-05-25 16:40mtaalNote Added: 0137732
2022-05-27 16:55hgbotNote Added: 0137832
2022-05-27 16:58hgbotNote Added: 0137833
2022-05-27 17:38hgbotNote Added: 0137835
2022-06-01 09:37hgbotNote Added: 0137914
2022-06-06 15:43hgbotNote Added: 0138087
2022-06-09 03:34hgbotResolutionopen => fixed
2022-06-09 03:34hgbotStatusnew => closed
2022-06-09 03:34hgbotNote Added: 0138177
2022-06-09 03:34hgbotNote Added: 0138178
2022-06-09 08:17hgbotNote Added: 0138189

Notes
(0137732)
mtaal   
2022-05-25 16:40   
Small design:
https://docs.google.com/document/d/1l6mmnEkV1NBXuQBQgY6qYZ8h0R6NDtyq68KZvOlFoLo/edit# [^]
(0137832)
hgbot   
2022-05-27 16:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/122 [^]
(0137833)
hgbot   
2022-05-27 16:58   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/605 [^]
(0137835)
hgbot   
2022-05-27 17:38   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/605 [^]
(0137914)
hgbot   
2022-06-01 09:37   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/122 [^]
(0138087)
hgbot   
2022-06-06 15:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/125 [^]
(0138177)
hgbot   
2022-06-09 03:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 959d539172dad41b617c49869ea1baa44209a201
Author: Ruben Jimenez <ruben.jimenez@openbravo.com>
Date: 09-06-2022 01:34:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/959d539172dad41b617c49869ea1baa44209a201 [^]

Fixes ISSUE-49345 : Added support for prefixes in credit notes

---
A src-db/database/sourcedata/AD_CALLOUT.xml
A src-db/database/sourcedata/AD_MODEL_OBJECT.xml
A src/org/openbravo/retail/giftcards/ad_callouts/ResetCreditNoteSequenceNumber.java
A src/org/openbravo/retail/giftcards/term/CreditNoteSequence.java
M src-db/database/model/modifiedTables/OBPOS_APPLICATIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/giftcards/hooks/GiftCardHookUtils.java
M src/org/openbravo/retail/giftcards/term/TerminalProperties.java
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/CreditNoteTicketExtension.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/__test__/CreditNoteTicketExtension.test.jsx
M web-jspack/org.openbravo.retail.giftcards/src/ob-init.js
---
(0138178)
hgbot   
2022-06-09 03:34   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/125 [^]
(0138189)
hgbot   
2022-06-09 08:17   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata [^]
Changeset: 765674b0c3faf909045c2d2e362f283c3d41501d
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 09-06-2022 08:16:35
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/commit/765674b0c3faf909045c2d2e362f283c3d41501d [^]

Related to ISSUE-49345. Fixed sampledata consistency

---
M referencedata/sampledata/Retail_Test/OBPOS_APPLICATIONS.xml
---