Your browser does not support JavaScript!
You are here: Transaction Rules > Transaction Elements > Spawns Element

Spawns Element

Description

The Spawns element generates subsequent transactions based on defined criteria.  Includes the values of the fields in the activity it is spawning.

The following spawn codes are supported:

Spawns Element/Attribute Table
Element/Tag Attribute Definition Element/Attribute Value and Description

<Spawns>

This is the start and end element for the transaction.

<Spawn>

 

 

Required element:

Opening element that defines the transaction to spawn and its data.

 

IF

Optional attribute:

Condition that when true initiates the spawn. If not present spawn will generate under all conditions. Go to Operators available for EXPRESSION Writing to see what operators you may use for condition writing.

String:

<Transaction>

 

Required element:

Name of the transaction to be spawned.

String:

FIELD

Required attribute:

Variable defining the EffectiveDate of the spawn. other codes not applicable

String:

 

SPAWNCODE

Required attribute:

As defined by codename in AsCodeSpawn in AsCode table. Determines effective date of spawned transaction.

Code: '03'

Note: Other spawn codes not supported.

<Allocation>

     
 

TYPE

Required attribute:

Policy / Parent / Segment / Program

  ProgramGUID Optional element: When Type="Program".Specifies the ProgramGUID to which the Allocation has to be updated. MathVarible/Activity Fields(Activity: <FieldName>)

<SpawnFields>

Optional element:

Opening and closing tags identify the SpawnField section of the spawn.

<SpawnField>

Required, Repeatable:

Identifies and defines the fields that will be spawned and value populated when the activity processes.

<From>

Defines the value of the Activity field or MathVariable passed to the spawn.

Name of ActivityField or MathVariable in the transaction.

<To>

Defines the field in the spawned activity to be populated.

Name of ActivityField or MathVariable in the spawning transaction to receive value.

<DataType>

Defines the value of the DataType for the spawned Activity field.

Check
Combo
Date
Decimal
Integer
Money
Percent
Radio
Text
Tex tArea 

<Suspense>

TYPE

A single suspense ticket to be spawned.

Indicates the suspense is based on a suspense number.

Number or GUID

<MultiSuspense>

TYPE

Required:

Multiple suspense tickets to be spawned.

Defines the primary key type of the referenced variable.

Number or GUID

XML Example

<Spawns>
<Spawn>
<Transaction SPAWNCODE="03 FIELD="NextCycleDate">EntryReportByAccount</Transaction>
<SpawnFields>
<SpawnField>
<From>GroupByField</From>
<To>GroupBy</To>
<DataType>Text</DataType>
</SpawnField>
<SpawnField>
<From>NextCycleDate</From>
<To>FromDate</To>
<DataType>Date</DataType>
</SpawnField>
<SpawnFields>
<Allocation TYPE="Policy">02</Allocation>
</Spawn>
</Spawns>


Copyright © 2009, 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices