About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
When to run it
When to run it
When the vessel or flight for a group of voyages has departed.
How often
On demand after departures, or on a schedule. Voyages can also be set in transit automatically from settings in the tracking control center.
What the output shows
Voyage status set to the in-transit status from Landed cost parameters on every selected voyage. No other processing happens, so stock, costs and dates are unchanged.
Set the voyage status of a set of voyages to the in-transit status from Landed cost parameters.
Steps from Microsoft
Go to Landed cost > Periodic tasks > Voyage update > In transit.
Use the Filter settings to select the voyages whose vessel or flight has departed.
Make sure the selected voyages are at a parent status of the in-transit status set in Landed cost parameters, because statuses only move down the hierarchy.
Set the batch options if the task should run on a schedule, then select OK.
Open the voyages and check that Voyage status shows the in-transit status.
The query that selects which voyages the task updates.Microsoft Learn
Ship date = yesterday
Common errors and fixes
Message
What to do
The voyages don't move to the in-transit status
Statuses only move down the hierarchy, from a parent status to one of its children. Check on Voyage statuses that the in-transit status is a child of the voyages' current status. Microsoft Learn
Use the tracking control center to set voyages in transit automatically, and keep this task for catching up a group of voyagesThe task only changes Voyage status, with no further logic, and Learn says a voyage can also be set in transit automatically from the tracking control center.
On this system the page opens for Landed cost agent. Landed cost fields show on purchase orders, released products and other common pages only when Activate is Yes on the Feature visibility tab of Landed cost parameters; the module's own pages stay available either way.
Per company: the task works on the voyages of the legal entity you run it in. When you schedule it, each batch task names the company it runs in (Company accounts), so set it up in every company that uses Landed cost. Microsoft Learn
Can it be undone
No: Statuses only move down the hierarchy, so the voyages can't be set back from here.
If you change it later
The task only changes the Voyage status value; no other processing happens, and because statuses can only move down the hierarchy the voyages must be at a parent status of the in-transit status. Microsoft Learn
Technical architect
6Technical
Menu item
ITMUpdate_InTransitChecked in Dynamics 365
Form
SysOperationTemplateFormChecked in Dynamics 365
Who can open it
1 security role. Select a role to see its duties and privileges.
RoleLanded cost agentITMAgent
DutyMaintain voyagesITMMaintain
PrivilegeProcess voyage to in transitITMUpdateInTransitProcess
DutyITMUpdate_InTransitProcessDuty
PrivilegeProcess voyage to in transitITMUpdate_InTransitProcess
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itLanded cost agent ITMAgentGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Load order: In transit has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a task and stores no setup; the voyages it updates load with the Voyages entity (ITMTableEntity).Checked in Dynamics 365