---
id: change/bcapps/11562
type: change
title: "#11562 [Main] [ALL-E] Sales Line Discount % accepts 5 decimal places through Configuration Package import but rejects manual entry beyond 2 decimal places.Initial Commit"
summary: Sales Line Discount % field now consistently accepts the same number of decimal places whether entered manually or imported via Configuration Package.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table sales line discount
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:04:18.253Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 5fff78ab6ef2e3f3cbfb7910bc1c289dd4662c24
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11562
    title: "microsoft/BCApps#11562: [Main] [ALL-E] Sales Line Discount % accepts 5 decimal places through Configuration Package import but rejects manual entry beyond 2 decimal places.Initial Commit"
    date: "2026-09-21"
    commit: 5fff78ab6ef2e3f3cbfb7910bc1c289dd4662c24
    t: null
    quote: Sales Line Discount % accepts 5 decimal places through Configuration Package import but rejects manual entry beyond 2 decimal places.
links:
  learn: []
  objects:
    - object/table/7004
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11562
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11562
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-21T13:48:14Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 6
  additions: 181
  deletions: 6
  al: 1
apps:
  - Base Application
objects_touched:
  - key: table/7004
    page: table/7004
    type: table
    id: 7004
    name: Sales Line Discount
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 650372
systems:
  - sales
quote: Sales Line Discount % accepts 5 decimal places through Configuration Package import but rejects manual entry beyond 2 decimal places.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11562 [Main] [ALL-E] Sales Line Discount % accepts 5 decimal places through Configuration Package import but rejects manual entry beyond 2 decimal places.Initial Commit

> Sales Line Discount % field now consistently accepts the same number of decimal places whether entered manually or imported via Configuration Package.

[Pull request](https://github.com/microsoft/BCApps/pull/11562) · merged into `main` (BC30) on 2026-09-21 by Shikhverma · 6 files (+181 -6), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Resolves the mismatch where Configuration Package import accepted 5 decimal places for Line Discount % but manual entry allowed only 2
- A one-line change to the Sales Line Discount table (7004) aligns the two entry methods
- Tests added to ERMSalesDocumentsIII in the W1, APAC, IT, NA and NO layers
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 7004 "Sales Line Discount"](../../objects/table/7004.md), Base Application: modified

## Context

- Work items: AB#650372
- Labels: Team: SCM
- Systems: sales
- From the description: "Sales Line Discount % accepts 5 decimal places through Configuration Package import but rejects manual entry beyond 2 decimal places."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
