ESIResultService
The ESIResultService defines the input of theWindchill ESI Results Shared Service, for sending results messages to Windchill PDMLink. The following is a description of the ESIResult schema:
Element
Description
ObjectID
AWindchill PDMLink unique federation identifier for the object.
ObjectDescription
The object number used in the distribution target.
Class
Class of the object. Comes from the ObjectHeader of the object for which the result is being sent.
Action
Describes the action that was performed on the object. Should be populated from the ObjectHeader structure of the object that the results are being sent for. If the value needs to be set, the global variables called ESICONSTANT_CREATE, ESICONSTANT_CHANGE, and ESICONSTANT_DELETE, ESICONSTANT_UNCHANGED must be used to populate the field. See the 《Windchill Enterprise Systems Integration Installation and Configuration - SAP R/3》 section for descriptions and details.
* 
No hardcoded English text should be put in this field.
TargetID
The TargetID string the object was published to. This is available in the ObjectHeader/ESITarget structure in the field called TargetID.
* 
This must be the exact string, not a substring of the value sent in the Response message from Windchill PDMLink
TransactionID
The identifier for the current transaction. This value is available in the ControlData structure of the CBO.
Successful
A global value that indicates true or false value for success or failure (ESICONSTANT_TRUE, ESICONSTANT_FALSE). See 《Windchill Enterprise Systems Integration Installation and Configuration - SAP R/3》 section for details.
Message
This structure contains all the information to be sent back toWindchill PDMLink in the PostResult message field.
EAIPrimary
The five-digit message code corresponding to the primary message to be sent to Windchill in the PostResult message. For more information, see Message Logging, Error Handling, and Return Messaging.
EAISecondary
The five-digit message code corresponding to a functional decision or functional warning message to be sent to Windchill. For more information, see section Return Messaging to Windchll in topicMessage Logging, Error Handling, and Return Messaging.
ERPPrimary
Primary return information from the ERP system.
ERPSecondary
Secondary return information from the ERP system.
Root Cause
The five-digit message code that corresponds to a root cause message. This will give users additional hints or tips on the error or where to find additional information.
EAIAdditionalInformation
Additional information from the EAI system (non-ERP). Typically, this will be an error stack trace from TIBCO BusinessWorks.
ExtraInformation
This is for customization use.
Subtransaction
Global true or false value indicating if this is or is not a subtransaction result.
TimeStamp
Java-enabled or left blank timestamp value.
LoggingFlag
Toggles logging service on and off. Set for true and false in the following global variables:ESICONSTANT_TRUE, ESICONSTANT_FALSE. See 《Windchill Enterprise Systems Integration Installation and Configuration - SAP R/3》 section for details.
* 
In the case of an error that occurs within the WC_ResultService, the ErrorHandling code overrides this logging value.
EventFlag
Determines which messages are sent to Windchill PDMLink. Set to true or false using the global variables: ESICONSTANT_TRUE, ESICONSTANT_FALSE.
If set to true, a PostResult message AND a PostEvent message are sent to Windchill PDMLink.
If set to false, ONLY a PostResult message is sent.
* 
When the Subtransaction field is set to true, this value should NOT be set to true. A PostEvent message should ONLY be sent as the final message.
Properties
The JMS properties that should be sent for proper invocation by the distribution target.
這是否有幫助?