Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037594Retail ModulesWeb POSpublic2017-12-15 14:042018-02-21 13:02
malsasua 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR18Q1RR18Q1 
marvintm
No
0037594: Error using credit in return receipts with complex payment terms
If one return receipt is paid using credit, and the payment method of business partner is complex (more than one line), the Sales Order is stuck in Error While Importing with the error:
java.lang.NullPointerException
    at sun.util.calendar.ZoneInfo.inDaylightTime(ZoneInfo.java:501)
    at org.openbravo.advpaymentmngt.utility.FIN_Utility.getDaysBetween(FIN_Utility.java:678)
    at org.openbravo.advpaymentmngt.utility.FIN_Utility.getDaysToDue(FIN_Utility.java:669)
    at org.openbravo.retail.posterminal.OrderLoader.handlePayments(OrderLoader.java:2431)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:542)
BO:
. configure terminal type to allow use credit
. configure Arturo Montoro with payment term:
   "20% a 15 días, 40% a 30 días y resto a 60 días"

POS:
. create a new return receipt to Arturo Montoro
. pay it using credit

BO:
. go to Errors While Importing window
No tags attached.
blocks defect 0037493 closed ranjith_qualiantech_com Error using credit in return receipts with complex payment terms 
Issue History
2018-01-08 11:54marvintmTypedefect => backport
2018-01-08 11:54marvintmTarget Version => RR18Q1
2018-01-23 12:18hgbotCheckin
2018-01-23 12:18hgbotNote Added: 0101905
2018-01-23 12:18hgbotStatusscheduled => resolved
2018-01-23 12:18hgbotResolutionopen => fixed
2018-01-23 12:18hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/5afd6989cca77e9de87365b2c019874dcd5f86a7 [^]
2018-01-23 12:19hgbotCheckin
2018-01-23 12:19hgbotNote Added: 0101906
2018-01-25 11:40marvintmReview Assigned To => marvintm
2018-01-25 11:40marvintmStatusresolved => closed
2018-01-25 11:40marvintmFixed in Version => RR18Q1
2018-02-21 13:02hgbotCheckin
2018-02-21 13:02hgbotNote Added: 0102553

Notes
(0101905)
hgbot   
2018-01-23 12:18   
Repository: retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal
Changeset: 5afd6989cca77e9de87365b2c019874dcd5f86a7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 23 16:48:37 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/5afd6989cca77e9de87365b2c019874dcd5f86a7 [^]

Fixed issue 37594 : Validate PaymentTerm lines for return receipt in OrderLoader

* Added new method "addPaymentSchedule" for adding invoice payment schedule in OrderLoader

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0101906)
hgbot   
2018-01-23 12:19   
Repository: retail/backports/3.0RR18Q1/pi-mobile
Changeset: 0642b83407080c94e59f73a376d8e5d155e93b1c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 23 16:48:40 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/pi-mobile/rev/0642b83407080c94e59f73a376d8e5d155e93b1c [^]

Verifies issue 37594 : Modified automated test 'I35571_VerifyReceiptWithMutiPaymentTerm'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I35571_VerifyReceiptWithMutiPaymentTerm.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36907_VerifyReceiptWithPaymentTermLine.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36907_VerifyReceiptWithPaymentTermLineII.java
---
(0102553)
hgbot   
2018-02-21 13:02   
Repository: tools/automation/pi-mobile
Changeset: 0642b83407080c94e59f73a376d8e5d155e93b1c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 23 16:48:40 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0642b83407080c94e59f73a376d8e5d155e93b1c [^]

Verifies issue 37594 : Modified automated test 'I35571_VerifyReceiptWithMutiPaymentTerm'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I35571_VerifyReceiptWithMutiPaymentTerm.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36907_VerifyReceiptWithPaymentTermLine.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36907_VerifyReceiptWithPaymentTermLineII.java
---