Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 6 TIBCO ActiveMatrix BusinessWorks: Working with the ItemMaster Component Interface : Expected Results

Expected Results
The example results can be viewed in the respective output XML files configured in Setting Up the Example.
The GetProcess data is fetched based on the SETID and INV_PROD_FAM_CD parameters specified in the Get_input.xml file. In case of a success, it retrieves the employee details and generates the Get_output.xml file. In case of an error, it prints the error message in the get_output_err.xml file. Any change to the input XML file starts the process.
The following TIB_INV_PROD_FAMILIES record is from an example Get_output.xml file:

 
    <?xml version="1.0" encoding="UTF-8"?>
    <MapperOutput>
    <PROPERTIES>
<SETID>CRM01</SETID>
<INV__PROD__FAM__CD>COMPACTOR</INV__PROD__FAM__CD>
<TIB__INV__PROD__FAMILIES_caret_INV__ITEM__FAM>
<item>
<OPRN__CODE>U</OPRN__CODE>
<EFFDT>01/01/2000</EFFDT>
<EFF__STATUS>A</EFF__STATUS>
<DESCR>With Compactor 11</DESCR>
<DESCRSHORT>Compactor</DESCRSHORT>
</item>
</TIB__INV__PROD__FAMILIES_caret_INV__ITEM__FAM>
</PROPERTIES>
    </MapperOutput>

 
The adapter tester picks up the SETID and INV_PROD_FAM_CD parameters from the Update_input.xml file and updates the corresponding data in PeopleSoft.
The SyncProcess does not have an input XML file. Any change to the employee data in PeopleSoft will invoke the SyncProcess. Sync_output.xml will have the corresponding message published to the adapter.
The following TIB_INV_PROD_FAMILIES record is from an example Sync_output.xml file:

 
   <?xml version="1.0" encoding="UTF-8"?>
   <ns0:TIB__INV__PROD__FAMILIES__PROPERTIES
   xmlns:ns0="http://www.tibco.com/xmlns/ae2xsd/2002/05/ae/
   PeopleSoft/pub/businessObjects">
<SETID>CRM01</SETID>
<INV__PROD__FAM__CD>COMPACTOR</INV__PROD__FAM__CD>
<TIB__INV__PROD__FAMILIES_caret_INV__ITEM__FAM>
<item>
<OPRN__CODE>U</OPRN__CODE>
<EFFDT>2000-01-01</EFFDT>
<EFF__STATUS>A</EFF__STATUS>
<DESCR>With Compactor 12</DESCR>
<DESCRSHORT>Compactor</DESCRSHORT>
</item>
</TIB__INV__PROD__FAMILIES_caret_INV__ITEM__FAM>
    </ns0:TIB__INV__PROD__FAMILIES__PROPERTIES>

 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved