Closed lanitochka17 closed 1 month ago
Triggered auto assignment to @sonialiap (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.
@sonialiap FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
If "Export company card expenses as" is set to "Vendor bill", the Locations toggle is locked
const canImportLocation =
qboConfig?.reimbursableExpensesExportDestination === CONST.QUICKBOOKS_REIMBURSABLE_ACCOUNT_TYPE.JOURNAL_ENTRY &&
qboConfig?.nonReimbursableExpensesExportDestination === CONST.QUICKBOOKS_NON_REIMBURSABLE_EXPORT_ACCOUNT_TYPE.VENDOR_BILL;
Job added to Upwork: https://www.upwork.com/jobs/~021843661642289072627
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra (External
)
Edited by proposal-police: This proposal was edited at 2024-10-08 14:55:26 UTC.
Location toggle is locked even when it is allowed on the BE
.
We block the location toggle for vendor bills :
If the expected result is to allow the toggle then remove the second condition:
const canImportLocation =
qboConfig?.reimbursableExpensesExportDestination === CONST.QUICKBOOKS_REIMBURSABLE_ACCOUNT_TYPE.JOURNAL_ENTRY
[!NOTE] I checked the API response when we set it to
vendor bill
and theBE
accepts this case:
@allgandalf Can you check the condition on OldDot too?
yeah i too had a double guess here, let me check
Do you know where we check imports on OD?
Where's import?
Not allowed in OD:
@sonialiap Which behavior is correct here?
This seems not an issue according to this docs.
cc @hayata-suenaga since I think you implemented this feature (https://github.com/Expensify/App/pull/41638).
@sonialiap, @shubham1206agra Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
We are waiting for @hayata-suenaga to respond.
@hayata-suenaga doesn't work at Expensify anymore. I doubt you'll get a response for this 🤔
@zanyrenney might be able to help out!
Pretty sure that vendor bills support locations, so would love to hear from @zanyrenney on which is right.
@JmillsExpensify noting here that BE
ALLOWS the toggle, so we are only restricting it on the FE
. So i guess you're right here:
Hi! This is working as expected and is not a bug for QBO on Collect Workspaces.
Vendor Bills only support importing Locations
as a Report Field on QBO. Since we did not build report fields for Collect (we said this was a control feature), Locations on Vendor Bills should be locked.
Pretty sure that vendor bills support locations, so would love to hear from @zanyrenney on which is right.
They do but only as a report field cc @JmillsExpensify
I could have sworn someone was taking on Report Fields as a project for QBO/Xero. I saw a pre-design about it in Control.
Let me get a bit more info from the doc and have a look in Slack for that pre-design.
Hope the answer above helps @shubham1206agra @hungvu193 !
From the Design Doc!
Here is the pre-design on Report Fields support for QBO / Xero that I thought would build this added "Control" functionality atop this QBO project.
Happy to help get this added if not though! cc @dylanexpensify
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
We can close this cc @sonialiap
@sonialiap, @shubham1206agra Whoops! This issue is 2 days overdue. Let's get this updated quick!
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.43-1 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5027294 Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
If "Export company card expenses as" is set to "Vendor bill", the Locations toggle must not be locked
Actual Result:
If "Export company card expenses as" is set to "Vendor bill", the Locations toggle is locked
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/66d9415a-b335-434d-aa29-c0c683ce039e
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @shubham1206agra