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

View Revisions: Issue #45875 Back to Issue ]
Summary 0045875: RT Printer v 2.0 - Lottery code
Revision 2021-03-29 11:55 by psanjuan
Description Lottery Law starting from January 2021

Below attached Specs describe Lottery Code implementation in Openbravo as the way to capture customer lottery code in any sale transaction.
See https://docs.google.com/document/d/1HbMchAGxTTEA0q52J0jd_km9u0Vlm9fYaSG5dnKx6Gs/edit [^] (IT Receitp Lottery - Functional Specs).

Revision 2021-03-04 15:35 by psanjuan
Description Lottery Law starting from January 2021

Below attached Specs describe Lottery Code implementation in Openbravo as the way to capture customer lottery code in any sale transaction.
See https://docs.google.com/document/d/1HbMchAGxTTEA0q52J0jd_km9u0Vlm9fYaSG5dnKx6Gs/edit [^] (IT Receitp Lottery - Functional Specs).

Once captured, that lottery code needs to be sent to the RT-Printer by using below listed command:

* Send Lottery personal ID CODE (1-135). Use the Direct-IO command 1-135 to send to the printer the Lottery personal ID Code.

Same way, this lottery code needs to be printed in the commercial document.

To print the lottery code, the sequence of the commands is as follow:
* BeginFiscalReceipt
* PrintRecItem
* PrintRecTotal
* DirectIO
* EndFiscalReceipt

See document https://drive.google.com/drive/folders/1ba9z6aJ5Vs_CnESXNNkXAX0ZbCm28JzW [^]
(Workshop_ONLINE_RT_lOTTERY_XML2_0_REV05_confidential.pdf

To print out a Lottery Refund/Void receipt the commands sequence is as follow:
* PrintRecMessage (Void/Refund text)
* BeginFiscalReceipt
* PrintRecRefund
* PrintRecTotal
* DirectIO (LotteryIDCode)
* EndFiscalReceipt

The LotteryIDCode must be sent if the original sales receipt was not found in the EJ of the RT Printer. If the original receipt is found in the EJ the RT add the Lottery ID Code available in the original receipt.

In Openbravo terms, verified returns will capture the LotteryIDCode of the original sale, so that one can be sent.

RT 2.0 version

TBD

A new "Fiscal Department" needs to be created so it can be assigned to the corresponding payment method.

(exiting ones: 0=cash,1=check,2=credit(Non Riscosso),3=ticket (ticket restaurant).

A needs to be added to the payment commands:
(8) = Sconto a pagare (Discount of payment)
(9) = Non Riscosso Omaggio (Not paid for item not delivered - deposit)

The amounts related to this payment method should not participate in the lottery

Functional flows:
1.- payment not collected for delivered goods (Credit)

Totale complessivo 122.00
di cui iva 22.00
Pagament contante 30.05
Non riscoso (credito) 91.50 (existing payment method) - 3 - Non Riscoso, this amount does not participate in the lottery

Sconto a pagare 0.00
Impoto pagato 30.50


2.- passive rounding (rounding down 20.01 to 20.00)

totale complesivo 50.02 (not rounded)
Di cui iva 9.02
Pagamento Contante 50.00
Sconto a pagare 0.02
Resto 0.00

Payment information:
Importo pagato 50.00
Arrotondamento 0.02

3. Sale and usage of a product gift card

Sale
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 122.00
Importo pagado 122.00

Usage
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 0.00
Sconto a pagare 122.00
Importo pagado 0.00



Revision 2021-03-03 14:19 by psanjuan
Description Lottery Law starting from January 2021

Below attached Specs describe Lottery Code implementation in Openbravo as the way to capture customer lottery code in any sale transaction.
See https://docs.google.com/document/d/1HbMchAGxTTEA0q52J0jd_km9u0Vlm9fYaSG5dnKx6Gs/edit [^] (IT Receitp Lottery - Functional Specs).

Once captured, that lottery code needs to be sent to the RT-Printer by using below listed command:

* Send Lottery personal ID CODE (1-135). Use the Direct-IO command 1-135 to send to the printer the Lottery personal ID Code.

Same way, this lottery code needs to be printed in the commercial document.

To print the lottery code, the sequence of the commands is as follow:
* BeginFiscalReceipt
* PrintRecItem
* PrintRecTotal
* DirectIO
* EndFiscalReceipt

See document https://drive.google.com/drive/folders/1ba9z6aJ5Vs_CnESXNNkXAX0ZbCm28JzW [^]
(Workshop_ONLINE_RT_lOTTERY_XML2_0_REV05_confidential.pdf

To print out a Lottery Refund/Void receipt the commands sequence is as follow:
* PrintRecMessage (Void/Refund text)
* BeginFiscalReceipt
* PrintRecRefund
* PrintRecTotal
* DirectIO (LotteryIDCode)
* EndFiscalReceipt

The LotteryIDCode must be sent if the original sales receipt was not found in the EJ of the RT Printer. If the original receipt is found in the EJ the RT add the Lottery ID Code available in the original receipt.

In Openbravo terms, verified returns will capture the LotteryIDCode of the original sale, so that one can be sent.

RT 2.0 version

A new "Fiscal Department" needs to be created so it can be assigned to the corresponding payment method.

(exiting ones: 0=cash,1=check,2=credit(Non Riscosso),3=ticket (ticket restaurant).

New one:
8 = Sconto a pagare (Discount of payment)

The amounts related to this payment method should not participate in the lottery

Functional flows:
1.- payment not collected for delivered goods (Credit)

Totale complessivo 122.00
di cui iva 22.00
Pagament contante 30.05
Non riscoso (credito) 91.50 (existing payment method) - 3 - Non Riscoso, this amount does not participate in the lottery

Sconto a pagare 0.00
Impoto pagato 30.50


2.- passive rounding (rounding down 20.01 to 20.00)

totale complesivo 50.02 (not rounded)
Di cui iva 9.02
Pagamento Contante 50.00
Sconto a pagare 0.02
Resto 0.00

Payment information:
Importo pagato 50.00
Arrotondamento 0.02

3. Sale and usage of a product gift card

Sale
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 122.00
Importo pagado 122.00

Usage
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 0.00
Sconto a pagare 122.00
Importo pagado 0.00



Revision 2021-03-03 14:12 by psanjuan
Description Lottery Law starting from January 2021

Below attached Specs describe Lottery Code implementation in Openbravo as the way to capture customer lottery code in any sale transaction.
See https://docs.google.com/document/d/1HbMchAGxTTEA0q52J0jd_km9u0Vlm9fYaSG5dnKx6Gs/edit [^] (IT Receitp Lottery - Functional Specs).

Once captured, that lottery code needs to be sent to the RT-Printer by using below listed command:

* Send Lottery personal ID CODE (1-135). Use the Direct-IO command 1-135 to send to the printer the Lottery personal ID Code.

Same way, this lottery code needs to be printed in the commercial document.

To print the lottery code, the sequence of the commands is as follow:
* BeginFiscalReceipt
* PrintRecItem
* PrintRecTotal
* DirectIO
* EndFiscalReceipt

See document https://drive.google.com/drive/folders/1ba9z6aJ5Vs_CnESXNNkXAX0ZbCm28JzW [^]
(Workshop_ONLINE_RT_lOTTERY_XML2_0_REV05_confidential.pdf

To print out a Lottery Refund/Void receipt the commands sequence is as follow:
* PrintRecMessage (Void/Refund text)
* BeginFiscalReceipt
* PrintRecRefund
* PrintRecTotal
* DirectIO (LotteryIDCode)
* EndFiscalReceipt

The LotteryIDCode must be sent if the original sales receipt was not found in the EJ of the RT Printer. If the original receipt is found in the EJ the RT add the Lottery ID Code available in the original receipt.

In Openbravo terms, verified returns will capture the LotteryIDCode of the original sale, so that one can be sent.

RT 2.0 version


New payment methods to be created:

8 = Sconto a pagare

The amounts related to this payment method should not participate in the lottery

Functional flows:
1.- payment not collected for delivered goods (Credit)

Totale complessivo 122.00
di cui iva 22.00
Pagament contante 30.05
Non riscoso (credito) 91.50 (existing payment method) - 3 - Non Riscoso, this amount does not participate in the lottery

Sconto a pagare 0.00
Impoto pagato 30.50


2.- passive rounding (rounding down 20.01 to 20.00)

totale complesivo 50.02 (not rounded)
Di cui iva 9.02
Pagamento Contante 50.00
Sconto a pagare 0.02
Resto 0.00

Payment information:
Importo pagato 50.00
Arrotondamento 0.02

3. Sale and usage of a product gift card

Sale
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 122.00
Importo pagado 122.00

Usage
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 0.00
Sconto a pagare 122.00
Importo pagado 0.00



Revision 2021-03-03 11:59 by psanjuan
Description Lottery Law starting from January 2021

Below attached Specs describe Lottery Code implementation in Openbravo as the way to capture customer lottery code in any sale transaction. See https://docs.google.com/document/d/1HbMchAGxTTEA0q52J0jd_km9u0Vlm9fYaSG5dnKx6Gs/edit [^] (IT Receitp Lottery - Functional Specs).

Once capture, that lottery code needs to be sent to the RT-Printer by using below listed command:

* Send Lottery personal ID CODE (1-135). Use the Direct-IO command 1-135 to send to the printer the Lottery personal ID Code.

Same way, this lottery code needs to be printed in the commercial document.

To print the lottery code, the sequence of the commands is as follow:
* BeginFiscalReceipt
* PrintRecItem
* PrintRecTotal
* DirectIO
* EndFiscalReceipt

See document https://drive.google.com/drive/folders/1ba9z6aJ5Vs_CnESXNNkXAX0ZbCm28JzW [^]
(Workshop_ONLINE_RT_lOTTERY_XML2_0_REV05_confidential.pdf

To print out a Lottery Refund/Void receipt the commands sequence is as follow:
* PrintRecMessage (Void/Refund text)
* BeginFiscalReceipt
* PrintRecRefund
* PrintRecTotal
* DirectIO (LotteryIDCode)
* EndFiscalReceipt

The LotteryIDCode must be sent if the original sales receipt was not found in the EJ of the RT Printer. If the original receipt is found in the EJ the RT add the Lottery ID Code available in the original receipt.

In Openbravo terms, verified returns will capture the LotteryIDCode of the original sale, so that one can be sent.

RT 2.0 version


New payment methods to be created:

8 = Sconto a pagare

The amounts related to this payment method should not participate in the lottery

Functional flows:
1.- payment not collected for delivered goods (Credit)

Totale complessivo 122.00
di cui iva 22.00
Pagament contante 30.05
Non riscoso (credito) 91.50 (existing payment method) - 3 - Non Riscoso, this amount does not participate in the lottery

Sconto a pagare 0.00
Impoto pagato 30.50


2.- passive rounding (rounding down 20.01 to 20.00)

totale complesivo 50.02 (not rounded)
Di cui iva 9.02
Pagamento Contante 50.00
Sconto a pagare 0.02
Resto 0.00

Payment information:
Importo pagato 50.00
Arrotondamento 0.02

3. Sale and usage of a product gift card

Sale
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 122.00
Importo pagado 122.00

Usage
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 0.00
Sconto a pagare 122.00
Importo pagado 0.00



Revision 2021-03-03 11:55 by psanjuan
Description Lottery Law starting from January 2021

Below attached Specs describe Lottery Code implementation in Openbravo as the way to capture customer lottery code in any sale transaction. See https://docs.google.com/document/d/1HbMchAGxTTEA0q52J0jd_km9u0Vlm9fYaSG5dnKx6Gs/edit [^] (IT Receitp Lottery - Functional Specs).

Once capture, that lottery code needs to be sent to the RT-Printer by using below listed command:

* Send Lottery personal ID CODE (1-135). Use the Direct-IO command 1-135 to send to the printer the Lottery personal ID Code.

Same way, this lottery code needs to be printed in the commercial document.

To print the lottery code, the sequence of the commands is as follow:
* BeginFiscalReceipt
* PrintRecItem
* PrintRecTotal
* DirectIO
* EndFiscalReceipt

See document https://drive.google.com/drive/folders/1ba9z6aJ5Vs_CnESXNNkXAX0ZbCm28JzW [^]
(Workshop_ONLINE_RT_lOTTERY_XML2_0_REV05_confidential.pdf

To print out a Lottery Refund/Void receipt the commands sequence is as follow:
* PrintRecMessage (Void/Refund text)
* BeginFiscalReceipt
* PrintRecRefund
* PrintRecTotal
* DirectIO (LotteryIDCode)
* EndFiscalReceipt

The LotteryIDCode must be sent if the original sales receipt was not found in the EJ of the RT Printer. If the original receipt is found in the EJ the RT add the Lottery ID Code available in the original receipt.

In Openbravo terms, verified returns will capture the LotteryIDCode of the original sale, so that one can be sent.

RT 2.0 version

New payment methods to be created:
 "Sconto a Pagare"
The amounts related to this payment method should not participate in the lottery

Functional flow:
1.- payment not collected for delivered goods (Credit)
2.- passive rounding (rounding down 20.01 to 20.00)

totale complesivo 50.02 (not rounded)
Di cui iva 9.02
Pagamento Contante 50.00
Sconto a pagare 0.02
Resto 0.00

Payment information:
Importo pagato 50.00
Arrotondamento 0.02

3. Sale and usage of a product gift card
Sale
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 122.00
Importo pagado 122.00

Usage
Totale complessivo 122.00
di cui iva 22.00
Pagament contante 0.00
Sconto a pagare 122.00
Importo pagado 0.00



Revision 2021-03-03 11:40 by psanjuan
Description Lottery Law starting from January 2021

Below attached Specs describe Lottery Code implementation in Openbravo as the way to capture customer lottery code in any sale transaction. See https://docs.google.com/document/d/1HbMchAGxTTEA0q52J0jd_km9u0Vlm9fYaSG5dnKx6Gs/edit [^] (IT Receitp Lottery - Functional Specs).

Once capture, that lottery code needs to be sent to the RT-Printer by using below listed command:

* Send Lottery personal ID CODE (1-135). Use the Direct-IO command 1-135 to send to the printer the Lottery personal ID Code.

Same way, this lottery code needs to be printed in the commercial document.

To print the lottery code, the sequence of the commands is as follow:
* BeginFiscalReceipt
* PrintRecItem
* PrintRecTotal
* DirectIO
* EndFiscalReceipt

See document https://drive.google.com/drive/folders/1ba9z6aJ5Vs_CnESXNNkXAX0ZbCm28JzW [^]
(Workshop_ONLINE_RT_lOTTERY_XML2_0_REV05_confidential.pdf

To print out a Lottery Refund/Void receipt the commands sequence is as follow:
* PrintRecMessage (Void/Refund text)
* BeginFiscalReceipt
* PrintRecRefund
* PrintRecTotal
* DirectIO (LotteryIDCode)
* EndFiscalReceipt

The LotteryIDCode must be sent if the original sales receipt was not found in the EJ of the RT Printer. If the original receipt is found in the EJ the RT add the Lottery ID Code available in the original receipt.

In Openbravo terms, verified returns will capture the LotteryIDCode of the original sale, so that one can be sent.

RT 2.0 version
Revision 2021-03-03 11:21 by psanjuan
Description Lottery Law starting from January 2021
Revision 2021-02-09 15:05 by psanjuan
Description tbd


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker