---
title: "Codeunit 1400 DocumentNoVisibility"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1400-documentnovisibility/
type: codeunit
id: 1400
name: "DocumentNoVisibility"
app: "Base Application"
namespace: Microsoft.Utilities
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1400-documentnovisibility/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1400 DocumentNoVisibility

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1400-documentnovisibility/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Utilities |
| Versions | 17-28 |
| Source file | Utilities/DocumentNoVisibility.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ClearState | () | - | public | 17-28 | - | - |
| SalesDocumentNoIsVisible | (Option, Code[20]) | Boolean | public | 17-28 | - | - |
| PurchaseDocumentNoIsVisible | (Option, Code[20]) | Boolean | public | 17-28 | - | - |
| TransferOrderNoIsVisible | () | Boolean | public | 17-28 | - | - |
| CustomerNoIsVisible | () | Boolean | public | 17-28 | - | - |
| VendorNoIsVisible | () | Boolean | public | 17-28 | - | - |
| ItemNoIsVisible | () | Boolean | public | 17-28 | - | - |
| FixedAssetNoIsVisible | () | Boolean | public | 17-28 | - | - |
| EmployeeNoIsVisible | () | Boolean | public | 17-28 | - | - |
| BankAccountNoIsVisible | () | Boolean | public | 17-28 | - | - |
| ResourceNoIsVisible | () | Boolean | public | 17-28 | - | - |
| JobNoIsVisible | () | Boolean | public | 17-28 | - | - |
| ContactNoIsVisible | () | Boolean | public | 17-28 | - | - |
| CustomerNoSeriesIsDefault | () | Boolean | public | 17-28 | - | - |
| VendorNoSeriesIsDefault | () | Boolean | public | 17-28 | - | - |
| ItemNoSeriesIsDefault | () | Boolean | public | 17-28 | - | - |
| TransferOrderNoSeriesIsDefault | () | Boolean | public | 17-28 | - | - |
| FixedAssetNoSeriesIsDefault | () | Boolean | public | 17-28 | - | - |
| EmployeeNoSeriesIsDefault | () | Boolean | public | 17-28 | - | - |
| ForceShowNoSeriesForDocNo | (Code[20]) | Boolean | public | 17-28 | - | - |
| CheckNumberSeries | (Variant, Code[20], Integer) | - | public | 17-26 | Pending 24.0 | This method is no longer used. Add specific logic for your table in the OnInsert trigger. |
| ServiceDocumentNoIsVisible | (Option, Code[20]) | Boolean | public | 24-27 | Pending 25.0 | Moved to codeunit Serv. Document No. Visibility |
| ServiceItemNoIsVisible | () | Boolean | public | 24-27 | Pending 25.0 | Moved to codeunit Serv. Document No. Visibility |
| RunOnBeforeServiceDocumentNoIsVisible | (Option, Code[20], var Boolean, var Boolean) | - | internal | 25-27 | - | - |
| RunOnBeforeServiceItemNoIsVisible | (var Boolean, var Boolean) | - | internal | 25-27 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeSalesDocumentNoIsVisible | (Option, Code[20], var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforePurchaseDocumentNoIsVisible | (Option, Code[20], var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeTransferOrderNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCustomerNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeVendorNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeItemNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeFixedAssetNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeEmployeeNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeBankAccountNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeResourceNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeJobNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeContactNoIsVisible | (var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCheckNumberSeries | (var Variant, var Code[20], Integer, var Record No. Series) | 18-26 | Pending 24.0 | This event is no longer used. Add specific logic for your table in the OnInsert trigger. |
| Integration event | OnBeforeServiceDocumentNoIsVisible | (Option, Code[20], var Boolean, var Boolean) | 24-27 | Pending 25.0 | Moved to codeunit Serv. Document No. Visibility |
| Integration event | OnBeforeServiceItemNoIsVisible | (var Boolean, var Boolean) | 24-27 | Pending 25.0 | Moved to codeunit Serv. Document No. Visibility |
| Integration event | OnDeterminePurchaseSeriesNoOnElseDocType | (Option, var Code[20], var Boolean) | 24-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
