Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045943Retail ModulesDelivery Modespublic2021-02-24 12:352021-03-09 04:11
lbressan 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR20Q4.1 
RR21Q2 
No
0045943: Invoice generation when making Issue Sales Order for more than one order fails
In WebPOS, when the Issue Sales Order is executed for more than one order and to different customers, an error message appears: "Two invoices cannot have the same document number in the same organization tree within the same fiscal year".

I attach images.
BO:
1. Set in BO the preference "Web POS Enable Delivery Modes".
2. set the business partner "Arturo Montoro" and "Mara Palliot" with Invoice Terms: After Order Delivery

POS:
3. create the first order with the business partner "Arturo Montoro", with the product "Baby Carrier" and quantity 1. Pay the order
4. create the second order with the business partner "Arturo Montoro" , with the product "Baby carrier" and quantity 2. Pay the order.
5. Create a third order with the business partner "Mara Palliot", with the product "Baby carrier" and quantity 3. Pay the order.
6. Select Issue Sales Orders
7. select the three orders
8. Then the error is displayed: "Two invoices cannot have the same document number in the same organization tree within the same fiscal year".
No tags attached.
zip issue.zip (914,292) 2021-02-24 12:35
https://issues.openbravo.com/file_download.php?file_id=15346&type=bug
diff 45943_20Q3_posterminal.diff (4,997) 2021-03-09 04:11
https://issues.openbravo.com/file_download.php?file_id=15373&type=bug
Issue History
2021-02-24 12:35lbressanNew Issue
2021-02-24 12:35lbressanAssigned To => Retail
2021-02-24 12:35lbressanFile Added: issue.zip
2021-02-24 12:35lbressanResolution time => 1615762800
2021-02-24 12:35lbressanTriggers an Emergency Pack => No
2021-02-24 13:08ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-02-25 06:43ranjith_qualiantech_comStatusnew => scheduled
2021-02-26 06:24hgbotNote Added: 0126370
2021-03-02 06:50hgbotResolutionopen => fixed
2021-03-02 06:50hgbotStatusscheduled => closed
2021-03-02 06:50hgbotFixed in Version => RR21Q2
2021-03-02 06:50hgbotNote Added: 0126436
2021-03-02 06:50hgbotNote Added: 0126437
2021-03-09 04:11ranjith_qualiantech_comFile Added: 45943_20Q3_posterminal.diff

Notes
(0126370)
hgbot   
2021-02-26 06:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/324 [^]
(0126436)
hgbot   
2021-03-02 06:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: fe50da2d064936989054fe1e13819fcfaa60e3ca
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-03-02T11:18:45+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/fe50da2d064936989054fe1e13819fcfaa60e3ca [^]

Fixed ISSUE-45943: DocumentSequence for invoice should be updated when issuing sales order

---
M src/org/openbravo/retail/posterminal/process/IssueSalesOrderLines.java
M web/org.openbravo.retail.posterminal/js/components/orderselector.js
---
(0126437)
hgbot   
2021-03-02 06:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/324 [^]