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

ActionField1828

Beschrijving: Update ABCCode when changing UltimoSettings.StockLevelPerSite. Custom: Nee

XMLbewerken

<Workflow Name="ActionField1828" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Update ABCCode when changing UltimoSettings.StockLevelPerSite.</Description>
	<Properties />
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="PurchasePricePerSite is true" Condition="#{UltimoSettings.PurchasePricePerSite} == False" MessageCode="3817" />

		<When Name="AbcCode enabled" Condition="#applicationelementenabled('d9d33705-bf55-4dc2-d792-5a54fa51daf0') == true">
			<Choose Name="enable or disable StockLevelPerSite">
				<When Name="StockLevelPerSite is false" Condition="#{UltimoSettings.StockLevelPerSite} == False">
					<ContinuationQuestion Name="Set StockLevelPerSite to true?" MessageCode="3814" />
				</When>


				<When Name="StockLevelPerSite is true" Condition="#{UltimoSettings.StockLevelPerSite} == True">
					<ContinuationQuestion Name="Set StockLevelPerSite to false?" MessageCode="3815" />
				</When>
			</Choose>
		</When>

		<Transaction>
			<Command Name="Update Ummsettings" CommandName="UmmSettingUpdateStockLevelPerSite" />
		</Transaction>

		<Command Name="ClearCache" CommandName="ClearCache" />

		<UserContent Name="Post" />

		<View Name="OpenScreen" ViewName="DataEntryScreen">
			<Parameter	Name="ScreenName"	Direction="In"		Value="umm01" />
		</View>
	</Execution>
</Workflow>