Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039634 | Retail Modules | Web POS | public | 2018-11-15 13:32 | 2018-12-13 18:39 |
|
Reporter | ucarrion | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR19Q1 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | Gold |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0039634: Scaning GUN no able to scan C&R documents |
Description | Scaning GUN no able to scan C&R documents
"The scanning gun is not reading the correct characters when scanning C&R document (see below, for example: 214.105/0000417-1).
What is scanning currently: 214.105-0000417ç'1
What it should to scan: 214.105/0000417\-1
---UCA 1511: The main problem is now around setting the scanning gun. Manually (using the keyboard) there´s no problem to simulate the scan (thanks to issue https://issues.openbravo.com/view.php?id=39593 [^]). But in spite of applying that fix in production, in the stores the problem will persist when using the scanning gun (but it will work when simulating the scanning manually on the keypad)"
The doc.no for C&R documents has to be changed. The '-' character has to be '.' onwards just for a correct scanning in BUT, french keyboard. (due to lots of problems generated by the '\' for the scanning). |
Steps To Reproduce | +Create a C&R document
+Scan it with the gun |
Proposed Solution | A new field should be created at organization window, in the "Web POS formats". This field should have default value "-". Its value should be loaded in the WebPOS, and used as separator for the Cancel and Replace tickets. |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0039593 | | closed | jorge-garcia | '\' character does not work in Webpos | related to | defect | 0039860 | | closed | ranjith_qualiantech_com | '/' character as C&R document separator character not working well | related to | defect | 0039918 | | closed | ranjith_qualiantech_com | C&R DocumentNumber can contain a "null" in the WEBPOS |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-11-15 13:32 | ucarrion | New Issue | |
2018-11-15 13:32 | ucarrion | Assigned To | => Retail |
2018-11-15 13:32 | ucarrion | OBNetwork customer | => Gold |
2018-11-15 13:32 | ucarrion | Resolution time | => 1542668400 |
2018-11-15 13:32 | ucarrion | Triggers an Emergency Pack | => No |
2018-11-17 00:36 | marvintm | Relationship added | has duplicate 0039593 |
2018-11-20 18:02 | rqueralta | Assigned To | Retail => rqueralta |
2018-11-28 16:08 | ucarrion | Resolution time | 1542668400 => 1544396400 |
2018-11-28 16:08 | ucarrion | Description Updated | bug_revision_view_page.php?rev_id=17986#r17986 |
2018-11-28 16:08 | ucarrion | Proposed Solution updated | |
2018-11-28 16:18 | marvintm | Proposed Solution updated | |
2018-12-05 10:02 | ranjith_qualiantech_com | Assigned To | rqueralta => ranjith_qualiantech_com |
2018-12-05 10:02 | ranjith_qualiantech_com | Status | new => scheduled |
2018-12-06 14:08 | hgbot | Checkin | |
2018-12-06 14:08 | hgbot | Note Added: 0108314 | |
2018-12-06 14:08 | hgbot | Status | scheduled => resolved |
2018-12-06 14:08 | hgbot | Resolution | open => fixed |
2018-12-06 14:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aafd48c78bac4a75ac9a9bc71847a0ea71e154d2 [^] |
2018-12-06 14:08 | hgbot | Checkin | |
2018-12-06 14:08 | hgbot | Note Added: 0108315 | |
2018-12-07 12:20 | marvintm | Note Added: 0108327 | |
2018-12-07 12:20 | marvintm | Status | resolved => new |
2018-12-07 12:20 | marvintm | Resolution | fixed => open |
2018-12-07 14:16 | ranjith_qualiantech_com | Status | new => scheduled |
2018-12-10 07:30 | hgbot | Checkin | |
2018-12-10 07:30 | hgbot | Note Added: 0108352 | |
2018-12-10 07:30 | hgbot | Status | scheduled => resolved |
2018-12-10 07:30 | hgbot | Resolution | open => fixed |
2018-12-10 07:30 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aafd48c78bac4a75ac9a9bc71847a0ea71e154d2 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f175e481b1efe27fe636cc3112ee4b6e43461015 [^] |
2018-12-13 18:39 | marvintm | Review Assigned To | => marvintm |
2018-12-13 18:39 | marvintm | Status | resolved => closed |
2018-12-13 18:39 | marvintm | Fixed in Version | => RR19Q1 |
2018-12-28 12:21 | ranjith_qualiantech_com | Relationship added | related to 0039860 |
2019-01-11 06:54 | ranjith_qualiantech_com | Relationship added | related to 0039918 |
Notes |
|
(0108314)
|
hgbot
|
2018-12-06 14:08
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: aafd48c78bac4a75ac9a9bc71847a0ea71e154d2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Dec 06 18:38:04 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aafd48c78bac4a75ac9a9bc71847a0ea71e154d2 [^]
Fixed issue 39634 : Added New Field in Org for Cancel and Replace Document No Separator
---
M src-db/database/model/modifiedTables/AD_ORG.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/org/openbravo/retail/posterminal/term/TerminalProperties.java
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0108315)
|
hgbot
|
2018-12-06 14:08
|
|
|
|
|
Fix is not fully correct. The existing code searches for the separator character, so that if subsequent cancel and replace actions are executed, the document number first is 1, then 2, ...
VBS1/0000092
VBS1/0000092-1
VBS1/0000092-2
...
However, if we change the character to ".", then this part doesn't work:
VBS1/0000092
VBS1/0000092.1
VBS1/0000092.1.1
VBS1/0000092.1.1.1
...
The reason is that these two statements still have previous default value hardcoded:
splittedDocNo = me.get('documentNo').substring(terminalDocNoPrefix.length, me.get('documentNo').length).split('-');
newDocNo = me.get('documentNo').substring(0, me.get('documentNo').lastIndexOf('-')) + OB.MobileApp.model.get('terminal').cancelAndReplaceSeparator + nextNumber;
The '-' needs to be replaced by the cancelAndReplaceSeparator character. |
|
|
(0108352)
|
hgbot
|
2018-12-10 07:30
|
|
|