* @return OCValueTable
* @throws JIException
* ошибка обращения к DCOM-серверу
*/
public OCValueTable getDrCrTurnovers(Date startDate, Date endDate, OCChartOfCharacteristicTypesRef subkontoDr, OCChartOfCharacteristicTypesRef subkontoCr, OCStructure structure, String dimension, String resouces) throws JIException {
OCApp inst = OCApp.getInstance(getAssociatedSessionID());
OCArray subkontoDrArray = null;
OCArray subkontoCrArray = null;
if (subkontoDr != null) {
subkontoDrArray = inst.newArray();
subkontoDrArray.add(new OCVariant(subkontoDr));
}
if (subkontoCr != null) {
subkontoCrArray = inst.newArray();
subkontoCrArray.add(new OCVariant(subkontoCr));
}
return getDrCrTurnovers(startDate, endDate, subkontoDrArray, subkontoCrArray, structure, dimension, resouces);
}