Object Structure Element
72
Integration Guide
object. If the parent object does not exist in the database, no error is reported to
the sending system.
Update actions
The change and replace actions indicate that the existing database records are
updated. The AddChange action can result in an update when the record that is
to be processed exists in the receiving system.
The change and replace actions are interchangeable in the case of updates to
single-level standard object structures. For hierarchical object structures, the two
actions have different XML content and require different processing by the
receiving system.
Change action
A change action on the primary object in an XML message indicates that the
message contains one or more parent or child records that are added, changed, or
deleted. It always contains the parent of any child record to be updated, even if
the parent is unchanged.
When the primary object in an inbound or outbound XML message contains a
change action, each child object in the message can contain one of the following
action codes.
If an action code is not listed in the preceding table, an error occurs in the
processing of the XML document.
Replace action
A replace action on the primary object in an XML message indicates that the
message contains a complete set of objects that represent the net result of
additions, changes, and deletions to the object structure. These objects replace the
existing database records, and any database record that is not referenced in the
XML message is deleted.
For outbound processing, the system always uses the replace action, not the
change action.
In inbound processing, the system deletes any existing child record that is not
explicitly mentioned in the message. External systems must process replace
actions in the same manner; that is, delete any child records that are not part of
the XML document.
The replace action can appear only on the primary object in an XML message. If a
child record in an inbound XML message contains a replace action when the
primary object contains a change action, the integration framework does not
process the message. If a child level record contains a replace action when the
parent contains any action other than change, the system ignores the action on the
child record.
Action Code of
Child object
Processing Action
Add
Add the child record; if it exists, an error results.
Delete
Delete the child record; if it does not exist, an error
results.
Change
Update the child record; if it does not exist, an error
results.
Null or no action
specified
If the child record exists, update it; if child record does
not exist, add it.
Summary of Contents for BJ0NJML - Service And Asset Management
Page 12: ...xii Integration Guide ...
Page 14: ...xiv Integration Guide ...
Page 16: ......
Page 31: ...Integration Framework for User Interface Integration Integration Framework Architecture 17 ...
Page 32: ...Integration Framework for User Interface Integration 18 Integration Guide ...
Page 60: ...Synchronous Inbound Integration Processing 46 Integration Guide ...
Page 122: ...Configuring External Systems 108 Integration Guide ...
Page 142: ...Non queue Error Management 128 Integration Guide ...
Page 154: ...Integration Components 140 Integration Guide ...
Page 156: ......
Page 172: ...Writing Custom Handlers 158 Integration Guide ...
Page 176: ...Queue Tables 162 Integration Guide ...
Page 190: ...IBM WebSphere MQ 176 Integration Guide ...
Page 212: ...Inbound Message Receipt 198 Integration Guide ...
Page 226: ...Integration Controls 212 Integration Guide ...
Page 252: ...Predefined External System Modifications 238 Integration Guide ...
Page 263: ...Web Service Queries Integration Queries 249 ...
Page 264: ...Web Service Queries 250 Integration Guide ...
Page 272: ...Integration Web Service Invocations 258 Integration Guide ...
Page 276: ...Multilanguage Attributes 262 Integration Guide ...
Page 293: ...Integration Module Invocation Integration Modules 279 ...
Page 294: ...Integration Module Invocation 280 Integration Guide ...
Page 302: ...Associating a Condition with a Signature Option 288 Integration Guide ...
Page 320: ...Work Order Collaboration Switches 306 Integration Guide ...
Page 324: ...310 Integration Guide ...