Update Method

The Update method is called when a record is modified. The following figure illustrates the property set for the Update input.

Update Input Property Set: This image is described in the surrounding text.

The following is the XML representation of the property set shown in the previous figure:

<?xml version="1.0" encoding="UTF-8" ?> 
<?Siebel-Property-Set EscapeNames="true"?> 
<PropertySet 
	Business_spcComponent_spcId="1"
	Business_spcComponent_spcName="Contact">
<PropertySet
	Field_spcName="AccountId"
	Changed="false"
	Field_spcValue="1-6"/>
<PropertySet
	Field_spcName="Name"
	Changed="false"
	Field_spcValue="MaxAdams"/>
<PropertySet
	Field_spcName="Phone"
	Changed="true"
	Field_spcValue="(408)234-1029"/>
<PropertySet
	Field_spcName="Location"
	Changed="true"
	Field_spcValue="SanJose"/>
<PropertySet
	Field_spcName="AccessId"
	Changed="false"
	Field_spcValue="146" />  
</PropertySet>

The following figure illustrates the property set for the Update output.

Note: The property set for Update output does not affect the data in the business component. The output property set for Update is used to indicate what fields or records were changed.
Update Output Property Set: This image is described in the surrounding text.

The following is the XML representation of the property set shown in the previous figure:

<?xml version="1.0" encoding="UTF-8" ?> 
<?Siebel-Property-Set EscapeNames="true"?> 
<PropertySet 
	<PropertySet
		Phone=="(408)234-1029"
		Location="San Jose" /> 
</PropertySet>