The Microsoft Dynamics NAV Connector enables Mule applications to interact with the Microsoft Dynamics NAV Web Services versions 2013 R2, 2015, 2016.

Additional Info

Requires Mule Enterprise License

Yes  

Requires Entitlement

No  

Mule Version

3.7.0 or higher

Configs


NTLM Authentication

<dynamics-nav:config-ntlm>

Connection Management

Attributes

Name Java Type Description Default Value Required

name

String

The name of this configuration. With this name can be later referenced.

x 

domain

String

 

username

String

A username

x 

password

String

A password

x 

soapUrl

String

x 

odataUrl

String

x 

companyName

String

 

disableCnCheck

Boolean

false

 


OAuth 2.0 Access Token

<dynamics-nav:config-oauth-token>

Connection Management

Attributes

Name Java Type Description Default Value Required

name

String

The name of this configuration. With this name can be later referenced.

x 

username

String

A username

x 

accessToken

String

A password

x 

soapUrl

String

x 

odataUrl

String

x 

companyName

String

 

disableCnCheck

Boolean

false

 

Processors


OData Query

<dynamics-nav:odata-query>

  Paged Operation

Executes an OData query against one of the published page services or one of the published query services.

XML Sample

<dynamics-nav:odata-query config-ref="Dynamics_NAV__NTLM_Authentication" query="SELECT No FROM SalesOrder"/>

Attributes

Name Java Type Description Default Value Required

config-ref

String

Specify which config to use

x 

query

String

For DataSense Query Language, the DSQL query. For Native Query Language, the OData query.

#[payload]

 

pagingConfiguration

PagingConfiguration

The configuration for the pagination feature.

x 

Returns

Return Java Type Description

ProviderAwarePagingDelegate<Map<String,Object>,DynamicsNavConnector>

A paging delegate with the records resulting from the query. Pagination is handled internally.


Page operation

<dynamics-nav:page-operation>

  DataSense enabled

Execute an operation of one of the published Page SOAP services.

XML Sample

<dynamics-nav:page-operation config-ref="Dynamics_NAV__NTLM_Authentication" serviceOperation="Countries||CreateMultiple" />

Attributes

Name Java Type Description Default Value Required

config-ref

String

Specify which config to use

x 

serviceOperation

String

The name of the service and operation to invoke.

x 

entity

Map<String,Object>

Object that represents the entity. It can be a simple type or a Map with multiple properties

#[payload]

 

Returns

Return Java Type Description

Object

An object with the result of the operation execution. It can be a simple type or a Map


Codeunit operation

<dynamics-nav:codeunit-operation>

  DataSense enabled

Execute an operation of one of the published Codeunit SOAP services.

XML Sample

<dynamics-nav:codeunit-operation config-ref="Dynamics_NAV__NTLM_Authentication" serviceOperation="String||WindowsToASCII" />

Attributes

Name Java Type Description Default Value Required

config-ref

String

Specify which config to use

x 

serviceOperation

String

The name of the service and operation to invoke.

x 

entity

Map<String,Object>

Object that represents the entity. It can be a simple type or a Map with multiple properties

#[payload]

 

Returns

Return Java Type Description

Object

An object with the result of the operation execution. It can be a simple type or a Map