---
id: object/codeunit/11401-nl
type: object
title: Codeunit 11401 "Post Code Management" (NL)
summary: Codeunit 11401 "Post Code Management" (NL) in the NL country layer (Microsoft.Foundation.Address). 2 public procedures, 3 events, 32 event subscribers. Introduced in BC28, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - nl layer
versions:
  introduced: "28"
  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: fcc41ef3dcc66d481f258d98d24db11e0197022eb54a1fad21962099b5fce749
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NL/BaseApp/Local/Foundation/Address/PostCodeManagement.Codeunit.al
    title: src/Layers/NL/BaseApp/Local/Foundation/Address/PostCodeManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/nl
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 11401
name: Post Code Management
namespace: Microsoft.Foundation.Address
app: Base Application
extends: null
first_version: "28"
last_version: "30"
present_in:
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: NL
counts:
  fields: 0
  procedures: 41
  events: 3
  subscribers: 32
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 11401 "Post Code Management" (NL)

> Codeunit 11401 "Post Code Management" (NL) in the NL country layer (Microsoft.Foundation.Address). 2 public procedures, 3 events, 32 event subscribers. Introduced in BC28, still in BC30.

NL country layer · Microsoft.Foundation.Address · BC28-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NL/BaseApp/Local/Foundation/Address/PostCodeManagement.Codeunit.al) · facts from BC29

An object of the [NL localization](../../localizations/nl.md), not part of W1.

## Events published

- `OnAfterFindStreetNameFromAddress(var Address: Text[100]; var Address2: Text[50]; var PostCode: Code[20]; var City: Text[50]; var CountryCode: Code[10]; var PhoneNo: Text[30]; var FaxNo: Text[30])` (integration)
- `OnBeforeFindStreetNameFromAddress(var Address: Text[100]; var Address2: Text[50]; var PostCode: Code[20]; var City: Text[30]; var CountryCode: Code[10]; var PhoneNo: Text[30]; var FaxNo: Text[30]; var IsHandled: Boolean)` (integration)
- `OnAfterPurchaseHeaderOnBeforeValidateBuyFromAddress(var PurchaseHeader: Record "Purchase Header"; PhoneNo: Text[30]; FaxNo: Text[30])` (integration)

## Event subscriptions

- AlternativeAddressOnBeforeValidateAddress subscribes to Table "Alternative Address" OnBeforeValidateEvent (Address)
- BankAccountOnBeforeValidateAddress subscribes to Table "Bank Account" OnBeforeValidateEvent (Address)
- BankAccountOnBeforeValidateAccHolderAddress subscribes to Table "Bank Account" OnBeforeValidateEvent (Account Holder Address)
- CompanyInformationOnBeforeValidateAddress subscribes to Table "Company Information" OnBeforeValidateEvent (Address)
- CompanyInformationOnBeforeValidateShipToAddress subscribes to Table "Company Information" OnBeforeValidateEvent (Ship-To Address)
- ContactOnBeforeValidateAddress subscribes to Table "Contact" OnBeforeValidateEvent (Address)
- ContactAltAddressOnBeforeValidateAddress subscribes to Table "Contact Alt. Address" OnBeforeValidateEvent (Address)
- CustomerOnBeforeValidateAddress subscribes to Table "Customer" OnBeforeValidateEvent (Address)
- CustomerBankAccountOnBeforeValidateAddress subscribes to Table "Customer Bank Account" OnBeforeValidateEvent (Address)
- CustomerBankAccountOnBeforeValidateAccHolderAddress subscribes to Table "Customer Bank Account" OnBeforeValidateEvent (Account Holder Address)
- EmployeeOnBeforeValidateAddress subscribes to Table "Employee" OnBeforeValidateEvent (Address)
- FinanceChargeMemoHeaderOnBeforeValidateAddress subscribes to Table "Finance Charge Memo Header" OnBeforeValidateEvent (Address)
- LocationOnBeforeValidateAddress subscribes to Table "Location" OnBeforeValidateEvent (Address)
- MachineCenterOnBeforeValidateAddress subscribes to Table "Microsoft.Manufacturing.MachineCenter."Machine Center"" OnBeforeValidateEvent (Address)
- OrderAddressOnBeforeValidateAddress subscribes to Table "Order Address" OnBeforeValidateEvent (Address)
- PurchaseHeaderOnAfterValidatePayToAddress subscribes to Table "Purchase Header" OnAfterValidateEvent (Pay-To Address)
- PurchaseHeaderOnBeforeValidateShipToAddress subscribes to Table "Purchase Header" OnBeforeValidateEvent (Ship-To Address)
- PurchaseHeaderOnBeforeValidateBuyFromAddress subscribes to Table "Purchase Header" OnBeforeValidateEvent (Buy-From Address)
- ReminderHeaderOnBeforeValidateAddress subscribes to Table "Reminder Header" OnBeforeValidateEvent (Address)
- ResourceOnBeforeValidateAddress subscribes to Table "Resource" OnBeforeValidateEvent (Address)
- ResponsibilityCenterOnBeforeValidateAddress subscribes to Table "Responsibility Center" OnBeforeValidateEvent (Address)
- SalesHeaderOnAfterValidateBillToAddress subscribes to Table "Sales Header" OnBeforeValidateEvent (Bill-to Address)
- SalesHeaderOnAfterValidateShipToAddress subscribes to Table "Sales Header" OnBeforeValidateEvent (Ship-to Address)
- SalesHeaderOnAfterValidateSellToAddress subscribes to Table "Sales Header" OnBeforeValidateEvent (Sell-to Address)
- ShipToAddressOnBeforeValidateAddress subscribes to Table "Ship-to Address" OnBeforeValidateEvent (Address)
- TransferHeaderOnBeforeValidateTransferFromAddress subscribes to Table "Transfer Header" OnBeforeValidateEvent (Transfer-from Address)
- TransferHeaderOnBeforeValidateTransferToAddress subscribes to Table "Transfer Header" OnBeforeValidateEvent (Transfer-to Address)
- UnionOnBeforeValidateAddress subscribes to Table "Union" OnBeforeValidateEvent (Address)
- VendorOnBeforeValidateAddress subscribes to Table "Vendor" OnBeforeValidateEvent (Address)
- VendorBankAccountOnBeforeValidateAddress subscribes to Table "Vendor Bank Account" OnBeforeValidateEvent (Address)
- VendorBankAccountOnBeforeValidateAccHolderAddress subscribes to Table "Vendor Bank Account" OnBeforeValidateEvent (Account Holder Address)
- WorkCenterOnBeforeValidateAddress subscribes to Table "Microsoft.Manufacturing.WorkCenter."Work Center"" OnBeforeValidateEvent (Address)

## Procedures

- `FindStreetName(var Address: Text[100]; var Address2: Text[50]; var PostCode: Code[20]; var City: Text[30]; var CountryCode: Code[10]; var PhoneNo: Text[30]; var FaxNo: Text[30])`
- `ParseAddressAdditionHouseNo(var StreetName: Text[100]; var HouseNo: Text[50]; var AdditionHouseNo: Text[50]; Address: Text[100])`

Plus 4 local procedures.

## Triggers

OnRun

## Across versions

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

## Deprecations

- procedure MachineCenterOnBeforeValidateAddress: guarded (#if not CLEAN28)
- procedure WorkCenterOnBeforeValidateAddress: guarded (#if not CLEAN28)

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). 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: "Post Code Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A NL country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
