AXForum  
Вернуться   AXForum > Microsoft Dynamics NAV > NAV: Blogs
NAV
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 22.01.2018, 03:48   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
waldo: Autonumber Objects in AL
Источник: https://dynamicsuser.net/nav/b/waldo...-objects-in-al
==============

I recently discovered what appears to be an undocumented feature in the current version of the al language extension (aka, the “Modern Dev”, aka DynDev365, aka ExtensionV2, aka VSCode Development Tools for Microsoft Dynamics NAV). And that is “Automatic Object Numbering”

On any objecttype, when enforcing intellisense, you get the lowest available number that was defined in the app.json.

Example

Consider this example, where I have this config in the app.json:



When creating some tables, it gives me the lowest available number in intellisense:



It’s just a matter of engaging intellisense at the right context..(CTRL+Space). It works obviously also when putting your objects in individual files.

Does it also work for fieldnumbers?

What ya think? Of course it does :-). Here is proof:



From which version is it available?

This is obviously part of the functionality of the VSCode extension, which is still under heavy development (although able to use for NAV2018 development though …). I’m personally using version 0.13.15836, which I think is the anniversary update:



Good stuff! Keep it comin’




Источник: https://dynamicsuser.net/nav/b/waldo...-objects-in-al
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
За это сообщение автора поблагодарили: Sancho (1).
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
waldo: AL with VSCode: ExportToNewSyntax Blog bot NAV: Blogs 0 07.08.2017 04:17
waldo: AL with VSCode: Run Extension Objects (with PowerShell) Blog bot NAV: Blogs 0 14.06.2017 04:17
waldo: Convert C/AL Objects to AL with PowerShell Blog bot NAV: Blogs 0 05.05.2017 03:33
waldo: Microsoft Dynamics NAV 2017 – what’s really new? Blog bot NAV: Blogs 0 13.10.2016 05:22
waldo: Delete all records in table with C/AL – Truncate Blog bot NAV: Blogs 0 30.06.2016 05:19
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 01:14.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.