---
id: object/codeunit/6615
type: object
title: Codeunit 6615 "FS Integration Mgt."
summary: Codeunit 6615 "FS Integration Mgt." in FieldServiceIntegration (Microsoft.Integration.DynamicsFieldService). 11 public procedures, 1 events, 1 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - fieldserviceintegration
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 0f3af36088f74fe987a4cf8ee3b4911f97a37b7929e5f1edacd9f80751b35007
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/FieldServiceIntegration/app/src/Codeunits/FSIntegrationMgt.Codeunit.al
    title: src/Apps/W1/FieldServiceIntegration/app/src/Codeunits/FSIntegrationMgt.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 6615
name: FS Integration Mgt.
namespace: Microsoft.Integration.DynamicsFieldService
app: FieldServiceIntegration
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 23
  events: 1
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 5
  implements: 0
---

# Codeunit 6615 "FS Integration Mgt."

> Codeunit 6615 "FS Integration Mgt." in FieldServiceIntegration (Microsoft.Integration.DynamicsFieldService). 11 public procedures, 1 events, 1 event subscribers. Introduced in BC29, still in BC30.

FieldServiceIntegration · Microsoft.Integration.DynamicsFieldService · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/FieldServiceIntegration/app/src/Codeunits/FSIntegrationMgt.Codeunit.al) · facts from BC29

## Events published

- `OnGetBookingStatusCompletedOnSetFilterForFSBookingStatus(var FSBookingStatus: Record "FS Booking Status")` (integration)

## Event subscriptions

- RegisterFSConnectionOnRegisterServiceConnection subscribes to Table "Service Connection" OnRegisterServiceConnection

## Procedures

- `ImportFSSolution(ServerAddress: Text; IntegrationUserEmail: Text; AdminUserEmail: Text; AdminUserPassword: SecretText; AccessToken: SecretText; AdminADDomain: Text; ProxyVersion: Integer; ForceRedeploy: Boolean; ImportSolutionFailed: Boolean)` (internal)
- `IsFSSolutionInstalled(): Boolean` (internal)
- `EnableServiceOrderArchive()` (internal)
- `TestManualServiceOrderNoSeriesFlag(IntegrationType: Enum "FS Integration Type")` (internal)
- `SetServiceOrderNoSeriesToManual(ErrorInfo: ErrorInfo)`
- `TestOneServiceItemLinePerOrder(IntegrationType: Enum "FS Integration Type")` (internal)
- `TestOneServiceItemLinePerOrderModificationIsAllowed(ServiceMgtSetup: Record "Service Mgt. Setup")` (internal)
- `GetDefaultWorkOrderIncident(): Guid` (internal)
- `GenerateDefaultWorkOrderIncident(): Guid` (internal)
- `GetBookingStatusCompleted(): Guid` (internal)
- `ReturnIntegrationTypeLabel(FSConnectionSetup: Record "FS Connection Setup"): Text` (internal)

Plus 10 local procedures.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 7201 "CDS Integration Impl."](../codeunit/7201.md) (10 calls: `ImportFSSolution → ActivateConnection`, `ImportFSSolution → AssignTeamRole`, `ImportFSSolution → GetAuthenticationTypeToken`, …)
- [Codeunit 5330 "CRM Integration Management"](../codeunit/5330.md) (9 calls: `ImportFieldServiceIntegrationSolution → IsSolutionOutdated`, `ImportFieldServiceIntegrationSolution → ProcessConnectionFailures`, `ImportFSSolution → CheckConnectRequiredFields`, …)
- [Codeunit 5344 "CRM Product Name"](../codeunit/5344.md) (1 call: `ImportFSSolution → CDSServiceName`)
- [Page 456 "No. Series"](../page/456.md) (1 call: `TestManualServiceOrderNoSeriesFlag → (object)`)

## Called by

- [Codeunit 6610 "FS Int. Table Subscriber"](../codeunit/6610.md) (4 calls: `HandleOnBeforeInsertRecord → GetDefaultWorkOrderIncident`, `LogTelemetryOnAfterInitSynchJob → ReturnIntegrationTypeLabel`, `ResetServiceOrderLineFromFSBookableResourceBooking → GetBookingStatusCompleted`, …)
- [Table 6623 "FS Connection Setup"](../table/6623.md) (4 calls: `DeployFSSolution → ImportFSSolution`, `DeployFSSolution → IsFSSolutionInstalled`, `InstallIntegrationSolution → ImportFSSolution`, …)
- [Codeunit 6611 "FS Setup Defaults"](../codeunit/6611.md) (3 calls: `ResetConfiguration → EnableServiceOrderArchive`, `ResetConfiguration → GenerateDefaultWorkOrderIncident`, `ResetServiceOrderLineResourceMapping → GetBookingStatusCompleted`)
- [Page 6613 "FS Connection Setup Wizard"](../page/6613.md) (2 calls: `FinalizeSetup → ImportFSSolution`, `OnOpenPage → ReturnIntegrationTypeLabel`)
- [Page 6612 "FS Connection Setup"](../page/6612.md) (1 call: `OnOpenPage → ReturnIntegrationTypeLabel`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "FS Integration Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
