---
id: object/codeunit/27030-mx
type: object
title: Codeunit 27030 "SAT Utilities" (MX)
summary: Codeunit 27030 "SAT Utilities" (MX) in the MX country layer (Microsoft.eServices.EDocument). 15 public procedures, 1 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - mx 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: e5cfe210cd8bc9325a7cf05eb154a52bfa1bc91112e1bc7cd4f2695314244361
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Local/eServices/EDocument/SATUtilities.Codeunit.al
    title: src/Layers/NA/BaseApp/Local/eServices/EDocument/SATUtilities.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/mx
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 27030
name: SAT Utilities
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: MX
counts:
  fields: 0
  procedures: 19
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 27030 "SAT Utilities" (MX)

> Codeunit 27030 "SAT Utilities" (MX) in the MX country layer (Microsoft.eServices.EDocument). 15 public procedures, 1 events. Introduced in BC29, still in BC30.

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

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

## Events published

- `OnBeforeGetSATClassification(LineType: Enum "Sales Line Type"; ReferenceCode: Code[20]; var SATClassification: Code[10]; var IsHandled: Boolean)` (integration)

## Procedures

- `GetSATUnitofMeasure(UofM: Code[10]): Code[10]`
- `GetSATCountryCode(CountryCode: Code[10]): Code[10]`
- `GetSATPaymentMethod(PaymentMeth: Code[10]): Code[10]`
- `GetSATPaymentMethodDescription(PaymentMeth: Code[10]): Text[50]`
- `GetSATClassification(LineType: Enum "Sales Line Type"; ReferenceCode: Code[20]): Code[10]`
- `GetSATPaymentTerm(PaymentTerm: Code[10]): Code[10]`
- `GetSATPaymentTermDescription(PaymentTerm: Code[10]): Text[50]`
- `GetSATTaxSchemeDescription(TaxScheme: Code[10]): Text[100]`
- `GetSATUnitOfMeasureFixedAsset(): Code[10]`
- `GetSATUnitOfMeasureGLAccount(): Code[10]`
- `MapCountryCodes()`
- `MapUnitsofMeasure()`
- `PopulatePACWebServiceData()`
- `PopulateSATInformation()`
- `CreateSATXMLFiles()`

Plus 3 local procedures.

## Triggers

OnRun

## 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: "SAT Utilities")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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