Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053864Retail ModulesRT-Printerpublic2023-11-06 13:362023-11-24 13:15
ngarcia 
fermin_gascon 
urgentmajoralways
closedinvalid 
5
 
 
ngarcia
No
0053864: Cannot fiscalize a ticket if a discount amount of 0 is added to it
Cannot fiscalize a ticket if a discount amount of 0 is added to it
It cannot be tested in livebuilds with modules due to the 48600 issue

Configure the Fiscal Printer
Set it to the touchpoint
Do a cashup
Create a new ticket
Add a product with a price of 0.01
Add a discount of 5%
Pay it with cash
Print it

Check the following error is shown:

Fiscalization error
The RT Printer cannot fiscalize the receipt. Please, try again.

The log shows:

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>83</lastCommand>
        <printerStatus>00100</printerStatus>
    </addInfo>
</response>
</soapenv:Body>
</soapenv:Envelope>

And the XML includes the following:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> [^]
  <s:Body>
    <printerFiscalReceipt>
      
        <beginFiscalReceipt operator="1" />
        
            <printRecItem
              operator="1"
              justification="1"
              description="CONTROLLI VEICOLI ELETTRICI E HYBRID"
              quantity="1"
              unitPrice="0,01"
              department="2" />
          
                <printRecItemAdjustment
                  operator="1"
                  justification="1"
                  adjustmentType="0"
                  description="GESTO COMMERCIALE - %"
                  amount="0" />
                

      <printRecSubtotal operator="1" option="1" />

        
      <printRecTotal
        description="Contanti EUR"
        payment="0,01"
        paymentType="0"
        index="0"
        justification="2" />
      
      <printBarCode operator="1" position="901" width="2" height="66" hRIPosition="2" hRIFont="A" codeType="CODE128"
        code="{AITA0010P60_NGA0000005" />
      

      <displayText data=" Totale. 0.01 Grazie. " />

      <endFiscalReceipt/>
    </printerFiscalReceipt>
  </s:Body>
</s:Envelope>

No tags attached.
depends on defect 0048600 new fermin_gascon Not possible to fiscalize a sales in the RT-printer in "main" version of this module 
Not all the children of this issue are yet resolved or closed.
Issue History
2023-11-06 13:36ngarciaNew Issue
2023-11-06 13:36ngarciaAssigned To => Triage Platform Conn
2023-11-06 13:36ngarciaTriggers an Emergency Pack => No
2023-11-06 13:36ngarciaRelationship addeddepends on 0048600
2023-11-17 10:08adrianromeroAssigned ToTriage Platform Conn => fermin_gascon
2023-11-24 13:15ngarciaReview Assigned To => ngarcia
2023-11-24 13:15ngarciaNote Added: 0157615
2023-11-24 13:15ngarciaStatusnew => closed
2023-11-24 13:15ngarciaResolutionopen => invalid

Notes
(0157615)
ngarcia   
2023-11-24 13:15   
Reproduced in customized code, not standard code