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

[$250] Company cards - Netsuite - Wrong account name in preview for journal entries accounts #55753

Open
1 of 8 tasks
vincdargento opened this issue Jan 24, 2025 · 11 comments
Open
1 of 8 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@vincdargento
Copy link

vincdargento commented Jan 24, 2025

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: v9.0.89-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): applausetester+ccardfeed@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Windows 10 / Chrome
App Component: Workspace Settings

Action Performed:

Pre-requisite:

  • User must have assigned a few company cards
  • User have enable Accounting and connected to Netsuite
  1. Go to Workspace settings > Company cards
  2. Click on an assigned card
  3. Click on NetSuite vendor bills export
  4. Click on "export option" highlighted text in the subheader
  5. Click on "Export company card expenses as:" field
  6. Click on "Export as:"
  7. Select Journal entries
  8. Go back to card details
  9. Click on NetSuite journal entries export
  10. Click on a different account, note the displayed name
  11. Verify the selected account in the preview

Expected Result:

The name of the journal entry account displayed in the preview should be the same as in the list

Actual Result:

The name of the journal entry account displayed in the preview is not the same as in the list

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

bandicam.2025-01-24.13-38-07-225.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021885426285334547544
  • Upwork Job ID: 1885426285334547544
  • Last Price Increase: 2025-01-31
Issue OwnerCurrent Issue Owner: @mollfpr
@vincdargento vincdargento added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Jan 24, 2025
Copy link

melvin-bot bot commented Jan 24, 2025

Triggered auto assignment to @abekkala (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.

@isagoico
Copy link

@joekaufmanexpensify We found this issue when writing the TestRail regression steps for Company Cards

@shubham1206agra
Copy link
Contributor

shubham1206agra commented Jan 24, 2025

🚨 Edited by proposal-police: This proposal was edited at 2025-01-24 21:37:47 UTC.

Proposal

Please re-state the problem that we are trying to solve in this issue.

Company cards - Netsuite - Wrong account name in preview for journal entries accounts

What is the root cause of that problem?

In

function getExportMenuItem(

We accidentally override title in this case shown below

title = companyCard?.nameValuePairs?.netsuite_export_payable_account ?? data.find((exportPayable) => exportPayable.isSelected)?.text;

Which causes the wrong account name in preview.

What changes do you think we should make in order to solve the problem?

Remove

title = companyCard?.nameValuePairs?.netsuite_export_payable_account ?? data.find((exportPayable) => exportPayable.isSelected)?.text;

to fix the issue.

Result

Screen.Recording.2025-01-25.at.3.09.45.AM.mov

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

NA since this is a UI bug

What alternative solutions did you explore? (Optional)

Copy link
Contributor

⚠️ Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).

@joekaufmanexpensify
Copy link
Contributor

Agreed, this seems like a bug.

@melvin-bot melvin-bot bot added the Overdue label Jan 27, 2025
Copy link

melvin-bot bot commented Jan 28, 2025

@abekkala Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented Jan 30, 2025

@abekkala Eep! 4 days overdue now. Issues have feelings too...

@abekkala abekkala added the External Added to denote the issue can be worked on by a contributor label Jan 31, 2025
@melvin-bot melvin-bot bot changed the title Company cards - Netsuite - Wrong account name in preview for journal entries accounts [$250] Company cards - Netsuite - Wrong account name in preview for journal entries accounts Jan 31, 2025
Copy link

melvin-bot bot commented Jan 31, 2025

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 31, 2025
Copy link

melvin-bot bot commented Jan 31, 2025

Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr (External)

@melvin-bot melvin-bot bot removed the Overdue label Jan 31, 2025
@mollfpr
Copy link
Contributor

mollfpr commented Feb 3, 2025

I agree with @shubham1206agra proposal. We probably forget to remove that line in this PR #52575.

🎀 👀 🎀 C+ reviewed!

Copy link

melvin-bot bot commented Feb 3, 2025

Triggered auto assignment to @lakchote, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

7 participants