---
id: object/codeunit/10753-es
type: object
title: Codeunit 10753 "SII Job Upload Pending Docs." (ES)
summary: Codeunit 10753 "SII Job Upload Pending Docs." (ES) in the ES country layer (Microsoft.EServices.EDocument). 9 public procedures, 10 events, 6 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: 4fc74a9a51915eb81aebc8e515724c86a3a2c24292ecad2e7ece9336226f018f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/SII/EServices/EDocument/SIIJobUploadPendingDocs.Codeunit.al
    title: src/Layers/ES/BaseApp/Local/SII/EServices/EDocument/SIIJobUploadPendingDocs.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9643
object_type: codeunit
object_id: 10753
name: SII Job Upload Pending Docs.
namespace: Microsoft.EServices.EDocument
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: 28
  events: 10
  subscribers: 6
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 10753 "SII Job Upload Pending Docs." (ES)

> Codeunit 10753 "SII Job Upload Pending Docs." (ES) in the ES country layer (Microsoft.EServices.EDocument). 9 public procedures, 10 events, 6 event subscribers. Introduced in BC29, still in BC30.

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

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

## Events published

- `OnBeforeOnAfterPostSalesDoc(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)` (integration)
- `OnBeforeOnAfterPostPurchDoc(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)` (integration)
- `OnBeforeOnAfterPostServiceDoc(var ServiceHeader: Record Microsoft.Service.Document."Service Header"; var IsHandled: Boolean)` (integration, obsolete 27.0)
- `OnBeforeOnAfterGLLinesPost(var GenJnlLine: Record "Gen. Journal Line")` (integration)
- `OnBeforeCreateSIIRequestForCustLedgEntry(var CustLedgEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)` (integration)
- `OnBeforeCreateSIIRequestForDtldCustLedgEntry(var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var IsHandled: Boolean)` (integration)
- `OnBeforeCreateSIIRequestForVendLedgEntry(var VendLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)` (integration)
- `OnBeforeCreateSIIRequestForDtldVendLedgEntry(var DtldVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean)` (integration)
- `OnCreateSIIRequestForCustLedgEntryOnBeforeCreateNewRequest(CustLedgEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)` (integration)
- `OnCreateSIIRequestForDtldCustLedgEntryOnBeforeCreateNewCustPmtRequest(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var IsHandled: Boolean)` (integration)

## Event subscriptions

- OnCustomerLedgerEntryCreated subscribes to Table "Cust. Ledger Entry" OnAfterInsertEvent
- OnVendorLedgerEntryCreated subscribes to Table "Vendor Ledger Entry" OnAfterInsertEvent
- OnAfterPostSalesDoc subscribes to Codeunit "Sales-Post" OnAfterPostSalesDoc
- OnAfterPostPurchDoc subscribes to Codeunit "Purch.-Post" OnAfterPostPurchaseDoc
- OnDetailedVendorLedgerEntryCreated subscribes to Table "Detailed Vendor Ledg. Entry" OnAfterInsertEvent
- OnDetailedCustomerLedgerEntryCreated subscribes to Table "Detailed Cust. Ledg. Entry" OnAfterInsertEvent

## Procedures

- `GenJnlLineHasSIIDocType(var GenJnlLine: Record "Gen. Journal Line"): Boolean`
- `HandlePendingEntries()`
- `OnAfterPostServiceDoc(var ServiceHeader: Record Microsoft.Service.Document."Service Header")` (obsolete 27.0: Moved to codeunit Serv. SII Management)
- `OnAfterGLLinePost(GenJnlLine: Record "Gen. Journal Line")`
- `CreateSIIRequestForCustLedgEntry(var CustLedgEntry: Record "Cust. Ledger Entry")`
- `CreateSIIRequestForVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry")`
- `CreateSIIRequestForDtldVendLedgEntry(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")`
- `CreateSIIRequestForDtldCustLedgEntry(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")`
- `RunOnBeforeOnAfterPostServiceDoc(var ServiceHeader: Record Microsoft.Service.Document."Service Header"; var IsHandled: Boolean)` (internal)

Plus 3 local procedures.

## Triggers

OnRun

## Recent changes

- 2026-07-23 [#9643 Update SII subscribers SkipMissingPermissions](../../changes/bcapps/9643.md) (main, BC30, fix)

## Across versions

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

## Deprecations

- procedure RunOnBeforeOnAfterPostServiceDoc: guarded (#if not CLEAN27)
- procedure OnAfterPostServiceDoc: Pending 27.0 (#if not CLEAN27), "Moved to codeunit Serv. SII Management"
- procedure OnBeforeOnAfterPostServiceDoc: Pending 27.0 (#if not CLEAN27), "Moved to codeunit Serv. SII Management"

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: "SII Job Upload Pending Docs.")`, 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.
