Get next available AL object ID
Allocates the next available AL object ID by scanning existing files and app.json ranges.
/plugin marketplace add FBakkensen/bc-agentic-dev-tools/plugin install fbakkensen-al-object-id-allocator-plugins-al-object-id-allocator@FBakkensen/bc-agentic-dev-toolsAllocate the next available AL object number by scanning existing .al files and idRanges in app.json.
pwsh -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/al-object-id-allocator/scripts/Get-NextALObjectNumber.ps1" -AppPath "<app-folder>" -ObjectType "<type>"
# Get next table ID for main app
pwsh -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/al-object-id-allocator/scripts/Get-NextALObjectNumber.ps1" -AppPath "./app" -ObjectType "table"
# Get next codeunit ID for test app
pwsh -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/al-object-id-allocator/scripts/Get-NextALObjectNumber.ps1" -AppPath "./test" -ObjectType "codeunit"
table, page, codeunit, report, query, xmlport, enum, interface, controladdin, pageextension, tableextension, enumextension, reportextension, permissionset, entitlement, profile, pagecustomization
ERROR-XXX: <message> to stderr, exit code 1