metafresh logo and link to homepage

IT FRESH-522

#202 Payment-in-out-allocation buggy when partial allocation

Testcase to check if partial allocations are working well

Payment with Payment

  1. Go to Payment window and create 2 new ones: incoming and outgoing, same bpartner G000X, same amount

  2. Go to Payment Allocation window and filter for G000X

  3. Select both Payments and press on process
  4. go to Allocations subtab in Payment, zoom on Allocation, press on Posted
  5. Go to Payment window and create 2 new ones: incoming and outgoing, same bpartner G000X, different amount (e.g. 100 and 90)

  6. Go to Payment Allocation window and filter for G000X

  7. Select both Payments and press on process
  8. set over-under on Y and try again
  9. select discount and set discount 10 on the payment of 100

  10. select only the line with 100, press on write-off
  11. select both and press on process
  12. go to Allocations subtab in Payment, zoom on Allocation, press on Posted

Payment with Invoice

  1. create a sales invoice, and an outgoing payment, different amounts

  2. go to payment allocations window and select both. Check over-under on Y

  3. press on process
  4. create a purchase invoice, and an incoming payment, different amounts

  5. go to payment allocations window and select both. Check over-under on Y

  6. press on process

Invoice with Invoice

  1. create a sales and a purchase invoice, different amounts

  2. go to payment allocations window and select both. Check over-under on Y

  3. press on process


Zur Quelldatei auf github.com