Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036853Retail ModulesWeb POSpublic2017-09-12 17:232017-09-21 07:32
maite 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
 
RR17Q3RR17Q3 
marvintm
No
0036853: Should not be necessary to have "Maturity Date 2" defined in Payment Terms defined as "Fixed Due date"
Ticket left in Errors While Importing when business partner payment terms are defined as "fixed due date" but payment term only has "maturity date 1" defined
0. Define new payment term named "fixed payment term" with "offset days"=30, Fixed due date=Y and "Maturity Date 1"=30
1. Access Business Partner window and set previous payment terms to VBS Customer
2. Access POS Terminal and register Credit Sales for VBS Customer
3. Realize that order is left in Errors While Importing window due to:

java.lang.NullPointerException
    at org.openbravo.retail.posterminal.OrderLoader.getCalculatedDueDateBasedOnPaymentTerms(OrderLoader.java:1955)
    at org.openbravo.retail.posterminal.OrderLoader.handlePayments(OrderLoader.java:2194)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:516)
No tags attached.
blocks defect 0036841 closed ranjith_qualiantech_com Should not be necessary to have "Maturity Date 2" defined in Payment Terms defined as "Fixed Due date" 
Issue History
2017-09-14 09:32ranjith_qualiantech_comTypedefect => backport
2017-09-14 09:32ranjith_qualiantech_comTarget Version => RR17Q3
2017-09-14 09:35hgbotCheckin
2017-09-14 09:35hgbotNote Added: 0099027
2017-09-14 09:35hgbotStatusscheduled => resolved
2017-09-14 09:35hgbotResolutionopen => fixed
2017-09-14 09:35hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6696cd1b0f1732abd0076a58defc7ead28f63666 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.retail.posterminal/rev/1dc509c746d6e1e53eeb9455c2e3af1d5c14ec7b [^]
2017-09-14 11:05hgbotCheckin
2017-09-14 11:05hgbotNote Added: 0099032
2017-09-15 14:09marvintmReview Assigned To => marvintm
2017-09-15 14:09marvintmStatusresolved => closed
2017-09-15 14:09marvintmFixed in Version => RR17Q3
2017-09-20 08:50hgbotCheckin
2017-09-20 08:50hgbotNote Added: 0099159
2017-09-21 07:32hgbotCheckin
2017-09-21 07:32hgbotNote Added: 0099195
2017-09-21 07:32hgbotCheckin
2017-09-21 07:32hgbotNote Added: 0099196

Notes
(0099027)
hgbot   
2017-09-14 09:35   
Repository: retail/backports/3.0RR17Q3/org.openbravo.retail.posterminal
Changeset: 1dc509c746d6e1e53eeb9455c2e3af1d5c14ec7b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 14 13:04:47 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.retail.posterminal/rev/1dc509c746d6e1e53eeb9455c2e3af1d5c14ec7b [^]

Fixed issue 36853 : Changes in duedate calculation based on Payment terms

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0099032)
hgbot   
2017-09-14 11:05   
Repository: retail/backports/3.0RR17Q3/pi-mobile
Changeset: 4bdabb68c8c59a0c6919ea332edf75842d045c9b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 14 14:34:28 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3/pi-mobile/rev/4bdabb68c8c59a0c6919ea332edf75842d045c9b [^]

Verifies issue 36853 : Added automated test 'I36853_VerifyInvoiceDueDateByNewTerms'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36853_VerifyInvoiceDueDateByNewTerms.java
---
(0099159)
hgbot   
2017-09-20 08:50   
Repository: retail/backports/3.0RR17Q3/pi-mobile
Changeset: f7466d32ce5fa7beb8b68c6fce522281720d0ce0
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Sep 19 16:03:44 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3/pi-mobile/rev/f7466d32ce5fa7beb8b68c6fce522281720d0ce0 [^]

Verifies issue 36853: Modified automated test 'I36841_VerifyInvoiceDueDateByNewTerms'

Fixed test in the integration

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36853_VerifyInvoiceDueDateByNewTerms.java
---
(0099195)
hgbot   
2017-09-21 07:32   
Repository: tools/automation/pi-mobile
Changeset: 4bdabb68c8c59a0c6919ea332edf75842d045c9b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 14 14:34:28 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4bdabb68c8c59a0c6919ea332edf75842d045c9b [^]

Verifies issue 36853 : Added automated test 'I36853_VerifyInvoiceDueDateByNewTerms'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36853_VerifyInvoiceDueDateByNewTerms.java
---
(0099196)
hgbot   
2017-09-21 07:32   
Repository: tools/automation/pi-mobile
Changeset: f7466d32ce5fa7beb8b68c6fce522281720d0ce0
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Sep 19 16:03:44 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f7466d32ce5fa7beb8b68c6fce522281720d0ce0 [^]

Verifies issue 36853: Modified automated test 'I36841_VerifyInvoiceDueDateByNewTerms'

Fixed test in the integration

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I36853_VerifyInvoiceDueDateByNewTerms.java
---