Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035571
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSminoralways2017-03-20 13:172017-08-03 15:46
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revision6835a0e453ce
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035571: wrong payment term in sales invoice created from WebPOS using credit

Descriptionwhen a receipt is completed using credit in WEBPOS, the sales invoice is generated automatically.

If the invoice payment term is complex (more than one payment date), the payment details related with sales invoice are wrong.
Steps To Reproduce1. go to business partner window, and select VBS Customer:
  change the payment term to: "50% en el acto, resto a 60 días"
2. in WebPOS (VBS-1) create a Credit Sale
3. check the sales invoice payment plan due date, expected date and see that these are set to the invoice date + 0 days. This is incorrect.
4. expected payments are:
  invoice date + 0 days total amount* 50%
  invoice date + 60 days total amount* 50%
TagsNo tags attached.
Attached Filespatch file icon Issue 35571 - 3.0RR17Q1 source posterminal.patch [^] (11,961 bytes) 2017-08-03 15:46 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0033830 closedranjith_qualiantech_com Payment methods for Credit Sales not working 
related to defect 0036907 closedranjith_qualiantech_com Wrong sales invoice payment plan is created when paying a ticket using credit 
causes defect 0036841 closedranjith_qualiantech_com Should not be necessary to have "Maturity Date 2" defined in Payment Terms defined as "Fixed Due date" 
causes defect 0037493 closedranjith_qualiantech_com Error using credit in return receipts with complex payment terms 

-  Notes
(0096213)
hgbot (developer)
2017-04-27 10:07

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6c03b70eb5d2a2b7a9a396ae49a36eb434b48c4b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Apr 27 13:34:49 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c03b70eb5d2a2b7a9a396ae49a36eb434b48c4b [^]

Fixes issue 35571 : Split Payment Schedule based on Payment terms lines

* If Payment terms are splited, then invoice payment terms should be splited based on payment terms

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0096214)
hgbot (developer)
2017-04-27 10:08

Repository: tools/automation/pi-mobile
Changeset: 2ea7ea5a7729c0c47474cb9a2ba97daeacb6f893
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Apr 27 13:34:45 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2ea7ea5a7729c0c47474cb9a2ba97daeacb6f893 [^]

Verifies issue 35571 : Added automated test 'I35571_VerifyReceiptWithMutiPaymentTerm'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I35571_VerifyReceiptWithMutiPaymentTerm.java
---
(0096218)
guilleaer (manager)
2017-04-27 11:56

With the example used in the automatic test the result should be:

2 -> paid -> today
1.90 -> Pending -> today (because first schedule says 0 days)
3.90 -> Pending -> Calculated day in the future based on payment terms

instead of

2 -> paid -> today
2.90 -> pending -> today
2.90 -> pending -> future

As you can see amounts are wrong, because they are calculated based on pending amount instead of total amount.

total amount: 7.80
50% -> 3.90

paid: 2
pending: 5.80

Currently (wrong)
50% of pending 5.80 = 2.90
Expected
50% of total amount 7.80 = 3.90
difference to reach 50% of total: 1.90
50% pending = 3.90
(0096319)
hgbot (developer)
2017-05-02 16:04

Repository: tools/automation/pi-mobile
Changeset: b374a421cd9ea5c31c79785979b4b17539eceea3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue May 02 19:31:28 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b374a421cd9ea5c31c79785979b4b17539eceea3 [^]

Verifies issue 35571 : Modified automated test 'I35571_VerifyReceiptWithMutiPaymentTerm'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I35571_VerifyReceiptWithMutiPaymentTerm.java
---
(0096320)
hgbot (developer)
2017-05-02 16:05

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 899b962a7512dece49049dd35b374a20ba88df40
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue May 02 19:34:00 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/899b962a7512dece49049dd35b374a20ba88df40 [^]

Fixes issue 35571 : Changes in spliting Payment Schedule based on Payment terms

* First schedule amount should be included the payment amount

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0096384)
ranjith_qualiantech_com (developer)
2017-05-04 14:48

While fetching payment terms lines, it should be ordered with lineno
(0096406)
hgbot (developer)
2017-05-05 07:27

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6835a0e453ce2af7e1798ef9bb7e3a4c78a2f46b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri May 05 10:56:39 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6835a0e453ce2af7e1798ef9bb7e3a4c78a2f46b [^]

Fixes issue 35571 : Added orderBy clause for paymentTermLine in OrderLoader

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---

- Issue History
Date Modified Username Field Change
2017-03-20 13:17 malsasua New Issue
2017-03-20 13:17 malsasua Assigned To => Retail
2017-03-20 13:17 malsasua Triggers an Emergency Pack => No
2017-03-20 13:17 malsasua Reproducibility have not tried => always
2017-03-20 13:46 malsasua Relationship added related to 0033830
2017-04-20 15:44 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2017-04-20 15:44 ranjith_qualiantech_com Status new => scheduled
2017-04-27 10:07 hgbot Checkin
2017-04-27 10:07 hgbot Note Added: 0096213
2017-04-27 10:07 hgbot Status scheduled => resolved
2017-04-27 10:07 hgbot Resolution open => fixed
2017-04-27 10:07 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c03b70eb5d2a2b7a9a396ae49a36eb434b48c4b [^]
2017-04-27 10:08 hgbot Checkin
2017-04-27 10:08 hgbot Note Added: 0096214
2017-04-27 11:56 guilleaer Note Added: 0096218
2017-04-27 11:56 guilleaer Status resolved => new
2017-04-27 11:56 guilleaer Resolution fixed => open
2017-04-27 11:57 guilleaer Status new => scheduled
2017-05-02 16:04 hgbot Checkin
2017-05-02 16:04 hgbot Note Added: 0096319
2017-05-02 16:05 hgbot Checkin
2017-05-02 16:05 hgbot Note Added: 0096320
2017-05-02 16:05 hgbot Status scheduled => resolved
2017-05-02 16:05 hgbot Resolution open => fixed
2017-05-02 16:05 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c03b70eb5d2a2b7a9a396ae49a36eb434b48c4b [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/899b962a7512dece49049dd35b374a20ba88df40 [^]
2017-05-04 14:48 ranjith_qualiantech_com Note Added: 0096384
2017-05-04 14:48 ranjith_qualiantech_com Status resolved => new
2017-05-04 14:48 ranjith_qualiantech_com Resolution fixed => open
2017-05-04 14:48 ranjith_qualiantech_com Status new => scheduled
2017-05-05 07:27 hgbot Checkin
2017-05-05 07:27 hgbot Note Added: 0096406
2017-05-05 07:27 hgbot Status scheduled => resolved
2017-05-05 07:27 hgbot Resolution open => fixed
2017-05-05 07:27 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/899b962a7512dece49049dd35b374a20ba88df40 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6835a0e453ce2af7e1798ef9bb7e3a4c78a2f46b [^]
2017-06-22 12:27 guilleaer Review Assigned To => guilleaer
2017-06-22 12:27 guilleaer Status resolved => closed
2017-06-22 12:27 guilleaer Fixed in Version => RR17Q3
2017-08-03 15:46 ranjith_qualiantech_com File Added: Issue 35571 - 3.0RR17Q1 source posterminal.patch
2017-09-12 17:24 maite Relationship added causes 0036841
2017-09-20 18:08 ngarcia Relationship added related to 0036907
2018-01-31 17:36 dmitry_mezentsev Relationship added causes 0037493


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker