Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037571Retail ModulesWeb POSpublic2018-01-02 18:362018-01-29 12:03
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR18Q2 
marvintm
No
0037571: Wrong Payment Plan for a sales invoice with split payment terms paid on credit
Wrong Payment Plan for a sales invoice with split payment terms paid on credit
In the backend:
   Create a new record in Payment Terms:
      Overdue Payment Days Rule: 46
   Add a line to it:
      Percentage Due: 50
      Overdue Payment Days Rule: 15
      Rest: N
   Create a Business Partner, set it as Customer, add a price list and the previously created Payment Term
   Assign a credit limit of 10000 to it
   Set Allow Pay on Credit to 'Y' in POS Terminal Type window
   Set a product price in the business partner price list to 100

In the POS:
   Change to previously created customer
   Add the product with a price of 100
   Add a payment of 50 to the ticket
   Use Credit for the rest (50)

In the backend:
   Check the created sales invoice has the following payment plan:
      1. Due Date: today+15
         Expected Date: 50
         Received Amount: 50
         Outstanding Amount: 0

   Reactivate and complete the invoice
   Check two payment plans are created for the invoice
      1. Due Date: today+15
         Expected Amount: 50
         Received Amount: 50
         Outstanding Amount: 0
      2. Due Date: today+46
         Expected Amount: 50
         Received Amount: 0
         Outstanding Amount: 50
No tags attached.
related to defect 0036907 closed ranjith_qualiantech_com Wrong sales invoice payment plan is created when paying a ticket using credit 
Issue History
2018-01-02 18:36ngarciaNew Issue
2018-01-02 18:36ngarciaAssigned To => Retail
2018-01-02 18:36ngarciaResolution time => 1516662000
2018-01-02 18:36ngarciaTriggers an Emergency Pack => No
2018-01-02 18:36ngarciaRelationship addedrelated to 0036907
2018-01-02 18:37ngarciaIssue Monitored: networkb
2018-01-02 22:15PracticsIssue Monitored: Practics
2018-01-03 12:48ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-01-11 12:14ranjith_qualiantech_comStatusnew => scheduled
2018-01-17 08:17ranjith_qualiantech_comNote Added: 0101738
2018-01-17 08:17ranjith_qualiantech_comStatusscheduled => resolved
2018-01-17 08:17ranjith_qualiantech_comResolutionopen => fixed
2018-01-17 11:18hgbotCheckin
2018-01-17 11:18hgbotNote Added: 0101743
2018-01-29 12:03marvintmReview Assigned To => marvintm
2018-01-29 12:03marvintmStatusresolved => closed
2018-01-29 12:03marvintmFixed in Version => RR18Q2

Notes
(0101738)
ranjith_qualiantech_com   
2018-01-17 08:17   
Fixed in https://issues.openbravo.com/view.php?id=37493 [^]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0845d04a4512cc10542f5f038ca75da51efdb15e [^]
(0101743)
hgbot   
2018-01-17 11:18   
Repository: tools/automation/pi-mobile
Changeset: b5147a78530d9cf02a672d58d0649270c679abd9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Jan 17 15:48:39 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b5147a78530d9cf02a672d58d0649270c679abd9 [^]

Verifies issue 37571 : Added automated test 'I37571_VerifyReceiptWithPaymentTermLine'

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