Microsoft Dynamics Search for Order by Order Number
Looks up a specific sales order in Microsoft Dynamics 365 by its order number and returns it together with its order lines. Use it when the order number is already known.
What it does
- Authenticates with Microsoft Dynamics using the provided credentials.
- Retrieves the sales order matching the given order number.
- Adds the order lines (the individual items on the order) to the result.
- Optionally scopes the search to a single company when an Area ID is provided, otherwise searches across companies.
Inputs
| Name | Type | Description |
|---|---|---|
| Order Number | String | Order Number for searching |
| Resource | String | Microsoft Dynamics resource e.g. https://{domain}.operations.dynamics.com |
| Tenant ID | String | Microsoft Dynamics tenant id |
| Client ID | String (sensitive) | Microsoft Dynamics client id |
| Client Secret | String (sensitive) | Microsoft Dynamics client secret |
| Area ID | Optional String | Area ID |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether order was found or not |
| Order | Object | Order |
Notes
Area IDmaps to the DynamicsdataAreaId(the company/legal entity). When set, the search is restricted to that company; when left empty, all companies are searched.Resourceis the base URL of your Dynamics environment, for examplehttps://{domain}.operations.dynamics.com.