<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/da/onlinemanual/000305" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">The 'becomes' setting</Title>
		<Keyword ContextSensitive="No"><Level1>Triggering</Level1>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>i-Flow</Level1>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>becomes setting</Level1>
		</Keyword>
	</Header>
	<AimSection><Paragraph class="Default">The following table shows how the 'Becomes' setting works.</Paragraph>
	</AimSection>
	<GeneralSection><List><ListIntro>The table below contains some exclamation marks for situations where the behavior may not be obvious at first sight.</ListIntro>
			<ListItem>Regarding 'change' events, when an attribute value is changed from a value that meets the condition to a value that doesn't meet the condition, the change event is not processed.</ListItem>
			<ListItem>Regarding 'create' and 'delete' events, take into account that attribute values that are missing do not have the same meaning as attributes having an empty value, such as "" or 0. So if an entity is deleted, that doesn't mean that the attribute value for that entity becomes 0, because it is undefined.</ListItem>
		</List>
		<Paragraph class="Default"></Paragraph>
		<Paragraph class="Default">If specific handling of these situations is needed, you can combine conditions on attribute values with conditions on event type.</Paragraph>
		<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><THEAD><TR><TD rowspan="1" colspan="1">Condition</TD>
					<TD rowspan="1" colspan="1">Event</TD>
					<TD rowspan="1" colspan="1">Old value</TD>
					<TD rowspan="1" colspan="1">New Value</TD>
					<TD rowspan="1" colspan="1">Condition met if becomes=off</TD>
					<TD rowspan="1" colspan="1">Condition met if becomes=on</TD>
				</TR>
			</THEAD>
			<TBODY><TR><TD rowspan="1" colspan="1">itemGroup = "X"</TD>
					<TD rowspan="1" colspan="1">create</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">X</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">create</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">Y</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">delete</TD>
					<TD rowspan="1" colspan="1">X</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">delete</TD>
					<TD rowspan="1" colspan="1">Y</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">X</TD>
					<TD rowspan="1" colspan="1">X</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">X</TD>
					<TD rowspan="1" colspan="1">Y</TD>
					<TD rowspan="1" colspan="1">No (!)</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">Y</TD>
					<TD rowspan="1" colspan="1">X</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">Y</TD>
					<TD rowspan="1" colspan="1">Y</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">quantity = 0</TD>
					<TD rowspan="1" colspan="1">create</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">Yes (!)</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">create</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">delete</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">delete</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">No (!)</TD>
					<TD rowspan="1" colspan="1">No (!)</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">No (!)</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">quantity &lt;&gt; 0</TD>
					<TD rowspan="1" colspan="1">create</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">create</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">delete</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">delete</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">No (!)</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">No (!)</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">No</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1"></TD>
				</TR>
				<TR><TD rowspan="1" colspan="1">quantity changed</TD>
					<TD rowspan="1" colspan="1">create</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">-</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">create</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">-</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">delete</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">-</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">delete</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">-</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">-</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">-</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">-</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">1</TD>
					<TD rowspan="1" colspan="1">Yes</TD>
					<TD rowspan="1" colspan="1">-</TD>
				</TR>
				<TR><TD rowspan="1" colspan="1"></TD>
					<TD rowspan="1" colspan="1">change</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">0</TD>
					<TD rowspan="1" colspan="1">No</TD>
					<TD rowspan="1" colspan="1">-</TD>
				</TR>
			</TBODY>
		</TABLE>
		<Note><SectionTitle>
                                 Note
                              </SectionTitle>
			<Paragraph class="Default">Unlike in other products such as the Synchronization Server, a condition won't change the event type from 'change' to 'create' or 'delete'.</Paragraph>
		</Note>
	</GeneralSection>
</ManualTopic>
