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

ActionField1578

Beschrijving: Recalculate the Prices of RequestForQuotation Custom: Nee

Propertiesbewerken

Property Type Accessor
RequestForQuotation RequestForQuotation Root

XMLbewerken

<Workflow Name="ActionField1578" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Recalculate the Prices of RequestForQuotation</Description>
	<Properties>
		<Property	Name="RequestForQuotation"	Type="RequestForQuotation"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Command Name="FindExchangeRate" CommandName="FindExchangeRate">
				<Parameter	Name="CounterCurrency"	Direction="In"		Value="${RequestForQuotation.Currency}" />
				<Parameter	Name="Date"				Direction="In"		Value="#{Environment.CurrentDateTime}" />
				<Parameter	Name="ConversionFactor"	Direction="Out"												OutputProperty="${RequestForQuotation.CurrencyConversionFactor}" />
				<Parameter	Name="Rate"				Direction="Out"												OutputProperty="${RequestForQuotation.CurrencyRate}" />
			</Command>

			<Command Name="calculate StandardTotalPrice" CommandName="CalculateCurrency">
				<Parameter	Name="ConversionFactor"	Direction="In"		Value="${RequestForQuotation.CurrencyConversionFactor}" />
				<Parameter	Name="Decimals"			Direction="In"		Value="${RequestForQuotation.TotalPrice.DecimalDigits}" />
				<Parameter	Name="Rate"				Direction="In"		Value="${RequestForQuotation.CurrencyRate}" />
				<Parameter	Name="ToCalculate"		Direction="In"		Value="${RequestForQuotation.TotalPrice}" />
				<Parameter	Name="Calculated"		Direction="Out"																OutputProperty="${RequestForQuotation.StandardTotalPrice}" />
			</Command>
		</Transaction>

		<UserContent Name="Post" />
	</Execution>
</Workflow>