---
id: object/codeunit/10763-es
type: object
title: Codeunit 10763 "Service Document Subscr. ES" (ES)
summary: Codeunit 10763 "Service Document Subscr. ES" (ES) in the ES country layer (Microsoft.Service.Document). 24 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - es 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: 8a91aceb8866f9e480c7393cd1d44fc18a02886f0d16c96f0d765ad729b55ff3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Service/Local/Document/ServiceDocumentSubscrES.Codeunit.al
    title: src/Layers/ES/BaseApp/Service/Local/Document/ServiceDocumentSubscrES.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 10763
name: Service Document Subscr. ES
namespace: Microsoft.Service.Document
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: ES
counts:
  fields: 0
  procedures: 24
  events: 0
  subscribers: 24
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 10763 "Service Document Subscr. ES" (ES)

> Codeunit 10763 "Service Document Subscr. ES" (ES) in the ES country layer (Microsoft.Service.Document). 24 event subscribers. Introduced in BC29, still in BC30.

ES country layer · Microsoft.Service.Document · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Service/Local/Document/ServiceDocumentSubscrES.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| SingleInstance | true |

## Event subscriptions

- OnValidateBillToCustomerNoOnAfterSetFilters subscribes to Table "Service Header" OnValidateBillToCustomerNoOnAfterSetFilters
- OnAfterValidateBillToCustomerNo subscribes to Table "Service Header" OnAfterValidateBillToCustomerNo
- OnAfterValidateAppliesToDocNo subscribes to Table "Service Header" OnAfterValidateAppliesToDocNo
- OnValidateAppliestoDocNoOnAfterSetFilters subscribes to Table "Service Header" OnValidateAppliestoDocNoOnAfterSetFilters
- OnAfterCopyAppliestoFieldsFromCustLedgerEntry subscribes to Table "Service Header" OnAfterCopyAppliestoFieldsFromCustLedgerEntry
- OnAfterCopyBillToCustomerFields subscribes to Table "Service Header" OnAfterCopyBillToCustomerFields
- OnAfterCopyToGenJnlLine subscribes to Table "Service Header" OnAfterCopyToGenJnlLine
- OnAfterCopyToGenJnlLineApplyTo subscribes to Table "Service Header" OnAfterCopyToGenJnlLineApplyTo
- OnAfterInitRecord subscribes to Table "Service Header" OnAfterInitRecord
- OnBeforeValidatePaymentTerms subscribes to Table "Service Header" OnBeforeValidatePaymentTerms
- OnAfterValidateVATProdPostingGroup subscribes to Table "Service Line" OnAfterValidateEvent (VAT Prod. Posting Group)
- OnAfterClearVATPct subscribes to Table "Service Line" OnAfterClearVATPct
- OnAfterClearVATDifference subscribes to Table "Service Line" OnAfterClearVATDifference
- OnAfterGetVATPct subscribes to Table "Service Line" OnAfterGetVATPct
- OnAfterCopyFromVATPostingSetup subscribes to Table "Service Line" OnAfterCopyFromVATPostingSetup
- OnCalcVATAmountLinesOnBeforeVATAmountLineModifyInvoicing subscribes to Table "Service Line" OnCalcVATAmountLinesOnBeforeVATAmountLineModifyInvoicing
- OnCalcVATAmountLinesOnBeforeVATAmountLineModifyShipping subscribes to Table "Service Line" OnCalcVATAmountLinesOnBeforeVATAmountLineModifyShipping
- OnCalcVATAmountLinesOnBeforeVATAmountLineModifyElseCase subscribes to Table "Service Line" OnCalcVATAmountLinesOnBeforeVATAmountLineModifyElseCase
- OnUpdateVATOnLinesOnBeforeTempVATAmountLineRemainderModify subscribes to Table "Service Line" OnUpdateVATOnLinesOnBeforeTempVATAmountLineRemainderModify
- OnAfterRoundVATDifference subscribes to Table "Service Line" OnAfterRoundVATDifference
- OnAfterCalcVATDifference subscribes to Table "Service Line" OnAfterCalcVATDifference
- OnAfterCalcVATAmount subscribes to Table "Service Line" OnAfterCalcVATAmount
- OnInsertVATAmountOnBeforeInsert subscribes to Table "Service Line" OnInsertVATAmountOnBeforeInsert
- OnCalculateInvoiceDiscountOnAfterApplyServiceCharge subscribes to Codeunit "Service-Calc. Discount" OnCalculateInvoiceDiscountOnAfterApplyServiceCharge

## 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: "Service Document Subscr. ES")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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