microsoft / microsoft/AL

Get extension ID range

Open
#5,246 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

reflection-api suggestion
Dominant language
PowerShell
Stars
881
Forks
285
Avg merge
3d 36m
Merged PRs (30d)
1

Description

Is there a way to know the object range inside a codeunit ?

I would like to get min and max of my id ranges within the upgrade code-units, but have to hardcode them for now, as I don't find a function giving me them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by locating the AL compiler or developer-tool handling for upgrade codeunits and extension object ID ranges, then determine where such a range query could be exposed. Done means a supported way to obtain the minimum and maximum IDs for the relevant ranges, with behavior verified by tests.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.