Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037493Retail ModulesWeb POSpublic2017-12-15 14:042018-09-18 13:57
malsasua 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR18Q2 
marvintm
Production - QA Approved
RR17Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c03b70eb5d2a2b7a9a396ae49a36eb434b48c4b [^]
No
0037493: 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.
related to defect 0037573 closed ranjith_qualiantech_com Cannot pay the Sales Invoice associated to a verified receipt paid on credit 
depends on backport 0037594RR18Q1 closed ranjith_qualiantech_com Error using credit in return receipts with complex payment terms 
depends on backport 0037595RR17Q4.1 closed ranjith_qualiantech_com Error using credit in return receipts with complex payment terms 
depends on backport 0037596RR17Q3.3 closed ranjith_qualiantech_com Error using credit in return receipts with complex payment terms 
caused by design defect 0035571 closed ranjith_qualiantech_com wrong payment term in sales invoice created from WebPOS using credit 
related to defect 0037753 closed ranjith_qualiantech_com wrong amount in payment plan using credit and complex payment terms 
Issue History
2017-12-15 14:04malsasuaNew Issue
2017-12-15 14:04malsasuaAssigned To => Retail
2017-12-15 14:04malsasuaResolution time => 1515279600
2017-12-15 14:04malsasuaTriggers an Emergency Pack => No
2017-12-15 19:07PracticsIssue Monitored: Practics
2017-12-19 07:26ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-12-19 07:26ranjith_qualiantech_comStatusnew => scheduled
2018-01-03 12:10ngarciaRelationship addedrelated to 0037573
2018-01-08 11:54marvintmStatusscheduled => acknowledged
2018-01-08 11:54marvintmStatusacknowledged => scheduled
2018-01-08 11:55marvintmRegression level => Production - Confirmed Stable
2018-01-08 11:55marvintmRegression introduced in release => RR17Q3
2018-01-09 12:12hgbotCheckin
2018-01-09 12:12hgbotNote Added: 0101637
2018-01-09 12:12hgbotStatusscheduled => resolved
2018-01-09 12:12hgbotResolutionopen => fixed
2018-01-09 12:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0845d04a4512cc10542f5f038ca75da51efdb15e [^]
2018-01-09 12:12hgbotCheckin
2018-01-09 12:12hgbotNote Added: 0101638
2018-01-11 11:00marvintmReview Assigned To => marvintm
2018-01-11 11:00marvintmStatusresolved => closed
2018-01-11 11:00marvintmFixed in Version => RR18Q2
2018-01-11 11:01marvintmRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c03b70eb5d2a2b7a9a396ae49a36eb434b48c4b [^]
2018-01-29 18:25ngarciaIssue Monitored: ngarcia
2018-01-31 17:36dmitry_mezentsevRelationship addedcaused by 0035571
2018-02-02 14:30ngarciaRelationship addedrelated to 0037753
2018-09-18 13:57dmitry_mezentsevRegression levelProduction - Confirmed Stable => Production - QA Approved

Notes
(0101637)
hgbot   
2018-01-09 12:12   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0845d04a4512cc10542f5f038ca75da51efdb15e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 09 16:35:13 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0845d04a4512cc10542f5f038ca75da51efdb15e [^]

Fixed issue 37493 : 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
---
(0101638)
hgbot   
2018-01-09 12:12   
Repository: tools/automation/pi-mobile
Changeset: a95a443a15c4a6ebd095ae40459129f04086e0a8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 09 16:42:03 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a95a443a15c4a6ebd095ae40459129f04086e0a8 [^]

Verifies issue 37493 : 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
---