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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 03.10.2013, 03:17   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
daxserver: Number sequences per operating unit type
Источник: http://blogs.msdn.com/b/daxserver/ar...unit-type.aspx
==============

We have recently introduced the support for generating number sequences per operating unit type. Before this support, when you created a new number sequence for operating units, you could not differentiate it per type. For eg. if you had a number sequence setup for operating units and you created a department, it’d get the first number in the sequence. If you now created a cost center next, you’d get the second number in the sequence etc. This limited the ability to identify departments by one number sequence and cost centers by another.

Here is how the new support for number sequences per operating unit type would work.


Step 1:
When configuring the segments, select the checkbox in the image below. If there are existing number sequences for organizations, you'll have to delete them



Step 2:
Create a new number sequence. Select the scope and the operating unit type. In this example, we have chosen Value Stream to be our operating unit type. Note that the operating unit type could be one of either the in-built operating unit types or any other custom operating unit type that you might have created.



In the above example, we reduced the alphanumeric size from 9 to 4 so that we don't exceed the total length of the number sequence string for operating units.

Step 3:
In the same form, add a reference to the organizations and also reduce the number allocation to match the alphanumeric length



Step 4:
Create a new operating unit. In this example, you’ll notice that a new operating unit of the type Value Stream is created. Its id, per the number sequences associated with it, is VS-001







Alternate method

A simpler way to generate default number sequences for each type of operating units would be to run the number sequence wizard. Running the Generate wizard will generate a number sequence of each operating unit type when launched with a standard template. The defaults include the following prefixes for each of the operating unit types. Department will start with “Dept”, Cost center with “CC” etc.







All in all, this should give customers and partners the flexibility to have number sequences set up per type of operating units rather than having a non-granular bulk number sequence covering all operating unit types.

These were made available in the following hotfix release: http://blogs.technet.com/b/dynamicsa...x-2012-r2.aspx










Источник: http://blogs.msdn.com/b/daxserver/ar...unit-type.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 03.10.2013, 13:11   #2  
EVGL is offline
EVGL
Banned
Соотечественники
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
 
4,445 / 3001 (0) ++++++++++
Регистрация: 09.07.2002
Адрес: Parndorf, AT
Осталось добавить, что в AX2012 номера "организационных единиц" пересекаться не могут: не может быть одновременно отдела 01 и центра затрат 01. После этого появляются такие бредовые фичи, как описанная в блоге.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: A simple explanation of duplicate number sequences in AX 2012 Blog bot DAX Blogs 0 08.01.2013 19:11
emeadaxsupport: Microsoft Dynamics AX 2012 Retail Statement Posting Error: Account number for transaction type Ledger journal does not exist Blog bot DAX Blogs 0 27.09.2012 20:13
dynamicscare: Number Sequences Going Global in AX 2012-An Introduction Blog bot DAX Blogs 0 06.08.2011 02:35
axinthefield: How Preallocated Number Sequences are Cached in AX Blog bot DAX Blogs 0 03.05.2011 06:15
dax-lessons: Number sequences on the form [NumberSeqFormHandler] in Dynamics AX [X++] Blog bot DAX Blogs 0 28.03.2011 01:11
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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