Project

General

Profile

Actions

Task #19643

open

Task #19655: Sprint Planning for 09/04/2026 to 23/04/2026

Air Import/Export - Generate Cost and Sales Report per HAWB

Added by Redmine Admin 5 months ago. Updated 3 months ago.

Status:
Development Done
Priority:
Normal
Assignee:
-
Start date:
04/06/2026
Due date:
04/06/2026 (about 5 months late)
% Done:

89%

Estimated time:
24:00 h
Spent time:
GitLab ID:
4128
GitLab Milestone:
GitLab Ticket Number:
1359
GitLab Time Logged:
77400
Lock Timeline Date:
No
gitlab project trace:
Sprint Planning for 09/04/2026 to 23/04/2026

Description

Generate a Cost and Sales report—Working Sheet for each HAWB in PDF format, including shipment details, routing details, parties involved, and detailed sales/cost charges with profit information.

Requirements:

The system must generate one Cost and Sales report per HAWB.
The Cost and Sales report must serve as an internal operational and costing document showing:

  • File information
  • MAWB and HAWB references
  • Shipper / Consignee / Agent / Notify Party
  • Shipment details
  • Shipping / flight details
  • Charges Details
  • Totals, VAT, and Gross Profit
  • Remarks section

WORKING SHEET.doc

Attached is a sample Cost and Sales document used by WSC for reference. however, note that the format of the Charges Details section must follow the same structure as in ocean module (sample provided below), where Sales and Cost are displayed side by side and totals are shown clearly at the bottom.

image.png{width="610" height="138"}

Scope

This functionality applies to:

  • Air Export HAWB
  • Air Import HAWB where applicable, with the same financial format but data populated based on import transactions

The Cost and Sales report is generated at HAWB level.

Preconditions

  1. A valid HAWB must exist in the system.
  2. The HAWB can either be linked to a File Reference or not.
  3. Shipment party details must be available:
    • Shipper
    • Consignee
    • Agent, if applicable
    • Notify Party, if applicable
  4. Flight / routing information must be available where relevant.
  5. Charges must exist:
    • Sales charges
    • Cost charges
  6. Exchange rate data must exist for any charge not in default currency.
  7. VAT setup must exist for relevant charge lines.

Trigger

The Cost and Sales report is generated when the user clicks:

Action > Download Working Sheet
or
Action > Preview Working Sheet

from the File Reference—Retrieve screen in the HAWB level.

Main Functional Description

When the user generates the Cost and Sales report, the system shall produce a formatted report for the selected HAWB containing the following sections.

1. Header Section

The report shall display:

  • Company Name
  • Company Address
  • Company Contact Details
  • Working Sheet Title
  • Master File Ref.
  • File Ref.
  • Date
  • Issued By

2. Shipment Reference Section

The report shall display:

  • MAWB No
  • HAWB No

3. Parties Section

The report shall display:

  • Shipper name and address
  • Consignee name and address
  • Agent name and address, where applicable
  • Notify Party name and address, where applicable

4. Shipment Details Section

The report shall display, where available:

  • Number of Packages
  • Packaging Type
  • Goods Description
  • Gross Weight
  • Volume
  • HS Code, where captured
  • Manifested Ocean/Air Freight value if maintained
  • Currency of Freight
  • Incoterms
  • Stuffing Place / Place of Receipt where relevant
  • Freight Payable At
  • Place of Issue

5. Shipping Details Section

The report shall display, where applicable:

  • Airline
  • Local Agent
  • Flight No
  • Airport of Loading
  • Airport of Discharge
  • Final Destination
  • ETD
  • ETA
  • ATA
  • Place of Receipt

6. Charges Details Section

The Charges Details section must follow the required presentation structure and show Sales and Cost in parallel.
This section is mandatory in the Cost and Sales report.

6.1 Column Structure

The section shall display one row per charge description, with the following layout:

Common column

  • Desc.

Sales side

  • Curr.
  • Vat
  • ROE
  • Amt. Without Vat in FCY
  • Amt. Without Vat MUR

Cost side

  • Curr.
  • Vat
  • ROE
  • Amt. Without Vat in FCY
  • Amt. Without Vat MUR

This layout must visually separate Sales and Cost as two parallel financial blocks.

6.2 Charge Line Population Rules

  1. Each charge row shall be grouped by charge description.
  2. The same description may contain:
    • Sales only
    • Cost only
    • Both Sales and Cost
  3. If a charge exists only on one side:
    • the opposite side shall remain blank or zero as per report design
  4. The report shall list charges in the sequence configured in the system or, if no sequence exists, by charge creation order.
  5. Charge descriptions must be displayed as saved in the HAWB cost / sales grid.

6.3 VAT Display Rules

For each charge row:

  • The Vat column shall display the VAT amount applicable to that row
  • If no VAT applies, display 0.00 or blank based on approved report format
  • VAT must be shown separately from the amount without VAT

6.4 Currency and ROE Rules

For each Sales and Cost row:

  • Curr. shall display the transaction currency of the charge
  • ROE shall display the rate of exchange used to convert FCY to MUR
  • If charge currency is MUR, ROE shall default to 1
  • If charge is maintained in foreign currency, MUR amount must be calculated using the saved ROE

6.5 Amount Rules

For each line:

  • Amt. Without Vat in FCY = charge amount excluding VAT in source currency
  • Amt. Without Vat MUR = charge amount excluding VAT converted to MUR

VAT must not be included in these two amount columns.

7. Totals Section

At the bottom of the Charges Details section, the system shall display:

  • TOTAL SALES (MUR)
  • TOTAL COST (MUR)
  • TOTAL VAT SALES (MUR)
  • TOTAL SALES (MUR) inclusive of VAT
  • TOTAL VAT COSTS (MUR)
  • G PROFIT (MUR)

7.1 Calculation Rules

Total Sales (Without VAT)

Sum of all Sales line amounts in MUR excluding VAT.

Total Cost (Without VAT)

Sum of all Cost line amounts in MUR excluding VAT.

Total VAT Sales

Sum of VAT amounts for all Sales lines.

Total VAT Costs

Sum of VAT amounts for all Cost lines.

Total Sales Inclusive of VAT

Total Sales Without VAT + Total VAT Sales

Gross Profit

Total Sales Inclusive of VAT - (Total Cost Without VAT + Total VAT Costs)

Remarks Section

The report shall include a Remarks section at the bottom.

Rules:

  • If remarks exist on the HAWB / File / Working Sheet remarks field, they shall print
  • If no remarks exist, the section shall still appear blank for manual use if required

Functional Rules

  1. One Working Sheet must be generated per HAWB.
  2. The report must always use the selected HAWB data only.
  3. If multiple HAWBs exist under one MAWB, each HAWB must have its own separate Working Sheet.
  4. The report must be available in:
    • Preview format
    • PDF export format
  5. The report must reflect the latest saved values at the time of generation.
  6. Cancelled or inactive charges must not appear unless a configuration explicitly allows this.
  7. Charges must be shown in MUR totals even if entered in foreign currency.

Exception / Validation Rules

Case 1: No charges exist

If no Sales and no Cost charges exist for the HAWB:

  • system shall still generate the Working Sheet
  • Charges Details section shall show No Charges Available or remain blank as per approved design
  • totals shall default to zero

GitLab Sync Log

[{"id": "41821", "author": "Fatimah Schaik Hossen", "hours": 7.0, "created": "2026-04-09T11:00:45.885Z", "log_date": "2026-04-09", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-04-09T11:00:45.885Z: 7h-(7.0)h spend at: 2026-04-09", "status": "active", "deleted_by": "", "redmine_entry_id": 12964}, {"id": "42018", "author": "Fatimah Schaik Hossen", "hours": 4.0, "created": "2026-04-10T11:31:42.097Z", "log_date": "2026-04-10", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-04-10T11:31:42.097Z: 4h-(4.0)h spend at: 2026-04-10", "status": "active", "deleted_by": "", "redmine_entry_id": 13043}, {"id": "42241", "author": "Fatimah Schaik Hossen", "hours": 5.0, "created": "2026-04-15T10:07:53.498Z", "log_date": "2026-04-15", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-04-15T10:07:53.498Z: 5h-(5.0)h spend at: 2026-04-15", "status": "active", "deleted_by": "", "redmine_entry_id": 13103}, {"id": "42402", "author": "Fatimah Schaik Hossen", "hours": 3.0, "created": "2026-04-17T10:21:45.451Z", "log_date": "2026-04-15", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-04-17T10:21:45.451Z: 3h-(3.0)h spend at: 2026-04-15", "status": "active", "deleted_by": "", "redmine_entry_id": 13132}, {"id": "42389", "author": "Fatimah Schaik Hossen", "hours": 1.5, "created": "2026-04-17T10:18:15.951Z", "log_date": "2026-04-17", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-04-17T10:18:15.951Z: 1h 30m-(1.5)h spend at: 2026-04-17", "status": "active", "deleted_by": "", "redmine_entry_id": 13133}, {"id": "43190", "author": "Fatimah Schaik Hossen", "hours": 1.0, "created": "2026-04-27T10:34:22.668Z", "log_date": "2026-04-27", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-04-27T10:34:22.668Z: 1h-(1.0)h spend at: 2026-04-27", "status": "active", "deleted_by": "", "redmine_entry_id": 13338}]

Actions #1

Updated by Redmine Admin 5 months ago

  • GitLab Sync Log updated (diff)
Actions #2

Updated by Redmine Admin 5 months ago

  • Description updated (diff)
Actions #3

Updated by Redmine Admin 5 months ago

  • Estimated time changed from 0:00 h to 24:00 h
  • Parent task set to #19655
  • gitlab project trace set to Sprint Planning for 09/04/2026 to 23/04/2026
Actions #4

Updated by Redmine Admin 5 months ago

  • % Done changed from 0 to 29
  • GitLab Time Logged changed from 0 to 25200
Actions #5

Updated by Redmine Admin 5 months ago

  • GitLab Sync Log updated (diff)
Actions #6

Updated by Redmine Admin 5 months ago

  • % Done changed from 29 to 45
  • GitLab Time Logged changed from 25200 to 39600
Actions #7

Updated by Redmine Admin 5 months ago

  • GitLab Sync Log updated (diff)
Actions #8

Updated by Redmine Admin 4 months ago

  • % Done changed from 45 to 66
  • GitLab Time Logged changed from 39600 to 57600
Actions #9

Updated by Redmine Admin 4 months ago

  • GitLab Sync Log updated (diff)
Actions #10

Updated by Redmine Admin 4 months ago

  • % Done changed from 66 to 85
  • GitLab Time Logged changed from 57600 to 73800
Actions #11

Updated by Redmine Admin 4 months ago

  • GitLab Sync Log updated (diff)
Actions #12

Updated by Redmine Admin 4 months ago

  • Status changed from New to Development Done
Actions #13

Updated by Redmine Admin 4 months ago

  • Status changed from Development Done to New
Actions #14

Updated by Redmine Admin 4 months ago

  • Status changed from New to Development Done
  • % Done changed from 85 to 89
  • GitLab Time Logged changed from 73800 to 77400
Actions #15

Updated by Redmine Admin 4 months ago

  • GitLab Sync Log updated (diff)
Actions

Also available in: Atom PDF