Process freight invoice in Dynamics 365 Supply Chain Management
Menu item
ITMUpdate_Costed
Setup steps
1 on this page
How this guide was checked
Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “A fully invoiced voyage is costed”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A periodic-task dialog that sets the Voyage status of voyages that have been fully invoiced and costed, but not yet updated, to the costed status defined in Landed cost parameters.
What you do here
Use this page, usually as a scheduled batch job, to finalise voyages by clearing any costing irregularities and marking them Costed once invoices exist for all purchase orders and voyage costs.
Example
For example, a finance team runs the task every night so that voyages whose freight and duty invoices were posted that day are closed as Costed.
The page in Dynamics 365. page title tab to open what to set or check
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 invoices exist for the stock and for all voyage costs of a voyage, so costing irregularities can be cleaned up and the voyage finalized.
How often
On a regular schedule as a batch job; the update can be rerun as many times as needed.
Batch settings
Run it as a recurring batch job so voyages are costed as soon as all their invoices exist.
What the output shows
Voyages set to the costed status from Landed cost parameters, with costing irregularities cleaned up on the posting date you chose. A voyage that stays at Ready for costing has no invoice yet for its stock or for at least one voyage cost.
Post on the standard financial date, or enter a specific posting date for the costing adjustments.Microsoft Learn
The last day of the period
Filter
The query that selects which voyages the task updates.Microsoft Learn
Common errors and fixes
Message
What to do
The voyage stays at Ready for costing after the run
An invoice is missing for the stock or for a voyage cost; voyages that fail the costed process keep the Ready for costing status. Post the missing invoice and run the task again. Microsoft Learn
A costed voyage shows Pre-costed
A new cost, such as a second freight invoice or demurrage, was added after costing. Run Costed again once its invoice is posted. Microsoft Learn
Test checklist
Fully invoiced voyages in the filter show the costed status.
Postings for costing adjustments carry the posting date you chose.
A voyage with a missing cost invoice stays at Ready for costing.
Schedule it as a recurring batch job after Ready for costing, and give period-end runs an explicit posting date in the open periodLearn says to run it regularly as a batch job and that it can be rerun as often as needed; the posting date decides which period the costing adjustments land in.
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: Costed is the final status; a cost added later moves the voyage to Pre-costed, not back.
If you change it later
A voyage cannot reach Costed until invoices for the stock and all voyage costs exist; voyages that fail the costed run stay at Ready for costing, and adding a new cost to an already costed voyage moves it to the Pre-costed status. Microsoft Learn
Technical architect
6Technical
Menu item
ITMUpdate_CostedChecked 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 costedITMUpdateCostedProcess
DutyITMUpdate_CostedProcessDuty
PrivilegeProcess voyage to costedITMUpdate_CostedProcess
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
Developer
7Developer
Open it by URL
https://<your-environment>/?mi=ITMUpdate_Costed
Data migration
Load order: Costed 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