Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037596Retail ModulesWeb POSpublic2017-12-15 14:042018-02-01 12:24
malsasua 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q3.3RR17Q3.3 
marvintm
No
0037596: 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 => RR17Q3.3
2018-01-23 12:19hgbotCheckin
2018-01-23 12:19hgbotNote Added: 0101908
2018-01-23 12:19hgbotStatusscheduled => resolved
2018-01-23 12:19hgbotResolutionopen => fixed
2018-01-23 12:19hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/856a897685a509d557a145e8a713d5c989f50513 [^]
2018-01-23 12:19hgbotCheckin
2018-01-23 12:19hgbotNote Added: 0101910
2018-01-25 11:39marvintmReview Assigned To => marvintm
2018-01-25 11:39marvintmStatusresolved => closed
2018-01-25 11:39marvintmFixed in Version => RR17Q3.3
2018-02-01 12:24hgbotCheckin
2018-02-01 12:24hgbotNote Added: 0102115

Notes
(0101908)
hgbot   
2018-01-23 12:19   
Repository: retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal
Changeset: 856a897685a509d557a145e8a713d5c989f50513
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 23 16:49:10 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/856a897685a509d557a145e8a713d5c989f50513 [^]

Fixed issue 37596 : 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
---
(0101910)
hgbot   
2018-01-23 12:19   
Repository: retail/backports/3.0RR17Q3.3/pi-mobile
Changeset: 10a3d846d5dacaaecda798ee6fbe0a9c9b4e2482
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 23 16:49:27 2018 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.3/pi-mobile/rev/10a3d846d5dacaaecda798ee6fbe0a9c9b4e2482 [^]

Verifies issue 37596 : Added automated test 'I37343_VerifyPymtScheDetailWithCredit'

---
M src-test/org/openbravo/test/mobile/retail/pack/database/WebPOSDatabaseConstants.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31471_PayLayawayAlreadyInvoiced.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31600_VerfiyPaidOnCredit.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I35571_VerifyReceiptWithMutiPaymentTerm.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36841_VerifyInvoiceDueDateByNewTerms.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36907_VerifyReceiptWithPaymentTermLine.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36907_VerifyReceiptWithPaymentTermLineII.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I37343_VerifyPymtScheDetailWithCredit.java
---
(0102115)
hgbot   
2018-02-01 12:24   
Repository: tools/automation/pi-mobile
Changeset: 10a3d846d5dacaaecda798ee6fbe0a9c9b4e2482
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 23 16:49:27 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/10a3d846d5dacaaecda798ee6fbe0a9c9b4e2482 [^]

Verifies issue 37596 : Added automated test 'I37343_VerifyPymtScheDetailWithCredit'

---
M src-test/org/openbravo/test/mobile/retail/pack/database/WebPOSDatabaseConstants.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31471_PayLayawayAlreadyInvoiced.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31600_VerfiyPaidOnCredit.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I35571_VerifyReceiptWithMutiPaymentTerm.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36841_VerifyInvoiceDueDateByNewTerms.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36907_VerifyReceiptWithPaymentTermLine.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36907_VerifyReceiptWithPaymentTermLineII.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I37343_VerifyPymtScheDetailWithCredit.java
---