Project

General

Profile

Actions

Task #17607

closed

Task #16334: Ocean Sprint Planning for 24/02/2025 - 11/03/2025

Freight Purchase - Restrict Deletion of Freight Purchases Linked to a File Reference

Added by Redmine Admin 7 months ago. Updated about 1 hour ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
03/04/2025
Due date:
03/04/2025
% Done:

100%

Estimated time:
0:00 h
Spent time:
GitLab ID:
2136
GitLab Milestone:
GitLab Ticket Number:
319
GitLab Time Logged:
7200
Lock Timeline Date:
No
gitlab project trace:
Ocean Sprint Planning for 24/02/2025 - 11/03/2025

Description

As a FFWD
I want to prevent users from deleting a freight purchase once it has been used in a file reference
So that financial records remain accurate and audit trails are maintained.

Acceptance Criteria:

  1. Freight Purchase Usage Check:
    • When a user attempts to delete a freight purchase, the system must check if it has been linked to a file reference.
  2. Restriction on Deletion:
    • If the freight purchase has been used in a file reference, the system must:
      • Disable the delete option for the user.
      • On hovering on the delete button, display an error message:
        "This freight purchase cannot be deleted as it is already linked to a file reference."
  3. Audit Trail & Logging:
    • Any modification attempt should be logged in the system for audit purposes.
    • The log should include the user details, timestamp, and attempted changes.

GitLab Sync Log

[{"id": "16978", "author": "Avisham", "hours": 1.0, "created": "2025-03-04T08:05:18.728Z", "log_date": "2025-03-03", "comment": "Imported from GitLab by @Avisham on 2025-03-04T08:05:18.728Z: 1h-(1.0)h spend at: 2025-03-03", "status": "active", "deleted_by": "", "redmine_entry_id": 8993}, {"id": "34443", "author": "Yashvee Seetul", "hours": 1.0, "created": "2025-11-26T06:25:25.045Z", "log_date": "2025-11-23", "comment": "Imported from GitLab by @Yashvee Seetul on 2025-11-26T06:25:25.045Z: 1h-(1.0)h spend at: 2025-11-23", "status": "active", "deleted_by": "", "redmine_entry_id": 11407}]

Actions #1

Updated by Redmine Admin 7 months ago

  • GitLab Sync Log updated (diff)
Actions #2

Updated by Redmine Admin 15 days ago

  • Status changed from QA to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Redmine Admin 14 days ago

  • GitLab Time Logged changed from 3600 to 7200
Actions #4

Updated by Redmine Admin 14 days ago

  • GitLab Sync Log updated (diff)
Actions

Also available in: Atom PDF