<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/da/trg/datrg1200m000" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Start Triggering via Job Timer (datrg1200m000)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to implement an 'active' trigger. By default, defined triggers simply wait until they are invoked. Through this session, a trigger can be started regularly without invocation from another application.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph class="Default">Enter a trigger, or a range of triggers, and optionally specify a class, an event type and up to four attribute names plus values. For details, refer to the online field help.</Paragraph>
			<Paragraph class="Default">When executed, this session invokes the selected trigger(s) only once. To start the triggers multiple times, you must link this session to a job. Run the <GUIRef href="" role="manual">Make Job</GUIRef> command to do so.</Paragraph>
			<Paragraph class="Default">The triggers are executed sequentially. The session gives a message if an error was reported. When running in a job this message is stored in the job history.</Paragraph>
			<Paragraph class="Default">You can also use this session to test a trigger implementation, by running it directly instead of creating a job. But note that the possibilities to define the event contents are limited, because you cannot define events having many attributes or having a complex structure.</Paragraph>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/da/onlinemanual/000300" role="manual">Triggering</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="event.class"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Class</Title>
			</Header>
			<FuncDesc>A class to be set in the trigger or in the client application.</FuncDesc>
			<SimpleSection><Paragraph class="Default">In theory you can use any class name, but in practice the client application that receives the trigger may expect a specific class name. Additionally, the class name can be used in the trigger definition (e.g. in the trigger condition script or in the trigger action script).</Paragraph>
				<Paragraph class="Default">This field is optional.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="event.type"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Event Type</Title>
			</Header>
			<FuncDesc>The event type to be set in the trigger.</FuncDesc>
			<SimpleSection><Paragraph class="Default">This can be a standard event, such as 'create', 'change' or 'delete, or a specific event such as 'printAcceptedOrders'.</Paragraph>
				<Paragraph class="Default">The trigger may require a specific type of event; in that case the name(s) of the event type(s) that you can use can be found in the trigger definition (e.g. in the trigger condition script or in the trigger action script).</Paragraph>
				<Paragraph class="Default">Additionally, the client application receiving the trigger event may expect certain attributes to be present.</Paragraph>
				<Paragraph class="Default">This field is optional.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="attribute.1" OtherIDs="attribute.2 attribute.3 attribute.4"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Attribute</Title>
			</Header>
			<FuncDesc>The name of an attribute to be handled by the trigger(s). The attribute name depends on the selected trigger(s).</FuncDesc>
			<SimpleSection><Paragraph class="Default">The trigger may use specific attributes in the trigger's condition or in the action script. Additionally, the client application receiving the trigger event may expect certain attributes to be present.</Paragraph>
				<Paragraph class="Default">Example:</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">Class:</TD>
							<TD rowspan="1" colspan="1">BusinessPartner</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Event Type:</TD>
							<TD rowspan="1" colspan="1">change</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Attribute Name:</TD>
							<TD rowspan="1" colspan="1">businesspartner</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Attribute Name:</TD>
							<TD rowspan="1" colspan="1">status</TD>
						</TR>
					</TBODY>
				</TABLE>
				<Paragraph class="Default">This field is optional.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="value.1" OtherIDs="value.2 value.3 value.4"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Value</Title>
			</Header>
			<FuncDesc>The value for the attribute specified in the previous field.</FuncDesc>
			<SimpleSection><Paragraph class="Default">Example:</Paragraph>
				<TABLE border="1" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD rowspan="1" colspan="1">Class:</TD>
							<TD rowspan="1" colspan="1">BusinessPartner</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Event Type:</TD>
							<TD rowspan="1" colspan="1">change</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Attribute Name:</TD>
							<TD rowspan="1" colspan="1">businesspartner</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Value:</TD>
							<TD rowspan="1" colspan="1">2147483647</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Attribute Name:</TD>
							<TD rowspan="1" colspan="1">status</TD>
						</TR>
						<TR><TD rowspan="1" colspan="1">Value:</TD>
							<TD rowspan="1" colspan="1">inactive</TD>
						</TR>
					</TBODY>
				</TABLE>
			</SimpleSection>
			<Note><SectionTitle>
                                    Note
                                 </SectionTitle>
				<Paragraph class="Default">The attribute names and values depend on the selected trigger(s).</Paragraph>
			</Note>
			<SimpleSection><Paragraph class="Default">This field is optional.</Paragraph>
			</SimpleSection>
		</FieldHelp>
	</Fields>
</Session>
