Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033830Retail ModulesWeb POSpublic2016-08-26 18:282016-09-19 12:42
rbianchini 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
RR16Q2.1 
 
marvintm
No
0033830: Payment methods for Credit Sales not working
If you make a sell using credit, the payment terms associated to the business pertner is not applied in the sales invoice's payment term
1. create payment term.
2. set Overdue Payment Days Rule = 0, fixed due date = yes, maturity date 1 = 15, maturity date 2 = 30
3. set BP to this new Payment term
4. in WebPOS create a Credit Sale
5. 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.
6. expected due date is to be the invoice date + 0 days adjusted to the 15 of the month if invoice date <= 15 current month or 30 if the invoice date > 15 and <= 30 dates.
No tags attached.
related to defect 0034273 new Retail Payment schedule due date should be correctly set for invoices based on payment terms 
related to design defect 0035571 closed ranjith_qualiantech_com wrong payment term in sales invoice created from WebPOS using credit 
causes defect 0035285 closed ranjith_qualiantech_com Test I33830_VerifyInvoiceDueDateByNewTerms failed in try 
Issue History
2016-08-26 18:28rbianchiniNew Issue
2016-08-26 18:28rbianchiniAssigned To => Retail
2016-08-26 18:28rbianchiniResolution time => 1473908400
2016-08-26 18:28rbianchiniTriggers an Emergency Pack => No
2016-08-30 09:46ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-08-30 09:46ranjith_qualiantech_comStatusnew => scheduled
2016-08-31 16:22rbianchiniSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=13001#r13001
2016-09-01 13:31hgbotCheckin
2016-09-01 13:31hgbotNote Added: 0089658
2016-09-01 13:31hgbotCheckin
2016-09-01 13:31hgbotNote Added: 0089659
2016-09-01 13:31hgbotStatusscheduled => resolved
2016-09-01 13:31hgbotResolutionopen => fixed
2016-09-01 13:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a8e42f5d6ebdbec5f639e76ea090ca9a59fc1882 [^]
2016-09-19 12:42marvintmReview Assigned To => marvintm
2016-09-19 12:42marvintmStatusresolved => closed
2016-10-21 17:13guilleaerRelationship addedrelated to 0034273
2017-02-20 06:35ranjith_qualiantech_comRelationship addedcauses 0035285
2017-03-20 13:46malsasuaRelationship addedrelated to 0035571

Notes
(0089658)
hgbot   
2016-09-01 13:31   
Repository: tools/automation/pi-mobile
Changeset: c8e39b843a9c901eb82985edecd93749d859afa6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 01 13:29:37 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c8e39b843a9c901eb82985edecd93749d859afa6 [^]

Verifies issue 33830 : Added automated test 'I33830_VerifyInvoiceDueDateByNewTerms'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I33830_VerifyInvoiceDueDateByNewTerms.java
---
(0089659)
hgbot   
2016-09-01 13:31   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a8e42f5d6ebdbec5f639e76ea090ca9a59fc1882
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 01 17:01:07 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a8e42f5d6ebdbec5f639e76ea090ca9a59fc1882 [^]

Fixes issue 33830 : Update Invoice Payment plan due date based on Payment term fixed due date

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