---
id: object/codeunit/28002-nz
type: object
title: Codeunit 28002 "Serv. Post Code Check" (NZ)
summary: Codeunit 28002 "Serv. Post Code Check" (NZ) in the NZ country layer (Microsoft.Finance.GeneralLedger.Journal). 17 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - nz layer
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: 5089572b4d5082f2de5d21b903aead6130eccac6a3e3ecf79edafaadb04eb1fd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/APAC/BaseApp/Service/Local/Foundation/Address/ServPostCodeCheck.Codeunit.al
    title: src/Layers/APAC/BaseApp/Service/Local/Foundation/Address/ServPostCodeCheck.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/nz
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 28002
name: Serv. Post Code Check
namespace: Microsoft.Finance.GeneralLedger.Journal
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: NZ
counts:
  fields: 0
  procedures: 17
  events: 0
  subscribers: 17
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 28002 "Serv. Post Code Check" (NZ)

> Codeunit 28002 "Serv. Post Code Check" (NZ) in the NZ country layer (Microsoft.Finance.GeneralLedger.Journal). 17 event subscribers. Introduced in BC29, still in BC30.

NZ country layer · Microsoft.Finance.GeneralLedger.Journal · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/APAC/BaseApp/Service/Local/Foundation/Address/ServPostCodeCheck.Codeunit.al) · facts from BC29

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

## Event subscriptions

- ServContractManagement subscribes to Codeunit "ServContractManagement" OnCreateServHeaderOnAfterCopyFromCustomer
- ServiceHeaderAddress subscribes to Table "Service Header" OnBeforeValidateEvent (Address)
- ServiceHeaderAddress2 subscribes to Table "Service Header" OnBeforeValidateEvent (Address 2)
- ServiceHeaderBillToAddress subscribes to Table "Service Header" OnBeforeValidateEvent (Bill-to Address)
- ServiceHeaderBillToAddress2 subscribes to Table "Service Header" OnBeforeValidateEvent (Bill-to Address 2)
- ServiceHeaderShipToAddress subscribes to Table "Service Header" OnBeforeValidateEvent (Ship-to Address)
- ServiceHeaderShipToAddress2 subscribes to Table "Service Header" OnBeforeValidateEvent (Ship-to Address 2)
- ServiceHeaderOnBeforeValidateCity subscribes to Table "Service Header" OnBeforeValidateCity
- ServiceHeaderOnBeforeValidatePostCode subscribes to Table "Service Header" OnBeforeValidatePostCode
- ServiceHeaderOnBeforeValidateBillToCity subscribes to Table "Service Header" OnBeforeValidateBillToCity
- ServiceHeaderOnBeforeValidateBillToPostCode subscribes to Table "Service Header" OnBeforeValidateBillToPostCode
- ServiceHeaderOnBeforeValidateShipToCity subscribes to Table "Service Header" OnBeforeValidateShipToCity
- ServiceHeaderOnBeforeValidateShipToPostCode subscribes to Table "Service Header" OnBeforeValidateShipToPostCode
- ServiceHeaderOnAfterCopyShipToCustomerAddressFieldsFromShipToAddr subscribes to Table "Service Header" OnAfterCopyShipToCustomerAddressFieldsFromShipToAddr
- ServiceHeaderOnAfterCopyShipToCustomerAddressFieldsFromCustomer subscribes to Table "Service Header" OnAfterCopyShipToCustomerAddressFieldsFromCustomer
- ServiceHeaderOnAfterCopyBillToCustomerFields subscribes to Table "Service Header" OnAfterCopyBillToCustomerFields
- ServiceHeaderOnAfterDeleteEvent subscribes to Table "Service Header" OnAfterDeleteEvent

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

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