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

View Revisions: Issue #36745 Back to Issue ]
Summary 0036745: Purchase order schedule details is not updated when same purchase order line is invoiced twice and second invoice have a negativ
Revision 2017-09-20 11:31 by aferraz
Steps To Reproduce Go to Payment Term and create a new record:
  Name: 30-60
  Offset month due: 2
  Add line with "percentage due" = 50 and "offset month due" = 1
Go to Business Partner window and relate this new payment term to "Bebidas Alegres" BP.

Register Purchase Order for Bebidas Alegres using "30-60" payment term. (order no 1000190)
  Add line for any product and qty=800, price = 1.00 and exempt VAT (Compras exentas).
  Add another line for different product and qty=200, price = 1.00 and exempt VAT.
  Process the Order and check total gross amount of the order is 1,000.00

Register a Purchase Invoice for Bebidas Alegres using "30-60" payment term. (invoice no 10000946)
  Run "Create lines from" and select line of 800 units line from the order.
  DO NOT process invoice.

Register another Purchase Invoice for Bebidas Alegres using "30-60" payment term. (invoice no 10000947)
  Run "Create lines from" and select line of 800 units once more from the order.
  Edit the line to set qty=-320 units.
  DO NOT process invoice

Process first invoice (invoice no 10000946).
  Run "Add payment" in this first invoice and realize that details are correct :
   Outstanding Amount = 400.00, (order no 1000190, invoice no 10000946)
   Outstanding Amount = 400.00, (order no 1000190, invoice no 10000946)
   Select the details and press DONE.
Check:
  A new Payment Out is created related to the order and the invoice.
  The Invoice is paid (Payment Complete = Yes) Go to the Payment Plan tab and realize that two records was created wit outstanding amount = 0.
  Go back to the order (order no 1000190). Refresh and go to Payment Out Plan, realize that payment plan has been updated
   Paid = 800
   Outstanding = 200.
   It is correct!!!

Process second invoice (invoice no 10000947).
  Run "Add payment" in this second invoice and realize that details are not correct the order is not related in the payment:
    Outstanding Amount = -160.00, (invoice no 10000947)
    Outstanding Amount = -160.00, (invoice no 10000947)
  Select the details and press DONE.
  Check:
    A new Payment Out is created related to the invoice and not to the order.
    The Invoice is paid (Payment Complete = Yes) Go to the Payment Plan tab and realize that two records was created with outstanding amount = 0.
    Go back to the order (order no 1000190). Refresh and go to Payment Out Plan, realize that payment plan has not been updated wich is incorrect the payment plan should be updated with the payment made to the second invoice.
Revision 2017-09-12 09:41 by aferraz
Steps To Reproduce Go to Payment Term and create a new record:
  Name: 30-60
  Offset month due: 2
  Add line with "percentage due" = 50 and "offset month due" = 1
Go to Business Partner window and relate this new payment term to "Bebidas Alegres" BP.

Register Purchase Order for Bebidas Alegres using "30-60" payment term. (order no 1000190)
  Add line for any product and qty=800, price = 1.00 and exempt VAT (Compras exentas).
  Add another line for different product and qty=200, price = 1.00 and exempt VAT.
  Process the Order and check total gross amount of the order is 1,000.00

Register a Purchase Invoice for Bebidas Alegres using "30-60" payment term. (invoice no 10000946)
  Run "Create lines from" and select line of 800 units line from the order.
  DO NOT process invoice.

Register another Purchase Invoice for Bebidas Alegres using "30-60" payment term. (invoice no 10000947)
  Run "Create lines from" and select line of 800 units once more from the order.
  Edit the line to set qty=-320 units.
  DO NOT process invoice

Process first invoice (invoice no 10000946).
  Run "Add payment" in this first invoice and realize that details are correct :
   Outstanding Amount = 400.00, (order no 1000190, invoice no 10000946)
   Outstanding Amount = 400.00, (order no 1000190, invoice no 10000946)
   Select the details and press DONE.
Check:
  A new Payment Out is created related to the order and the invoice.
  The Invoice is paid (Payment Complete = Yes) Go to the Payment Plan tab and realize that two records was created wit outstanding amount = 0.
  Go back to the order (order no 1000190). Refresh and go to Payment Out Plan, realize that payment plan has been updated
   Paid = 800
   Outstanding = 200.
   It is correct!!!

Process second invoice (invoice no 10000947).
  Run "Add payment" in this first invoice and realize that details are not correct the order is not related in the payment:
    Outstanding Amount = -160.00, (invoice no 10000947)
    Outstanding Amount = -160.00, (invoice no 10000947)
  Select the details and press DONE.
  Check:
    A new Payment Out is created related to the invoice and not to the order.
    The Invoice is paid (Payment Complete = Yes) Go to the Payment Plan tab and realize that two records was created with outstanding amount = 0.
    Go back to the order (order no 1000190). Refresh and go to Payment Out Plan, realize that payment plan has not been updated wich is incorrect the payment plan should be updated with the payment made to the second invoice.
Revision 2017-08-30 09:33 by psanjuan
Description Purchase order schedule details is not updated when same purchase order line is invoiced twice and second invoice is changed to a a negative qty
Revision 2017-08-29 20:11 by psanjuan
Description Purchase order schedule details is not updated when same purchase order line is invoiced twice and second invoice have a negative qty


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker