Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037753Retail ModulesWeb POSpublic2018-01-29 16:432018-03-08 11:39
malsasua 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR18Q2 
marvintm
No
0037753: wrong amount in payment plan using credit and complex payment terms
Using complex payment terms, and paying partial amount, the expected amount calculated is wrong
BO:
. configure a new payment term:
(see attachment1)
. configure the BP Carl Studson to use this payment term
. configure "Terminal Type" to allow pay on credit

POS:
. create a new receipt:
 . BP: Carl Studson
 . total amount: 114
 . pay: 50 (64 using credit)

BO:
. go to Sales Invoice window:
 . new invoice has been created.
 . go to payment plan:
  . three lines (see attachment2):
   1. num payments: 1 / Expected amt: 37.62 / Received amt: 37.62 -> it is OK
   2. num payments: 1 / Expected amt: 37.62 / Received amt: 37.62 -> it is WRONG, received amount should be 12.38 instead of 37.62
   3. num payments: 0 -> it is OK
No tags attached.
related to defect 0037493 closed ranjith_qualiantech_com Error using credit in return receipts with complex payment terms 
png attachment1_paymentTerms.png (129,187) 2018-01-29 16:43
https://issues.openbravo.com/file_download.php?file_id=11497&type=bug
png

png attachment2_wrongPaymentPlan.png (171,597) 2018-01-29 16:43
https://issues.openbravo.com/file_download.php?file_id=11498&type=bug
png
Issue History
2018-01-29 16:43malsasuaNew Issue
2018-01-29 16:43malsasuaAssigned To => Retail
2018-01-29 16:43malsasuaFile Added: attachment1_paymentTerms.png
2018-01-29 16:43malsasuaResolution time => 1518994800
2018-01-29 16:43malsasuaTriggers an Emergency Pack => No
2018-01-29 16:43malsasuaFile Added: attachment2_wrongPaymentPlan.png
2018-01-29 16:47PracticsIssue Monitored: Practics
2018-01-30 14:34ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-01-30 14:34ranjith_qualiantech_comStatusnew => scheduled
2018-02-02 14:30ngarciaRelationship addedrelated to 0037493
2018-02-02 14:40ngarciaIssue Monitored: ngarcia
2018-03-01 06:45hgbotCheckin
2018-03-01 06:45hgbotNote Added: 0102882
2018-03-01 06:45hgbotStatusscheduled => resolved
2018-03-01 06:45hgbotResolutionopen => fixed
2018-03-01 06:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3659dcd428fcadcac3a6ab710702999b9c73f60f [^]
2018-03-01 06:45hgbotCheckin
2018-03-01 06:45hgbotNote Added: 0102883
2018-03-08 11:39marvintmReview Assigned To => marvintm
2018-03-08 11:39marvintmStatusresolved => closed
2018-03-08 11:39marvintmFixed in Version => RR18Q2

Notes
(0102882)
hgbot   
2018-03-01 06:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3659dcd428fcadcac3a6ab710702999b9c73f60f
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 01 11:15:09 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3659dcd428fcadcac3a6ab710702999b9c73f60f [^]

Fixed issue 37753 : Payment Schedule amout should be updated if it is has reverse payments

* For Reverse Payment alone, Invoice Payment Schedule amounts are not calculated. So for those, it will be recalculated based on lines

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0102883)
hgbot   
2018-03-01 06:45   
Repository: tools/automation/pi-mobile
Changeset: 4a2c5198f9be122ebc8a9c537623e35f9e6741ad
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 01 11:15:29 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4a2c5198f9be122ebc8a9c537623e35f9e6741ad [^]

Verifies issue 37753 : Added automated test 'I37753_VerifyReceiptWithPaymentTerm'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I37753_VerifyReceiptWithPaymentTerm.java
---