<?xml version="1.0" encoding="utf-8"?>
<document caption="Формирование данных по требованиям Минфина России" version="1.0.7" javascriptDocumentClassName="F05303.FDocument">
  <rules>
    <import id="JSHandlebars" sourceFile="Scripts\handlebars-v4.0.5.js" />
    <import id="JSStageSettings" sourceFile="MainLogic\ObasStageSettings.js" />
    <import id="JSTableFieldInfo" sourceFile="MainLogic\TableFieldInfo.js" />
    <import id="JSEvents" sourceFile="MainLogic\Events.js" />
    <import id="JSTableInfo" sourceFile="MainLogic\TableInfo.js" />
    <import id="JSRROTables" sourceFile="MainLogic\RROTables.js" />
    <import id="JSSprTables" sourceFile="MainLogic\SprTables.js" />
    <import id="JSObasTableCollection" sourceFile="MainLogic\ObasTableCollection.js" />
    <import id="JSHelper" sourceFile="MainLogic\ObasHelper.js" />
    <import id="JSFormatCollection" sourceFile="MainLogic\SheetFormatCollection.js" />
    <import id="JSCommon" sourceFile="MainLogic\CommonRules.js" />
    <import id="JSSettings" sourceFile="MainLogic\DocumentSettings.js" />
    <import id="JSBaseDocument" sourceFile="MainLogic\BaseDocumentObject.js" />
    <import id="JSObasTableWithKeys" sourceFile="MainLogic\ObasTableWithKeys.js" />
    <import id="JSSingleSheet" sourceFile="MainLogic\SingleSheet.js" />
    <import id="JSGroupSheet" sourceFile="MainLogic\GroupSheet.js" />
    <import id="JSSubsidiesInterface" sourceFile="MainLogic\FSubsidiesSubventions\FSubsidiesSubvetionsSheet.js" />
    <import id="JSSubsidiesTable" sourceFile="MainLogic\FSubsidiesSubventions\FSubsidiesSubvetionsTable.js" />
    <import id="JSUpdate" sourceFile="Templates\Logic\Current\F05_303\F05_303_UpdateRules.js" />
    <import id="JSInterface" sourceFile="Templates\Logic\Current\F05_303\F05_303_InterfaceRules.js" />
    <import id="JSTable" sourceFile="Templates\Logic\Current\F05_303\F05_303_TableRules.js" />
    <import id="JSExport" sourceFile="Templates\Logic\Current\F05_303\F05_303_ExportRules.js" />
    <import id="JSDocument" sourceFile="Templates\Logic\Current\F05_303\F05_303_Document.js" />
  </rules>
  <tables>
    <!-- Справочники из файла Spr_Main.xml-->
    <linkedtable id="FOIV" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="FCR" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="CSR" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="Program" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="SubProgram" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="DirectionCost" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="VR" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="MainAction" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="OBAS_SPR" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="NPAType" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="KOSGU" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="ReserveDirections" sourceFile="MainData\Spr_Forms_STAGE1.xml" />
    <linkedtable id="RRO_OBAS_VERSIONS" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="RRO_OBAS" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="RRO_DATA" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="RRO_OBAS_Recvisits" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="RRO_OBAS_SC" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="RRO_OBAS_Numbers" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="SecurityTypes" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="ChangeType" sourceFile="MainData\Spr_Ped.xml" />
    <linkedtable id="RRO_KU_Data" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="FileType" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="BuildParams" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="RRO_Expend_Shedule" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="RRO_OfficeChiefRecvisits" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="RRO_FinanceChiefRecvisits" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="SubjectName" sourceFile="MainData\Spr_Forms_STAGE1.xml" />
    <linkedtable id="ScienceCityName" sourceFile="MainData\Spr_Forms_STAGE1.xml" />
    <linkedtable id="SecurityAdmTerrEntityName" sourceFile="MainData\Spr_Forms_STAGE1.xml" />
    <linkedtable id="MunicipalEntityName" sourceFile="MainData\Spr_Forms_STAGE1.xml" />
    <linkedtable id="RRO_ExecutorRecvisits" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="SELECTED_FOIV" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="tRRO_OBAS_VERSIONS" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="Files" sourceFile="MainData\Spr_Main.xml" />
    <linkedtable id="dual" sourceFile="MainData\Spr_Main.xml" />
    <table id="MainParameters" readonly="true" caption="Основные параметры" canAdd="false" canClear="false" canDelete="false">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <sourcefield name="FOIV_ID" table="FOIV" tableKeyField="Key" tableFields="Code;Name" />
        <sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Code;Name" />
        <sourcefield name="VR_ID" table="VR" tableKeyField="Key" tableFields="Name" />
        <sourcefield name="CSR_ID" table="CSR" tableKeyField="Key" tableFields="Code;Name" />
        <sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="Code;Name" />
        <sourcefield name="RRO_OBAS_VERSIONS_ID" table="RRO_OBAS_VERSIONS" tableKeyField="Key" tableFields="Key" />
        <sourcefield name="FileType_ID" table="FileType" tableKeyField="Key" tableFields="Key" />
        <sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Key" />
        <sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Key" />
        <sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Key" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
        </row>
      </data>
    </table>
    <table id="FormParameters" caption="Параметры формы" readonly="true">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="FormSecretType" datatype="integer" caption="Признак гостайны" />
        <field name="TableNameWithTotals" datatype="string" size="50" />
        <field name="TableWithKOSGU" datatype="string" size="50" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[0]]></el>
          <el><![CDATA[F05_303_R1_SumValues]]></el>
          <el><![CDATA[KOSGU_Data]]></el>
        </row>
      </data>
    </table>
    <table id="F05_303_R1_SumTypes" readonly="true">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="StrCode" datatype="string" size="3" />
        <field name="Name" datatype="string" size="500" caption="Наименование" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[010]]></el>
          <el><![CDATA[Субвенция на осуществление полномочий по составлению (изменению) списков кандидатов  в присяжные заседатели федеральных судов общей юрисдикции в Российской Федерации]]></el>
        </row>
      </data>
    </table>
    <table id="F05_303_R1_SumValues" caption="1. Расчет  на предоставление субвенции">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="StrKey" datatype="integer" syncKey="true" />
        <field name="IsTotal" datatype="integer" syncKey="true" />
        <field name="Y1" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP1.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y2" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP1.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y3" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP1.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y4" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP1.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
      </fields>
      <rules>
        <rule name="%Doc%.CommonRules.SaveTotalTable" event="OnSave" />
      </rules>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[0]]></el>
          <el><![CDATA[0]]></el>
          <el><![CDATA[0]]></el>
          <el><![CDATA[0]]></el>
        </row>
      </data>
    </table>
    <table id="F05_303_R2_SumTotals" readonly="true">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="StrCode" datatype="string" size="3" />
        <field name="Name" datatype="string" size="500" caption="Наименование" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[2]]></el>
          <el><![CDATA[800]]></el>
          <el><![CDATA[Нераспределенный резерв]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[900]]></el>
          <el><![CDATA[Итого]]></el>
        </row>
      </data>
    </table>
    <table id="F05_303_Regions">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="StrCode" datatype="string" size="3" />
        <sourcefield name="SubjectName_ID" caption="Наименование субъекта РФ" table="SubjectName" tableKeyField="Key" tableFields="Name" isUnique="true" isNull="false" />
        <lookupfield name="SubjectName_Name" keys="SubjectName_ID" lookupTable="SubjectName" lookupKeys="Key" lookupFields="Name" />
      </fields>
    </table>
    <table id="F05_303_R3_Rows" caption="3. Показатели, устанавливаемые федеральным законом и участвующие в расчете на предоставление субвенции" readonly="true">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="StrCode" datatype="string" size="2" />
        <field name="Name" datatype="string" size="1000" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[01]]></el>
          <el><![CDATA[Норматив финансовых затрат на канцелярские расходы]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[2]]></el>
          <el><![CDATA[02]]></el>
          <el><![CDATA[Норматив финансовых затрат на почтовые расходы]]></el>
        </row>
      </data>
    </table>
    <table id="F05_303_R3_Values">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <sourcefield name="StrKey" syncKey="true" table="F05_303_R3_Rows" tableKeyField="Key" tableFields="Key" />
        <field name="Y1" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP3.IndicatorChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y2" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP3.IndicatorChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y3" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP3.IndicatorChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y4" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP3.IndicatorChangeEventHandler" event="OnChange" />
          </rules>
        </field>
      </fields>
    </table>
    <table id="F05_303_R4" caption="4. Расчет на предоставление субвенции">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <sourcefield name="OwnerKey" syncKey="true" table="F05_303_Regions" tableKeyField="Key" tableFields="Key">
          <rules>
            <rule name="%Doc%.TableP4.OwnerKey.InitEventHandler" event="OnInit" />
          </rules>
        </sourcefield>
        <field name="StrCode" datatype="string" size="3" />
        <field name="Year" datatype="integer" syncKey="true" isNull="false">
          <rules>
            <rule name="%Doc%.CommonRules.YearInitEventHandler" event="OnInit" />
          </rules>
        </field>
        <field name="IsCopied" datatype="boolean">
          <rules>
            <rule name="ObasHelper.GetFalse" event="OnInit" />
          </rules>
        </field>
        <field name="PeopleCount" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP4.ParameterChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="PrintExpenses" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP4.ParameterChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="SheetsCount" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.TableP4.ParameterChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="TotalSum" datatype="float" size="20" precision="2" />
        <field name="Total" datatype="float" size="20" precision="2" />
      </fields>
      <rules>
        <rule name="%Doc%.TableP4.EditEventHandler" event="OnEdit" />
      </rules>
    </table>
    <extendedtable id="tF05_303_R4" tables="F05_303_R4" keys="OwnerKey" transposedColumns="Year">
      <fields>
        <field name="TotalSum" />
        <field name="Total" />
      </fields>
      <rules>
        <rule name="%Doc%.TableP2.FieldsCount" event="OnGetColumnsCount" />
        <rule name="%Doc%.TableP2.GetFieldIndexEventHandler" event="OnGetColumnIndex" />
        <rule name="%Doc%.TableP2.GetFieldValueEventHandler" event="OnGetColumnValue" />
      </rules>
    </extendedtable>
    <table id="KOSGU_Data">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <sourcefield name="KOSGU_Id" table="KOSGU" tableKeyField="Key" tableFields="Key" syncKey="true" />
        <field name="SrcKey" datatype="integer" isDeltaValue="false" />
        <field name="Y1" datatype="float" precision="2" />
        <field name="Y2" datatype="float" precision="2" />
        <field name="Y3" datatype="float" precision="2" />
        <field name="Y4" datatype="float" precision="2" />
      </fields>
      <rules>
        <rule name="%Doc%.CommonRules.SaveKosguTable" event="OnSave" />
      </rules>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[27561076]]></el>
          <el><![CDATA[1]]></el>
        </row>
      </data>
    </table>
  </tables>
  <sheets>
    <gridsheet name="SHT_F05_303_R1" title="Раздел 1" caption="1. Расчет на предоставление субвенции" isShowColumnNumbers="true">
      <view table="F05_303_R1_SumTypes" readonly="true">
        <col width="500" caption="Наименование показателя" name="Name" align="left" readonly="true" />
        <view table="F05_303_R1_SumValues" caption="Сумма" masterKeys="StrKey" detailKeys="Key" readonly="true">
          <template>
            <col width="100" name="Y{fieldName}" caption="на {caption} год" readonly="true" align="right" displayFormat=",0.00" />
            <rules>
              <rule name="%Doc%.CommonRules.GetYearsFieldRangeEventHandler" event="OnGetFieldsRange" />
              <rule name="%Doc%.CommonRules.GetYearsCaptionEventHandler" event="OnGetCaption" />
            </rules>
          </template>
        </view>
      </view>
      <rules>
        <rule name="%Doc%.SheetP1.FormatEventHandler" event="OnGetFormat" />
      </rules>
    </gridsheet>
    <gridsheet name="SHT_F05_303_R2" title="Раздел 2" caption="2. Распределение объема субвенции между субъектами Российской Федерации" isShowColumnNumbers="true">
      <view table="F05_303_Regions" readonly="true">
        <col width="400" caption="Наименование субъекта Российской Федерации" name="SubjectName_Name" align="left" />
        <col width="50" caption="Код строки" name="StrCode" align="center" />
        <view table="tF05_303_R4" masterKeys="OwnerKey" detailKeys="F05_303_Regions.Key">
          <view caption="Расчетная потребность в субвенции">
            <template>
              <col width="100" name="TotalSum{fieldName}" caption="на {caption} год" align="right" displayFormat=",0.00" />
              <rules>
                <rule name="%Doc%.CommonRules.GetDollarRateYearsFieldRangeEventHandler" event="OnGetFieldsRange" />
                <rule name="%Doc%.CommonRules.GetYearsCaptionEventHandler" event="OnGetCaption" />
              </rules>
            </template>
          </view>
          <view caption="Объем предоставляемой субвенции">
            <template>
              <col width="100" name="Total{fieldName}" caption="на {caption} год" align="right" displayFormat=",0.00" />
              <rules>
                <rule name="%Doc%.CommonRules.GetDollarRateYearsFieldRangeEventHandler" event="OnGetFieldsRange" />
                <rule name="%Doc%.CommonRules.GetYearsCaptionEventHandler" event="OnGetCaption" />
              </rules>
            </template>
          </view>
        </view>
      </view>
      <view table="F05_303_R2_SumTotals">
        <col width="400" name="Name" columnName="SubjectName_Name" readonly="true" />
        <col width="50" name="StrCode" columnName="StrCode" readonly="true" />
        <view table="F05_303_R1_SumValues" masterKeys="StrKey" detailKeys="F05_303_R2_SumTotals.Key">
          <template>
            <col name="Y{fieldName}" columnName="Total{columnName}" />
            <rules>
              <rule name="%Doc%.CommonRules.GetYearsFieldRangeEventHandler" event="OnGetFieldsRange" />
              <rule name="%Doc%.CommonRules.GetDollarRateYearsFieldRangeEventHandler" event="OnGetColumnFieldsRange" />
            </rules>
          </template>
        </view>
      </view>
      <rules>
        <rule name="%Doc%.SheetP2.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.SheetP2.CalcEventHandler" event="OnCalc" />
        <rule name="ObasHelper.GetFalse" event="OnCanAdd" />
        <rule name="ObasHelper.GetFalse" event="OnCanDelete" />
      </rules>
    </gridsheet>
    <gridsheet name="SHT_F05_303_R3" title="Раздел 3" caption="3. Нормативы финансовых затрат на канцелярские и почтовые расходы с учетом уровня инфляции" isShowColumnNumbers="true">
      <view table="F05_303_R3_Rows" readonly="true">
        <col width="500" caption="Наименование показателя" name="Name" align="left" />
        <col width="50" caption="Код строки" readonly="true" name="StrCode" align="center" />
        <view table="F05_303_R3_Values" readonly="false" caption="Размер норматива">
          <template>
            <col width="150" name="Y{fieldName}" caption="на {caption} год" align="right" displayFormat=",0.00" />
            <rules>
              <rule name="%Doc%.CommonRules.GetYearsFieldRangeEventHandler" event="OnGetFieldsRange" />
              <rule name="%Doc%.CommonRules.GetYearsCaptionEventHandler" event="OnGetCaption" />
            </rules>
          </template>
        </view>
      </view>
      <rules>
        <rule name="%Doc%.SheetP3.FormatEventHandler" event="OnGetFormat" />
        <rule name="ObasHelper.GetFalse" event="OnCanAdd" />
        <rule name="ObasHelper.GetFalse" event="OnCanDelete" />
      </rules>
    </gridsheet>
    <groupsheet title="Раздел 4" name="group_R4" />
    <gridsheet name="SHT_F05_303_R4_Y1" groupSheet="group_R4" title="Раздел 4.#Index" caption="4. Расчет потребности субъекта Российской Федерации в субвенции&#xD;&#xA;4.#Index. Расчет потребности субъекта Российской Федерации в субвенции на #Year год" isShowColumnNumbers="true">
      <view table="F05_303_Regions">
        <col width="400" caption="Наименование субъекта Российской Федерации" name="SubjectName_Name" align="left" readonly="true" />
        <col width="50" caption="Код строки" readonly="true" name="StrCode" align="center" />
        <view table="F05_303_R4">
          <col width="200" name="PeopleCount" caption="Численность кандидатов в присяжные заседатели, чел" align="right" displayFormat=",0.00" />
          <view caption="Расходы на публикацию списков в средствах массовой информации, руб">
            <col width="300" name="PrintExpenses" caption="средние расценки за 1 печатный лист, руб" align="right" displayFormat=",0.00" />
            <col width="300" name="SheetsCount" caption="количество печатных листов, шт" align="right" displayFormat=",0.00" />
          </view>
          <col width="300" name="TotalSum" caption="Расчетная потребность в субвенции, руб" align="right" displayFormat=",0.00" readonly="true" />
          <rules>
            <rule name="%Doc%.SheetP4.ViewLoadEventHandler" event="OnLoad" />
          </rules>
        </view>
        <editors>
          <editor id="F05_303_R4_Subject_Editor" canAdd="true" />
        </editors>
      </view>
      <view table="dual" readonly="true">
        <editors>
          <editor id="F05_303_R4_Subject_Editor" canAdd="true" />
        </editors>
      </view>
      <rules>
        <rule name="%Doc%.SheetP4.ActivateSheetEventHandler" event="OnActivateSheet" />
        <rule name="%Doc%.SheetP4.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.SheetP4.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.SheetP4.CreateCaptionEventHandler" event="OnCreateTitle" />
        <rule name="%Doc%.SheetP4.CreateCaptionEventHandler" event="OnCreateCaption" />
      </rules>
    </gridsheet>
    <generatedsheet name="SHT_F05_303_R4_Y2" templateSheetName="SHT_F05_303_R4_Y1" />
    <generatedsheet name="SHT_F05_303_R4_Y3" templateSheetName="SHT_F05_303_R4_Y1" />
    <rules>
      <rule name="%Doc%.CommonRules.GetExcelFileName" event="OnGetExportFileName" />
      <rule name="%Doc%.CommonRules.GetExcelTemplateFileName" event="OnGetTemplateFileName" />
      <rule name="%Doc%.UpdateRules.UpdateTemplate" event="OnUpdateTemplate" />
      <rule name="%Doc%.CommonRules.CheckChangeType" event="OnBeforeDocumentSave" />
      <rule name="%Doc%.CommonRules.KosguDocumentSaveEventHandler" event="OnDocumentSave" />
      <rule name="%Doc%.CommonRules.GetExportDirectory" event="OnGetDefaultExportDirectory" />
    </rules>
  </sheets>
  <editors>
    <editor id="F05_303_R4_Subject_Editor" caption="Cубъект Российской Федерации">
      <fieldssheet name="F05_303_R4_Subject_Editor_1" table="F05_303_Regions">
        <field name="SubjectName_ID" caption="Наименование" />
      </fieldssheet>
    </editor>
  </editors>
  <menu>
    <menu caption="Сервис">
      <menu caption="Выполнить пересчет данных">
        <rules>
          <rule name="%Doc%.InterfaceRules.RecalcDataMenuItemClickEventHandler" event="OnClick" />
        </rules>
      </menu>
    </menu>
    <menu caption="Разработчик">
      <menu caption="Выполнить сдвиг данных">
        <rules>
          <rule name="%Doc%.InterfaceRules.ShiftDataMenuItemClickEventHandler" event="OnClick" />
        </rules>
      </menu>
      <menu caption="Выполнить копирование данных">
        <rules>
          <rule name="%Doc%.InterfaceRules.CopyDataMenuItemClickEventHandler" event="OnClick" />
        </rules>
      </menu>
    </menu>
  </menu>
  <files />
</document>