Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hold for payment 2024-09-04] [$250] Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 2 #47520

Closed
dangrous opened this issue Aug 15, 2024 · 22 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@dangrous
Copy link
Contributor

dangrous commented Aug 15, 2024

Problem

Our UpdatePolicyConnectionConfiguration API command is not 1:1:1 - it is the same API call for all related user actions, when it should be split up for each connection (QBO, Xero, etc.) and configuration setting (autoSyncVendor, enableNewCategories, etc.). At the end of this we should not call that function anywhere.

This is polish for the Collect QBO project.

Solution

When we created the NetSuite commands, we followed the correct pattern, and so need to do so here too.

This requires backend and frontend work in tandem (to create the commands and then to use them), so we're looking for a contributor(s) to handle the frontend. You can see an example PR here - there is some extra prep work there that you can ignore, but adjusting all calls like this is what we're going for:

- Connections.updatePolicyConnectionConfig(policyID, CONST.POLICY.CONNECTIONS.NAME.QBO, CONST.QUICK_BOOKS_CONFIG.REIMBURSABLE_EXPENSES_ACCOUNT, row.value);
+ QuickbooksOnline.updateQuickbooksOnlineReimbursableExpensesAccount(policyID, row.value);

Here is a list of the commands handled in this issue:

  • UpdateXeroImportTrackingCategories
  • UpdateXeroImportTaxRates
  • UpdateXeroTenantID
  • UpdateXeroMappings
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f780930d7cefc51d
  • Upwork Job ID: 1825538900212407946
  • Last Price Increase: 2024-08-19
  • Automatic offers:
    • ishpaul777 | Reviewer | 103587463
Issue OwnerCurrent Issue Owner: @
@dangrous dangrous added the Daily KSv2 label Aug 15, 2024
@dangrous dangrous changed the title Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 1 Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 2 Aug 15, 2024
@ishpaul777
Copy link
Contributor

Picking this up as C+

@hungvu193
Copy link
Contributor

I'll take this one as contributor

@melvin-bot melvin-bot bot added the Overdue label Aug 19, 2024
@dangrous dangrous added the External Added to denote the issue can be worked on by a contributor label Aug 19, 2024
@melvin-bot melvin-bot bot changed the title Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 2 [$250] Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 2 Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01f780930d7cefc51d

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

Current assignee @ishpaul777 is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

@melvin-bot melvin-bot bot removed the Overdue label Aug 19, 2024
@hungvu193
Copy link
Contributor

I'll raise a PR soon

@dangrous
Copy link
Contributor Author

Backend PR is merged, though not yet on staging, but should be soon!

@dangrous
Copy link
Contributor Author

Spoke too soon, I guess - this is on staging now, so code away!

@hungvu193
Copy link
Contributor

@dangrous just to confirm:

  • UpdateXeroImportTrackingCategories will replace this one
  • UpdateXeroImportTaxRates will replace this one
  • UpdateXeroTenantID will replace this one
  • UpdateXeroMappings will replace this one

@dangrous
Copy link
Contributor Author

yep perfect! double check that there aren't any other usages but that's it

@hungvu193
Copy link
Contributor

Little update, draft PR is here

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Aug 23, 2024
@dangrous
Copy link
Contributor Author

dangrous commented Sep 4, 2024

I think this is on prod? I'm going to grab a BZ to handle payment (and also help us figure that out haha)

@dangrous dangrous added the Bug Something is broken. Auto assigns a BugZero manager. label Sep 4, 2024
Copy link

melvin-bot bot commented Sep 4, 2024

Triggered auto assignment to @joekaufmanexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 4, 2024
@dangrous dangrous added Weekly KSv2 and removed Daily KSv2 labels Sep 4, 2024
@dangrous
Copy link
Contributor Author

dangrous commented Sep 4, 2024

@joekaufmanexpensify we're in the 7 day regression period for this one, but assigned you to help us figure out when this one went to prod and handle payment when payment is needed!

@joekaufmanexpensify
Copy link
Contributor

Going off of this SO and this issue, looks like it went out on the 28th. So payment here should be due today actually.

@joekaufmanexpensify
Copy link
Contributor

Will take care of that now!

@joekaufmanexpensify joekaufmanexpensify changed the title [$250] Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 2 [hold for payment 2024-09-04] [$250] Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 2 Sep 4, 2024
@joekaufmanexpensify joekaufmanexpensify added Daily KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Sep 4, 2024
@joekaufmanexpensify
Copy link
Contributor

Payment due here is:

@joekaufmanexpensify
Copy link
Contributor

All set to issue payment!

@joekaufmanexpensify
Copy link
Contributor

@ishpaul777 $250 sent and contract ended!

@joekaufmanexpensify
Copy link
Contributor

Upwork job closed.

@joekaufmanexpensify
Copy link
Contributor

Closing as only thing left here is for @hungvu193 to request payment via NewDot!

@garrettmknight
Copy link
Contributor

$250 approved for @hungvu193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

5 participants