---
title: "Codeunit 1550 Record Restriction Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1550-record-restriction-mgt/
type: codeunit
id: 1550
name: "Record Restriction Mgt."
app: "Base Application"
namespace: System.Automation
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1550-record-restriction-mgt/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 1550 Record Restriction Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1550-record-restriction-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Automation |
| Versions | 17-28 |
| Source file | System/Workflow/RecordRestrictionMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| RestrictRecordUsage | (Variant, Text) | - | public | 17-28 | - | - |
| AllowGenJournalBatchUsage | (Record Gen. Journal Batch) | - | public | 17-28 | - | - |
| AllowItemJournalBatchUsage | (Record Item Journal Batch) | - | public | 17-28 | - | - |
| AllowFAJournalBatchUsage | (Record FA Journal Batch) | - | public | 17-28 | - | - |
| AllowRecordUsage | (Variant) | - | public | 17-28 | - | - |
| RestrictGenJournalLineAfterInsert | (var Record Gen. Journal Line, Boolean) | - | public | 17-28 | - | - |
| RestrictGenJournalLineAfterModify | (var Record Gen. Journal Line, var Record Gen. Journal Line, Boolean) | - | public | 17-28 | - | - |
| CheckRecordHasUsageRestrictions | (Variant) | Boolean | public | 17-28 | - | - |
| CustomerCheckSalesPostRestrictions | (var Record Sales Header) | - | public | 17-28 | - | - |
| VendorCheckPurchasePostRestrictions | (var Record Purchase Header) | - | public | 17-28 | - | - |
| CustomerCheckGenJournalLinePostRestrictions | (var Record Gen. Journal Line) | - | public | 17-28 | - | - |
| VendorCheckGenJournalLinePostRestrictions | (var Record Gen. Journal Line) | - | public | 17-28 | - | - |
| GenJournalLineCheckGenJournalLinePostRestrictions | (var Record Gen. Journal Line) | - | public | 17-28 | - | - |
| GenJournalLineCheckGenJournalLinePrintCheckRestrictions | (var Record Gen. Journal Line) | - | public | 17-28 | - | - |
| CheckPrintRestrictionsBeforeInsertCheckLedgerEntry | (var Record Check Ledger Entry, Boolean) | - | public | 17-28 | - | - |
| CheckPrintRestrictionsBeforeModifyCheckLedgerEntry | (var Record Check Ledger Entry, var Record Check Ledger Entry, Boolean) | - | public | 17-28 | - | - |
| GenJournalBatchCheckGenJournalLinePostRestrictions | (var Record Gen. Journal Line) | - | public | 17-28 | - | - |
| GenJournalBatchCheckGenJournalLineExportRestrictions | (var Record Gen. Journal Batch) | - | public | 17-28 | - | - |
| SalesHeaderCheckSalesPostRestrictions | (var Record Sales Header) | - | public | 17-28 | - | - |
| SalesHeaderCheckSalesReleaseRestrictions | (var Record Sales Header) | - | public | 17-28 | - | - |
| PurchaseHeaderCheckPurchasePostRestrictions | (var Record Purchase Header) | - | public | 17-28 | - | - |
| PurchaseHeaderCheckPurchaseReleaseRestrictions | (var Record Purchase Header) | - | public | 17-28 | - | - |
| RemoveCustomerRestrictionsBeforeDelete | (var Record Customer, Boolean) | - | public | 17-28 | - | - |
| RemoveVendorRestrictionsBeforeDelete | (var Record Vendor, Boolean) | - | public | 17-28 | - | - |
| RemoveItemRestrictionsBeforeDelete | (var Record Item, Boolean) | - | public | 17-28 | - | - |
| RemoveGenJournalLineRestrictionsBeforeDelete | (var Record Gen. Journal Line, Boolean) | - | public | 17-28 | - | - |
| RemoveGenJournalBatchRestrictionsBeforeDelete | (var Record Gen. Journal Batch, Boolean) | - | public | 17-28 | - | - |
| RemoveSalesHeaderRestrictionsBeforeDelete | (var Record Sales Header, Boolean) | - | public | 17-28 | - | - |
| RemovePurchaseHeaderRestrictionsBeforeDelete | (var Record Purchase Header, Boolean) | - | public | 17-28 | - | - |
| UpdateGenJournalLineRestrictionsAfterRename | (var Record Gen. Journal Line, var Record Gen. Journal Line, Boolean) | - | public | 17-28 | - | - |
| IncomingDocCheckSetForOCRRestrictions | (var Record Incoming Document) | - | public | 17-28 | - | - |
| IncomingDocCheckReleaseRestrictions | (var Record Incoming Document) | - | public | 17-28 | - | - |
| UpdateGenJournalBatchRestrictionsAfterRename | (var Record Gen. Journal Batch, var Record Gen. Journal Batch, Boolean) | - | public | 17-28 | - | - |
| UpdateSalesHeaderRestrictionsAfterRename | (var Record Sales Header, var Record Sales Header, Boolean) | - | public | 17-28 | - | - |
| UpdatePurchaseHeaderRestrictionsAfterRename | (var Record Purchase Header, var Record Purchase Header, Boolean) | - | public | 17-28 | - | - |
| IncomingDocCheckCreateDocRestrictions | (var Record Incoming Document) | - | public | 17-28 | - | - |
| UpdateRestriction | (Variant, Variant) | - | public | 18-28 | - | - |
| AllowRequisitionWkshUsage | (Record Requisition Wksh. Name) | - | public | 28 | - | - |
| RestrictItemJournalLineAfterInsert | (var Record Item Journal Line, Boolean) | - | public | 28 | - | - |
| RestrictItemJournalLineAfterModify | (var Record Item Journal Line, var Record Item Journal Line, Boolean) | - | public | 28 | - | - |
| RestrictRequisitionLineAfterInsert | (var Record Requisition Line, Boolean) | - | public | 28 | - | - |
| RestrictRequisitionLineAfterModify | (var Record Requisition Line, var Record Requisition Line, Boolean) | - | public | 28 | - | - |
| RequisitionWkshBatchCheckRequisitionWkshLinePostRestrictions | (var Record Requisition Line) | - | public | 28 | - | - |
| RequisitionWkshLineCheckRequisitionWkshLinePostRestrictions | (var Record Requisition Line) | - | public | 28 | - | - |
| ItemJournalBatchCheckItemJournalLinePostRestrictions | (var Record Item Journal Line) | - | public | 28 | - | - |
| RemoveItemJournalBatchRestrictionsBeforeDelete | (var Record Item Journal Batch, Boolean) | - | public | 28 | - | - |
| RemoveRequisitionWkshBatchRestrictionsBeforeDelete | (var Record Requisition Wksh. Name, Boolean) | - | public | 28 | - | - |
| UpdateItemJournalLineRestrictionsAfterRename | (var Record Item Journal Line, var Record Item Journal Line, Boolean) | - | public | 28 | - | - |
| UpdateRequisitionWkshLineRestrictionsAfterRename | (var Record Requisition Line, var Record Requisition Line, Boolean) | - | public | 28 | - | - |
| UpdateItemJournalBatchRestrictionsAfterRename | (var Record Item Journal Batch, var Record Item Journal Batch, Boolean) | - | public | 28 | - | - |
| UpdateRequisitionWkshBatchRestrictionsAfterRename | (var Record Requisition Wksh. Name, var Record Requisition Wksh. Name, Boolean) | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeCustomerCheckSalesPostRestrictions | (var Record Sales Header, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeVendorCheckPurchasePostRestrictions | (var Record Purchase Header, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeCustomerCheckGenJournalLinePostRestrictions | (var Record Gen. Journal Line, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeVendorCheckGenJournalLinePostRestrictions | (var Record Gen. Journal Line, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeItemJournalLineCheckItemPostRestrictions | (var Record Item Journal Line, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeGenJournalLineCheckGenJournalLinePostRestrictions | (var Record Gen. Journal Line, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeGenJournalLineCheckGenJournalLinePrintCheckRestrictions | (var Record Gen. Journal Line, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeGenJournalBatchCheckGenJournalLinePostRestrictions | (var Record Gen. Journal Line, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeGenJournalBatchCheckGenJournalLineExportRestrictions | (var Record Gen. Journal Batch, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeSalesHeaderCheckSalesPostRestrictions | (var Record Sales Header, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeSalesHeaderCheckSalesReleaseRestrictions | (var Record Sales Header, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforePurchaseHeaderCheckPurchasePostRestrictions | (var Record Purchase Header, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforePurchaseHeaderCheckPurchaseReleaseRestrictions | (var Record Purchase Header, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeIncomingDocCheckSetForOCRRestrictions | (var Record Incoming Document, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeIncomingDocCheckReleaseRestrictions | (var Record Incoming Document, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeIncomingDocCheckCreateDocRestrictions | (var Record Incoming Document, var Boolean) | 20-28 | - | - |
| Integration event | OnAfterSetRestrictedRecordFiltersForRecRef | (var Record Restricted Record, RecordRef) | 21-28 | - | - |
| Integration event | OnRestrictRecordUsageOnBeforeSetFilter | (var Record Restricted Record, RecordRef) | 22-28 | - | - |
| Integration event | OnAllowRecordUsageOnBeforeSetFilter | (var Record Restricted Record, RecordRef) | 22-28 | - | - |
| Integration event | OnUpdateRestrictionOnBeforeSetFilter | (var Record Restricted Record, RecordRef, RecordRef) | 22-28 | - | - |
| Integration event | OnCheckRecordHasUsageRestrictionsOnBeforeSetFilter | (var Record Restricted Record, RecordRef) | 22-28 | - | - |
| Integration event | OnBeforeGenJournalLineCheckLineExportRestrictions | (var Record Gen. Journal Line, var Boolean) | 27-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.
