![]() |
#4 |
Участник
|
I see in your code if startDateTime contains current 2019 year then endDateTime should contain the date of 2018 year:
X++: endDateTime = DateTimeUtil::addYears(startDateTime, -1); No, it doesn't look correct. Due to your current conditions in a case when docuRef.TypeId != #SPP you should pull the records for any company (RefCompanyId) and any table (RefTableId). I'm sure you pulled the records with empty TypeId field right for this case. Enclose following code in additional braces and you will see the difference. X++: (docuRef.createdDateTime >= startDateTime && docuRef.createdDateTime <= endDateTime && docuRef.TypeId == #SPP) || docuRef.TypeId != #SPP X++: docuRef.createdDateTime >= startDateTime
__________________
// no comments Последний раз редактировалось dech; 18.10.2019 в 10:50. |
|
Теги |
axapta 2012, docuref, missing value, ssrs, typeid |
|
|