Active Lease Agreements

AllActiveLeasesView (View)

Element properties:

TargetProvance.ITAM.LeaseAgreement
TypeGridViewType
AccessibilityPublic
VisibleTrue

Source Code:

<View ID="AllActiveLeasesView" Accessibility="Public" Enabled="true" Target="ProvanceServiceManagerItamCoreLibrary!Provance.ITAM.LeaseAgreement" TypeID="MicrosoftEnterpriseManagementServiceManagerUIConsole!GridViewType" Visible="true">
<Category>NotUsed</Category>
<Data>
<Adapters>
<Adapter AdapterName="dataportal:EnterpriseManagementObjectProjectionAdapter">
<AdapterAssembly>Microsoft.EnterpriseManagement.UI.SdkDataAccess</AdapterAssembly>
<AdapterType>Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.EnterpriseManagementObjectProjectionAdapter</AdapterType>
</Adapter>
<Adapter AdapterName="viewframework://Adapters/AdvancedList">
<AdapterAssembly>Microsoft.EnterpriseManagement.UI.ViewFramework</AdapterAssembly>
<AdapterType>Microsoft.EnterpriseManagement.UI.ViewFramework.AdvancedListSupportAdapter</AdapterType>
</Adapter>
<Adapter AdapterName="omsdk://Adapters/Criteria">
<AdapterAssembly>Microsoft.EnterpriseManagement.UI.SdkDataAccess</AdapterAssembly>
<AdapterType>Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.SdkCriteriaAdapter</AdapterType>
</Adapter>
</Adapters>
<ItemsSource>
<AdvancedListSupportClass xmlns="clr-namespace:Microsoft.EnterpriseManagement.UI.ViewFramework;assembly=Microsoft.EnterpriseManagement.UI.ViewFramework" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" DataTypeName="" AdapterName="viewframework://Adapters/AdvancedList" FullUpdateAdapter="dataportal:EnterpriseManagementObjectProjectionAdapter" DataSource="mom:ManagementGroup" IsRecurring="True" RecurrenceFrequency="{x:Static s:Int32.MaxValue}" FullUpdateFrequency="1" Streaming="true">
<AdvancedListSupportClass.Parameters>
<QueryParameter Parameter="TypeProjectionId" Value="$MPElement[Name='ProvanceServiceManagerItamCoreLibrary!Provance.ITAM.LeaseAgreementProjection']$"/>
</AdvancedListSupportClass.Parameters>
</AdvancedListSupportClass>
</ItemsSource>
<Criteria>
<QueryCriteria xmlns="http://tempuri.org/Criteria.xsd" Adapter="omsdk://Adapters/Criteria">
<Criteria>
<FreeformCriteria>
<Freeform>
<Criteria xmlns="http://Microsoft.EnterpriseManagement.Core.Criteria/">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpressionLeft>
<Property>$Context/Property[Type='SystemLibrary!System.ConfigItem']/ObjectStatus$</Property>
</ValueExpressionLeft>
<Operator>NotEqual</Operator>
<ValueExpressionRight>
<Value>$MPElement[Name="SystemLibrary!System.ConfigItem.ObjectStatusEnum.PendingDelete"]$</Value>
</ValueExpressionRight>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpressionLeft>
<Property>$Context/Property[Type='ProvanceServiceManagerItamCoreLibrary!Provance.ITAM.Agreement']/Status$</Property>
</ValueExpressionLeft>
<Operator>Equal</Operator>
<ValueExpressionRight>
<Value>$MPElement[Name="ProvanceServiceManagerItamCoreLibrary!EntityStatus.Active"]$</Value>
</ValueExpressionRight>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Criteria>
</Freeform>
</FreeformCriteria>
</Criteria>
</QueryCriteria>
</Criteria>
</Data>
<Presentation>
<Columns>
<mux:ColumnCollection xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:mux="http://schemas.microsoft.com/SystemCenter/Common/UI/Views/GridView" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:datebinding="clr-namespace:Microsoft.EnterpriseManagement.UI.SdkDataAccess.Common;assembly=Microsoft.EnterpriseManagement.UI.SdkDataAccess" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:gl="clr-namespace:System.Globalization;assembly=mscorlib" xmlns:bp="clr-namespace:Provance.ServiceManager.Base.Presentation;assembly=Provance.ServiceManager.Base.Presentation">
<mux:Column Name="agreementNumber" DisplayMemberBinding="{Binding Path=AgreementNumber}" Width="140" DisplayName="ViewHeader_LeaseAgreement_Id" Property="AgreementNumber" DataType="s:String" IsVisible="false"/>
<mux:Column Name="displayName" DisplayMemberBinding="{Binding Path=DisplayName}" Width="200" DisplayName="ViewHeader_LeaseAgreement_DisplayName" Property="DisplayName" DataType="s:String"/>
<mux:Column Name="supplier" DisplayMemberBinding="{Binding Path=Supplier.DisplayName}" Width="120" DisplayName="ViewHeader_LeaseAgreement_Supplier" Property="Supplier.DisplayName" DataType="s:String"/>
<mux:Column Name="description" DisplayMemberBinding="{Binding Path=Description}" Width="350" DisplayName="ViewHeader_LeaseAgreement_Description" Property="Description" DataType="s:String" IsVisible="false"/>
<mux:Column Name="effectiveDate" DisplayMemberBinding="{Binding Path=EffectiveDate, StringFormat={}{0:d}, ConverterCulture={x:Static gl:CultureInfo.CurrentCulture}}" Width="100" DisplayName="ViewHeader_LeaseAgreement_EffectiveDate" Property="EffectiveDate" DataType="s:DateTime"/>
<mux:Column Name="expirationDate" DisplayMemberBinding="{Binding Path=ExpirationDate, StringFormat={}{0:d}, ConverterCulture={x:Static gl:CultureInfo.CurrentCulture}}" Width="100" DisplayName="ViewHeader_LeaseAgreement_ExpirationDate" Property="ExpirationDate" DataType="s:DateTime"/>
<mux:Column Name="contractManager" DisplayMemberBinding="{Binding Path=Owner.DisplayName}" Width="120" DisplayName="ViewHeader_LeaseAgreement_ContractManager" Property="Owner.DisplayName" DataType="s:String"/>
<mux:Column Name="organization" DisplayMemberBinding="{Binding Path=Organization.DisplayName}" Width="120" DisplayName="ViewHeader_LeaseAgreement_Organization" Property="Organization.DisplayName" DataType="s:String" IsVisible="false"/>
<mux:Column Name="location" DisplayMemberBinding="{Binding Path=Location.DisplayName}" Width="120" DisplayName="ViewHeader_LeaseAgreement_Location" Property="Location.DisplayName" DataType="s:String" IsVisible="false"/>
<mux:Column Name="costCenter" DisplayMemberBinding="{Binding Path=CostCenter.DisplayName}" Width="120" DisplayName="ViewHeader_LeaseAgreement_CostCenter" Property="CostCenter.DisplayName" DataType="s:String" IsVisible="false"/>
<mux:Column Name="ceiling" Width="100" DisplayName="ViewHeader_LeaseAgreement_Ceiling" Property="Ceiling" DataType="s:String" IsVisible="false">
<mux:Column.CellTemplate>
<DataTemplate>
<TextBlock>
<TextBlock.Text>
<MultiBinding>
<MultiBinding.Converter>
<bp:CurrencyFormatConverter/>
</MultiBinding.Converter>
<Binding Path="Ceiling"/>
<Binding Path="CeilingIsoCurrencyCode"/>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</DataTemplate>
</mux:Column.CellTemplate>
</mux:Column>
<mux:Column Name="amount" Width="100" DisplayName="ViewHeader_LeaseAgreement_Amount" Property="Amount" DataType="s:Decimal" IsVisible="false">
<mux:Column.CellTemplate>
<DataTemplate>
<TextBlock>
<TextBlock.Text>
<Binding Path="Ceiling">
<Binding.Converter>
<bp:CurrencyAmountConverter/>
</Binding.Converter>
</Binding>
</TextBlock.Text>
</TextBlock>
</DataTemplate>
</mux:Column.CellTemplate>
</mux:Column>
<mux:Column Name="currency" DisplayMemberBinding="{Binding Path=CeilingIsoCurrencyCode}" Width="100" DisplayName="ViewHeader_LeaseAgreement_Currency" Property="AmountIsoCurrencyCode" DataType="s:String" IsVisible="false"/>
</mux:ColumnCollection>
</Columns>
<ViewStrings>
<ViewString ID="ViewHeader_LeaseAgreement_Id">$MPElement[Name="ViewHeader_LeaseAgreement_Id"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_DisplayName">$MPElement[Name="ViewHeader_LeaseAgreement_DisplayName"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_Description">$MPElement[Name="ViewHeader_LeaseAgreement_Description"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_Supplier">$MPElement[Name="ViewHeader_LeaseAgreement_Supplier"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_EffectiveDate">$MPElement[Name="ViewHeader_LeaseAgreement_EffectiveDate"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_ExpirationDate">$MPElement[Name="ViewHeader_LeaseAgreement_ExpirationDate"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_ContractManager">$MPElement[Name="ViewHeader_LeaseAgreement_ContractManager"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_Organization">$MPElement[Name="ViewHeader_LeaseAgreement_Organization"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_Location">$MPElement[Name="ViewHeader_LeaseAgreement_Location"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_CostCenter">$MPElement[Name="ViewHeader_LeaseAgreement_CostCenter"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_Ceiling">$MPElement[Name="ViewHeader_LeaseAgreement_Ceiling"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_Amount">$MPElement[Name="ViewHeader_LeaseAgreement_Amount"]$</ViewString>
<ViewString ID="ViewHeader_LeaseAgreement_Currency">$MPElement[Name="ViewHeader_LeaseAgreement_Currency"]$</ViewString>
</ViewStrings>
</Presentation>
</View>