Skip to content

[Due for payment 2025-12-25] [$250][AA Hold] Show the CREATED report action when the expense report was created during harvest #74580

@cristipaval

Description

@cristipaval

Held on the backend changes needed to return the necessary report NVPs for knowing when the report was created for moving unsubmittable transactions at submission time.

Part of the Hold for Advanced Approval project

Main issue: #56386
Doc section: Here
Project: #migrate

Feature Description

When a report is automatically submitted (this happens when Delayed Submission is configured in Workspace settings), the unsubmittable expenses are moved to a new report, and the original report is submitted with the expenses that are ready to be submitted.

We refer to the automatic submission process as report harvest, and it happens in the backend. There is nothing to address with the process itself in this issue.

As part of this issue, we want to display the CREATED report action for the new report created during the harvest. We currently don't display the CREATED report action for expense reports. Therefore, we want to keep them hidden, except for the new reports created during the harvest. We know that the report was created during the harvest, when it has the following reportNameValuePairs:

  • name: origin and value: harvest
  • name: originalID and value:

This is how this CREATED report action is displayed in OldDot.

Image

We want to display it in the App as shown in the following screenshot, but with different copy.

Image

Manual Test Steps

  1. Have a workspace with Submission Frequency set as Daily, Weekly, or Monthly
  2. Have a submitter create a draft expense report with a few expenses on it
  3. As the submitter, hold one or two expenses, but not all of them, on the report
  4. Ask @cristipaval to manually trigger the report harvest for you
  5. Verify the CREATED report action on the newly created expense report, where the held expenses are moved

Automated Tests

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021988003148787311755
  • Upwork Job ID: 1988003148787311755
  • Last Price Increase: 2025-11-10
Issue OwnerCurrent Issue Owner: @

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No fields configured for Task.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions