---
id: change/bcapps/14332
type: change
title: "#14332 Bug 660000: [64bit] Overflow in item application entry"
summary: Some variables in the Item Application Entry table were declared as Integer instead of BigInteger. This happened because a cost calculation optimization crossed the switch to 64-bit integers. They are now BigInteger, which prevents overflow errors.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table item application entry
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-11-21T00:56:52.498Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 052a44b4d747b69cbac913dd7289ce0fbb15760a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14332
    title: "microsoft/BCApps#14332: Bug 660000: [64bit] Overflow in item application entry"
    date: "2026-11-20"
    commit: 052a44b4d747b69cbac913dd7289ce0fbb15760a
    t: null
    quote: Some variables were declared as int instead of bigint.
links:
  learn: []
  objects:
    - object/table/339
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/Reservation-Entry-table-features-that-update-the-table
      title: Reservation Entry table - Features that update the Reservation Entry table
      label: possibly related
      why: Item Application Entry table stores reservation and tracking information documented here.
      by: model
number: 14332
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14332
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-20T14:28:42Z"
author: BardurKnudsen
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 10
  deletions: 10
  al: 2
apps:
  - Base Application
objects_touched:
  - key: table/339
    page: table/339
    type: table
    id: 339
    name: Item Application Entry
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660000
systems:
  - inventory
quote: Some variables were declared as int instead of bigint.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #14332 Bug 660000: [64bit] Overflow in item application entry

> Some variables in the Item Application Entry table were declared as Integer instead of BigInteger. This happened because a cost calculation optimization crossed the switch to 64-bit integers. They are now BigInteger, which prevents overflow errors.

[Pull request](https://github.com/microsoft/BCApps/pull/14332) · merged into `main` (BC30) on 2026-11-20 by BardurKnudsen · 2 files (+10 -10), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- A cost calculation optimization crossed the move to 64-bit integers and left some variables as Integer
- Those variables in table 339 Item Application Entry now use BigInteger
- Changed in both the W1 and RU layers
- Prevents overflow errors in item application entry processing
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 339 "Item Application Entry"](../../objects/table/339.md), Base Application: modified

## Context

- Work items: AB#660000
- Labels: Team: SCM
- Systems: inventory
- From the description: "Some variables were declared as int instead of bigint."

## Possibly related

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

- [Reservation Entry table - Features that update the Reservation Entry table](https://learn.microsoft.com/dynamics365/business-central/Reservation-Entry-table-features-that-update-the-table) — possibly related: Item Application Entry table stores reservation and tracking information documented here. (model-linked)

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).
