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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052643
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Localization Italymajoralways2023-06-01 16:552023-06-21 09:12
ReporterwicherrView Statuspublic 
Assigned Tofermin_gascon 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0052643: [RT Printer] Error trying to make a duplicate of an invoice

DescriptionWhen trying do print a duplicata of a full invoice, we have an error code = 16 and the fiscal department is missing in what is sent to rt printer.


line: Object.sendFiscalDocument (https://norauto-dev.services.openbravo.com/openbravo/web/js/gen/6d0410342e54b902e1e06dc56c27b673.js:217369:8 [^]) (*)
6d0410342e54b902e1e06dc56c27b673.js:356 Fiscalization Error : <?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> [^]
<soapenv:Body>
<response success="false" code="PRINTER ERROR" status="16">
    <addInfo>
        <elementList>lastCommand,printerStatus</elementList>
        <lastCommand>80</lastCommand>
        <printerStatus>00180</printerStatus>
    </addInfo>
</response>
</soapenv:Body>
</soapenv:Envelope>
; line: Object.sendFiscalDocument (https://norauto-dev.services.openbravo.com/openbravo/web/js/gen/6d0410342e54b902e1e06dc56c27b673.js:217396:12 [^]) (*)
OB.Console.error @ 6d0410342e54b902e1e06dc56c27b673.js:356
6d0410342e54b902e1e06dc56c27b673.js:340 Fiscalization body : <?xml version="1.0" encoding="utf-8"?>
<!--
************************************************************************************
* Copyright (C) 2022 Openbravo S.L.U.
* Licensed under the Openbravo Commercial License version 1.0
* You may obtain a copy of the License at http://www.openbravo.com/legal/obcl.html [^]
* or in the legal folder of this module distribution.
************************************************************************************
-->
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> [^]
  <s:Body>
    <printerFiscalDocument>
    
    
          <printRecMessage message="DUPLICATO" messageType="6" index="1" font="1" />
      
      <printRecMessage message="SNC SP SOLUZIONI PUBBLIC" messageType="6" index="2" font="1" />
      <printRecMessage message="P.I. " messageType="6" index="2" font="1" />
      <printRecMessage message="VIA LOMBARDORE 218 , " messageType="6" index="3" font="1" />
      <printRecMessage message="10040" messageType="6" index="4" font="1" />
      <printRecMessage message="FATTURA N. NORIT0416P57I0000001" messageType="6" index="5" font="1" />

      <beginFiscalDocument operator="1" documentType="directInvoice" documentNumber="1"/>
        
          <printRecItem
            operator="1"
            justification="1"
            description=" CL C/BATTERIA VIAGGIO USB"
            quantity="1"
            unitPrice="14,95"
            department="undefined" />
          
          <printRecItemAdjustment
            operator="1"
            justification="1"
            adjustmentType="0"
            description="8-ERRORE SU PREVENTIVO - %"
            amount="14,94" />
          
      <printRecTotal
        description="Contanti EUR"
        payment="0,01"
        paymentType="0"
        index="0"
        justification="2" />
      

      <displayText data=" Totale. 0.01 Grazie. " />
    <endFiscalDocument operator="1" />
    
    </printerFiscalDocument>
  </s:Body>
</s:Envelope>
; line: Object.sendFiscalDocument (https://norauto-dev.services.openbravo.com/openbravo/web/js/gen/6d0410342e54b902e1e06dc56c27b673.js:217397:12 [^]) (*)
Steps To ReproduceStep to reproduce :

- On webPOS, create an invoice
- Re-open the invoice
- Try to print a duplicata

(Reproduceable easily loading the invoice NORIT0416P57-0000001 on Norauto DEV environment)
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0151111)
psanjuan (manager)
2023-06-13 14:54
edited on: 2023-06-13 15:01

Propose solution updated:
1.- it is going to be controlled that it is not possible to reprint a Direct Invoice from the RT-Printer, as that option is not allowed by the RT-printer.
As a consequence of that we will remove some custom code that was implement which sent while reprinting the sales transaction to the RT-Printer once more. That is wrong, as the reprint of a sales transaction should not imply to fiscalize that transaction once more, even if talking about a Non Fiscal document.
2.- it is going to be defined how to reprint a full invoice in pdf format by using a different printer, as that is what we think is what required by the final customer.

(0151119)
psanjuan (manager)
2023-06-13 16:41

See JiRA related
https://openbravo.atlassian.net/browse/RM-6703 [^]
(0151423)
adrianromero (developer)
2023-06-21 09:12

Delivered in environments

https://gitlab.com/openbravo/customers/NOR/org.openbravo.retail.rtprinter/-/merge_requests/47 [^]
https://gitlab.com/openbravo/customers/NOR/com.openbravo.norauto.customizations/-/merge_requests/452 [^]

- Issue History
Date Modified Username Field Change
2023-06-01 16:55 wicherr New Issue
2023-06-01 16:55 wicherr Assigned To => psanjuan
2023-06-01 16:55 wicherr Tag Attached: NOR
2023-06-02 11:37 psanjuan Assigned To psanjuan => fermin_gascon
2023-06-13 14:54 psanjuan Note Added: 0151111
2023-06-13 15:01 psanjuan Note Edited: 0151111 View Revisions
2023-06-13 16:41 psanjuan Note Added: 0151119
2023-06-21 09:12 adrianromero Status new => scheduled
2023-06-21 09:12 adrianromero Status scheduled => resolved
2023-06-21 09:12 adrianromero Resolution open => fixed
2023-06-21 09:12 adrianromero Note Added: 0151423
2023-06-21 09:12 adrianromero Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker