ajency / cashflow-issue-tracker

Issue Tracker for issues
0 stars 1 forks source link

TASK - Handle delete When bill payment is updated #791

Open legred21 opened 4 years ago

legred21 commented 4 years ago

Example Bill with two line items

  1. advertising : 5000
  2. marketing : 4000

Bill payment of 9000

Sync now In elastic there will be two bills and two bill payments

Bill payment

  1. advertising : 5000
  2. marketing : 4000

Now update Bill payment in quickbook to 3000 and sync There are already 2 bill payments in elastic out of which first(1. advertising ) will get updated to 3000 and marketing will remain as it is.

Since current payment amount is not sufficient to clear both bill line items, Bill payment (Marketing) needs to be deleted

nutank commented 4 years ago

@legred21 can you provide branch name