Uploaded image for project: 'iDempiere'
  1. IDEMPIERE-3865

Payment term discount on payment doesnt consider the payment amount

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: None
    • Components: None
    • Labels:
      None
    • Sprint:

      Description

      1. Create an invoice with Payment term as 2% 10 Net 30 and grand total is say 237.50
      2. Create Payment and select invoice created in #1, it will populate payment amount as 232.75 and discount amount as 4.75.
      3. Change the payment amount from 232.75 to 10. However discount amount would be not updated and would be still at 4.75
      4. Complete this payment with payment amount as 10 and discount as 4.75
      5. Again create new payment for invoice in #1, payment amount would be 218 and discount amount would be 4.75

      Here while calculating discount, system doesn't consider payment amount and based on invoice grand total amount and not even invoice open amount, it calculates discount.

      Performed above scenario in https://test.idempiere.org/webui/
      I believe discount should be calculated based on the amount of payment and not based on the invoice grand total.

        Attachments

          Activity

            People

            • Assignee:
              carlosruiz_globalqss Carlos Ruiz
              Reporter:
              pritesh.shah17 Pritesh Shah
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: