---
id: post/yzhums-com/66212
type: post
title: "Dynamics 365 Business Central: Use a default quantity of 1 for all types on documents – Customization"
summary: Business Central by default sets quantity to 1 only for Item and G/L Account line types on sales and purchase documents, but not for Resource, Fixed Asset, or Charge types. This post shows how to customize the system to apply default quantity of 1 to other document line types using table extensions and event subscribers.
tier: community
language: en
tags:
  - customization
  - default quantities
  - document line types
  - sales documents
  - purchase documents
  - fixed assets
  - resources
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:42:41.067Z"
  flags: []
generated:
  at: "2026-10-26T05:51:10.938Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: 885f787c21568645db7c0c5591027caeea5b15056632fa79d50c8c326a18484e
evidence:
  - kind: blog
    url: https://yzhums.com/66212/
    title: "Dynamics 365 Business Central: Use a default quantity of 1 for all types on documents – Customization"
    date: "2025-07-30"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/66212/
    title: "Dynamics 365 Business Central: Use a default quantity of 1 for all types on documents – Customization"
    date: "2025-07-30"
    commit: null
    t: null
    quote: As of now, the default quantity setting of 1 is only valid for Item type and G/L Account type.
  - kind: blog
    url: https://yzhums.com/66212/
    title: "Dynamics 365 Business Central: Use a default quantity of 1 for all types on documents – Customization"
    date: "2025-07-30"
    commit: null
    t: null
    quote: So if you need other types to be available as well, this will need to be customized.
links:
  learn: []
  objects:
    - object/table/37
    - object/table/311
    - object/table/39
    - object/table/312
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  related:
    - to: post/thatnavguy-com/https-thatnavguy-com-blog-2025-bc-friday-tips-56-understand-missing-fields-in-copy-documents--e98f782aea
      title: "BC Friday Tips #56 Understand Missing Fields in Copy Documents"
      label: possibly related
      why: both name Table 37 "Sales Line"
      by: code
    - to: post/thatnavguy-com/https-thatnavguy-com-blog-2026-bc-friday-tips-84-item-missing-from-sales-line-lookup--ac89a8fbc6
      title: "BC Friday Tips #84 Why Is Your Item Missing from the Sales Line Lookup?"
      label: possibly related
      why: both name Table 37 "Sales Line"
      by: code
    - to: post/kine-cz/https-blog-kine-cz-posts-bcdevelopmentserie-02b--0078d7faba
      title: "Business Central Development Serie - Part 2b: AI for BC Development — The Knowledge Gap That Ships to Production"
      label: possibly related
      why: both name Table 37 "Sales Line"
      by: code
    - to: post/bertverbeek-nl/1162
      title: Document amount on Purchase Invoice Header
      label: possibly related
      why: both name Table 312 "Purchases & Payables Setup"
      by: code
    - to: post/yzhums-com/70008
      title: "Dynamics 365 Business Central: Add a Scan Barcode action and scan multiple/Continious scanning (Invoke barcode scanning programmatically from AL)"
      label: possibly related
      why: both name Table 37 "Sales Line"
      by: code
    - to: post/yzhums-com/64874
      title: "Dynamics 365 Business Central: Copy Sales and Purchase Line Descriptions (Type G/L Account) to G/L Entries"
      label: possibly related
      why: both name Table 312 "Purchases & Payables Setup"
      by: code
    - to: post/yzhums-com/56173
      title: "Dynamics 365 Business Central: Entering Quantities/Amounts by Calculation and Negative Numbers"
      label: possibly related
      why: both name Table 37 "Sales Line"
      by: code
    - to: post/yzhums-com/69444
      title: "Dynamics 365 Business Central: How to check whether External Document No./Vendor Invoice No. are unique or duplicated – Customization"
      label: possibly related
      why: both name Table 312 "Purchases & Payables Setup"
      by: code
    - to: post/yzhums-com/74172
      title: "Dynamics 365 Business Central: How to flow/pass custom field values from Sales Order to Production Order"
      label: possibly related
      why: both name Table 37 "Sales Line"
      by: code
    - to: post/yzhums-com/25134
      title: "Dynamics 365 Business Central: How to note the records that the user has selected on the Subpage/Lines (Page.SetSelectionFilter in part)"
      label: possibly related
      why: both name Table 37 "Sales Line"
      by: code
post_id: "66212"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/66212/
published_at: "2025-07-30T01:29:00.000Z"
author: Yun Zhu
full_text: false
words: 957
quotes:
  - text: As of now, the default quantity setting of 1 is only valid for Item type and G/L Account type.
    why_it_matters: This explains the core limitation that drives the need for customization across different line types.
  - text: So if you need other types to be available as well, this will need to be customized.
    why_it_matters: Clarifies that extending default quantity to Resource, Fixed Asset, and other types requires custom development.
code_objects_mentioned:
  - table Sales Line
  - table Sales & Receivables Setup
  - table Purchase Line
  - table Purchases & Payables Setup
systems:
  - sales
  - purchasing
versions_mentioned:
  - BC25
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2025/07/Snipaste_2025-07-29_16-02-35.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:17:19.688Z"
---

# Dynamics 365 Business Central: Use a default quantity of 1 for all types on documents – Customization

[Read the post](https://yzhums.com/66212/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2025-07-30 · 957 words · tier community · reviewed (checked by Opus)

> Business Central by default sets quantity to 1 only for Item and G/L Account line types on sales and purchase documents, but not for Resource, Fixed Asset, or Charge types. This post shows how to customize the system to apply default quantity of 1 to other document line types using table extensions and event subscribers.

## Key points

- Default quantity of 1 is currently limited to Item type in sales documents and G/L Account type in both sales and purchase documents
- Resource, Fixed Asset, and Charge (Item) line types lack this default quantity feature out of the box
- Two customization approaches are provided: using setup table fields with event handlers, or using field extension triggers for simpler one-time implementations
- The solution uses event subscribers like OnAfterAssignResourceValues and OnAfterAssignFixedAssetValues to apply default quantities

## Quotes

- "As of now, the default quantity setting of 1 is only valid for Item type and G/L Account type." (This explains the core limitation that drives the need for customization across different line types.)
- "So if you need other types to be available as well, this will need to be customized." (Clarifies that extending default quantity to Resource, Fixed Asset, and other types requires custom development.)

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- [table 37 "Sales Line"](../../objects/table/37.md)
- [table 311 "Sales & Receivables Setup"](../../objects/table/311.md)
- [table 39 "Purchase Line"](../../objects/table/39.md)
- [table 312 "Purchases & Payables Setup"](../../objects/table/312.md)

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [BC Friday Tips #56 Understand Missing Fields in Copy Documents](../../posts/thatnavguy-com/https-thatnavguy-com-blog-2025-bc-friday-tips-56-understand-missing-fields-in-copy-documents--e98f782aea.md) — possibly related: both name Table 37 "Sales Line"
- [BC Friday Tips #84 Why Is Your Item Missing from the Sales Line Lookup?](../../posts/thatnavguy-com/https-thatnavguy-com-blog-2026-bc-friday-tips-84-item-missing-from-sales-line-lookup--ac89a8fbc6.md) — possibly related: both name Table 37 "Sales Line"
- [Business Central Development Serie - Part 2b: AI for BC Development — The Knowledge Gap That Ships to Production](../../posts/kine-cz/https-blog-kine-cz-posts-bcdevelopmentserie-02b--0078d7faba.md) — possibly related: both name Table 37 "Sales Line"
- [Document amount on Purchase Invoice Header](../../posts/bertverbeek-nl/1162.md) — possibly related: both name Table 312 "Purchases & Payables Setup"
- [Dynamics 365 Business Central: Add a Scan Barcode action and scan multiple/Continious scanning (Invoke barcode scanning programmatically from AL)](../../posts/yzhums-com/70008.md) — possibly related: both name Table 37 "Sales Line"
- [Dynamics 365 Business Central: Copy Sales and Purchase Line Descriptions (Type G/L Account) to G/L Entries](../../posts/yzhums-com/64874.md) — possibly related: both name Table 312 "Purchases & Payables Setup"
- [Dynamics 365 Business Central: Entering Quantities/Amounts by Calculation and Negative Numbers](../../posts/yzhums-com/56173.md) — possibly related: both name Table 37 "Sales Line"
- [Dynamics 365 Business Central: How to check whether External Document No./Vendor Invoice No. are unique or duplicated – Customization](../../posts/yzhums-com/69444.md) — possibly related: both name Table 312 "Purchases & Payables Setup"
- [Dynamics 365 Business Central: How to flow/pass custom field values from Sales Order to Production Order](../../posts/yzhums-com/74172.md) — possibly related: both name Table 37 "Sales Line"
- [Dynamics 365 Business Central: How to note the records that the user has selected on the Subpage/Lines (Page.SetSelectionFilter in part)](../../posts/yzhums-com/25134.md) — possibly related: both name Table 37 "Sales Line"

## Context

- Features: Default Quantity setting, Line type handling, Document line defaults
- Versions: BC25

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
