← Back to list

al-object-id-allocator
by FBakkensen
Business Central agentic development tools - skills for AI-assisted AL development
⭐ 0🍴 0📅 Jan 5, 2026
SKILL.md
name: al-object-id-allocator description: Allocate the next available Business Central AL object ID/number by scanning .al files and idRanges in app.json using the bundled PowerShell script. Use when creating new tables/pages/codeunits/extensions and you need a free object number.
AL Object ID Allocator
Allocate the next available AL object number using scripts/Get-NextALObjectNumber.ps1.
Usage
pwsh -File "<skill-folder>\scripts\Get-NextALObjectNumber.ps1" -AppPath "<AL_APP_FOLDER>" -ObjectType "<type>"
Common patterns:
pwsh -File ".\.claude\skills\al-object-id-allocator\scripts\Get-NextALObjectNumber.ps1" -AppPath ".\app" -ObjectType "table"pwsh -File ".\.claude\skills\al-object-id-allocator\scripts\Get-NextALObjectNumber.ps1" -AppPath ".\test" -ObjectType "codeunit"
Supported object types
table, page, codeunit, report, query, xmlport, enum, interface, controladdin, pageextension, tableextension, enumextension, reportextension, permissionset, entitlement, profile, pagecustomization
Output and errors
- On success, the script writes a single integer (the allocated number) to stdout and exits with code
0. - On error, it writes
ERROR-XXX: <message>to stderr and exits with code1.
Tip: Capture the result in PowerShell:
$nextNumber = & "<skill-folder>\scripts\Get-NextALObjectNumber.ps1" -AppPath "<AL_APP_FOLDER>" -ObjectType "page"
What it does (high level)
- Reads
idRangesfrom<AppPath>\app.json - Scans
<AppPath>\**\*.alfor existing objects of the requested type - Ignores commented-out declarations
- Returns the smallest available number within the allowed ranges (fills gaps first)
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
3ヶ月以内に更新
+5
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

