---
id: object/table/459
type: object
title: Table 459 "Sales Prepayment %"
summary: Table 459 "Sales Prepayment %" in Base Application (Microsoft.Sales.Document). 6 fields. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 0c6bd388028322695b5d62803bbcd0ee3015f0dbbe8f17c19cd12ecc5201a26c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Document/SalesPrepayment.Table.al
    title: src/Layers/W1/BaseApp/Sales/Document/SalesPrepayment.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-set-up-prepayments
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/invoicing-prepayments
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 459
name: Sales Prepayment %
namespace: Microsoft.Sales.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 6
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 459 "Sales Prepayment %"

> Table 459 "Sales Prepayment %" in Base Application (Microsoft.Sales.Document). 6 fields. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Sales.Document · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Document/SalesPrepayment.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 664 "Sales Prepayment Percentages"](../page/664.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Sales Prepayment % |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Item No. | Code[20] | Specifies the number of the item for which the prepayment percentage is valid. | TableRelation [Table 27 "Item"](../table/27.md); NotBlank |
| 2 | Sales Type | Option | Specifies the sales type of the prepayment percentage. | OptionCaption: Customer,Customer Price Group,All Customers |
| 3 | Sales Code | Code[20] | Specifies the code that belongs to the sales type. | TableRelation [Table 18 "Customer"](../table/18.md), [Table 6 "Customer Price Group"](../table/6.md) (if ("Sales Type" = const(Customer)) Customer else if ("Sales Type" = const("Customer Price Group")) "Customer Price Group") |
| 4 | Starting Date | Date | Specifies the date from which the prepayment percentage is valid. |  |
| 5 | Ending Date | Date | Specifies the date to which the prepayment percentage is valid. |  |
| 6 | Prepayment % | Decimal | Specifies the prepayment percentage to use to calculate the prepayment for sales. |  |

## Keys

- Key1: Item No., Sales Type, Sales Code, Starting Date (clustered)
- Key2: Sales Type, Sales Code

## Procedures

1 local procedures, no public ones.

## Triggers

OnInsert

## Relations

- Sales Code: TableRelation [Table 18 "Customer"](../table/18.md) (conditional)
- Item No.: TableRelation [Table 27 "Item"](../table/27.md)
- Sales Code: TableRelation [Table 6 "Customer Price Group"](../table/6.md) (conditional)

## Pages and codeunits on this table

- [Page 664 "Sales Prepayment Percentages"](../page/664.md) (source table)

## Across versions

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

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: "table", object_name: "Sales Prepayment %")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
