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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 02.05.2013, 12:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Quarter Date intervals definition in AX2012
Источник: http://blogs.msdn.com/b/axsupport/ar...in-ax2012.aspx
==============

Fiscal calendars provide a framework for the financial activity of an organization. Each fiscal calendar contains one or more fiscal years, and each fiscal year contains multiple periods. Fiscal calendars can be based on a January 1 to December 31 calendar year, or on any dates that you select. In this document we will consider a situation where a fiscal calendar that starts on May 1 of one year and ends on April 30 of the following year.



You see that the Q1 starts on May 1 and ends on July 31. When users are working in standard AX environment they can select on several reports Date interval used for the report. E.g. on the Trial balance report user can set the Date interval to Q1:





But results are not what user expected. The "From date" is April 1 and "To date" is September 30. This is caused by the standard Date intervals definition in the AX database. Date interval is a setup in which you can get the result with different combinations of parameters. In the standard AX the Q1 date interval is defined as follows:



In the parameter “After” the option is “Quarter” - that option is mapped and limited to fiscal years whenever the from date is coincident with a natural quarter. It means when the fiscal year starts on January 1st, April 1st, July 1st or October 1st. In our example Fiscal year starts on May 1 and system evaluates that the date falls into natural quarter starting on April 1st. This is the reason of results on screenshot nr.2.

In order to get expected results on the Trial balance report it is necessary to adjust Date interval definition in following way:



If we use in the "After" parameter option "Periods", and we adjust the +/- calculation for "To date", then the system calculates both dates correctly. Now the Trial balance report returns correct results:





For other quarters the definition is following:













Источник: http://blogs.msdn.com/b/axsupport/ar...in-ax2012.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 08.05.2013, 11:39   #2  
mazzy is offline
mazzy
Участник
Аватар для mazzy
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
29,472 / 4494 (208) ++++++++++
Регистрация: 29.11.2001
Адрес: Москва
Записей в блоге: 10
ура, они нашли этот функционал, который тянется чуть ли не со времен конкорда
http://axapta.mazzy.ru/lib/ledgerperiodcode/

теперь можно надеятся, что стандартный функционал, где идет запрос по датам, будет использовать эту старую-добрую фичу
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Inventory closing differences between AX4.0 and AX2012 using weighted average costing method Blog bot DAX Blogs 0 27.12.2012 19:11
emeadaxsupport: Budget entries import in AX2012 Blog bot DAX Blogs 0 21.11.2012 00:12
emeadaxsupport: "An exchange rate cannot be found for exchange rate type XXX between currencies YYY and ZZZ on exchange date." when you attempt to process in Microsoft Dynamics AX 2012 Blog bot DAX Blogs 0 26.09.2012 07:15
emeadaxsupport: AX2012 and AX2009 or AX4 side by side - AOS performance counters overwritten Blog bot DAX Blogs 0 13.03.2012 18:11
emeadaxsupport: Date picker in Dynamics AX 2009 SSRS reports Blog bot DAX Blogs 0 29.06.2010 19:05

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

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

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