<?xml version="1.0" encoding="utf-8"?>
<document caption="Формирование данных по требованиям Минфина России" version="1.0.10" javascriptDocumentClassName="F01302.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="JSBaseAnalyticsDocument" sourceFile="MainLogic\BaseAnalyticsDocument.js" />
    <import id="JSObasTableWithKeys" sourceFile="MainLogic\ObasTableWithKeys.js" />
    <import id="JSGroupSheet" sourceFile="MainLogic\GroupSheet.js" />
    <import id="JSUpdate" sourceFile="Templates\Logic\Current\F01_302\F01_302_UpdateRules.js" />
    <import id="JSInterface" sourceFile="Templates\Logic\Current\F01_302\F01_302_InterfaceRules.js" />
    <import id="JSTable" sourceFile="Templates\Logic\Current\F01_302\F01_302_TableRules.js" />
    <import id="JSExport" sourceFile="Templates\Logic\Current\F01_302\F01_302_ExportRules.js" />
    <import id="JSDocument" sourceFile="Templates\Logic\Current\F01_302\F01_302_Document.js" />
  </rules>
  <tables>
    <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="Indexation_Calced" sourceFile="MainData\Spr_Forms_STAGE1.xml" />
    <linkedtable id="AuthorityType" sourceFile="MainData\Spr_Forms_STAGE1.xml" />
    <linkedtable id="Spr_01_19" sourceFile="MainData\Spr_Spr_01.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="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_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="RRO_ExecutorRecvisits" sourceFile="MainData\RRO_STAGE1.xml" />
    <linkedtable id="SELECTED_FOIV" sourceFile="MainData\RRO_STAGE1.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="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="Code;Name" />
        <sourcefield name="CSR_ID" table="CSR" tableKeyField="Key" tableFields="Code;Name" />
        <sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="Code;Name" />
        <lookupfield name="FCR_NAME" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="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" />
        <field name="AnalyticsTable" datatype="string" size="50" />
        <field name="AnalyticsStartF" datatype="integer" caption="Начальный индекс обработки полей" />
        <field name="AnalyticsEndF" datatype="integer" caption="Конечный идекс обработки полей" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[0]]></el>
          <el><![CDATA[F01_302_r1_Values]]></el>
          <el><![CDATA[KOSGU_Data]]></el>
        </row>
      </data>
    </table>
    <table id="Payments" caption="Выплаты">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="Name" datatype="string" size="1000" caption="Наименование выплаты" isNull="false" isUnique="true" />
      </fields>
    </table>
    <!--общие структуры для раздела 2 и 3-->
    <table id="F01_302_Rx_Pr1_Sums_Rows" readonly="true">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="StrName" datatype="string" size="1000" caption="Наименование показателя" />
        <field name="StrCode" datatype="string" size="6" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[2]]></el>
          <el><![CDATA[Расчет на выплату денежного довольствия]]></el>
          <el><![CDATA[000001]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[3]]></el>
          <el><![CDATA[Изменение  расчета в связи с исполнением требований по исполнительным листам]]></el>
          <el><![CDATA[000002]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[4]]></el>
          <el><![CDATA[Корректировка с учетом сокращения (балансировки) предельных объемов]]></el>
          <el><![CDATA[000003]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[Всего]]></el>
          <el><![CDATA[900010]]></el>
        </row>
      </data>
    </table>
    <!--Раздел 1-->
    <table id="F01_302_r1_Rows" readonly="true">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="Name" datatype="string" size="1000" caption="Наименование" />
        <field name="StrCode" datatype="string" size="3" />
        <field name="BarsCode" datatype="string" size="2" caption="Код строки для выгрузки в БАРС" />
        <field name="IsTotal" datatype="integer" />
        <field name="AnalyticName" datatype="string" size="200" />
        <field name="AnalyticCode" datatype="string" size="10" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[15]]></el>
          <el><![CDATA[Фонд денежного довольствия, всего]]></el>
          <el><![CDATA[010]]></el>
          <el><![CDATA[-]]></el>
          <el><![CDATA[0]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[2]]></el>
          <el><![CDATA[  в том числе:
  в части военнослужащих]]></el>
          <el><![CDATA[011]]></el>
          <el><![CDATA[02]]></el>
          <el><![CDATA[0]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[3]]></el>
          <el><![CDATA[  в части сотрудников, имеющих специальные звания]]></el>
          <el><![CDATA[012]]></el>
          <el><![CDATA[03]]></el>
          <el><![CDATA[0]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[16]]></el>
          <el><![CDATA[Начисления на выплаты по оплате труда стажеров]]></el>
          <el><![CDATA[020]]></el>
          <el><![CDATA[16]]></el>
          <el><![CDATA[0]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[100]]></el>
          <el><![CDATA[Корректировака в связи с округлением]]></el>
          <el><![CDATA[100]]></el>
          <el><![CDATA[-]]></el>
          <el><![CDATA[0]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[Всего]]></el>
          <el><![CDATA[030]]></el>
          <el><![CDATA[01]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[На денежное довольствие, всего]]></el>
          <el><![CDATA[-]]></el>
        </row>
      </data>
    </table>
    <table id="F01_302_r1_Values">
      <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" precision="2">
          <rules>
            <rule name="%Doc%.P1TotalTable.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y2" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P1TotalTable.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y3" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P1TotalTable.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y4" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P1TotalTable.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
      </fields>
      <rules>
        <rule name="%Doc%.CommonRules.SaveTotalTable" event="OnSave" />
      </rules>
    </table>
    <!--Раздел 2-->
    <!--Раздел 2.1-->
    <table id="F01_302_R2_Sums_Values">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <sourcefield name="StrKey" syncKey="true" table="F01_302_Rx_Pr1_Sums_Rows" tableKeyField="Key" tableFields="Key" />
        <field name="Y1" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y2" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y3" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y4" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
      </fields>
    </table>
    <!--Раздел 2.2-->
    <table id="F01_302_R2_2_Rows" readonly="true">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="StrCode" datatype="string" size="4" caption="Код строки" />
        <field name="Name" datatype="string" size="1000" caption="Наименование для раздела 2.2" />
        <field name="Name_2" datatype="string" size="1000" caption="Наименование для раздела 2.3" />
        <field name="isDataRow" datatype="boolean" caption="Признак неагрегирующей строки" />
        <field name="BarsCode" datatype="string" size="2" caption="Код строки для выгрузки в БАРС" />
      </fields>
      <data>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[1]]></el>
          <el><![CDATA[100]]></el>
          <el><![CDATA[Военнослужащие по контракту]]></el>
          <el><![CDATA[Военнослужащие по контракту]]></el>
          <el><![CDATA[False]]></el>
          <el><![CDATA[01]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[2]]></el>
          <el><![CDATA[110]]></el>
          <el><![CDATA[  в том числе:
  Офицеры]]></el>
          <el><![CDATA[Офицеры]]></el>
          <el><![CDATA[False]]></el>
          <el><![CDATA[02]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[3]]></el>
          <el><![CDATA[111]]></el>
          <el><![CDATA[    в том числе:
    высшие офицеры]]></el>
          <el><![CDATA[Высшие офицеры]]></el>
          <el><![CDATA[True]]></el>
          <el><![CDATA[04]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[4]]></el>
          <el><![CDATA[112]]></el>
          <el><![CDATA[    старшие офицеры]]></el>
          <el><![CDATA[Старшие офицеры]]></el>
          <el><![CDATA[True]]></el>
          <el><![CDATA[05]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[5]]></el>
          <el><![CDATA[113]]></el>
          <el><![CDATA[    младшие офицеры]]></el>
          <el><![CDATA[Младшие офицеры]]></el>
          <el><![CDATA[True]]></el>
          <el><![CDATA[06]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[6]]></el>
          <el><![CDATA[120]]></el>
          <el><![CDATA[  Прапорщики]]></el>
          <el><![CDATA[Прапорщики]]></el>
          <el><![CDATA[True]]></el>
          <el><![CDATA[07]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[7]]></el>
          <el><![CDATA[130]]></el>
          <el><![CDATA[  Сержанты, старшины, солдаты, матросы по контракту]]></el>
          <el><![CDATA[Сержанты, старшины, солдаты, матросы по контракту]]></el>
          <el><![CDATA[True]]></el>
          <el><![CDATA[08]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[8]]></el>
          <el><![CDATA[140]]></el>
          <el><![CDATA[  Курсанты по контракту]]></el>
          <el><![CDATA[Курсанты по контракту]]></el>
          <el><![CDATA[True]]></el>
          <el><![CDATA[09]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[9]]></el>
          <el><![CDATA[150]]></el>
          <el><![CDATA[  Курсанты, не заключившие контракт]]></el>
          <el><![CDATA[Курсанты, не заключившие контракт]]></el>
          <el><![CDATA[True]]></el>
          <el><![CDATA[10]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[10]]></el>
          <el><![CDATA[200]]></el>
          <el><![CDATA[Военнослужащие по призыву]]></el>
          <el><![CDATA[Военнослужащие по призыву]]></el>
          <el><![CDATA[True]]></el>
          <el><![CDATA[11]]></el>
        </row>
        <row>
          <el><![CDATA[]]></el>
          <el><![CDATA[11]]></el>
          <el><![CDATA[9000000]]></el>
          <el><![CDATA[Всего]]></el>
          <el><![CDATA[Всего]]></el>
          <el><![CDATA[False]]></el>
          <el><![CDATA[12]]></el>
        </row>
      </data>
    </table>
    <table id="F01_302_r2_1_V2">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="Year" datatype="integer" uniqueLabel="1" caption="Отчетный год">
          <rules>
            <rule name="%Doc%.CommonRules.YearInitEventHandler" event="OnInit" />
          </rules>
        </field>
        <sourcefield name="StrKey" uniqueLabel="1" table="F01_302_R2_2_Rows" tableKeyField="Key" tableFields="Name" />
        <field name="EmplCount" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp2DataTable.FotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Salary" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp2DataTable.FotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="SalaryCount" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp2DataTable.FotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Fot" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp2DataTable.TotalFotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="AddFot" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp2DataTable.TotalFotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="TotalFot" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp2DataTable.TotalFotChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="IsCopied" datatype="boolean">
          <rules>
            <rule name="ObasHelper.GetFalse" event="OnInit" />
          </rules>
        </field>
      </fields>
      <rules>
        <rule name="%Doc%.P2Sp2DataTable.EditEventHandler" event="OnEdit" />
      </rules>
    </table>
    <!--Раздел 2.3-->
    <table id="F01_302_r2_2">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="Year" datatype="integer" uniqueLabel="1" caption="Отчетный год">
          <rules>
            <rule name="%Doc%.CommonRules.YearInitEventHandler" event="OnInit" />
          </rules>
        </field>
        <sourcefield name="StrKey" uniqueLabel="1" caption="Состав военнослужащих" table="F01_302_R2_2_Rows" tableKeyField="Key" tableFields="Name_2">
          <rules>
            <rule name="%Doc%.P2Sp3DataTable.StrKeyField.InitEventHandler" event="OnInit" />
          </rules>
        </sourcefield>
        <sourcefield name="Payments_ID" isNull="false" uniqueLabel="1" caption="Выплата" table="Payments" tableKeyField="Key" tableFields="Name" />
        <field name="g9" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.P2Sp3DataTable.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="IsCopied" datatype="boolean">
          <rules>
            <rule name="ObasHelper.GetFalse" event="OnInit" />
          </rules>
        </field>
        <field name="StrCode" datatype="string" size="7" />
        <field name="ActKind" datatype="string" size="250" />
        <field name="ActDate" datatype="datetime" />
        <field name="ActNum" datatype="string" size="50" />
        <field name="ActName" datatype="string" size="5000" />
      </fields>
      <rules>
        <rule name="%Doc%.P2Sp3DataTable.AfterDeleteChildsEventHandler" event="OnAfterDeleteChilds" />
        <rule name="%Doc%.P2Sp3DataTable.EditEventHandler" event="OnEdit" />
      </rules>
    </table>
    <!--Раздел 3-->
    <!--Раздел 3.1-->
    <table id="F01_302_R3_Sums_Values">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <sourcefield name="StrKey" syncKey="true" table="F01_302_Rx_Pr1_Sums_Rows" tableKeyField="Key" tableFields="Key" />
        <field name="Y1" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y2" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y3" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y4" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
      </fields>
    </table>
    <!--Раздел 3.2-->
    <table id="F01_302_R3_1_V2">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <field name="Year" datatype="integer" uniqueLabel="1" caption="Отчетный год">
          <rules>
            <rule name="%Doc%.CommonRules.YearInitEventHandler" event="OnInit" />
          </rules>
        </field>
        <sourcefield name="Post_ID" isNull="false" uniqueLabel="1" caption="Категория сотрудников" table="Spr_01_19" tableKeyField="Key" tableFields="Name">
          <rules>
            <rule name="%Doc%.P3Sp2DataTable.FotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </sourcefield>
        <lookupfield name="Post_Code" keys="Post_ID" lookupTable="Spr_01_19" lookupKeys="Key" lookupFields="Code" isNull="false" />
        <field name="EmplCount" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp2DataTable.FotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <lookupfield name="Salary" keys="Post_ID" lookupTable="Spr_01_19" lookupKeys="Key" lookupFields="MonthlySalary" />
        <field name="SalaryCount" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp2DataTable.FotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Fot" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp2DataTable.TotalFotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="AddFot" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp2DataTable.TotalFotPartsChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="TotalFot" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp2DataTable.TotalFotChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Indexation" datatype="float" precision="2" />
        <field name="IsCopied" datatype="boolean">
          <rules>
            <rule name="ObasHelper.GetFalse" event="OnInit" />
          </rules>
        </field>
        <field name="StrCode" datatype="string" size="7" />
      </fields>
      <rules>
        <rule name="%Doc%.P3Sp2DataTable.AfterDeleteChildsEventHandler" event="OnAfterDeleteChilds" />
        <rule name="%Doc%.P3Sp2DataTable.EditEventHandler" event="OnEdit" />
      </rules>
    </table>
    <!--Раздел 3.3-->
    <table id="F01_302_r3_2_V2">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <sourcefield name="OwnerKey" uniqueLabel="1" caption="Категория сотрудников" table="F01_302_R3_1_V2" tableKeyField="Key" tableFields="Key">
          <rules>
            <rule name="%Doc%.P3Sp3DataTable.OwnerKey.InitEventHandler" event="OnInit" />
          </rules>
        </sourcefield>
        <lookupfield name="Year" keys="OwnerKey" lookupTable="F01_302_R3_1_V2" lookupKeys="Key" lookupFields="Year" />
        <lookupfield name="Post_ID" keys="OwnerKey" lookupTable="F01_302_R3_1_V2" lookupKeys="Key" lookupFields="Post_ID" />
        <sourcefield name="Payments_ID" isNull="false" uniqueLabel="1" caption="Выплата" table="Payments" tableKeyField="Key" tableFields="Name" />
        <field name="g9" datatype="float" size="20" precision="2">
          <rules>
            <rule name="%Doc%.P3Sp3DataTable.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="IsCopied" datatype="boolean">
          <rules>
            <rule name="ObasHelper.GetFalse" event="OnInit" />
          </rules>
        </field>
        <field name="StrCode" datatype="string" size="8" />
        <field name="ActKind" datatype="string" size="250" />
        <field name="ActDate" datatype="datetime" />
        <field name="ActNum" datatype="string" size="50" />
        <field name="ActName" datatype="string" size="5000" />
      </fields>
      <rules>
        <rule name="%Doc%.P3Sp3DataTable.AfterDeleteChildsEventHandler" event="OnAfterDeleteChilds" />
        <rule name="%Doc%.P3Sp3DataTable.EditEventHandler" event="OnEdit" />
      </rules>
    </table>
    <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[3401802]]></el>
          <el><![CDATA[1]]></el>
        </row>
      </data>
    </table>
    <!--Раздел 4. расчета обасов на выплаты стажерам-->
    <table id="F01_302_Interns_Values">
      <fields>
        <field name="Id" datatype="guid" />
        <field name="Key" datatype="integer" />
        <sourcefield name="StrKey" syncKey="true" table="F01_302_Rx_Pr1_Sums_Rows" tableKeyField="Key" tableFields="Key" />
        <field name="Y1" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P4Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y2" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P4Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y3" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P4Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
        <field name="Y4" datatype="float" precision="2">
          <rules>
            <rule name="%Doc%.P4Sp1Table.SumChangeEventHandler" event="OnChange" />
          </rules>
        </field>
      </fields>
    </table>
  </tables>
  <sheets>
    <gridsheet title="Раздел 1" name="SHT_F01_302_R1" exportable="false" caption="1. Фонд денежного довольствия" isShowColumnNumbers="true">
      <view table="F01_302_r1_Rows" readonly="true">
        <col width="400" name="Name" caption="Наименование показателя" align="left" readonly="true" />
        <col width="75" caption="Код строки" readonly="true" name="StrCode" align="center" />
        <view caption="Сумма" table="F01_302_r1_Values" masterKeys="StrKey" detailKeys="Key" readonly="false">
          <template>
            <col width="100" 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%.P1Sheet.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.P1Sheet.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.P1Sheet.EditingCellEventHandler" event="OnEditingCell" />
      </rules>
    </gridsheet>
    <groupsheet name="R2_Group" caption="Раздел 2" />
    <gridsheet name="SHT_F01_302_2_Sums" groupSheet="R2_Group" isShowColumnNumbers="true" title="Раздел 2.1" caption="2. Расчет на выплату денежного довольствия военнослужащих&#xD;&#xA;2.1. Расчет на выплату денежного довольствия">
      <view table="F01_302_Rx_Pr1_Sums_Rows">
        <col width="200" name="StrName" caption="Наименование показателя" align="left" readonly="true" />
        <col width="50" name="StrCode" caption="Код строки" align="center" readonly="true" />
        <view table="F01_302_R2_Sums_Values" masterKeys="StrKey" detailKeys="F01_302_Rx_Pr1_Sums_Rows.Key" caption="Сумма">
          <template>
            <col width="100" 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%.P2Sp1Sheet.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.P2Sp1Sheet.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.P2Sp1Sheet.EditingCellEventHandler" event="OnEditingCell" />
        <rule name="%Doc%.P2Sp1Sheet.EditingCellEventHandler" event="OnEditCell" />
        <rule name="ObasHelper.GetFalse" event="OnCanAdd" />
        <rule name="ObasHelper.GetFalse" event="OnCanDelete" />
      </rules>
    </gridsheet>
    <groupsheet name="R2_1_YearGroup" groupSheet="R2_Group" caption="Раздел 2.2" />
    <gridsheet groupSheet="R2_1_YearGroup" title="Раздел 2.2.#Year" name="SHT_F01_302_2_1_Y1" exportable="false" caption="2. Расчет на выплату денежного довольствия военнослужащих&#xD;&#xA;2.2. Расчет численности состава и фонда денежного довольствия военнослужащих&#xD;&#xA;2.2.#Index Расчет численности состава и фонда денежного довольствия военнослужащих на #Year год" isShowColumnNumbers="true">
      <view table="F01_302_R2_2_Rows" readonly="true">
        <col width="300" name="Name" caption="Состав военнослужащих" align="left" readonly="true" />
        <col width="75" caption="Код строки" readonly="true" name="StrCode" align="center" />
        <view table="F01_302_r2_1_V2" masterKeys="StrKey" detailKeys="F01_302_R2_2_Rows.Key">
          <col width="150" name="EmplCount" caption="Численность, чел.&#xD;&#xA;(по состоянию на 1 января)" align="right" readonly="false" displayFormat=",0.00" />
          <col width="150" name="Salary" caption="Средний оклад по воинской должности,&#xD;&#xA;руб. в месяц" align="right" displayFormat=",0.00" readonly="false" />
          <col width="200" name="SalaryCount" caption="Количество окладов по воинской должности&#xD;&#xA;в год" align="right" displayFormat=",0.00" readonly="false" />
          <col width="200" name="Fot" caption="Основной фонд денежного довольствия,&#xD;&#xA;руб.&#xD;&#xA;(гр.3 * гр.4 * гр.5)" align="right" displayFormat=",0.00" readonly="true" />
          <col width="230" name="AddFot" caption="Дополнительные выплаты, включенные в фонд денежного довольствия,&#xD;&#xA;руб." align="right" readonly="true" displayFormat=",0.00" />
          <col width="150" name="TotalFot" caption="Фонд денежного довольствия,&#xD;&#xA;руб.&#xD;&#xA;(гр.6 + гр.7)" align="right" displayFormat=",0.00" readonly="true" />
          <rules>
            <rule name="%Doc%.CommonRules.ViewYearLoadEventHandler" event="OnLoad" />
          </rules>
        </view>
      </view>
      <rules>
        <rule name="%Doc%.P2Sp2GroupSheet.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.P2Sp2GroupSheet.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.P2Sp2GroupSheet.ActivateSheetEventHandler" event="OnActivateSheet" />
        <rule name="%Doc%.P2Sp2GroupSheet.CreateCaptionEventHandler" event="OnCreateTitle" />
        <rule name="%Doc%.P2Sp2GroupSheet.CreateCaptionEventHandler" event="OnCreateCaption" />
        <rule name="%Doc%.P2Sp2GroupSheet.ReadOnlyEventHandler" event="OnGetIsReadOnly" />
      </rules>
    </gridsheet>
    <generatedsheet name="SHT_F01_302_2_1_Y2" templateSheetName="SHT_F01_302_2_1_Y1" />
    <generatedsheet name="SHT_F01_302_2_1_Y3" templateSheetName="SHT_F01_302_2_1_Y1" />
    <groupsheet name="R2_2_YearGroup" groupSheet="R2_Group" caption="Раздел 2.3" />
    <gridsheet groupSheet="R2_2_YearGroup" title="Раздел 2.3.#Year" name="SHT_F01_302_2_2_Y1" exportable="false" caption="2.3. Расчет дополнительных выплат, включенных в фонд денежного довольствия&#xD;&#xA;2.3.#Index Расчет дополнительных выплат, включенных в фонд денежного довольствия на #Year год" isShowColumnNumbers="true">
      <view table="F01_302_R2_2_Rows" readonly="true">
        <col isMergeCells="true" width="300" name="Name_2" caption="Состав военнослужащих" align="left" readonly="true" />
        <view table="F01_302_r2_2" readonly="false" levelModifier="1" masterKeys="StrKey" detailKeys="F01_302_R2_2_Rows.Key">
          <col width="200" name="Payments_ID" caption="Наименование выплаты" align="left" readonly="true" />
          <col width="75" caption="Код строки" readonly="true" name="StrCode" align="center" />
          <view width="750" caption="Нормативный правовой (правовой) акт">
            <col width="250" caption="вид" name="ActKind" align="left" readonly="true" />
            <col width="75" caption="дата" name="ActDate" align="left" readonly="true" />
            <col width="75" caption="номер" name="ActNum" align="left" readonly="true" />
            <col width="350" caption="наименование" name="ActName" align="left" readonly="true" />
          </view>
          <col width="150" name="g9" caption="Сумма" align="right" displayFormat=",0.00" readonly="false" />
          <editors>
            <editor id="F01_302_r2_2_editor" canAdd="true" />
          </editors>
          <rules>
            <rule name="%Doc%.CommonRules.ViewYearLoadEventHandler" event="OnLoad" />
          </rules>
        </view>
        <view table="dual" canAdd="true" readonly="true">
          <editors>
            <editor id="F01_302_r2_2_editor" canAdd="true" />
          </editors>
        </view>
        <editors>
          <editor id="F01_302_r2_2_editor" canAdd="true" />
        </editors>
        <rules>
          <rule name="%Doc%.P2Sp2Sp3RowsTable.IsDataRow" event="OnLoad" />
        </rules>
      </view>
      <view table="dual" readonly="true" />
      <rules>
        <rule name="%Doc%.CommonRules.ActivateSheetEventHandler" event="OnActivateSheet" />
        <rule name="%Doc%.CommonRules.GetSheetYearText" event="OnCreateTitle" />
        <rule name="%Doc%.CommonRules.GetSheetYearText" event="OnCreateCaption" />
        <rule name="%Doc%.P2Sp3GroupSheet.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.P2Sp3GroupSheet.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.P2Sp3GroupSheet.EditEventHandler" event="OnCanEdit" />
        <rule name="%Doc%.CommonRules.CantAddPrevCurYearsEditingCellEventHandler" event="OnCanAdd" />
        <rule name="%Doc%.CommonRules.CantEditPrevCurYearsEditingCellEventHandler" event="OnEditingCell" />
      </rules>
    </gridsheet>
    <generatedsheet name="SHT_F01_302_2_2_Y2" templateSheetName="SHT_F01_302_2_2_Y1" />
    <generatedsheet name="SHT_F01_302_2_2_Y3" templateSheetName="SHT_F01_302_2_2_Y1" />
    <groupsheet name="R3_Group" caption="Раздел 3" />
    <gridsheet name="SHT_F01_302_3_Sums" groupSheet="R3_Group" isShowColumnNumbers="true" title="Раздел 3.1" caption="3. Расчет на выплату денежного довольствия сотрудников, имеющих специальные звания&#xD;&#xA;3.1. Расчет на выплату денежного довольствия">
      <view table="F01_302_Rx_Pr1_Sums_Rows">
        <col width="200" name="StrName" caption="Наименование показателя" align="left" readonly="true" />
        <col width="50" name="StrCode" caption="Код строки" align="center" readonly="true" />
        <view table="F01_302_R3_Sums_Values" masterKeys="StrKey" detailKeys="F01_302_Rx_Pr1_Sums_Rows.Key" caption="Сумма">
          <template>
            <col width="100" 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%.P3Sp1Sheet.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.P3Sp1Sheet.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.P3Sp1Sheet.EditingCellEventHandler" event="OnEditingCell" />
        <rule name="ObasHelper.GetFalse" event="OnCanAdd" />
        <rule name="ObasHelper.GetFalse" event="OnCanDelete" />
      </rules>
    </gridsheet>
    <groupsheet name="R3_1_YearGroup" groupSheet="R3_Group" caption="Раздел 3.2" />
    <gridsheet groupSheet="R3_1_YearGroup" title="Раздел 3.2.#Year" name="SHT_F01_302_3_1_Y1" exportable="false" caption="3. Расчет на выплату денежного довольствия сотрудников, имеющих специальные звания&#xD;&#xA;3.2. Расчет численности состава и фонда денежного довольствия сотрудников, имеющих специальные звания&#xD;&#xA;3.2.#Index Расчет численности состава и фонда денежного довольствия сотрудников, имеющих специальные звания на #Year год" isShowColumnNumbers="true">
      <view table="F01_302_R3_1_V2" levelModifier="1">
        <col width="300" name="Post_ID" caption="Категория сотрудников" align="left" readonly="true" />
        <col width="75" caption="Код строки" readonly="true" name="StrCode" align="center" />
        <col width="150" name="EmplCount" caption="Численность, чел.&#xD;&#xA;(по состоянию на 1 января)" align="right" displayFormat=",0.00" />
        <col width="150" name="Salary" caption="Оклад по должности,&#xD;&#xA;руб. в месяц" align="right" readonly="true" displayFormat=",0.00" />
        <col width="200" name="SalaryCount" caption="Количество окладов по должности&#xD;&#xA;в год" align="right" displayFormat=",0.00" />
        <col width="200" name="Fot" caption="Основной фонд денежного довольствия,&#xD;&#xA;руб.&#xD;&#xA;(гр.3 * гр.4 * гр.5)" align="right" displayFormat=",0.00" readonly="true" />
        <col width="230" name="AddFot" caption="Дополнительные выплаты, включенные в фонд денежного довольствия,&#xD;&#xA;руб." align="right" readonly="true" displayFormat=",0.00" />
        <col width="200" name="Indexation" caption="Индексация" align="right" readonly="true" displayFormat=",0.00" />
        <col width="150" name="TotalFot" caption="Фонд денежного довольствия,&#xD;&#xA;руб.&#xD;&#xA;(гр.6 + гр.7 + гр.8)" align="right" displayFormat=",0.00" readonly="true" />
        <editors>
          <editor id="F01_302_r3_1_editor" canAdd="true" />
        </editors>
        <rules>
          <rule name="%Doc%.CommonRules.ViewYearLoadEventHandler" event="OnLoad" />
        </rules>
      </view>
      <view table="dual" readonly="true">
        <editors>
          <editor id="F01_302_r3_1_editor" canAdd="true" />
        </editors>
      </view>
      <rules>
        <rule name="%Doc%.P3Sp2GroupSheet.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.P3Sp2GroupSheet.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.P3Sp2GroupSheet.ActivateSheetEventHandler" event="OnActivateSheet" />
        <rule name="%Doc%.P3Sp2GroupSheet.CreateCaptionEventHandler" event="OnCreateTitle" />
        <rule name="%Doc%.P3Sp2GroupSheet.CreateCaptionEventHandler" event="OnCreateCaption" />
        <rule name="%Doc%.P3Sp2GroupSheet.ReadOnlyEventHandler" event="OnGetIsReadOnly" />
        <rule name="%Doc%.P3Sp2GroupSheet.CanEditEventHandler" event="OnCanEdit" />
      </rules>
    </gridsheet>
    <generatedsheet name="SHT_F01_302_3_1_Y2" templateSheetName="SHT_F01_302_3_1_Y1" />
    <generatedsheet name="SHT_F01_302_3_1_Y3" templateSheetName="SHT_F01_302_3_1_Y1" />
    <groupsheet name="R3_2_YearGroup" groupSheet="R3_Group" caption="Раздел 3.3" />
    <gridsheet groupSheet="R3_2_YearGroup" title="Раздел 3.3.#Year" name="SHT_F01_302_3_2_Y1" exportable="false" caption="3. Расчет на выплату денежного довольствия сотрудников, имеющих специальные звания&#xD;&#xA;3.3. Дополнительные выплаты, включенные в фонд денежного довольствия&#xD;&#xA;3.3.#Index Дополнительные выплаты, включенные в фонд денежного довольствия на #Year год" isShowColumnNumbers="true">
      <view table="F01_302_R3_1_V2" canDelete="false" readonly="true">
        <col isMergeCells="true" width="300" name="Post_ID" caption="Категория сотрудников" align="left" readonly="true" />
        <view table="F01_302_r3_2_V2" readonly="false" levelModifier="1" masterKeys="OwnerKey" detailKeys="Key">
          <col width="200" name="Payments_ID" caption="Наименование выплаты" align="left" readonly="true" />
          <col width="75" caption="Код строки" readonly="true" align="center" name="StrCode" />
          <view width="750" caption="Нормативный правовой (правовой) акт">
            <col width="250" caption="вид" name="ActKind" align="left" readonly="true" />
            <col width="75" caption="дата" name="ActDate" align="left" readonly="true" />
            <col width="75" caption="номер" name="ActNum" align="left" readonly="true" />
            <col width="350" caption="наименование" name="ActName" align="left" readonly="true" />
          </view>
          <col width="150" name="g9" caption="Сумма" align="right" displayFormat=",0.00" />
          <editors>
            <editor id="F01_302_r3_2_editor" canAdd="true" />
          </editors>
        </view>
        <view table="dual" readonly="true" />
        <editors>
          <editor id="F01_302_r3_2_editor" canAdd="true" />
        </editors>
        <rules>
          <rule name="%Doc%.CommonRules.ViewYearLoadEventHandler" event="OnLoad" />
        </rules>
      </view>
      <view table="dual" readonly="true" />
      <rules>
        <rule name="%Doc%.CommonRules.ActivateSheetEventHandler" event="OnActivateSheet" />
        <rule name="%Doc%.CommonRules.GetSheetYearText" event="OnCreateTitle" />
        <rule name="%Doc%.CommonRules.GetSheetYearText" event="OnCreateCaption" />
        <rule name="%Doc%.P3Sp3GroupSheet.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.P3Sp3GroupSheet.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.P3Sp3GroupSheet.EditEventHandler" event="OnCanDelete" />
        <rule name="%Doc%.P3Sp3GroupSheet.EditEventHandler" event="OnCanEdit" />
        <rule name="%Doc%.CommonRules.CantAddPrevCurYearsEditingCellEventHandler" event="OnCanAdd" />
        <rule name="%Doc%.CommonRules.CantEditPrevCurYearsEditingCellEventHandler" event="OnEditingCell" />
      </rules>
    </gridsheet>
    <generatedsheet name="SHT_F01_302_3_2_Y2" templateSheetName="SHT_F01_302_3_2_Y1" />
    <generatedsheet name="SHT_F01_302_3_2_Y3" templateSheetName="SHT_F01_302_3_2_Y1" />
    <gridsheet name="SHT_F01_302_4_Interns" isShowColumnNumbers="true" title="Раздел 4" caption="4. Расчет на начисления на выплаты по оплате труда стажеров">
      <view table="F01_302_Rx_Pr1_Sums_Rows" readonly="true">
        <col width="200" name="StrName" caption="Наименование показателя" align="left" readonly="true" />
        <col width="50" name="StrCode" caption="Код строки" align="center" readonly="true" />
        <view table="F01_302_Interns_Values" masterKeys="StrKey" detailKeys="F01_302_Rx_Pr1_Sums_Rows.Key" readonly="false" caption="Сумма">
          <template>
            <col width="100" 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%.P4Sp1Sheet.FormatEventHandler" event="OnGetFormat" />
        <rule name="%Doc%.P4Sp1Sheet.CalcEventHandler" event="OnCalc" />
        <rule name="%Doc%.P4Sp1Sheet.EditingCellEventHandler" event="OnEditingCell" />
        <rule name="ObasHelper.GetFalse" event="OnCanAdd" />
        <rule name="ObasHelper.GetFalse" event="OnCanDelete" />
      </rules>
    </gridsheet>
    <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="F01_302_r2_2_editor" caption="Выплата" width="650" height="270">
      <fieldssheet name="F01_302_r2_2_editor_1" table="F01_302_r2_2">
        <field name="Payments_ID" caption="Наименование выплаты" isShowAddEditButton="true">
          <rules>
            <rule name="ObasHelper.GetTrue" event="OnGetIsRequired" />
          </rules>
        </field>
        <group caption=" Нормативный правовой (правовой) акт ">
          <field name="ActKind" width="350" caption="Вид" />
          <field name="ActDate" width="110" caption="Дата" />
          <field name="ActNum" caption="Номер" />
          <field name="ActName" caption="Наименование" />
        </group>
      </fieldssheet>
    </editor>
    <editor id="F01_302_r3_1_editor" caption="Категория сотрудников">
      <fieldssheet name="F01_302_r3_1_editor_1" table="F01_302_R3_1_V2">
        <group caption="Категория сотрудников">
          <field name="Post_Code" width="70" caption="Код" />
          <field name="Post_ID" caption="Наименование" />
        </group>
      </fieldssheet>
    </editor>
    <editor id="F01_302_r3_2_editor" caption="Выплата" width="650" height="270">
      <fieldssheet name="F01_302_r3_2_editor_1" table="F01_302_r3_2_V2">
        <field name="Payments_ID" caption="Наименование выплаты" isShowAddEditButton="true">
          <rules>
            <rule name="ObasHelper.GetTrue" event="OnGetIsRequired" />
          </rules>
        </field>
        <group caption=" Нормативный правовой (правовой) акт ">
          <field name="ActKind" width="350" caption="Вид" />
          <field name="ActDate" width="110" caption="Дата" />
          <field name="ActNum" caption="Номер" />
          <field name="ActName" caption="Наименование" />
        </group>
      </fieldssheet>
    </editor>
    <editor id="Payments" caption="Наименование выплаты">
      <fieldssheet name="Payments" table="Payments" />
    </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>
</document>