-
Notifications
You must be signed in to change notification settings - Fork 0
Description
We want to add in the asynchronous Quickbooks fetch for company financial data. This should occur on every login for a user and also when their company is identified as being potentially impacted by a disaster!
So on login, the import processes for invoices and purchases should be set off, assuming that the user has a quickbooks session.
And as part of the MEGA cron job that fetches all disasters and generates notifications, etc., any companies impacted should also have both imports triggered. This should be an asynchronous process (and probably parallelized if possible!) because it could take a while.
Please test this on local as best you can (talk to TLs to get quickbooks sandbox access if you don't already have it) and provide evidence of testing in your pr (screenshot, screen recording, description, etc.)