MsgData Section
In addition to field type information, each PeopleSoft message contains data content in the MsgData section of the message. Between the MsgData tags are one or more Transaction sections. Each transaction represents one row of data.
Between the Transaction tags is a rowset hierarchy of records and fields. The record tags at each level contain the fields for that record, followed by any records at the next lower level.
The last record within a transaction is a fully specified PeopleSoft Common Application Message Attributes (PSCAMA) record, which provides information about the entire transaction. Immediately following the closing tag of every record below level 0 is a PSCAMA record containing only the AUDIT_ACTN field that specifies the action for that record.
Simple MsgData Template
Following is a simple MsgData template.
Note:
The PSCAMA PUBLISH_RULE_ID and MSGNODENAME fields (shown emphasized) are used internally by certain PeopleSoft utilities, but third-party systems can generally ignore them and don’t need to include them in messages.
<MsgData>
<Transaction>
<level0recname1 class="R">
<fieldname1>value</fieldname1>
<fieldname2>value</fieldname2>
<level1recname1 class="R">
<fieldname3>value</fieldname3>
<fieldname4>value</fieldname4>
</level1recname1>
<PSCAMA class="R">
<AUDIT_ACTN>value</AUDIT_ACTN>
</PSCAMA>
<level1recname2 class="R">
<fieldname5>value</fieldname5>
</level1recname2>
<PSCAMA class="R">
<AUDIT_ACTN>value</AUDIT_ACTN>
</PSCAMA>
</level0recname1>
<level0recname2 class="R">
<fieldname6>value</fieldname6>
</level0recname2>
<PSCAMA class="R">
<LANGUAGE_CD>value</LANGUAGE_CD>
<AUDIT_ACTN>value</AUDIT_ACTN>
<BASE_LANGUAGE_CD>value</BASE_LANGUAGE_CD>
<MSG_SEQ_FLG>value</MSG_SEQ_FLG>
<PROCESS_INSTANCE>value</PROCESS_INSTANCE><PUBLISH_RULE_ID>value</PUBLISH_RULE_ID><MSGNODENAME>value</MSGNODENAME>
</PSCAMA>
<Transaction>
</MsgData>
Related Topics