OCReportManager manager = rProc.getReport("КарточкаУчетаПоСтраховымВзносам");
OCReportObject report = manager.create();
OCDataCompositionSchema dataCompositionSchema = report.getDataCompositionSchema();
for (OCDataCompositionSchemaDataSet object : dataCompositionSchema.getDataSets()) {
System.out.println("==========================" + object.toString());
System.out.println(object.getClass().getName());
if (object instanceof OCDataCompositionSchemaDataSetObject) {
OCDataCompositionSchemaDataSetObject dsObject = (OCDataCompositionSchemaDataSetObject)object;
System.out.println(dsObject.getObjectName());
}
}
System.out.println("======= PARAMETERS =============");
OCDataCompositionSchemaParameters parameters = dataCompositionSchema.getParameters();
for (OCDataCompositionSchemaParameter param : parameters) {
System.out.println(param.toString());
}
System.out.println("================================");
OCDataCompositionSettings defaultSettings = dataCompositionSchema.getDefaultSettings();
System.out.println(defaultSettings.showXML());
OCDataCompositionDetailsData details = rProc.createDetailsData();