Setting up air consolidation
In an air consolidation, a forwarder books several shipments, each with its own house air waybill (HAWB), onto one master air waybill (MAWB) with the airline. In TrakIT each shipment is an ordinary job, and the consolidation is a master job: a job in a workflow with Master Jobs turned on. The shipments are added to it as its house jobs. Each house job keeps its own customer, work orders and finance; the master job carries what belongs to the consolidation as a whole: the airline, the flight, the air waybill number and the airline’s bill.
This guide is for administrators who set this up. It builds the two workflows, links their events so the flight details reach every shipment, sets up the electronic air waybill (e-AWB) messages and the consolidation’s documents, and ends with a test consolidation. It assumes you know how to build a workflow: if not, read Designing a workflow first.
The running example is an air export from one airport, with two workflows:
- Air Export, code
AIREXP: one job per shipment (the HAWB). - Air Export Consolidation, code
AIRCON: one job per MAWB.
Who: Create and Update in the WorkFlow Definitions section, and access to both workflows. Users who build consolidations need Update in the Work Orders section and access to both workflows.
How it fits together
Section titled “How it fits together”| On the master job | On each house job |
|---|---|
| The airline, flight, airports and dates, entered once. | The shipper, consignee, pieces, weight, volume and goods of the shipment. |
| Events and data fields marked Copy to House Jobs are copied to the house jobs. | Gets those values on its own field with the same code, and its own KPIs, actions and notifications run. |
| The airline’s bill, entered as expenses. | Its share of those expenses, by chargeable weight (the cost split, not posted). |
| The air waybill number, the e-AWB messages and the airline’s status messages. | Its house waybill message, built from its own details. |
| The MAWB and the cargo manifest, printed with a row per house job. | Its HAWB, printed with the master job’s air waybill number. |
The weights come from the house jobs: their work orders’ Weight and Volume. The master job works out each house job’s chargeable weight, and the consolidation’s own chargeable weight as one shipment, from those. See House Jobs tab.
1. Plan the events
Section titled “1. Plan the events”Decide which steps happen once for the whole consolidation and which happen per shipment.
- Consolidation steps belong on the master job: the flight, the airports, the cut-off, departure and arrival. Mark those every shipment should show Copy to House Jobs (see step 4).
- Shipment steps stay on the house jobs: pickup from the shipper, cargo received at the warehouse, customs export, proof of delivery.
- The same code in both workflows. A copied field reaches a house job only if the house job’s workflow has a field with the same code, of a type that accepts the value. Choose the codes once and use them in both workflows.
- Job or work order. Make the consolidation steps job-level (Apply To Job) in both workflows, so each is recorded once per job, whatever the number of work orders.
For the example:
| Step | Code | AIRCON (master) |
AIREXP (house) |
|---|---|---|---|
| Flight number | Text data FLIGHT |
Job, Copy to House Jobs | Job |
| Airport of departure | Text data AOD |
Job, Copy to House Jobs | Job |
| Airport of destination | Text data AODEST |
Job, Copy to House Jobs | Job |
| Estimated departure | Event ETD, information only |
Job, Copy to House Jobs | Job, information only |
| Cargo picked up | Event PICKUP |
- | Work order |
| Received at warehouse | Event RCS |
Job | Work order |
| Departed | Event DEP |
Job, required, Copy to House Jobs | Job, required |
| Arrived | Event ARR |
Job, required, Copy to House Jobs | Job, required |
| Delivered to consignee | Event DLV |
- | Work order, required |
2. Set up the house workflow
Section titled “2. Set up the house workflow”Build Air Export as an ordinary workflow, following Designing a workflow. Points that matter for consolidation:
- Responsible Company: the same company as the master workflow. A job can be added to a master job only if it belongs to the same responsible company as the master job’s workflow.
- Master Jobs: leave it off. A job in a workflow with Master Jobs on cannot be a house job.
- Header fields: make Weight and Volume visible, and mandatory if every shipment must have them. The chargeable weight, the cost split and the e-AWB messages are worked out from them. Make Shipper and Receiver visible: the house waybill reads them.
- Items: the e-AWB house waybill counts the pieces as the total quantity of the house job’s items, and lists their HS codes. If your users do not add items, give the house workflow a data field for the pieces and use it in the e-AWB setup.
- Events copied from the master: copied values go through the house job’s own rules: the event
sequence, chronological order, Requires, validation and Allowed Offset. A copy is refused if,
for example, the house job’s
DEPmust wait for an event the house job has not recorded yet. Put the copied events in the same order in both workflows, and do not make them require shipment steps that may still be missing when the flight departs, or else turn on Ignore Event Sequence for the house workflow.
3. Set up the master workflow
Section titled “3. Set up the master workflow”- Create Air Export Consolidation as in Create the workflow, with the same Responsible Company as the house workflow.
- Select the pencil icon (Edit Workflow).
- Under Operations, turn on Master Jobs.
- Set Consolidation Mode to Air. Air counts each m³ as 166.67 kg (1:6000) and rounds the chargeable weight up to the next 0.5 kg.
- Leave Volume Ratio empty to use 166.67 kg per m³, or enter another, for example 200 for courier rates (1:5000). A master job can still set its own ratio, from its airline’s contract.
- Select Save.
Master Jobs cannot be turned on while a job of the workflow is a house job, or turned off while jobs of the workflow have house jobs. Set it before the workflow is used.
Then build the rest of the workflow as usual: the events and data fields of your plan, the header fields, KPIs, actions and the default accounts. A master job’s work order stands for the consolidation at the airline, so one work order per master job is usual. Make the airline the work order’s Carrier. For the finance, add the expense accounts the airline bills, such as air freight and fuel surcharge, to the master workflow’s default accounts: the airline’s bill is entered on the master job, and the cost split shares its expenses out to the house jobs.
4. Copy the consolidation’s events to the house jobs
Section titled “4. Copy the consolidation’s events to the house jobs”For each event or data field of the master workflow that the house jobs should get:
- On the master workflow’s Events or Data tab, open the field’s Details popup with the sliders icon at the end of the row.
- Turn on Copy to House Jobs.
- Select Save.
The grid shows a diagram icon on these rows, and Show > Copied to House Jobs lists them. Computed fields cannot be copied.
When such a field changes on a master job, however it is changed (on the work order, in the mobile app, through the API, or by an airline status message), TrakIT copies it a moment later to the open work orders of every house job, and the house job’s actions and notifications run as if the value had been entered there. A house job added later gets the master’s values at once. What was not copied, and why, is listed on the master job’s House Jobs tab. See Events and data copied to house jobs.
5. Set up the e-AWB
Section titled “5. Set up the e-AWB”The e-AWB messages are the master air waybill (XFWB), the list of house waybills (XFHL) and one house waybill per house job (XFZB), in IATA Cargo-XML. The setup says where each item comes from, once for the workflow.
- On the master workflow, select the pencil icon (Edit Workflow).
- Under e-AWB, select e-AWB Setup. It is shown on a saved workflow with Master Jobs on and Consolidation Mode Air.
- Fill in the items below, then select Save.
Each item takes form codes, text, or both, as in a form. The codes of the master air waybill are read from the master job’s first open work order; those of the shipper, consignee and house waybills from each house job’s. An item left empty uses the default shown greyed in its box. Items with a red asterisk must give a value. The tip next to each item gives an example.
Messages and agent
Section titled “Messages and agent”| Item | What to enter |
|---|---|
| Sender Address, Recipient Address | Your address and the airline’s or hub’s address on the message hub, given by the hub. |
| Hub Email | The email address that takes the messages, for Email to Hub on the master job. |
| Agent Name | Your company, as the issuing agent. Empty: the company’s name. |
| Agent IATA Code | Your 7-digit IATA cargo agent code. |
| Agent CASS Code | Your 4-digit CASS address code, if you have one. |
| Agent City | Where the air waybills are issued. |
Master air waybill
Section titled “Master air waybill”Point these at the master workflow’s fields from step 1:
| Item | Example for AIRCON |
|---|---|
| Airport of Departure, Airport of Destination | %%%2,AOD; and %%%2,AODEST;: 3-letter IATA codes. |
| Airline Code | The 2-character IATA code, as text if the workflow uses one airline, or from a data field. |
| Flight Number | %%%2,FLIGHT; |
| Flight Date | %%%1,ETD|yyyy-MM-dd;: the date as year-month-day. |
| Special Handling Codes | Empty: CON (consolidation). Add others separated by spaces, such as CON EAW. |
| Nature of Goods | Empty: CONSOLIDATION AS PER ATTACHED MANIFEST. |
| Rate Class, Charges, Currency | Empty: Q, PP (prepaid) and the job’s currency. |
| Weight Charge, Other Charges Due Carrier, Other Charges Due Agent | The amounts of the master job’s accounts, such as %%%4,AIRFREIGHT; with your account code. Optional. |
Shipper and consignee
Section titled “Shipper and consignee”Name, address, city, postcode and 2-letter country code. They are read from the master job for the master air waybill, and from each house job for its house waybill, so the same codes serve both. On the master job, the shipper is usually your own company and the consignee your agent at destination; on a house job, the real shipper and consignee.
The name, address and country default to the job’s Shipper and Receiver. The city and postcode
have no default: point them at the entities’ own data fields, for example
%%%9,SHIPPER-ENTDATA-CITY;, so keep the city, postcode and country filled in on your entities.
House waybills
Section titled “House waybills”| Item | What to enter |
|---|---|
| House Origin Airport, House Destination Airport | Empty: the master’s airports. Set them when a shipment starts or ends elsewhere. |
| House Goods Description | Empty: the house job’s commodity. |
| House Pieces | Empty: the total quantity of the house job’s items. Point it at a data field such as %%%2,PIECES; if your users do not add items. |
| House Special Handling Codes | Optional, for example from a data field. |
The house weights always come from the house job’s work orders.
Status updates
Section titled “Status updates”The airline or hub sends status messages (XFSU, or FSU text) as the cargo moves. Under Status Updates, enter for each status the code of the master workflow’s event it records:
| Status | Event in the example |
|---|---|
| BKD - Booked, RCS - Received from Shipper, MAN - Manifested | RCS for RCS; others empty unless the workflow has an event for them. |
| DEP - Departed | DEP |
| ARR - Arrived | ARR |
| RCF, NFD, AWD, DLV, DIS | The events your workflow has for them, or empty. |
A status left empty is not recorded. TrakIT refuses to save a code that is not an event of the workflow. An imported status is recorded on the master job like any other event, so the workflow’s event rules apply to it, and events marked Copy to House Jobs then reach the house jobs.
Air waybill stock
Section titled “Air waybill stock”Airlines give forwarders blocks of air waybill numbers. Add them so that master jobs can take the next free number:
- At the bottom of the e-AWB Setup page, under Air Waybill Stock, select Add Numbers.
- Enter the Airline Prefix, such as
176, and the From and To serials: the 7 digits without the check digit. - Select Save.
TrakIT works out the check digits (the serial modulo 7), hands out the numbers in order and skips any already typed on another job. The stock belongs to the workflow’s company, so every master workflow of that company uses the same blocks. Stop Using sets a block aside; Use Again brings it back.
6. Set up the documents
Section titled “6. Set up the documents”Forms print the consolidation’s documents from the form codes for master and house jobs. Build them as described in Setting up document templates:
- MAWB and cargo manifest, for the master workflow:
##MAWBNUM##for the air waybill number, a%%%HOUSELOOP;…%%%HOUSEEND;block with a row per house job (##HJOB##,##HPCS##,##HWEIGHT##,##HCHGKG##, and the house job’s own codes such as%%%0,SHIPPERNAME;), and the totals##HOUSECOUNT##,##HOUSEPCS##,##HOUSEWEIGHT##and##MASTERCHGKG##. - HAWB, for the house workflow: the house job’s own codes, and
##MAWBNUM##or##MASTERJOB##for its master job.
Make them work order forms, generated from the master job’s or the house job’s work order. The house block covers every house job of the master job, whoever generates the document.
7. Give users access
Section titled “7. Give users access”Users who build consolidations need both workflows, so that they can see the house jobs on the master job and add them. See Give users access. On the master job:
- adding and removing house jobs, changing the volume ratio, setting the air waybill number and the e-AWB actions need Update in the Work Orders section;
- the Cost Split tab needs a role that can read job finance, and Split Costs also needs Update Actuals in Job Finance.
8. Test with a consolidation
Section titled “8. Test with a consolidation”Turn on Active on both workflows, then:
- Create two or three jobs in Air Export with their shipper, consignee, Weight, Volume and items. Mix a heavy shipment with a bulky one.
- Create a job in Air Export Consolidation with one work order, the airline as Carrier and your destination agent as Receiver.
- On the master job, open the House Jobs tab and select Add House Jobs. Select the shipments, then Add. Check each house job’s chargeable weight, and the Master and Difference lines.
- On the master job’s work order, record
FLIGHT,AOD,AODESTandETD. A few seconds later, open a house job: it has the same values, and its Audit Log tab shows Copied from Master Job. If Not copied to house jobs appears on the master job, fix the house job and select Copy Again. - On the e-AWB tab, select the pencil next to Air waybill and take the next number from the stock, or type one.
- Work through Not ready to send until it is empty, then download XFWB, XFHL and XFZB. Have the message hub check them before the first live exchange: hubs and airlines can ask for items of their own.
- Import a sample status file with Import Status, with a departure time in the past. Check that
DEPis recorded on the master job and reaches the house jobs. - Add the airline’s charges as expense actuals on the master job’s finance, then on the Cost Split tab select Split Costs. Each house job’s finance shows its share as Master job costs.
- Generate the MAWB and manifest from the master job’s Forms tab and the HAWB from a house job’s.
When you are done, cancel the test work orders, or delete them within 96 hours if they have no documents. A deleted master job leaves its house jobs as they were, without a master job.
Running consolidations day to day
Section titled “Running consolidations day to day”- Add shipments until the cut-off. A shipment can join while it has an open work order and is not on another master job. Each added shipment gets the master’s copied values at once.
- Change the flight once, on the master job: the new flight and dates reach every house job.
- Split the costs again when the Cost Split tab shows Out of date, after the airline’s bill or the weights change. Adding or removing house jobs, or changing the volume ratio, splits them again by itself.
- Moving a shipment to another consolidation: remove it from the first master job with the cross at the end of its row, then add it to the other one. It keeps what was copied until the new master overwrites it.
Where to go next
Section titled “Where to go next”- House Jobs tab: everything on the master job, including the cost split and the e-AWB tab.
- Workflow settings: Master Jobs, Consolidation Mode, Volume Ratio and the e-AWB setup.
- Form code reference: the codes for the MAWB, HAWB and manifest.
- Finance job: how the split shows on each job’s finance.

