Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

DynamicsNav

Contains helper function which allow to interact with Microsoft Dynamics NAV.

Nested types and modules

TypeDescription
DynamicsNavParams
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A parameter type to interact with Dynamics NAV

NavisionServerType
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

A Dynamics NAV server type

RTCParams
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

The parameter type allows to interact with Dynamics NAV RTC.

SynchronizeSchemaChangesOption
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

ModuleDescription
Replacements
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Functions and values

Function or valueDescription
analyzeTestResults(fileName)
Signature: fileName:string -> TestResults option
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Analyzes the Dynamics NAV test results

analyzeXmlTestResults fileName testSuite
Signature: fileName:string -> testSuite:string -> TestResults option
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Analyzes the XML-based Dynamics NAV test results from XMLPort 130021

CloseAllNavProcesses(...)
Signature: raiseExceptionIfNotFound:bool -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Closes all running Dynamics NAV instances

CompileAll(connectionInfo)
Signature: connectionInfo:DynamicsNavParams -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Compiles all uncompiled objects in the Dynamics NAV client.

CompileWithFilter filter connectionInfo
Signature: filter:string -> connectionInfo:DynamicsNavParams -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Compiles all filtered uncompiled objects in the Dynamics NAV client.

createConnectionInfo(...)
Signature: navClientVersion:string -> serverMode:NavisionServerType -> serverName:string -> targetDatabase:string -> DynamicsNavParams
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Creates the connection information to a Dynamics NAV instance.

CreateImportFile importFileName files
Signature: importFileName:string -> files:seq<string> -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Creates an import file from the given .txt files.

createRTCConnectionInfo(...)
Signature: navClientVersion:string -> serverName:string -> serviceTierName:string -> port:int -> company:string -> RTCParams
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Creates the connection information to a Dynamics NAV RTC instance

ensureAllNAVProcessesHaveStopped(...)
Signature: timeout:TimeSpan -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Waits until all NAV processes have stopped or fails after given timeout.

Parameters

  • name - The name of the processes in question.
  • timeout - The timespan to time out after.
export connectionInfo filter fileName
Signature: connectionInfo:DynamicsNavParams -> filter:string -> fileName:string -> unit
ExportAllObjects connectionInfo fileName
Signature: connectionInfo:DynamicsNavParams -> fileName:string -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Exports all objects from the Dynamics NAV client to the given .txt or .fob file

ExportObjects(...)
Signature: connectionInfo:DynamicsNavParams -> filter:string -> fileName:string -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Exports objects from the Dynamics NAV client based on the given filter to the given .txt or .fob file

getNAVClassicPath(navClientVersion)
Signature: navClientVersion:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Retrieves the the file name of the Dynamics NAV ClassicClient for the given version from the registry.

getNAVPath(navClientVersion)
Signature: navClientVersion:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Gets the directory of the Dynamics NAV ClassicClient for the given version from the registry.

getNAVProcesses()
Signature: unit -> seq<Process>
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Returns all running NAV processes.

getNAVServicePath(navClientVersion)
Signature: navClientVersion:string -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

import connectionInfo fileName
Signature: connectionInfo:DynamicsNavParams -> fileName:string -> unit
ImportFile connectionInfo fileName
Signature: connectionInfo:DynamicsNavParams -> fileName:string -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Imports the given .txt or .fob file into the Dynamics NAV client

ImportFiles(...)
Signature: connectionInfo:DynamicsNavParams -> importFileName:string -> files:seq<string> -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Creates an import file from the given .txt files and imports it into the Dynamics NAV client. If the import fails, then every file will be tried alone.

OpenPage connectionInfo pageNo
Signature: connectionInfo:RTCParams -> pageNo:int -> bool
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Opens a page with the given ID on the RTC client

reportError text logFile
Signature: text:string -> logFile:string -> '?11277
Type parameters: '?11277
RunCodeunit connectionInfo codeunitID
Signature: connectionInfo:RTCParams -> codeunitID:int -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Runs a codeunit with the given ID on the RTC client

RunCodeunitWithSettings(...)
Signature: connectionInfo:RTCParams -> settingsFile:string -> codeunitID:int -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Runs a codeunit with the given ID on the RTC client and the settings file (full path required)

StartNavServiceTier(...)
Signature: serverMode:NavisionServerType -> navClientVersion:string -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

StopNavServiceTier(...)
Signature: serverMode:NavisionServerType -> navClientVersion:'?11308 -> unit
Type parameters: '?11308 Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.