Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield968

ActionField968

Beschrijving: Create InternalCharges from ServiceContract (ContractLines) and start the projected yields excel report ordered by Renter. Custom: Nee

Propertiesbewerken

Property Type Accessor
ServiceContract ServiceContract Root

XMLbewerken

<Workflow Name="ActionField968" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create InternalCharges from ServiceContract (ContractLines) and start the projected yields excel report ordered by Renter.</Description>
	<Properties>
		<Property	Name="ServiceContract"	Type="ServiceContract"	Accessor="Root"		Direction="In" />

		<Property	Name="FileName"			Type="UltimoString"		Accessor="Internal" />
		<Property	Name="Year"				Type="Int32"			Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Dialog Name="Select data for excel report" TitleCode="SELECT_YEAR">
			<Container>
				<Number Name="Year" OutputProperty="${Year}" LabelCode="YEAR" MinValue="1950" MaxValue="3000" DecimalPrecision="0" />
			</Container>
		</Dialog>

		<Transaction>
			<Assign Name="construct a filename" Property="${FileName}" Value="ExportDataPerRenter_${Year}.xls" />

			<Command Name="InternalChargeCreate_ExcelExportYieldsForRentsPerRenter" CommandName="InternalChargeCreate_ExcelExportYieldsForRentsPerRenter">
				<Parameter	Name="FileName"					Direction="In"		Value="${FileName}" />
				<Parameter	Name="IncludeConceptContracts"	Direction="In"		Value="True" />
				<Parameter	Name="PricesIncludingVat"		Direction="In"		Value="True" />
				<Parameter	Name="ServiceContract"			Direction="In"		Value="${ServiceContract}" />
				<Parameter	Name="Year"						Direction="In"		Value="${Year}" />
			</Command>
		</Transaction>

		<UserContent Name="Post" />

		<View Name="View document" ViewName="ExternalDocumentViewer">
			<Parameter	Name="FileName"	Direction="In"		Value="EXPORT\${FileName}" />
		</View>
	</Execution>
</Workflow>