navCall

Description

Creates a connection with a navConnector.

Input / Parameter

NameDescriptionInput TypeDefaultOptionsRequired

connector

The name of the navConnector created in Services to connect to.

String/Text

-

-

Yes

type

The type of connection.

String/Text

-

-

No

ent?

String/Text

-

-

Yes

function

The function from the web service to be executed.

String/Text

-

-

Yes

subfunction

The subfunction from the web service to be executed.

String/Text

-

-

No

data

The data containing the main parameters in the function being called.

Object

-

-

Yes

extra

Extra parameters stored and passed to callback.

Any

-

-

No

batch?

String/Text

-

-

No

Output

N/A

Callback?

callback

The function to be executed if the connection to navConnector is successful.

errCallback

The function to be executed if the connection to navConnector is not successful.

Video

Coming Soon.

Example

The user wants to call the navCall Web Service.

Step

  1. Create a NAV Connector in Services with the follow parameters.

    FieldValue

    Name

    nav

    Url

    http://203.116.137.100:8047/DynamicsNAV90

    Company

    CRONUS Australia Pty. Ltd.

    User

    chh\mobuser

    Password

    ********

    Timeout

    30000

  2. Call the function "navCall".

  3. Add a console after callback function for display response from console.

Result

Last updated