---
id: object/codeunit/5181
type: object
title: Codeunit 5181 "Sales Module"
summary: Codeunit 5181 "Sales Module" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Sales). 6 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - contosocoffeedemodataset
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: a858e5056a6612f58627b97fb940cbf4d5c456e5506342882a1f656382e5bc09
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Sales/SalesModule.Codeunit.al
    title: src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Sales/SalesModule.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 5181
name: Sales Module
namespace: Microsoft.DemoData.Sales
app: ContosoCoffeeDemoDataset
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 6
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 18
  called_by: 0
  implements: 1
---

# Codeunit 5181 "Sales Module"

> Codeunit 5181 "Sales Module" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Sales). 6 public procedures. Introduced in BC29, still in BC30.

ContosoCoffeeDemoDataset · Microsoft.DemoData.Sales · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Sales/SalesModule.Codeunit.al) · facts from BC29

## Procedures

- `RunConfigurationPage()`
- `GetDependencies(): List of [enum "Contoso Demo Data Module"]`
- `CreateSetupData()`
- `CreateMasterData()`
- `CreateTransactionalData()`
- `CreateHistoricalData()`

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 1254 "Match Bank Pmt. Appl."](../codeunit/1254.md) (1 call: `CreateHistoricalData → (object)`)
- [Codeunit 5193 "Contoso Demo Tool"](../codeunit/5193.md) (1 call: `RunConfigurationPage → GetNoConfiguirationMsg`)
- [Codeunit 5202 "Create Finance Charge Terms"](../codeunit/5202.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5209 "Create Customer"](../codeunit/5209.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5227 "Create Customer Posting Group"](../codeunit/5227.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5243 "Create Ship-to Address"](../codeunit/5243.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5268 "Create Reminder Text"](../codeunit/5268.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5271 "Create Sales Receivable Setup"](../codeunit/5271.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5303 "Create Reminder Terms"](../codeunit/5303.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5304 "Create Reminder Level"](../codeunit/5304.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5325 "Create Customer Bank Account"](../codeunit/5325.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5412 "Create Sales Dimension Value"](../codeunit/5412.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5413 "Create Customer Discount Group"](../codeunit/5413.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5418 "Create Sales Document"](../codeunit/5418.md) (1 call: `CreateTransactionalData → (object)`)
- [Codeunit 5562 "Create Customer Template"](../codeunit/5562.md) (1 call: `CreateMasterData → (object)`)
- [Codeunit 5668 "Post Late Payment Entry"](../codeunit/5668.md) (1 call: `CreateHistoricalData → (object)`)
- [Codeunit 5686 "Run CashFlow Forecast Wizard"](../codeunit/5686.md) (1 call: `CreateHistoricalData → (object)`)
- [Codeunit 5693 "Create Posted Sales Data"](../codeunit/5693.md) (1 call: `CreateHistoricalData → (object)`)

## Implements

- [Enum 5160 "Contoso Demo Data Module"](../enum/5160.md)

## 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). The call sections above are our own, per object, from the BC29 call graph. 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: "Sales Module")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
