<?xml version="1.0" encoding="utf-8"?>
<document caption="Формирование данных по требованиям Минфина России" version="1.3" timeZoneBias="-180" javascriptDocumentClassName="DocumentObject" versionOld="1.3" isDocumentUpdated="true" guid="GE66B1DA7F7FF489BA7ACF342034975A3">
	<interface>
		<images/>
	</interface>
	<rules>
		<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"/>
	</rules>
	<tables>
		<linkedtable id="KOSGU" sourceFile="MainData\Spr_Main.xml"/>
		<table id="AddAnalysisIndicator" caption="Перечень дополнительных аналитических показателей" filterKind="mainAndSpec" filterModel="commonDataset">
			<fields>
				<field name="Id" datatype="guid"/>
				<field name="Key" datatype="integer"/>
				<field name="Code" caption="Код" uniqueLabel="1" datatype="string" size="8" isNull="false">
					<rules>
						<rule name="ObasTableCollection.AddAnalysisIndicatorSprTable.CodeChangeEventHandler" event="OnChange"/>
					</rules>
				</field>
				<field name="Name" caption="Наименование" datatype="string" size="1000" isNull="false"/>
				<sourcefield name="KOSGU_ID" uniqueLabel="1" table="KOSGU" tableKeyField="Key" tableFields="Name">
					<rules>
						<rule name="ObasTableCollection.AddAnalysisIndicatorSprTable.CodeChangeEventHandler" event="OnChange"/>
					</rules>
				</sourcefield>
				<lookupfield name="KOSGU_Code" keys="KOSGU_ID" lookupTable="KOSGU" lookupKeys="Key" lookupFields="Code"/>
				<field name="FullCode" datatype="string" size="11"/>
			</fields>
		</table>
	</tables>
	<sheets>
		<rules/>
	</sheets>
	<editors/>
</document>
