---
id: object/codeunit/140
type: object
title: Codeunit 140 "EC Sales List Suggest Lines"
summary: Codeunit 140 "EC Sales List Suggest Lines" in Base Application (Microsoft.Finance.VAT.Reporting). 2 events. Present since at least BC23, still in BC30, changed in BC24.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "24"
  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: 584bdaa498eea6f1c389cc4ff0e5ae197d7b47100f9ded9cb18345f83e63180a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/VAT/Reporting/ECSalesListSuggestLines.Codeunit.al
    title: src/Layers/W1/BaseApp/Finance/VAT/Reporting/ECSalesListSuggestLines.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/gb
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 140
name: EC Sales List Suggest Lines
namespace: Microsoft.Finance.VAT.Reporting
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
source_major: "29"
obsolete: null
countries:
  - gb
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 9
  events: 2
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 140 "EC Sales List Suggest Lines"

> Codeunit 140 "EC Sales List Suggest Lines" in Base Application (Microsoft.Finance.VAT.Reporting). 2 events. Present since at least BC23, still in BC30, changed in BC24.

Base Application · Microsoft.Finance.VAT.Reporting · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/VAT/Reporting/ECSalesListSuggestLines.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| TableNo | VAT Report Header |

## Events published

- `OnBeforeAddOrUpdateECLLine(EUVATEntries: Query "EU VAT Entries"; var ECSLVATReportLine: Record "ECSL VAT Report Line"; var IsHandled: Boolean)` (integration): Integration event raised before adding or updating an ECSL line during line suggestion. Allows customization of ECSL line creation logic and data population.
- `OnPopulateVatEntryLinesOnAfterEUVATEntriesSetFilters(var VATReportHeader: Record "VAT Report Header"; var EUVATEntries: Query "EU VAT Entries")` (integration): Integration event raised after setting filters on EU VAT entries query during line population. Allows additional filtering or modification of VAT entry selection criteria.

## Procedures

7 local procedures, no public ones.

## Triggers

OnRun

## Relations

- runs on [Table 740 "VAT Report Header"](../table/740.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24

## Countries that replace it

[GB](../../localizations/gb.md)

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: "EC Sales List Suggest Lines")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
