<?xml version="1.0" encoding="utf-8"?>
<document caption="Формирование данных по требованиям Минфина России" version="1.0.1" timeZoneBias="-180" javascriptDocumentClassName="Rro.FDocument" versionOld="1.0.1" isDocumentUpdated="true" guid="GD04EDF85B35E49F1A7F2724D0718780C">
	<interface>
		<images/>
	</interface>
	<rules>
		<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="JSObasHelper" sourceFile="MainLogic\ObasHelper.js"/>
		<import id="JSDocument" sourceFile="MainLogic\Rro_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="VR" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="Outlay_Status" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="MainAction" 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="NPAType" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="NPAStatuses" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="OBAS_SPR" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="MFDepartment" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="SecurityTypes" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="BudgetAuthority" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="OKV" sourceFile="MainData\Spr_Forms_STAGE1.xml"/>
		<linkedtable id="ChangeType" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="Spr_GRBS_GUID_PED" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="spr_ped_01" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="spr_ped_02" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="spr_ped_03" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="spr_ped_04" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="spr_ped_05" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="spr_ped_06" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="Spr_States" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="Spr_Supervisors" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="Spr_Status" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="Spr_PED_Type" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="KOSGU" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="LBO_ControlTypes" sourceFile="MainData\Spr_Ped.xml"/>
		<linkedtable id="OBAS_KBK_LINKS" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="VR_SO_LINKS" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="FileType" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="AddAnalysisIndicator" sourceFile="MainData\Spr_Main_User.xml"/>
		<linkedtable id="OutlayExchangeData" sourceFile="MainData\OutlayExchangeData.xml"/>
		<linkedtable id="OutlayAnalysisIndicatorExchangeData" sourceFile="MainData\OutlayExchangeData.xml"/>
		<linkedtable id="Boolean" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="ProcurementPlan_Status" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="Procurement_Types" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="Procurement_PlacementYear" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="Procurement_Periodicity" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="GroundsMakingChanges" sourceFile="MainData\Spr_Main.xml"/>
		<linkedtable id="OKPD" sourceFile="MainData\Spr_Forms_STAGE1.xml"/>
		<linkedtable id="RateDollarActual" sourceFile="MainData\Spr_Forms_STAGE1.xml"/>
		<linkedtable id="tRateDollarActual" sourceFile="MainData\Spr_Forms_STAGE1.xml"/>
		<table id="RRO_Outlays" caption="Версии смет" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="IsActive" datatype="boolean">
					<rules>
						<rule name="ObasTableCollection.RroOutlayTable.InitIsActiveEventHandler" event="OnInit"/>
					</rules>
				</field>
				<sourcefield name="Outlay_Status_ID" caption="Статус" table="Outlay_Status" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroOutlayTable.InitStatusEventHandler" event="OnInit"/>
						<rule name="ObasTableCollection.RroOutlayTable.StatusChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<field name="Name" caption="Тип документа" datatype="string" size="1000" isNull="false"/>
				<field name="CreateDate" caption="Дата создания" datatype="datetime">
					<rules>
						<rule name="ObasTableCollection.RroOutlayTable.InitCreateDateEventHandler" event="OnInit"/>
					</rules>
				</field>
				<field name="ApprovedDate" caption="Дата утверждения" datatype="datetime"/>
				<field name="SrcOutlayKey" caption="Смета - источник" datatype="integer"/>
				<sourcefield name="LastSumOutlayRecipientKey" caption="свод смет - приемник" table="RRO_SumOutlays" tableKeyField="Key" tableFields="Name"/>
				<field name="IsExpendSheduleLoaded" caption="флаг загрузки РР" datatype="boolean">
					<rules>
						<rule name="ObasHelper.GetFalse" event="OnInit"/>
					</rules>
				</field>
				<field name="AgreedDate" caption="Дата согласования" datatype="datetime"/>
				<field name="Number" caption="Номер документа" datatype="string" size="30" isNull="false"/>
				<sourcefield name="ChangeType_ID" caption="Вид изменения" table="ChangeType" tableKeyField="Key" tableFields="Name;Code" isNull="false"/>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroOutlayTable.AddEventHandler" event="OnAdd"/>
			</rules>
		</table>
		<table id="RRO_DATA" caption="Реестр расходных обязательств - (новые данные)" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Outlays_ID" table="RRO_Outlays" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroDataTable.RroOutlayKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="%Doc%.RroDataKbkChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="%Doc%.RroDataKbkChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="%Doc%.RroDataKbkChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false">
					<rules>
						<rule name="%Doc%.RroDataKbkChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="%Doc%.RroDataKbkChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<sourcefield name="VR_ID" table="VR" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="%Doc%.RroDataCostTypeChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<field name="ParentVR_Code" datatype="string" size="10"/>
				<field name="ParentDirCost_Code" datatype="string" size="10"/>
				<sourcefield name="FOIV_ID" table="FOIV" tableKeyField="Key" tableFields="Name;Code" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroDataTable.FoivInitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="PO_Code" caption="Вид правового основания - код" datatype="string" size="70"/>
				<field name="PO_Name" caption="наименование" datatype="string" size="300"/>
				<sourcefield name="SecurityTypes_ID" caption="Гриф секретности" table="SecurityTypes" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="RowCode" datatype="string" size="1000"/>
				<lookupfield name="SecurityTypes_Name" keys="SecurityTypes_ID" lookupTable="SecurityTypes" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SecurityTypes_Code" keys="SecurityTypes_ID" lookupTable="SecurityTypes" lookupKeys="Key" lookupFields="ShortName"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="SubProgram_FullCode" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FCR_Name" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="VR_Name" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SubProgram_Name" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Program_Name" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="DirectionCost_Name" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_FullCode" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Name" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Outlay_Status_ID" keys="RRO_Outlays_ID" lookupTable="RRO_Outlays" lookupKeys="Key" lookupFields="Outlay_Status_ID"/>
				<calcfield name="FCR_CodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroDataTable.CalcFcrSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_CodeSubSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroDataTable.CalcFcrSubSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="CSR_Code" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroDataTable.GetCSRCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_FullCodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroDataTable.CalcFcrFullSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FullKBKCode" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroDataTable.CalcFullKBKCode" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroDataTable.DeleteEventHandler" event="OnDelete"/>
				<rule name="ObasTableCollection.RroDataTable.AfterDeleteEventHandler" event="OnAfterDelete"/>
				<rule name="%Doc%.AddRroDataEventHandler" event="OnAdd"/>
			</rules>
		</table>
		<table id="RRO_Expend_Shedule" caption="Расходное расписание" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_DATA_ID" table="RRO_DATA" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroExpendSheduleTable.RroDataKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="LoadDate" datatype="datetime"/>
				<field name="DocDate" datatype="datetime"/>
				<field name="DocNumber" datatype="string" size="1000"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<lookupfield name="Program_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="RRO_Outlays_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="RRO_Outlays_ID"/>
				<lookupfield name="SrcOutlayKey" keys="RRO_Outlays_ID" lookupTable="RRO_Outlays" lookupKeys="Key" lookupFields="SrcOutlayKey"/>
			</fields>
		</table>
		<table id="RRO_Expend_Shedule_History" caption="Расходное расписание - журнал" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Expend_Shedule_ID" table="RRO_Expend_Shedule" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroExpendSheduleHistoryTable.RroSheduleKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="LoadDate" datatype="datetime"/>
				<field name="DocDate" datatype="datetime"/>
				<field name="DocNumber" datatype="string" size="1000"/>
				<field name="Prev_Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Prev_Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Prev_Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Prev_Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<lookupfield name="RRO_DATA_ID" keys="RRO_Expend_Shedule_ID" lookupTable="RRO_Expend_Shedule" lookupKeys="Key" lookupFields="RRO_DATA_ID"/>
				<lookupfield name="Program_ID" keys="RRO_Expend_Shedule_ID" lookupTable="RRO_Expend_Shedule" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_Expend_Shedule_ID" lookupTable="RRO_Expend_Shedule" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_Expend_Shedule_ID" lookupTable="RRO_Expend_Shedule" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_Expend_Shedule_ID" lookupTable="RRO_Expend_Shedule" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_Expend_Shedule_ID" lookupTable="RRO_Expend_Shedule" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_Expend_Shedule_ID" lookupTable="RRO_Expend_Shedule" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="RRO_Outlays_ID" keys="RRO_Expend_Shedule_ID" lookupTable="RRO_Expend_Shedule" lookupKeys="Key" lookupFields="RRO_Outlays_ID"/>
			</fields>
		</table>
		<table id="SELECTED_FOIV" canAdd="false" canDelete="false" canClear="false" freezeAllData="true" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="guid"/>
				<sourcefield name="BudgetAuthority_ID" table="BudgetAuthority" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="FOIV_ID" table="FOIV" tableKeyField="Key" tableFields="Code" isNull="false">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.RecipientNameChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<lookupfield name="FOIV_Code" caption="Код ГРБС" keys="FOIV_ID" lookupTable="FOIV" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FOIV_Name" caption="Наименование ГРБС" keys="FOIV_ID" lookupTable="FOIV" lookupKeys="Key" lookupFields="Name"/>
				<field name="Recipient_Name" caption="ПБС - наименование" datatype="string" size="1000">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.RecipientNameChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Recipient_Code" caption="ПБС - код ОКПО" datatype="string" size="50"/>
				<field name="Recipient_RegCode" caption="ПБС - код по перечню (реестру)" datatype="string" size="8" isStrictEqual="true"/>
				<field name="Manager_Name" caption="РБС - наименование" datatype="string" size="1000"/>
				<field name="Manager_RegCode" caption="РБС - код по перечню (реестру)" datatype="string" size="8">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.CheckManagerRegCode" event="OnCheck"/>
					</rules>
				</field>
				<field name="BudgetName" caption="Бюджет - наименование" datatype="string" size="100" isNull="false">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.InitBudgetNameEventHandler" event="OnInit"/>
						<rule name="ObasTableCollection.SelectedFoivTable.RecipientNameChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="FOIV_OktmoCode" caption="Бюджет - код ОКТМО" datatype="string" size="13" isNull="false">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.CheckOktmoCode" event="OnCheck"/>
					</rules>
				</field>
				<field name="FOIV_RegCode" caption="ГРБС - код по перечню (реестру)" datatype="string" size="8">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.CheckFOIVRegCode" event="OnCheck"/>
					</rules>
				</field>
				<field name="Manager_OktmoCode" caption="Бюджет - код ОКТМО" datatype="string" size="13">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.CheckOktmoCode" event="OnCheck"/>
					</rules>
				</field>
				<field name="Recipient_OktmoCode" caption="Бюджет - код ОКТМО" datatype="string" size="13">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.CheckOktmoCode" event="OnCheck"/>
					</rules>
				</field>
				<field name="cRecipient_Name" caption="Получатель средств федерального бюджета" datatype="string" size="1000">
					<rules>
						<rule name="ObasTableCollection.SelectedFoivTable.InitcRecipientNameEventHandler" event="OnInit"/>
					</rules>
				</field>
				<field name="LegalForm" caption="Организационно-правовая форма" datatype="string" size="700" isNull="false"/>
				<field name="OKOPF" caption="ОКОПФ" datatype="integer" isNull="false"/>
				<field name="OwnershipForm" caption="Форма собственности" datatype="string" size="700" isNull="false"/>
				<field name="OKFS" caption="ОКФС" datatype="integer" isNull="false"/>
				<field name="Address" caption="Местонахождение (адрес)" datatype="string" size="700" isNull="false"/>
				<field name="Telefon" caption="Номер телефона" datatype="string" size="50" isNull="false"/>
				<field name="Email" caption="Электронный адрес" datatype="string" size="200" isNull="false"/>
				<field name="INN" caption="ИНН" datatype="float" precision="2" isNull="false"/>
				<field name="KPP" caption="КПП" datatype="integer" isNull="false"/>
			</fields>
		</table>
		<table id="RRO_OBAS" caption="Обасы реестров" canAdd="false" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_DATA_ID" table="RRO_DATA" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroObasTable.RroDataKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="OBAS_SPR_ID" table="OBAS_SPR" tableKeyField="Key" tableFields="Code" isNull="false"/>
				<lookupfield name="OBAS_CODE" keys="OBAS_SPR_ID" lookupTable="OBAS_SPR" lookupKeys="Key" lookupFields="Code"/>
				<sourcefield name="OKV_ID" table="OKV" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroObasTable.InitOkvEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<lookupfield name="OKV_Code" keys="OKV_ID" lookupTable="OKV" lookupKeys="Key" lookupFields="CodeDigital"/>
				<field name="LAST_APPROVED_OBAS_VERSION_KEY" datatype="integer"/>
				<field name="LAST_OBAS_VERSION_NUM" datatype="integer"/>
				<lookupfield name="ParentVR_Code" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="ParentVR_Code"/>
				<lookupfield name="Program_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="RRO_Outlays_ID" keys="RRO_DATA_ID" lookupTable="RRO_DATA" lookupKeys="Key" lookupFields="RRO_Outlays_ID"/>
				<lookupfield name="isMultiRow" keys="OBAS_SPR_ID" lookupTable="OBAS_SPR" lookupKeys="Key" lookupFields="isMultiRow"/>
			</fields>
			<rules>
				<rule name="%Doc%.AddRroObasEventHandler" event="OnAdd"/>
			</rules>
		</table>
		<table id="RRO_OBAS_VERSIONS" caption="Версия ОБАС" canAdd="false" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_OBAS_ID" table="RRO_OBAS" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroObasVersionsTable.RroObasKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<lookupfield name="RRO_DATA_ID" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="RRO_DATA_ID"/>
				<field name="FileName" datatype="string" size="100"/>
				<field name="FileName_D" datatype="string" size="100"/>
				<field name="FileName_Source" datatype="string" size="100"/>
				<field name="VerNum" caption="Номер версии ОБАСа" datatype="integer"/>
				<field name="PREV_OBAS_VERSION_KEY" datatype="integer"/>
				<sourcefield name="PARENT_OBAS_VERSION_KEY" table="RRO_OBAS_VERSIONS" tableKeyField="Key" tableFields="Key"/>
				<field name="DateApprove" caption="Дата утверждения ОБАСа" datatype="datetime">
					<rules>
						<rule name="ObasTableCollection.RroObasVersionsTable.DateApproveChangeEventHandler" event="OnChange"/>
						<rule name="ObasTableCollection.RroObasVersionsTable.DateApproveCheckEventHandler" event="OnCheck"/>
					</rules>
				</field>
				<field name="AutoFillDeltaOBAS" caption="Автозаполнение дельта-ОБАСа" datatype="boolean">
					<rules>
						<rule name="ObasTableCollection.RroObasVersionsTable.AutoFillDeltaOBASInitEventHandler" event="OnInit"/>
					</rules>
				</field>
				<field name="isSynonymRow" datatype="boolean">
					<rules>
						<rule name="ObasHelper.GetFalse" event="OnInit"/>
					</rules>
				</field>
				<field name="KBK" datatype="string" size="50">
					<rules>
						<rule name="ObasTableCollection.RroObasVersionsTable.KbkCodeChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="KBK_OwnerVR" datatype="string" size="50"/>
				<sourcefield name="ChangeType_ID" table="ChangeType" tableKeyField="Key" tableFields="Name"/>
				<lookupfield name="ChangeType_Code" keys="ChangeType_ID" lookupTable="ChangeType" lookupKeys="Key" lookupFields="Code"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" datatype="float" precision="5"/>
				<field name="ExcelAttachFileName" datatype="string" size="100"/>
				<lookupfield name="isMultiRow" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="isMultiRow"/>
				<lookupfield name="RRO_Outlays_ID" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="RRO_Outlays_ID"/>
				<lookupfield name="Program_ID" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_OBAS_ID" lookupTable="RRO_OBAS" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="OutlayCreateDate" keys="RRO_Outlays_ID" lookupTable="RRO_Outlays" lookupKeys="Key" lookupFields="CreateDate"/>
				<field name="Y1_LBO" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2_LBO" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3_LBO" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4_LBO" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="FileName_Recovery" datatype="string" size="100"/>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroObasVersionsTable.AddEventHandler" event="OnAdd"/>
				<rule name="ObasTableCollection.RroObasVersionsTable.DeleteEventHandler" event="OnDelete"/>
				<rule name="ObasTableCollection.RroObasVersionsTable.AfterDeleteEventHandler" event="OnAfterDelete"/>
			</rules>
		</table>
		<table id="RRO_ExecutorRecvisits" caption="Справочник Группа подписывающих лиц - Исполнитель" freezeAllData="true" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="Post" caption="должность" datatype="string" size="1000" isNull="false"/>
				<field name="Name" caption="расшифровка подписи" datatype="string" size="1000" isNull="false"/>
				<field name="Phone" caption="телефон" datatype="string" size="1000" isNull="false"/>
			</fields>
		</table>
		<table id="RRO_FinanceChiefRecvisits" caption="Справочник Группа подписывающих лиц - Руководитель планово-финансовой службы" freezeAllData="true" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="Name" caption="расшифровка подписи" datatype="string" size="1000" isNull="false"/>
			</fields>
		</table>
		<table id="RRO_OfficeChiefRecvisits" caption="Справочник Группа подписывающих лиц - Руководитель учреждения " freezeAllData="true" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="Post" caption="должность" datatype="string" size="1000" isNull="false"/>
				<field name="Name" caption="расшифровка подписи" datatype="string" size="1000" isNull="false"/>
			</fields>
		</table>
		<table id="RRO_OutlayRecvisits" caption="Группа утверждающих или согласовывающих лиц" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="Post" caption="должность" datatype="string" size="1000" isNull="false"/>
				<field name="Name" caption="расшифровка подписи" datatype="string" size="1000" isNull="false"/>
			</fields>
		</table>
		<table id="RRO_OBAS_Recvisits" freezeAllData="true" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="string" size="500"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_OfficeChiefRecvisits_ID" caption="Руководитель учреждения (уполномоченное лицо)" table="RRO_OfficeChiefRecvisits" tableKeyField="Key" tableFields="Name"/>
				<lookupfield name="RRO_OfficeChiefRecvisits_Post" keys="RRO_OfficeChiefRecvisits_ID" lookupTable="RRO_OfficeChiefRecvisits" lookupKeys="Key" lookupFields="Post"/>
				<sourcefield name="RRO_FinanceChiefRecvisits_ID" caption="Руководитель планово-финансовой службы" table="RRO_FinanceChiefRecvisits" tableKeyField="Key" tableFields="Name"/>
				<sourcefield name="RRO_ExecutorRecvisits_ID" caption="Исполнитель" table="RRO_ExecutorRecvisits" tableKeyField="Key" tableFields="Name"/>
				<lookupfield name="RRO_ExecutorRecvisits_Post" keys="RRO_ExecutorRecvisits_ID" lookupTable="RRO_ExecutorRecvisits" lookupKeys="Key" lookupFields="Post"/>
				<lookupfield name="RRO_ExecutorRecvisits_Phone" keys="RRO_ExecutorRecvisits_ID" lookupTable="RRO_ExecutorRecvisits" lookupKeys="Key" lookupFields="Phone"/>
				<field name="OutlayAgreedRecvisits_Post" caption="должность" datatype="string" size="1000"/>
				<field name="OutlayAgreedRecvisits_Name" caption="расшифровка подписи" datatype="string" size="1000"/>
				<field name="OutlayApprovedRecvisits_Post" caption="должность" datatype="string" size="1000"/>
				<field name="OutlayApprovedRecvisits_Name" caption="расшифровка подписи" datatype="string" size="1000"/>
			</fields>
		</table>
		<table id="RRO_OBAS_Numbers" freezeAllData="true" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="CopyNumber" datatype="integer"/>
				<field name="StrNumber" datatype="string" size="500"/>
			</fields>
		</table>
		<table id="RRO_OBAS_SC" freezeAllData="true" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="SecurityTypes_ID" caption="Гриф секретности" table="SecurityTypes" tableKeyField="Key" tableFields="Name"/>
				<lookupfield name="SecurityTypes_Name" keys="SecurityTypes_ID" lookupTable="SecurityTypes" lookupKeys="Key" lookupFields="Name"/>
				<field name="SecBase" datatype="string" size="500"/>
			</fields>
		</table>
		<table id="BuildParams" caption="Параметры сборки" freezeAllData="true" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="ExportFolder" datatype="string" size="100">
					<rules>
						<rule name="ObasTableCollection.BuildParamsTable.ExportDirectoryInitEventHandler" event="OnInit"/>
						<rule name="ObasTableCollection.BuildParamsTable.ExportDirectoryChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="CanPrepareVersions" datatype="boolean">
					<rules>
						<rule name="ObasTableCollection.BuildParamsTable.CanPrepareVersionsInitEventHandler" event="OnInit"/>
					</rules>
				</field>
				<field name="CanImportDataSBR" datatype="boolean">
					<rules>
						<rule name="ObasHelper.GetTrue" event="OnInit"/>
					</rules>
				</field>
				<field name="CanSyncRroDataChanges" datatype="boolean">
					<rules>
						<rule name="ObasHelper.GetTrue" event="OnInit"/>
					</rules>
				</field>
			</fields>
			<data>
				<row>
					<el><![CDATA[{FC77A2D0950B4CF0A4BFA64D440CE81E}]]></el>
					<el><![CDATA[1]]></el>
					<el><![CDATA[Печатные формы]]></el>
					<el><![CDATA[True]]></el>
					<el><![CDATA[True]]></el>
					<el><![CDATA[True]]></el>
				</row>
			</data>
		</table>
		<table id="KU_DataTypes" readonly="true" canClear="false" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="Name" datatype="string" size="100"/>
				<field name="ShortName" datatype="string" size="10"/>
			</fields>
			<data>
				<row>
					<el><![CDATA[{B7324F0D15C54A13ACBF639451853B28}]]></el>
					<el><![CDATA[1]]></el>
					<el><![CDATA[Бюджетные ассигнования]]></el>
					<el><![CDATA[БА]]></el>
				</row>
				<row>
					<el><![CDATA[{107D63C524D848199D9EFD3C734F14B0}]]></el>
					<el><![CDATA[2]]></el>
					<el><![CDATA[Лимиты бюджетных обязательств]]></el>
					<el><![CDATA[ЛБО]]></el>
				</row>
			</data>
		</table>
		<table id="RRO_KU_Data" caption="Данные казначейских уведомлений" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Key" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" table="VR" tableKeyField="Key" tableFields="Key" isNull="false"/>
				<sourcefield name="KOSGU_ID" table="KOSGU" tableKeyField="Key" tableFields="Name"/>
				<field name="SUM_Y1" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
				<field name="SUM_Y2" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
				<field name="SUM_Y3" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
				<field name="SUM_Y4" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
				<field name="Y1AddBlocked" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
				<field name="Y2AddBlocked" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
				<field name="Y3AddBlocked" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
				<field name="Y4AddBlocked" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
				<sourcefield name="KU_DataTypes_ID" table="KU_DataTypes" tableKeyField="Key" tableFields="ShortName"/>
				<field name="FullKBK_KOSGU" datatype="string" size="20">
					<rules>
						<rule name="ObasTableCollection.RroKUDataTable.KbkWithKosguCodeChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="KOSGU_Code" keys="KOSGU_ID" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
			</fields>
			<data/>
		</table>
		<table id="RRO_OBAS_KOSGU" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_OBAS_VERSIONS_ID" table="RRO_OBAS_VERSIONS" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroObasKosguTable.RroVersionKeyChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<sourcefield name="KOSGU_Id" table="KOSGU" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="KOSGU_Code" keys="KOSGU_Id" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="%Doc%.RroKosguYearValueChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2">
					<rules>
						<rule name="%Doc%.RroKosguYearValueChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2">
					<rules>
						<rule name="%Doc%.RroKosguYearValueChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2">
					<rules>
						<rule name="%Doc%.RroKosguYearValueChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y1_D" caption="Текущий год (дельта)" datatype="float" precision="2">
					<rules>
						<rule name="%Doc%.RroKosguYearValueChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y2_D" caption="Очередной год (дельта)" datatype="float" precision="2">
					<rules>
						<rule name="%Doc%.RroKosguYearValueChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="2">
					<rules>
						<rule name="%Doc%.RroKosguYearValueChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="2">
					<rules>
						<rule name="%Doc%.RroKosguYearValueChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<sourcefield name="RRO_KU_Data_ID" table="RRO_KU_Data" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="SUM_Y2" keys="RRO_KU_Data_ID" lookupTable="RRO_KU_Data" lookupKeys="Key" lookupFields="SUM_Y2"/>
				<lookupfield name="SUM_Y3" keys="RRO_KU_Data_ID" lookupTable="RRO_KU_Data" lookupKeys="Key" lookupFields="SUM_Y3"/>
				<lookupfield name="SUM_Y4" keys="RRO_KU_Data_ID" lookupTable="RRO_KU_Data" lookupKeys="Key" lookupFields="SUM_Y4"/>
				<calcfield name="Y2_D_real" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroObasKosguTable.CalcY2Delta" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="Y3_D_real" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroObasKosguTable.CalcY3Delta" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="Y4_D_real" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroObasKosguTable.CalcY4Delta" event="OnCalc"/>
					</rules>
				</calcfield>
				<lookupfield name="isMultiRow" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="isMultiRow"/>
			</fields>
		</table>
		<table id="RRO_Outlay_KOSGU" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_OBAS_VERSIONS_ID" uniqueLabel="1" table="RRO_OBAS_VERSIONS" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroOutlayKosguTable.RroObasVersion.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="KOSGU_Id" uniqueLabel="1" table="KOSGU" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<lookupfield name="KOSGU_Code" uniqueLabel="1" keys="KOSGU_Id" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
				<sourcefield name="PARENT_Outlay_KOSGU_KEY" table="RRO_OBAS_VERSIONS" tableKeyField="Key" tableFields="Key"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год (дельта)" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год (дельта)" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" caption="Текущий год (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" caption="Очередной год (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="5"/>
				<lookupfield name="RRO_Outlays_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="RRO_Outlays_ID"/>
				<lookupfield name="Program_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="MainAction_ID"/>
			</fields>
		</table>
		<table id="RRO_OBAS_AddAnalysisIndicator" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Outlay_KOSGU_ID" uniqueLabel="1" table="RRO_Outlay_KOSGU" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroObasAddAnalysisIndicatorTable.RroOutlayKosguKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="AddAnalysisIndicator_ID" uniqueLabel="1" table="AddAnalysisIndicator" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<lookupfield name="AddAnalysisIndicator_Code" keys="AddAnalysisIndicator_ID" lookupTable="AddAnalysisIndicator" lookupKeys="Key" lookupFields="Code"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год (дельта)" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год (дельта)" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" caption="Текущий год (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" caption="Очередной год (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="5"/>
				<lookupfield name="RRO_Outlays_ID" keys="RRO_Outlay_KOSGU_ID" lookupTable="RRO_Outlay_KOSGU" lookupKeys="Key" lookupFields="RRO_Outlays_ID"/>
				<lookupfield name="Program_ID" keys="RRO_Outlay_KOSGU_ID" lookupTable="RRO_Outlay_KOSGU" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_Outlay_KOSGU_ID" lookupTable="RRO_Outlay_KOSGU" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_Outlay_KOSGU_ID" lookupTable="RRO_Outlay_KOSGU" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_Outlay_KOSGU_ID" lookupTable="RRO_Outlay_KOSGU" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_Outlay_KOSGU_ID" lookupTable="RRO_Outlay_KOSGU" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_Outlay_KOSGU_ID" lookupTable="RRO_Outlay_KOSGU" lookupKeys="Key" lookupFields="MainAction_ID"/>
			</fields>
		</table>
		<table id="RRO_LBO" caption="Предельные объемы финансирования" canAdd="false" canDelete="false" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Code"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Code"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Code"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Code"/>
				<sourcefield name="VR_ID" table="VR" tableKeyField="Key" tableFields="Code"/>
				<sourcefield name="KOSGU_Id" table="KOSGU" tableKeyField="Key" tableFields="Code"/>
				<field name="Y1Formed" datatype="float" precision="2"/>
				<field name="Y1Blocked" datatype="float" precision="2"/>
				<field name="Y2Formed" datatype="float" precision="2"/>
				<field name="Y2Blocked" datatype="float" precision="2"/>
				<field name="Y3Formed" datatype="float" precision="2"/>
				<field name="Y3Blocked" datatype="float" precision="2"/>
				<field name="Y4Formed" datatype="float" precision="2"/>
				<field name="Y4Blocked" datatype="float" precision="2"/>
				<lookupfield name="FCR_CODE" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_CODE" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="DirectionCost_CODE" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_CODE" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="KOSGU_Code" keys="KOSGU_Id" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
			</fields>
			<data/>
		</table>
		<table id="RRO_KU_DataHistory" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_KU_Data_Key" table="RRO_KU_Data" tableKeyField="Key" tableFields="Key"/>
				<field name="Delta_Y1" datatype="float" precision="2"/>
				<field name="Delta_Y2" datatype="float" precision="2"/>
				<field name="Delta_Y3" datatype="float" precision="2"/>
				<field name="Delta_Y4" datatype="float" precision="2"/>
				<field name="DateForm" datatype="datetime"/>
				<field name="DateLoad" datatype="datetime"/>
				<field name="KU_Num" datatype="string" size="20"/>
			</fields>
			<data/>
		</table>
		<table id="RRO_KU_LoadedFiles" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="GUID_FK" datatype="string" size="50"/>
			</fields>
		</table>
		<table id="RRO_PED_Count" caption="Количество созданных ПЭД каждого типа" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="Spr_PED_Type_ID" table="Spr_PED_Type" tableKeyField="Key" tableFields="Key"/>
				<field name="DocsCount" datatype="integer">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
					</rules>
				</field>
			</fields>
		</table>
		<table id="RRO_LBO_Controls" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Key" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" table="VR" tableKeyField="Key" tableFields="Key" isNull="false"/>
				<sourcefield name="KOSGU_ID" table="KOSGU" tableKeyField="Key" tableFields="Name"/>
				<field name="ControlValue_Y1" datatype="float" precision="2"/>
				<field name="ControlValue_Y2" datatype="float" precision="2"/>
				<field name="ControlValue_Y3" datatype="float" precision="2"/>
				<field name="ControlValue_Y4" datatype="float" precision="2"/>
				<sourcefield name="ControlType" table="LBO_ControlTypes" tableKeyField="Key" tableFields="Name"/>
				<field name="FullKBK_KOSGU" datatype="string" size="20"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FullSubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="KOSGU_Code" keys="KOSGU_ID" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
			</fields>
			<data/>
		</table>
		<table id="RRO_NPA" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_DATA_ID" uniqueLabel="1" table="RRO_DATA" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroNpaTable.RroDataKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="PRFCode" caption="номер" uniqueLabel="1" datatype="string" size="100"/>
				<field name="PRFName" caption="наименование" datatype="string" size="1000"/>
				<sourcefield name="N1Type_ID" caption="вид" uniqueLabel="1" table="NPAType" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<lookupfield name="N1Type_Name" keys="N1Type_ID" lookupTable="NPAType" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="N1Type_Code" keys="N1Type_ID" lookupTable="NPAType" lookupKeys="Key" lookupFields="Code"/>
				<field name="N1Date" caption="дата" uniqueLabel="1" datatype="datetime" isNull="false"/>
				<field name="N1Num" caption="номер" uniqueLabel="1" datatype="string" size="100" isNull="false"/>
				<field name="N1Name" caption="наименование" uniqueLabel="1" datatype="string" size="1000" isNull="false"/>
				<field name="N1Section" caption="раздел/глава" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N1Article" caption="статья" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N1Item" caption="пункт" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N1SubItem" caption="подпункт" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N1Paragraph" caption="абзац" uniqueLabel="1" datatype="string" size="100"/>
				<sourcefield name="N2Type_ID" caption="вид" uniqueLabel="1" table="NPAType" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<lookupfield name="N2Type_Name" keys="N2Type_ID" lookupTable="NPAType" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="N2Type_Code" keys="N2Type_ID" lookupTable="NPAType" lookupKeys="Key" lookupFields="Code"/>
				<field name="N2Date" caption="дата" uniqueLabel="1" datatype="datetime" isNull="false"/>
				<field name="N2Num" caption="номер" uniqueLabel="1" datatype="string" size="100" isNull="false"/>
				<field name="N2Name" caption="наименование" uniqueLabel="1" datatype="string" size="1000" isNull="false"/>
				<field name="N2Section" caption="раздел/глава" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N2Article" caption="статья" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N2Item" caption="пункт" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N2SubItem" caption="подпункт" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N2Paragraph" caption="абзац" uniqueLabel="1" datatype="string" size="100"/>
				<field name="N2DateFinish" caption="дата окончания" datatype="datetime"/>
			</fields>
		</table>
		<table id="RRO_SumOutlays" caption="Версии свода смет" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="IsActive" datatype="boolean">
					<rules>
						<rule name="ObasTableCollection.RroSumOutlayTable.InitIsActiveEventHandler" event="OnInit"/>
					</rules>
				</field>
				<sourcefield name="Outlay_Status_ID" caption="Статус" table="Outlay_Status" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroSumOutlayTable.InitStatusEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="Name" caption="Наименование версии" datatype="string" size="1000" isNull="false"/>
				<field name="CreateDate" caption="Дата создания" datatype="datetime">
					<rules>
						<rule name="ObasTableCollection.RroSumOutlayTable.InitCreateDateEventHandler" event="OnInit"/>
					</rules>
				</field>
				<field name="ApprovedDate" caption="Дата утверждения" datatype="datetime"/>
				<field name="SrcOutlayKey" caption="Смета - источник" datatype="integer"/>
				<field name="Number" caption="Номер документа" datatype="string" size="30" isNull="false"/>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroSumOutlayTable.AddEventHandler" event="OnAdd"/>
			</rules>
		</table>
		<table id="RRO_SumDATA" caption="Реестр расходных обязательств - (новые данные)" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_SumOutlays_ID" table="RRO_SumOutlays" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroSumDataTable.RroOutlayKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" table="VR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="ParentVR_Code" datatype="string" size="10"/>
				<field name="ParentDirCost_Code" datatype="string" size="10"/>
				<sourcefield name="FOIV_ID" table="FOIV" tableKeyField="Key" tableFields="Name;Code" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroSumDataTable.FoivInitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="PO_Code" caption="Вид правового основания - код" datatype="string" size="70"/>
				<field name="PO_Name" caption="наименование" datatype="string" size="300"/>
				<sourcefield name="SecurityTypes_ID" caption="Гриф секретности" table="SecurityTypes" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<lookupfield name="SecurityTypes_Name" keys="SecurityTypes_ID" lookupTable="SecurityTypes" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SecurityTypes_Code" keys="SecurityTypes_ID" lookupTable="SecurityTypes" lookupKeys="Key" lookupFields="ShortName"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="SubProgram_FullCode" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FCR_Name" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="VR_Name" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SubProgram_Name" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Program_Name" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="DirectionCost_Name" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_FullCode" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Name" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SrcOutlayKey" keys="RRO_SumOutlays_ID" lookupTable="RRO_SumOutlays" lookupKeys="Key" lookupFields="SrcOutlayKey"/>
				<calcfield name="FCR_CodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroSumDataTable.CalcFcrSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_CodeSubSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroSumDataTable.CalcFcrSubSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="CSR_Code" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroSumDataTable.GetCSRCode" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
		</table>
		<table id="RRO_SumOBAS" caption="Обасы реестров" canAdd="false" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_SumDATA_ID" table="RRO_SumDATA" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroSumObasTable.RroDataKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="OBAS_SPR_ID" table="OBAS_SPR" tableKeyField="Key" tableFields="Code" isNull="false"/>
				<lookupfield name="OBAS_CODE" keys="OBAS_SPR_ID" lookupTable="OBAS_SPR" lookupKeys="Key" lookupFields="Code"/>
				<sourcefield name="OKV_ID" table="OKV" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroSumObasTable.InitOkvEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<lookupfield name="OKV_Code" keys="OKV_ID" lookupTable="OKV" lookupKeys="Key" lookupFields="CodeDigital"/>
				<field name="LAST_APPROVED_OBAS_VERSION_KEY" datatype="integer"/>
				<field name="LAST_OBAS_VERSION_NUM" datatype="integer"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" datatype="float" precision="5"/>
				<lookupfield name="ParentVR_Code" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="ParentVR_Code"/>
				<lookupfield name="Program_ID" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="RRO_SumOutlays_ID" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="RRO_SumOutlays_ID"/>
				<lookupfield name="SrcOutlayKey" keys="RRO_SumDATA_ID" lookupTable="RRO_SumDATA" lookupKeys="Key" lookupFields="SrcOutlayKey"/>
				<lookupfield name="isMultiRow" keys="OBAS_SPR_ID" lookupTable="OBAS_SPR" lookupKeys="Key" lookupFields="isMultiRow"/>
			</fields>
		</table>
		<table id="RRO_SumOBAS_VERSIONS" caption="Версия ОБАС" canAdd="false" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="Sender_Code" caption="Код отправителя" datatype="string" size="1000"/>
				<sourcefield name="RRO_SumOBAS_ID" table="RRO_SumOBAS" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroSumObasVersionsTable.RroObasKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<lookupfield name="RRO_SumDATA_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="RRO_SumDATA_ID"/>
				<field name="FileName" datatype="string" size="100"/>
				<field name="FileName_D" datatype="string" size="100"/>
				<field name="FileName_Source" datatype="string" size="100"/>
				<field name="VerNum" caption="Номер версии ОБАСа" datatype="integer"/>
				<field name="PREV_OBAS_VERSION_KEY" datatype="integer"/>
				<sourcefield name="PARENT_OBAS_VERSION_KEY" table="RRO_SumOBAS_VERSIONS" tableKeyField="Key" tableFields="Key"/>
				<field name="DateApprove" caption="Дата утверждения ОБАСа" datatype="datetime"/>
				<field name="AutoFillDeltaOBAS" caption="Автозаполнение дельта-ОБАСа" datatype="boolean">
					<rules>
						<rule name="ObasTableCollection.RroSumObasVersionsTable.AutoFillDeltaOBASInitEventHandler" event="OnInit"/>
					</rules>
				</field>
				<field name="isSynonymRow" datatype="boolean">
					<rules>
						<rule name="ObasHelper.GetFalse" event="OnInit"/>
					</rules>
				</field>
				<field name="KBK" datatype="string" size="50"/>
				<field name="KBK_OwnerVR" datatype="string" size="50"/>
				<sourcefield name="ChangeType_ID" table="ChangeType" tableKeyField="Key" tableFields="Name"/>
				<lookupfield name="ChangeType_Code" keys="ChangeType_ID" lookupTable="ChangeType" lookupKeys="Key" lookupFields="Code"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" datatype="float" precision="5"/>
				<lookupfield name="isMultiRow" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="isMultiRow"/>
				<lookupfield name="OBAS_SPR_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="OBAS_SPR_ID"/>
				<lookupfield name="RRO_SumOutlays_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="RRO_SumOutlays_ID"/>
				<lookupfield name="Program_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="SrcOutlayKey" keys="RRO_SumOBAS_ID" lookupTable="RRO_SumOBAS" lookupKeys="Key" lookupFields="SrcOutlayKey"/>
			</fields>
		</table>
		<table id="RRO_SumOutlay_KOSGU" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_SumOBAS_VERSIONS_ID" uniqueLabel="1" table="RRO_SumOBAS_VERSIONS" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroOutlayKosguTable.RroObasVersion.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="KOSGU_Id" uniqueLabel="1" table="KOSGU" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="KOSGU_Code" uniqueLabel="1" keys="KOSGU_Id" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
				<sourcefield name="PARENT_Outlay_KOSGU_KEY" table="RRO_OBAS_VERSIONS" tableKeyField="Key" tableFields="Key"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год (дельта)" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год (дельта)" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" caption="Текущий год (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" caption="Очередной год (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="5"/>
				<lookupfield name="OBAS_SPR_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="OBAS_SPR_ID"/>
				<lookupfield name="RRO_SumOutlays_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="RRO_SumOutlays_ID"/>
				<lookupfield name="Program_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="SrcOutlayKey" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="SrcOutlayKey"/>
			</fields>
		</table>
		<table id="RRO_SumOBAS_AddAnalysisIndicator" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_SumOutlay_KOSGU_ID" table="RRO_SumOutlay_KOSGU" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroSumObasAddAnalysisIndicatorTable.RroOutlayKosguKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="AddAnalysisIndicator_ID" table="AddAnalysisIndicator" tableKeyField="Key" tableFields="Name"/>
				<lookupfield name="AddAnalysisIndicator_Code" keys="AddAnalysisIndicator_ID" lookupTable="AddAnalysisIndicator" lookupKeys="Key" lookupFields="FullCode"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год (дельта)" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год (дельта)" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" caption="Текущий год (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" caption="Очередной год (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="5"/>
				<lookupfield name="KOSGU_Id" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="KOSGU_Id"/>
				<lookupfield name="OBAS_SPR_ID" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="OBAS_SPR_ID"/>
				<lookupfield name="RRO_SumOutlays_ID" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="RRO_SumOutlays_ID"/>
				<lookupfield name="Program_ID" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="SrcOutlayKey" keys="RRO_SumOutlay_KOSGU_ID" lookupTable="RRO_SumOutlay_KOSGU" lookupKeys="Key" lookupFields="SrcOutlayKey"/>
			</fields>
		</table>
		<table id="RRO_PartIndicateBudgetStrCode" readonly="true" caption="Коды разделов показателей бюджентой сметы" canClear="false" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="Code" datatype="integer"/>
				<field name="Name" datatype="string" size="500"/>
			</fields>
			<data>
				<row>
					<el><![CDATA[BCE27A39D5AC40CC8930A1CB61520F3B]]></el>
					<el><![CDATA[1]]></el>
					<el><![CDATA[1]]></el>
					<el><![CDATA[Раздел 1]]></el>
				</row>
				<row>
					<el><![CDATA[66DEBE2D4D2440F89CF7522C580DF49B]]></el>
					<el><![CDATA[2]]></el>
					<el><![CDATA[3]]></el>
					<el><![CDATA[Раздел 3]]></el>
				</row>
			</data>
		</table>
		<table id="RRO_PartIndicateBudgetValues" caption="Значения разделов показателей бюджентой сметы" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_OBAS_VERSIONS_ID" table="RRO_OBAS_VERSIONS" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="RRO_PartIndicateBudgetStrCode_ID" table="RRO_PartIndicateBudgetStrCode" tableKeyField="Key" tableFields="Name"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" datatype="float" precision="5"/>
				<lookupfield name="RRO_Outlays_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="RRO_Outlays_ID"/>
				<lookupfield name="Program_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="RRO_DATA_ID" keys="RRO_OBAS_VERSIONS_ID" lookupTable="RRO_OBAS_VERSIONS" lookupKeys="Key" lookupFields="RRO_DATA_ID"/>
				<sourcefield name="KOSGU_Id" uniqueLabel="1" table="KOSGU" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="KOSGU_Code" uniqueLabel="1" keys="KOSGU_Id" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
			</fields>
		</table>
		<table id="RRO_SumPartIndicateBudgetValues" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_SumOBAS_VERSIONS_ID" table="RRO_SumOBAS_VERSIONS" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="RRO_PartIndicateBudgetStrCode_ID" table="RRO_PartIndicateBudgetStrCode" tableKeyField="Key" tableFields="Name"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Usd_Y2" caption="Очередной год" datatype="float" precision="5"/>
				<field name="Usd_Y3" caption="Первый год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y4" caption="Второй год планового периода" datatype="float" precision="5"/>
				<field name="Usd_Y1_D" datatype="float" precision="5"/>
				<field name="Usd_Y2_D" datatype="float" precision="5"/>
				<field name="Usd_Y3_D" datatype="float" precision="5"/>
				<field name="Usd_Y4_D" datatype="float" precision="5"/>
				<lookupfield name="RRO_SumOutlays_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="RRO_SumOutlays_ID"/>
				<lookupfield name="Program_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="Program_ID"/>
				<lookupfield name="FCR_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="FCR_ID"/>
				<lookupfield name="SubProgram_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="SubProgram_ID"/>
				<lookupfield name="DirectionCost_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="DirectionCost_ID"/>
				<lookupfield name="VR_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="VR_ID"/>
				<lookupfield name="MainAction_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="MainAction_ID"/>
				<lookupfield name="RRO_SumDATA_ID" keys="RRO_SumOBAS_VERSIONS_ID" lookupTable="RRO_SumOBAS_VERSIONS" lookupKeys="Key" lookupFields="RRO_SumDATA_ID"/>
				<sourcefield name="KOSGU_Id" uniqueLabel="1" table="KOSGU" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="KOSGU_Code" uniqueLabel="1" keys="KOSGU_Id" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
			</fields>
		</table>
		<extendedtable id="OnlyParentRRO_OBAS_VERSIONS" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_OBAS_VERSIONS" keys="Key">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y2" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y3" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y4" caption="Текущий год" datatype="float" precision="5"/>
			</fields>
		</extendedtable>
		<extendedtable id="OnlyParentRRO_Outlay_KOSGU" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_Outlay_KOSGU" keys="RRO_OBAS_VERSIONS_ID;KOSGU_Id">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y2" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y3" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y4" caption="Текущий год" datatype="float" precision="5"/>
			</fields>
		</extendedtable>
		<extendedtable id="OnlyParentRRO_OBAS_AddAnalysisIndicator" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_OBAS_AddAnalysisIndicator" keys="RRO_Outlay_KOSGU_ID;AddAnalysisIndicator_ID">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y2" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y3" caption="Текущий год" datatype="float" precision="5"/>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Usd_Y4" caption="Текущий год" datatype="float" precision="5"/>
			</fields>
		</extendedtable>
		<extendedtable id="TotalRRO_SumOBAS_VERSIONS" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_SumOBAS_VERSIONS" keys="RRO_SumOutlays_ID;MainAction_ID;VR_ID;DirectionCost_ID;SubProgram_ID;FCR_ID;Program_ID;OBAS_SPR_ID">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y1_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y2" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y2_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y3" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y3_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y4" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y4_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
			</fields>
			<rules>
				<rule name="ObasTableCollection.ObasVersionSumTable.FieldsCount" event="OnGetColumnsCount"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldIndexEventHandler" event="OnGetColumnIndex"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldValueEventHandler" event="OnGetColumnValue"/>
			</rules>
		</extendedtable>
		<extendedtable id="OnlyParentTotalRRO_SumOBAS_VERSIONS" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_SumOBAS_VERSIONS" keys="RRO_SumOutlays_ID;MainAction_ID;VR_ID;DirectionCost_ID;SubProgram_ID;FCR_ID;Program_ID;OBAS_SPR_ID">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y1_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y2" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y2_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y3" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y3_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y4" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y4_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
			</fields>
			<rules>
				<rule name="ObasTableCollection.ObasVersionSumTable.FieldsCount" event="OnGetColumnsCount"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldIndexEventHandler" event="OnGetColumnIndex"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldValueEventHandler" event="OnGetColumnValue"/>
			</rules>
		</extendedtable>
		<extendedtable id="TotalRRO_SumOBAS_AddAnalysisIndicator" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_SumOBAS_AddAnalysisIndicator" keys="RRO_SumOutlays_ID;MainAction_ID;VR_ID;DirectionCost_ID;SubProgram_ID;FCR_ID;Program_ID;OBAS_SPR_ID;KOSGU_Id;AddAnalysisIndicator_ID">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y1_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y2" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y2_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y3" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y3_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y4" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y4_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
			</fields>
			<rules>
				<rule name="ObasTableCollection.ObasVersionSumTable.FieldsCount" event="OnGetColumnsCount"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldIndexEventHandler" event="OnGetColumnIndex"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldValueEventHandler" event="OnGetColumnValue"/>
			</rules>
		</extendedtable>
		<extendedtable id="OnlyParentTotalRRO_SumOBAS_AddAnalysisIndicator" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_SumOBAS_AddAnalysisIndicator" keys="RRO_SumOutlays_ID;MainAction_ID;VR_ID;DirectionCost_ID;SubProgram_ID;FCR_ID;Program_ID;OBAS_SPR_ID;AddAnalysisIndicator_ID">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y1" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y1_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y2" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y2_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y3" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y3_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y4" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Usd_Y4_D" caption="Текущий год" datatype="float" precision="5">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
			</fields>
			<rules>
				<rule name="ObasTableCollection.ObasVersionSumTable.FieldsCount" event="OnGetColumnsCount"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldIndexEventHandler" event="OnGetColumnIndex"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldValueEventHandler" event="OnGetColumnValue"/>
			</rules>
		</extendedtable>
		<extendedtable id="tRRO_OBAS_VERSIONS" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_OBAS_VERSIONS" keys="RRO_Outlays_ID;MainAction_ID;VR_ID;DirectionCost_ID;SubProgram_ID;FCR_ID;Program_ID">
			<fields>
				<field name="Y1" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y1_D" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2_D" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3_D" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4_D" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
			</fields>
			<rules>
				<rule name="ObasTableCollection.ObasVersionSumTable.FieldsCount" event="OnGetColumnsCount"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldIndexEventHandler" event="OnGetColumnIndex"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldValueEventHandler" event="OnGetColumnValue"/>
			</rules>
		</extendedtable>
		<extendedtable id="OnlyParentTotalRRO_OBAS_VERSIONS" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_OBAS_VERSIONS" keys="RRO_Outlays_ID;MainAction_ID;VR_ID;DirectionCost_ID;SubProgram_ID;FCR_ID;Program_ID">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y1_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4_D" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
			</fields>
			<rules>
				<rule name="ObasTableCollection.ObasVersionSumTable.FieldsCount" event="OnGetColumnsCount"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldIndexEventHandler" event="OnGetColumnIndex"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldValueEventHandler" event="OnGetColumnValue"/>
			</rules>
		</extendedtable>
		<extendedtable id="tSumRRO_Outlay_KOSGU" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_Outlay_KOSGU" keys="RRO_OBAS_VERSIONS_ID">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
			</fields>
			<rules>
				<rule name="ObasTableCollection.ObasVersionSumTable.FieldsCount" event="OnGetColumnsCount"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldIndexEventHandler" event="OnGetColumnIndex"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldValueEventHandler" event="OnGetColumnValue"/>
			</rules>
		</extendedtable>
		<extendedtable id="tSumRRO_OBAS_AddAnalysisIndicator" filterKind="mainAndSpec" filterModel="commonDataset" tables="RRO_OBAS_AddAnalysisIndicator" keys="RRO_Outlay_KOSGU_ID">
			<fields>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y2" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y3" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
				<field name="Y4" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.ObasVersionSumTable.AggregateEventHandler" event="OnAggregate"/>
					</rules>
				</field>
			</fields>
			<rules>
				<rule name="ObasTableCollection.ObasVersionSumTable.FieldsCount" event="OnGetColumnsCount"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldIndexEventHandler" event="OnGetColumnIndex"/>
				<rule name="ObasTableCollection.ObasVersionSumTable.GetFieldValueEventHandler" event="OnGetColumnValue"/>
			</rules>
		</extendedtable>
		<table id="RRO_ProcurementPlan" caption="Версии плана закупок" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="NumVersion" datatype="integer"/>
				<sourcefield name="ProcurementPlan_Status_ID" caption="Статус" table="ProcurementPlan_Status" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanTable.InitStatusEventHandler" event="OnInit"/>
						<rule name="ObasTableCollection.RroProcurementPlanTable.StatusChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<field name="Name" caption="Наименование версии" datatype="string" size="1000" isNull="false"/>
				<field name="CreateDate" caption="Дата создания" datatype="datetime">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanTable.InitCreateDateEventHandler" event="OnInit"/>
					</rules>
				</field>
				<field name="ApprovedDate" caption="Дата утверждения" datatype="datetime"/>
				<field name="AgreedDate" caption="Дата согласования" datatype="datetime"/>
				<calcfield name="DocNumber" datatype="string" size="30">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanTable.CalcDocNumber" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="DocKind" datatype="string" size="30">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanTable.CalcDocKind" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FoivCode" datatype="string" size="3">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanTable.CalcFoivCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="RecipientRegCode" datatype="string" size="8">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanTable.CalcRecipientRegCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="RecipientName" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanTable.CalcRecipientName" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroProcurementPlanTable.AddEventHandler" event="OnAdd"/>
				<rule name="ObasTableCollection.RroProcurementPlanTable.DeleteEventHandler" event="OnDelete"/>
			</rules>
		</table>
		<table id="RRO_Procurement" caption="Закупки" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_ProcurementPlan_ID" table="RRO_ProcurementPlan" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.InitProcurementPlanKeyEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="NumStr" caption="Номер строки" datatype="string" size="4" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.NumStrChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="IKZ" caption="Идентификационный код закупки" datatype="string" size="45"/>
				<sourcefield name="Procurement_Types_ID" caption="Тип закупки" table="Procurement_Types" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.ProcurementTypeKeyChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<field name="ObjectName" caption="Наименование объекта закупки" datatype="string" size="2000" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.ObjectNameChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<sourcefield name="IsEnlarged_ID" caption="Укрупненная" table="Boolean" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.IsEnlargedKeyChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<field name="OKPDCode" caption="Код по ОКПД" datatype="string" size="20" isNull="false"/>
				<field name="OKPDName" caption="Наименование ОКПД" datatype="string" size="1000" isNull="false"/>
				<field name="MainEventStateProgram" caption="Наименование основного мероприятия государственной программы" datatype="string" size="2000" isNull="false"/>
				<field name="ExpectedResult" caption="Ожидаемый результат" datatype="string" size="2000" isNull="false"/>
				<sourcefield name="Procurement_PlacementYear_ID" table="Procurement_PlacementYear" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.PlacementYearKeyChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Второй год" datatype="float" precision="2"/>
				<field name="Y3" caption="Третий год" datatype="float" precision="2"/>
				<field name="Y4" caption="Последующие годы" datatype="float" precision="2"/>
				<field name="DateBegin" caption="Дата начала" datatype="datetime"/>
				<field name="DateEnd" caption="Дата окончания" datatype="datetime"/>
				<sourcefield name="Procurement_Periodicity_ID" table="Procurement_Periodicity" tableKeyField="Key" tableFields="Name">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.InitProcurementPeriodicityKeyEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="IsInfoTechDifficulties_ID" caption="Сведения о технической сложности, инновационности и специальном характере закупки" table="Boolean" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.BooleanSprTable.GetFalseId" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="IsInfoPublicComment_ID" caption="Сведения об обязательном общественном обсуждении" table="Boolean" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.BooleanSprTable.GetFalseId" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="JustificationConformityObject" caption="Обоснование соответствия объекта и (или) объектов закупки мероприятию государственной (муниципальной) программы" datatype="string" size="2000" isNull="false"/>
				<sourcefield name="GroundsMakingChanges_ID" caption="Основание внесения изменений" table="GroundsMakingChanges" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Parent_ID" caption="Ссылка на предыдущую версию закупки" table="RRO_Procurement" tableKeyField="Key" tableFields="IKZ"/>
				<field name="MainStateProgram" caption="Наименование основного мероприятия государственной программы" datatype="string" size="2000" isNull="false"/>
				<field name="DescriptionGroundsForChanges" caption="Описание обоснования изменений" datatype="string" size="2000"/>
				<lookupfield name="Procurement_Types_Name" keys="Procurement_Types_ID" lookupTable="Procurement_Types" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="IsEnlarged_Name" keys="IsEnlarged_ID" lookupTable="Boolean" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Procurement_PlacementYear_Name" keys="Procurement_PlacementYear_ID" lookupTable="Procurement_PlacementYear" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Procurement_Periodicity_Name" keys="Procurement_Periodicity_ID" lookupTable="Procurement_Periodicity" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="IsInfoTechDifficulties_Name" keys="IsInfoTechDifficulties_ID" lookupTable="Boolean" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="IsInfoPublicComment_Name" keys="IsInfoPublicComment_ID" lookupTable="Boolean" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="GroundsMakingChanges_Code" keys="GroundsMakingChanges_ID" lookupTable="GroundsMakingChanges" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="GroundsMakingChanges_Name" keys="GroundsMakingChanges_ID" lookupTable="GroundsMakingChanges" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="ProcurementPlan_NumVersion" keys="RRO_ProcurementPlan_ID" lookupTable="RRO_ProcurementPlan" lookupKeys="Key" lookupFields="NumVersion"/>
				<calcfield name="TotalSum" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.CalcTotalSum" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="TimingProcurement" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroProcurementTable.CalcTimingProcurement" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroProcurementTable.AddEventHandler" event="OnAdd"/>
				<rule name="ObasTableCollection.RroProcurementTable.DeleteEventHandler" event="OnDelete"/>
			</rules>
		</table>
		<table id="RRO_FilterProcurement" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="SourceKey" datatype="integer"/>
			</fields>
		</table>
		<table id="RRO_ProcurementOKPD" caption="ОКПД" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Procurement_ID" table="RRO_Procurement" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroProcurementOKPDTable.InitProcurementKeyEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="NumStr" caption="Номер строки" datatype="string" size="4" isNull="false"/>
				<sourcefield name="OKPD_ID" caption="Тип закупки" table="OKPD" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementOKPDTable.OKPDChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<sourcefield name="Parent_ID" caption="Ссылка на предыдущую версию ОКПД" table="RRO_ProcurementOKPD" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="NumStrProcurement_Name" caption="№ позиции в ПЗ" keys="RRO_Procurement_ID" lookupTable="RRO_Procurement" lookupKeys="Key" lookupFields="NumStr"/>
				<lookupfield name="IKZ_Name" caption="Идентификационный код закупки" keys="RRO_Procurement_ID" lookupTable="RRO_Procurement" lookupKeys="Key" lookupFields="IKZ"/>
				<lookupfield name="OKPD_Code" keys="OKPD_ID" lookupTable="OKPD" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="OKPD_Name" keys="OKPD_ID" lookupTable="OKPD" lookupKeys="Key" lookupFields="Name"/>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroProcurementOKPDTable.AddEventHandler" event="OnAdd"/>
				<rule name="ObasTableCollection.RroProcurementOKPDTable.DeleteEventHandler" event="OnDelete"/>
				<rule name="ObasTableCollection.RroProcurementOKPDTable.AfterDeleteEventHandler" event="OnAfterDelete"/>
			</rules>
		</table>
		<table id="RRO_FilterProcurementOKPD" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="SourceKey" datatype="integer"/>
			</fields>
		</table>
		<table id="RRO_FilterProcurementPlanOKPD" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="SourceKey" datatype="integer"/>
			</fields>
		</table>
		<table id="RRO_ProcurementKBK" caption="Детализация по КБК" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Procurement_ID" table="RRO_Procurement" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.InitProcurementKeyEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="NumStr" caption="Номер строки" datatype="string" size="4" isNull="false"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" caption="Код бюджетной классификации" table="VR" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.VRChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y2" caption="Второй год" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y3" caption="Третий год" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Y4" caption="Последующие годы" datatype="float" precision="2">
					<rules>
						<rule name="ObasHelper.Get0" event="OnInit"/>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<sourcefield name="RRO_Data_ID" table="RRO_Data" tableKeyField="Key" tableFields="FullKBKCode" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.KBKChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<sourcefield name="Parent_ID" caption="Ссылка на предыдущую версию КБК" table="RRO_ProcurementKBK" tableKeyField="Key" tableFields="Key"/>
				<field name="ObjectName" caption="Наименование объекта закупки" datatype="string" size="700" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.InitObjectNameEventHandler" event="OnInit"/>
					</rules>
				</field>
				<sourcefield name="OKPD_ID" caption="ОКПД" table="OKPD" tableKeyField="Key" tableFields="Name" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.OKPDChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<field name="IsForeignProcurement" caption="Закупка зарубежного аппарата" datatype="boolean">
					<rules>
						<rule name="ObasHelper.GetFalse" event="OnInit"/>
					</rules>
				</field>
				<sourcefield name="OKV_ID" caption="ОКВ" table="OKV" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="CurrencyRate_Y1" datatype="float" precision="2" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumPartsChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="CurrencyRate_Y2" datatype="float" precision="2" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumPartsChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="CurrencyRate_Y3" datatype="float" precision="2" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumPartsChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="CurrencyRate_Y4" datatype="float" precision="2" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumPartsChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Currency_Y1" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumPartsChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Currency_Y2" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumPartsChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Currency_Y3" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumPartsChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Currency_Y4" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.SumPartsChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Usd_Y1" datatype="float" precision="2"/>
				<field name="Usd_Y2" datatype="float" precision="2"/>
				<field name="Usd_Y3" datatype="float" precision="2"/>
				<field name="Usd_Y4" datatype="float" precision="2"/>
				<lookupfield name="NumStrProcurement_Name" caption="№ позиции в ПЗ" keys="RRO_Procurement_ID" lookupTable="RRO_Procurement" lookupKeys="Key" lookupFields="NumStr"/>
				<lookupfield name="IKZ_Name" caption="Идентификационный код закупки" keys="RRO_Procurement_ID" lookupTable="RRO_Procurement" lookupKeys="Key" lookupFields="IKZ"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FCR_Name" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_Name" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="SubProgram_FullCode" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Name" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_FullCode" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Name" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Name" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_Name" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="OKPD_Code" keys="OKPD_ID" lookupTable="OKPD" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="OKPD_Name" keys="OKPD_ID" lookupTable="OKPD" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Procurement_PlacementYear_Name" keys="RRO_Procurement_ID" lookupTable="RRO_Procurement" lookupKeys="Key" lookupFields="Procurement_PlacementYear_Name"/>
				<lookupfield name="OKV_Code" keys="OKV_ID" lookupTable="OKV" lookupKeys="Key" lookupFields="CodeDigital"/>
				<lookupfield name="OKV_Name" keys="OKV_ID" lookupTable="OKV" lookupKeys="Key" lookupFields="Name"/>
				<calcfield name="Foiv_Code" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.CalcSelectedFoivCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_CodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.CalcFcrSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_CodeSubSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.CalcFcrSubSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="CSR_Code" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.GetCSRCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FullKBKCode" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroProcurementKBKTable.CalcFullKBKCode" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroProcurementKBKTable.AddEventHandler" event="OnAdd"/>
				<rule name="ObasTableCollection.RroProcurementKBKTable.DeleteEventHandler" event="OnDelete"/>
				<rule name="ObasTableCollection.RroProcurementKBKTable.AfterDeleteEventHandler" event="OnAfterDelete"/>
			</rules>
		</table>
		<table id="RRO_FilterProcurementKBK" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="SourceKey" datatype="integer"/>
			</fields>
		</table>
		<table id="RRO_FilterProcurementPlanKBK" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="SourceKey" datatype="integer"/>
			</fields>
		</table>
		<table id="RRO_ProcurementNPA" caption="НПА" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Procurement_ID" table="RRO_Procurement" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroProcurementNPATable.InitProcurementKeyEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="NumStr" caption="Номер строки" datatype="string" size="4" isNull="false"/>
				<field name="NpaNumber" caption="Номер" datatype="string" size="100" isNull="false"/>
				<field name="NpaDate" caption="Дата" datatype="datetime" isNull="false"/>
				<field name="NpaName" caption="Наименование" datatype="string" size="1000" isNull="false"/>
				<sourcefield name="Parent_ID" caption="Ссылка на предыдущую версию НПА" table="RRO_ProcurementNPA" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="NPAType_ID" caption="Вид" table="NPAType" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="NPAStatuses_ID" caption="Статус" table="NPAStatuses" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="NpaChangeDate" caption="Предполагаемая дата изменения статуса" datatype="datetime" isNull="false"/>
				<lookupfield name="NumStrProcurement_Name" caption="№ позиции в ПЗ" keys="RRO_Procurement_ID" lookupTable="RRO_Procurement" lookupKeys="Key" lookupFields="NumStr"/>
				<lookupfield name="IKZ_Name" caption="Идентификационный код закупки" keys="RRO_Procurement_ID" lookupTable="RRO_Procurement" lookupKeys="Key" lookupFields="IKZ"/>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroProcurementNPATable.AddEventHandler" event="OnAdd"/>
				<rule name="ObasTableCollection.RroProcurementNPATable.DeleteEventHandler" event="OnDelete"/>
			</rules>
		</table>
		<table id="RRO_FilterProcurementNPA" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="SourceKey" datatype="integer"/>
			</fields>
		</table>
		<table id="RRO_ProcurementInfoNPA" caption="Сведения НПА" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Procurement_ID" table="RRO_Procurement" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroProcurementInfoNPATable.InitProcurementKeyEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="ActName" caption="Наименование" datatype="string" size="2000" isNull="false"/>
				<field name="ActKind" caption="Вид" datatype="string" size="2000" isNull="false"/>
				<field name="ActNum" caption="Номер" datatype="string" size="50" isNull="false"/>
				<field name="ActDate" caption="Дата" datatype="datetime" isNull="false"/>
			</fields>
			<rules>
				<rule name="ObasTableCollection.RroProcurementInfoNPATable.AddEventHandler" event="OnAdd"/>
				<rule name="ObasTableCollection.RroProcurementInfoNPATable.DeleteEventHandler" event="OnDelete"/>
			</rules>
		</table>
		<table id="RRO_FilterProcurementInfoNPA" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="SourceKey" datatype="integer"/>
			</fields>
		</table>
		<table id="RRO_ProcurementInfoNPADetails" caption="Объем средств, планируемых по НПА на осуществлении закупки" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_ProcurementInfoNPA_ID" table="RRO_ProcurementInfoNPA" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroProcurementInfoNPADetailsTable.InfoNPAKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<sourcefield name="VR_ID" caption="Код бюджетной классификации" table="VR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
			</fields>
		</table>
		<table id="RRO_ProcurementPlanSumbyKBK" caption="Итоги по КБК" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" caption="Код бюджетной классификации" table="VR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Второй год" datatype="float" precision="2"/>
				<field name="Y3" caption="Третий год" datatype="float" precision="2"/>
				<field name="Y4" caption="Последующие годы" datatype="float" precision="2"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FCR_Name" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_Name" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="SubProgram_FullCode" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Name" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_FullCode" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Name" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Name" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_Name" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Name"/>
				<calcfield name="KBKFullCode" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanSumbyKBKTable.CalcKBKFullCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="TotalSum" datatype="float" precision="2">
					<rules>
						<rule name="ObasTableCollection.RroProcurementPlanSumbyKBKTable.CalcTotalSum" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
		</table>
		<table id="RRO_ProcurementCalcedData" caption="Расчетные данные закупок" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Procurement_ID" table="RRO_Procurement" tableKeyField="Key" tableFields="Key"/>
				<calcfield name="ListKBKProgramNames" datatype="string" size="1000">
					<rules>
						<rule name="ObasTableCollection.RroProcurementCalcedDataTable.CalcListKBKProgramNames" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="ListNPAFullNames" datatype="string" size="1000">
					<rules>
						<rule name="ObasTableCollection.RroProcurementCalcedDataTable.CalcListNPAFullNames" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
		</table>
		<table id="RRO_Outlay_SumByAnalyticsFilter" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="RroOutlayFieldId" datatype="string" size="20"/>
				<field name="RroOutlayKey" datatype="integer"/>
			</fields>
		</table>
		<table id="RRO_Outlay_SumByAnalyticsGroups" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="FCRCodeSection" datatype="string" size="2"/>
				<sourcefield name="RRO_Outlays_ID" table="RRO_Outlays" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="RRO_SumOutlays_ID" table="RRO_SumOutlays" tableKeyField="Key" tableFields="Key"/>
			</fields>
		</table>
		<table id="RRO_Outlay_SumByAnalytics" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" caption="Код бюджетной классификации" table="VR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="KOSGU_ID" uniqueLabel="1" table="KOSGU" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="AddAnalysisIndicator_ID" uniqueLabel="1" table="AddAnalysisIndicator" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="FcrCodeSection" datatype="string" size="2"/>
				<field name="Level" datatype="integer"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год (дельта)" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год (дельта)" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="2"/>
				<sourcefield name="RRO_Outlays_ID" table="RRO_Outlays" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="RRO_SumOutlays_ID" table="RRO_SumOutlays" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="OKV_ID" table="OKV" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FCR_Name" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_Name" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="SubProgram_FullCode" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Name" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_FullCode" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Name" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Name" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_Name" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="OKV_Code" keys="OKV_ID" lookupTable="OKV" lookupKeys="Key" lookupFields="CodeDigital"/>
				<calcfield name="FCR_CodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsTable.CalcFcrSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_CodeSubSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsTable.CalcFcrSubSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="CSR_Code" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsTable.GetCSRCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_FullCodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsTable.CalcFcrFullSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FullKBKCode" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsTable.CalcFullKBKCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="AnalyticCode" datatype="string" size="20">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsTable.CalcAnalyticCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="AnalyticIndicatorName" datatype="string" size="1000">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsTable.CalcAnalyticIndicatorName" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
		</table>
		<table id="RRO_Outlay_SumByAnalyticsPart4" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" caption="Код бюджетной классификации" table="VR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="KOSGU_ID" uniqueLabel="1" table="KOSGU" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="AddAnalysisIndicator_ID" uniqueLabel="1" table="AddAnalysisIndicator" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="FcrCodeSection" datatype="string" size="2"/>
				<field name="Level" datatype="integer"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год (дельта)" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год (дельта)" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="2"/>
				<sourcefield name="RRO_Outlays_ID" table="RRO_Outlays" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="RRO_SumOutlays_ID" table="RRO_SumOutlays" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="OKV_ID" table="OKV" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FCR_Name" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_Name" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="SubProgram_FullCode" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Name" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_FullCode" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Name" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Name" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_Name" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="OKV_Code" keys="OKV_ID" lookupTable="OKV" lookupKeys="Key" lookupFields="CodeDigital"/>
				<calcfield name="FCR_CodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart4Table.CalcFcrSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_CodeSubSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart4Table.CalcFcrSubSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="CSR_Code" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart4Table.GetCSRCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_FullCodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart4Table.CalcFcrFullSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FullKBKCode" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart4Table.CalcFullKBKCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="AnalyticCode" datatype="string" size="20">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart4Table.CalcAnalyticCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="AnalyticIndicatorName" datatype="string" size="1000">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart4Table.CalcAnalyticIndicatorName" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
		</table>
		<table id="RRO_Outlay_SumByAnalyticsPart5xx" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="RRO_Outlays_ID" table="RRO_Outlays" tableKeyField="Key" tableFields="Key"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" caption="Код бюджетной классификации" table="VR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="FcrCodeSection" datatype="string" size="2"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<field name="Y1_D" caption="Текущий год (дельта)" datatype="float" precision="2"/>
				<field name="Y2_D" caption="Очередной год (дельта)" datatype="float" precision="2"/>
				<field name="Y3_D" caption="Первый год планового периода (дельта)" datatype="float" precision="2"/>
				<field name="Y4_D" caption="Второй год планового периода (дельта)" datatype="float" precision="2"/>
				<sourcefield name="RRO_SumOutlays_ID" table="RRO_SumOutlays" tableKeyField="Key" tableFields="Key"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<calcfield name="FCR_CodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart5xxTable.CalcFcrSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_CodeSubSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart5xxTable.CalcFcrSubSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="CSR_Code" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart5xxTable.GetCSRCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_FullCodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart5xxTable.CalcFcrFullSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FullKBKCode" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroOutlaySumByAnalyticsPart5xxTable.CalcFullKBKCode" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
		</table>
		<table id="RRO_Outlay_OrgPart5xx" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="OwnerKey" table="RRO_Outlay_SumByAnalyticsPart5xx" tableKeyField="Key" tableFields="Key">
					<rules>
						<rule name="ObasTableCollection.RroOutlayOrgTableWithParentTable.OwnerKey.InitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="OrgName" datatype="string" size="200" isNull="false"/>
				<field name="OrgCode" datatype="string" size="100" isNull="false"/>
				<field name="DocNum" datatype="string" size="200" isNull="false"/>
				<field name="DocDate" datatype="datetime" isNull="false"/>
			</fields>
		</table>
		<table id="RRO_ExpendSheduleAddData" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="DocDate" datatype="datetime" isNull="false"/>
				<field name="DocNumber" datatype="string" size="700" isNull="false"/>
			</fields>
		</table>
		<table id="RRO_ExpendSheduleAddKBKData" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" table="VR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SecurityTypes_ID" caption="Гриф секретности" table="SecurityTypes" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="FOIV_ID" table="FOIV" tableKeyField="Key" tableFields="Name;Code" isNull="false">
					<rules>
						<rule name="ObasTableCollection.RroExpendSheduleAddKBKDataTable.FoivInitEventHandler" event="OnInit"/>
					</rules>
				</sourcefield>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Очередной год" datatype="float" precision="2"/>
				<field name="Y3" caption="Первый год планового периода" datatype="float" precision="2"/>
				<field name="Y4" caption="Второй год планового периода" datatype="float" precision="2"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="SubProgram_FullCode" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_FullCode" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Name" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SecurityTypes_Code" keys="SecurityTypes_ID" lookupTable="SecurityTypes" lookupKeys="Key" lookupFields="ShortName"/>
				<calcfield name="FCR_CodeSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroExpendSheduleAddKBKDataTable.CalcFcrSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="FCR_CodeSubSection" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroExpendSheduleAddKBKDataTable.CalcFcrSubSectionCode" event="OnCalc"/>
					</rules>
				</calcfield>
				<calcfield name="CSR_Code" datatype="string" size="200">
					<rules>
						<rule name="ObasTableCollection.RroExpendSheduleAddKBKDataTable.GetCSRCode" event="OnCalc"/>
					</rules>
				</calcfield>
			</fields>
		</table>
		<table id="RRO_ProcurementSumbyKBK" caption="Итоги по КБК" filterKind="mainAndSpec" filterModel="commonDataset" isTemporary="true">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<sourcefield name="FCR_ID" table="FCR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="Program_ID" table="Program" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="SubProgram_ID" table="SubProgram" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="MainAction_ID" table="MainAction" tableKeyField="Key" tableFields="ShortCode" isNull="false"/>
				<sourcefield name="DirectionCost_ID" table="DirectionCost" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<sourcefield name="VR_ID" caption="Код бюджетной классификации" table="VR" tableKeyField="Key" tableFields="Name" isNull="false"/>
				<field name="Y1" caption="Текущий год" datatype="float" precision="2"/>
				<field name="Y2" caption="Второй год" datatype="float" precision="2"/>
				<field name="Y3" caption="Третий год" datatype="float" precision="2"/>
				<field name="Y4" caption="Последующие годы" datatype="float" precision="2"/>
				<lookupfield name="FCR_Code" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="FCR_Name" keys="FCR_ID" lookupTable="FCR" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="Program_Code" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="Program_Name" keys="Program_ID" lookupTable="Program" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="SubProgram_Code" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="SubProgram_FullCode" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="SubProgram_Name" keys="SubProgram_ID" lookupTable="SubProgram" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="MainAction_Code" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="ShortCode"/>
				<lookupfield name="MainAction_FullCode" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="MainAction_Name" keys="MainAction_ID" lookupTable="MainAction" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="DirectionCost_Code" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="DirectionCost_Name" keys="DirectionCost_ID" lookupTable="DirectionCost" lookupKeys="Key" lookupFields="Name"/>
				<lookupfield name="VR_Code" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Code"/>
				<lookupfield name="VR_Name" keys="VR_ID" lookupTable="VR" lookupKeys="Key" lookupFields="Name"/>
				<calcfield name="KBKFullName" datatype="string" size="200">
				</calcfield>
				<calcfield name="TotalSum" datatype="float" precision="2">
				</calcfield>
			</fields>
		</table>
	</tables>
	<sheets>
		<rules/>
	</sheets>
	<editors/>
</document>
