Показать сообщение отдельно
Старый 06.08.2012, 12:08   #6  
Ivanhoe is offline
Ivanhoe
Участник
Аватар для Ivanhoe
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
 
4,143 / 2161 (81) +++++++++
Регистрация: 29.09.2005
Адрес: Санкт-Петербург
Под рукой только 2009. Смотрим указанный вами метод:
Цитата:
/// <summary>
/// Makes a query in order to find used coverage dimensions for an item.
Т.е. написано, что метод используется только для выборки аналитик, которые должны участвовать в расчетах.

В классе есть отдельный метод calcDemandPeriod() в котором следующие комменты:
Цитата:
/// Demand is calculated as issues in the specified period. However not all issues should be included in the calculation.
/// Issues having a corresponding receipt on the same coverage dimension should not be included.
...
// find demand - internal transfers must not count as demand
// internal transfer means that the issue and receipt has same coverage dimensions.
// if warehouse isn't a coverage dimension then don't count transfer orders as demand
Ну и в методе соответствующий запрос, который считает статистику.
__________________
Ivanhoe as is..
За это сообщение автора поблагодарили: Starling (2).