Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IndexParameterDescriptionRequired?Data Type (max length)Example
0kfsChartCodeKFS Chart CodeYesString(2)IR
1kfsOrgCodeKFS Organization CodeYesString(4)90529999

DB Query

Code Block
SELECT FIN_COA_CD, ORG_CD, ORG_ACTIVE_CD FROM CA_ORG_T a WHERE a.ORG_ACTIVE_CD <> 'N' AND 
(
(a.ORG_CD='90529999' AND a.FIN_COA_CD='IRUC') OR 
(a.ORG_CD='90539999' AND a.FIN_COA_CD='IR') OR 
(a.ORG_CD='11119999' AND a.FIN_COA_CD='IRMC') OR
(a.ORG_CD='90540000' AND a.FIN_COA_CD='XX')
);

...

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)90529999
isValidIs the KFS Project Code valid?booleantrue 

...

Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:isValidKFSOrganizations>
         <kfsOrganizationCodeList><kfsOrganizationList>
            <item>IR<<kfsChartCode>UC</item>kfsChartCode>
            <item>9052<<kfsOrgCode>9999</item>kfsOrgCode>
         </kfsOrganizationCodeList>kfsOrganizationList>
         <kfsOrganizationCodeList><kfsOrganizationList>
            <item>IR<<kfsChartCode>IR</item>kfsChartCode>
            <item>9053<<kfsOrgCode>9999</item>kfsOrgCode>
         </kfsOrganizationCodeList>kfsOrganizationList>
         <kfsOrganizationCodeList><kfsOrganizationList>
            <item>IR<<kfsChartCode>MC</item>kfsChartCode>
            <item>1234<<kfsOrgCode>9999</item>kfsOrgCode>
         </kfsOrganizationCodeList>kfsOrganizationList>
         <kfsOrganizationCodeList><kfsOrganizationList>
            <item>XX<<kfsChartCode>XX</item>kfsChartCode>
            <item>9054<<kfsOrgCode>0000</item>kfsOrgCode>
         </kfsOrganizationCodeList>kfsOrganizationList>
      </adc:isValidKFSOrganizations>
   </soapenv:Body>
</soapenv:Envelope>

...

Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:isValidKFSOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <kfsChartCode>IR<<kfsChartCode>MC</kfsChartCode>
            <kfsOrgCode>9053<<kfsOrgCode>9999</kfsOrgCode>
            <valid>true</valid>
         </return>
         <return>
            <kfsChartCode>XX<<kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9054<<kfsOrgCode>9999</kfsOrgCode>
            <valid>false<<valid>true</valid>
         </return>
         <return>
            <kfsChartCode>IR<<kfsChartCode>UC</kfsChartCode>
            <kfsOrgCode>1234<<kfsOrgCode>9999</kfsOrgCode>
            <valid>false<<valid>true</valid>
         </return>
         <return>
            <kfsChartCode>IR<<kfsChartCode>XX</kfsChartCode>
            <kfsOrgCode>9052<<kfsOrgCode>0000</kfsOrgCode>
            <valid>true<<valid>false</valid>
         </return>
      </ns2:isValidKFSOrganizationsResponse>
   </soap:Body>
</soap:Envelope> 

...

Code Block
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();

ArrayList<OrganizationParameters> StringArray sa120pl17 = new StringArrayArrayList<OrganizationParameters>();
sa120.getItem().add("IR
OrganizationParameters op170 = new OrganizationParameters();
op170.setKfsChartCode("UC");
sa120.getItem().addop170.setKfsOrgCode("90529999");
OrganizationParameters 
StringArray sa121op171 = new StringArrayOrganizationParameters();
sa121.getItem().addop171.setKfsChartCode("IR");
sa121.getItem().addop171.setKfsOrgCode("90539999");
OrganizationParameters 
StringArray sa122op172 = new StringArrayOrganizationParameters();
sa122op172.getItemsetKfsChartCode().add("IRMC");
sa122.getItem().addop172.setKfsOrgCode("11119999");
		OrganizationParameters StringArrayop173 sa123 = new StringArrayOrganizationParameters();
sa123.getItem().addop173.setKfsChartCode("XX");
sa123op173.getItemsetKfsOrgCode("0000");
pl17.add("9054"op170);
pl17.add(op171);
pl17.add(op172);
		pl17.add(op173);
List<OrganizationValidation> resultList12resultList17 = ds.isValidKFSOrganizations(Arrays.asList(sa120, sa121, sa122, sa123)pl17);
if (resultList12resultList17 != null) {
	for (Iterator i = resultList12resultList17.iterator(); i.hasNext();) {
		OrganizationValidation element = (OrganizationValidation) i.next();
		System.out.println("\t" + element.getKfsChartCode() + "/" + element.getKfsOrgCode() + " : " + element.isValid());
	}
} else {
	System.out.println("something bad happened...please check your query");
}

...

Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:getValidKFSOrganizations>
         <kfsOrganizationCodeList><kfsOrganizationList>
            <item>IR<<kfsChartCode>UC</item>kfsChartCode>
            <item>9052<<kfsOrgCode>9999</item>kfsOrgCode>
         </kfsOrganizationCodeList>kfsOrganizationList>
         <kfsOrganizationCodeList><kfsOrganizationList>
            <item>IR<<kfsChartCode>IR</item>kfsChartCode>
            <item>9053<<kfsOrgCode>9999</item>kfsOrgCode>
         </kfsOrganizationCodeList>kfsOrganizationList>
         <kfsOrganizationCodeList><kfsOrganizationList>
            <item>IR<<kfsChartCode>MC</item>kfsChartCode>
            <item>1234<<kfsOrgCode>9999</item>kfsOrgCode>
         </kfsOrganizationCodeList>kfsOrganizationList>
         <kfsOrganizationCodeList><kfsOrganizationList>
            <item>XX<<kfsChartCode>XX</item>kfsChartCode>
            <item>9054<<kfsOrgCode>0000</item>kfsOrgCode>
         </kfsOrganizationCodeList>kfsOrganizationList>
      </adc:getValidKFSOrganizations>
   </soapenv:Body>
</soapenv:Envelope> 

...

Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:getValidKFSOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <kfsChartCode>IR<<kfsChartCode>UC</kfsChartCode>
            <kfsOrgActiveCode>Y</kfsOrgActiveCode>
            <kfsOrgAddr1>Campus Drive</kfsOrgAddr1>
            <kfsOrgBeginDate>2010-07-01</kfsOrgBeginDate>
            <kfsOrgCampusCode>IR</kfsOrgCampusCode>
            <kfsOrgCity>Irvine</kfsOrgCity>
            <kfsOrgCode>9052<<kfsOrgCode>9999</kfsOrgCode>
            <kfsOrgCountryCode>US</kfsOrgCountryCode>
            <kfsOrgManagerId>000000076676<<kfsOrgManagerId>admin</kfsOrgManagerId>
            <kfsOrgName>PRIMARY CARE MEDICAL GROUP<<kfsOrgName>Converted Org</kfsOrgName>
            <kfsOrgState>CA</kfsOrgState>
            <kfsOrgTypeCode>A<<kfsOrgTypeCode>S</kfsOrgTypeCode>
            <kfsOrgZip>92697</kfsOrgZip>
            <kfsRCCode>10<<kfsRCCode>90</kfsRCCode>
            <kfsReportToChartCode>IR<<kfsReportToChartCode>UC</kfsReportToChartCode>
            <kfsReportToOrgCode>9821<<kfsReportToOrgCode>UNIV</kfsReportToOrgCode>
         </return>
         <return>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgActiveCode>Y</kfsOrgActiveCode>
            <kfsOrgAddr1>Campus Drive</kfsOrgAddr1>
            <kfsOrgBeginDate>2010-07-01</kfsOrgBeginDate>
            <kfsOrgCampusCode>IR</kfsOrgCampusCode>
            <kfsOrgCity>Irvine</kfsOrgCity>
            <kfsOrgCode>9053<<kfsOrgCode>9999</kfsOrgCode>
            <kfsOrgCountryCode>US</kfsOrgCountryCode>
            <kfsOrgDefaultAcctNumber>Z006411</kfsOrgDefaultAcctNumber>
        <kfsOrgManagerId>000000076676<    <kfsOrgManagerId>admin</kfsOrgManagerId>
            <kfsOrgName>HOSPITALIST<kfsOrgName>Converted PROGRAM<Org</kfsOrgName>
            <kfsOrgState>CA</kfsOrgState>
            <kfsOrgTypeCode>A<<kfsOrgTypeCode>S</kfsOrgTypeCode>
            <kfsOrgZip>92697</kfsOrgZip>
            <kfsRCCode>10<<kfsRCCode>90</kfsRCCode>
            <kfsReportToChartCode>IR<<kfsReportToChartCode>UC</kfsReportToChartCode>
            <kfsReportToOrgCode>9821<<kfsReportToOrgCode>UNIV</kfsReportToOrgCode>
         </return>
       </  <return>
            <kfsChartCode>MC</kfsChartCode>
            <kfsOrgActiveCode>Y</kfsOrgActiveCode>
            <kfsOrgAddr1>Campus Drive</kfsOrgAddr1>
            <kfsOrgBeginDate>2010-07-01</kfsOrgBeginDate>
            <kfsOrgCampusCode>IR</kfsOrgCampusCode>
            <kfsOrgCity>Irvine</kfsOrgCity>
            <kfsOrgCode>9999</kfsOrgCode>
            <kfsOrgCountryCode>US</kfsOrgCountryCode>
            <kfsOrgDefaultAcctNumber>1004000</kfsOrgDefaultAcctNumber>
            <kfsOrgManagerId>admin</kfsOrgManagerId>
            <kfsOrgName>Converted Org</kfsOrgName>
            <kfsOrgState>CA</kfsOrgState>
            <kfsOrgTypeCode>S</kfsOrgTypeCode>
            <kfsOrgZip>92697</kfsOrgZip>
            <kfsRCCode>90</kfsRCCode>
            <kfsReportToChartCode>UC</kfsReportToChartCode>
            <kfsReportToOrgCode>UNIV</kfsReportToOrgCode>
         </return>
      </ns2:getValidKFSOrganizationsResponse>
   </soap:Body>
</soap:Envelope> Envelope>

Java Client Example

Code Block
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();

StringArrayArrayList<OrganizationParameters> sa130pl17 = new StringArrayArrayList<OrganizationParameters>();
sa130.getItem().add("IR
OrganizationParameters op170 = new OrganizationParameters();
op170.setKfsChartCode("UC");
sa130.getItem().addop170.setKfsOrgCode("90529999");
OrganizationParameters op171 StringArray sa131 = new StringArrayOrganizationParameters();
sa131.getItem().addop171.setKfsChartCode("IR");
sa131.getItem().addop171.setKfsOrgCode("90539999");
OrganizationParameters op172 StringArray sa132 = new StringArrayOrganizationParameters();
sa132.getItem().addop172.setKfsChartCode("IRMC");
sa132op172.getItemsetKfsOrgCode().add("11119999");
OrganizationParameters 
StringArrayop173 sa133 = new StringArrayOrganizationParameters();
sa133op173.getItemsetKfsChartCode("XX");
op173.addsetKfsOrgCode("XX0000");
sa133.getItem()pl17.add(op170);
pl17.add(op171);
pl17.add(op172);
pl17.add("9054"op173);
		 
List<OrganizationDetails> resultList13resultList18 = ds.getValidKFSOrganizations(Arrays.asList(sa130, sa131,sa132,sa133)pl17);
if (resultList13resultList18 != null) {
	for (Iterator i = resultList13resultList18.iterator(); i.hasNext();) {
		OrganizationDetails element = (OrganizationDetails) i.next();
		System.out.println("\t" + element.getKfsChartCode() + "/" + element.getKfsOrgCode() + " : " + element.getKfsOrgName());
	}
} else {
	System.out.println("something bad happened...please check your query");
}

...

IndexParameterDescriptionRequired?Data Type (max length)Example
0fsLocationCodeFS Location CodeYesString(1)9
1fsHierarchyCodeFS Organization CodeNoString(4)90302000

DB Query

Code Block
SELECT 
FIN_COA_CD, 
ORG_CD, 
UC_LOC_CD, 
UC_HIERARCHY_CD, 
UC_HIERARCHY_TYPE_CD 
FROM UCI_CA_ORG_XW_T 
WHERE UC_HIERARCHY_TYPE_CD='O' AND 
(
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='90302000') OR 
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='90403000') OR 
(UC_LOC_CD='0' AND UC_HIERARCHY_CD='0000') 
);

...

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)99039022
fsHierarchyTypeFS Hierarchy TypeStringO
fsLocationCodeFS Location CodeString9
fsHierarchyCodeFS Hierarchy CodeString90302000

WS Example

Request
Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:translateFSOrganizations>
         <fsOrganizationList>
            <item>9<<fsHierarchyCode>2000</item>fsHierarchyCode>
            <item>9030<<fsLocationCode>9</item>fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <item>9<<fsHierarchyCode>3000</item>fsHierarchyCode>
            <item>9040<<fsLocationCode>9</item>fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <item>0<<fsHierarchyCode>0000</item>fsHierarchyCode>
            <item>0000<<fsLocationCode>0</item>fsLocationCode>
         </fsOrganizationList>
      </adc:translateFSOrganizations>
   </soapenv:Body>
</soapenv:Envelope>

...

Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:translateFSOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <fsHierarchyCode>9030<<fsHierarchyCode>2000</fsHierarchyCode>
            <fsHierarchyType>O</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9903<<kfsOrgCode>9022</kfsOrgCode>
         </return>
         <return>
            <fsHierarchyCode>9040<<fsHierarchyCode>3000</fsHierarchyCode>
            <fsHierarchyType>O</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9904<<kfsOrgCode>9002</kfsOrgCode>
         </return>
      </ns2:translateFSOrganizationsResponse>
   </soap:Body>
</soap:Envelope>

...

Code Block
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();

ArrayList<OrganizationTranslateParameters> pl20  
System.out.println("\nWSClient-translateFSOrganizations()"= new ArrayList<OrganizationTranslateParameters>();
StringArrayOrganizationTranslateParameters sa180otp200 = new StringArrayOrganizationTranslateParameters();
sa180otp200.getItemsetFsHierarchyCode().add("92000");
sa180.getItem().addotp200.setFsLocationCode("90309");
StringArrayOrganizationTranslateParameters sa181otp201 = new StringArrayOrganizationTranslateParameters();
sa181otp201.getItemsetFsHierarchyCode().add("93000");
sa181.getItem().addotp201.setFsLocationCode("90409");
StringArrayOrganizationTranslateParameters sa182otp202 = new StringArrayOrganizationTranslateParameters();
sa182otp202.getItemsetFsHierarchyCode("0000");
otp202.addsetFsLocationCode("0");
pl20.add(otp200);
sa182pl20.getItemadd(otp201);
pl20.add("0000"otp202);
List<Fs2KFSOrganizationDetails> resultList18resultList20 = ds.translateFSOrganizations(Arrays.asList(sa180,sa181,sa182))pl20);
if (resultList18resultList20 != null) {
	for (Iterator i = resultList18resultList20.iterator(); i.hasNext();) {
		Fs2KFSOrganizationDetails element = (Fs2KFSOrganizationDetails) i.next();
		System.out.println("\t" + element.getFsLocationCode() + "/" + element.getFsHierarchyCode() + "/" + element.getFsHierarchyType() + " : " + element.getKfsChartCode() + "/" + element.getKfsOrgCode()); 	}
} else {
	System.out.println("something bad happened...please check your query");
}

...

IndexParameterDescriptionRequired?Data Type (max length)Example
0fsLocationCodeFS Location CodeYesString(1)9
1fsHierarchyCodeFS Division CodeYesString(4)10031015

DB Query

Code Block
SELECT 
FIN_COA_CD, 
ORG_CD, 
UC_LOC_CD, 
UC_HIERARCHY_CD, 
UC_HIERARCHY_TYPE_CD 
FROM UCI_CA_ORG_XW_T 
WHERE UC_HIERARCHY_TYPE_CD='V' AND 
(
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='10031015') OR 
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='10051100') OR 
(UC_LOC_CD='0' AND UC_HIERARCHY_CD='0000')
);

...

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)98019006
fsHierarchyTypeFS Hierarchy TypeStringV
fsLocationCodeFS Location CodeString9
fsHierarchyCodeFS Hierarchy CodeString10031015

WS Example

Request
Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:translateFSDivisions>
         <fsOrganizationList>
            <item>9<<fsHierarchyCode>1015</item>fsHierarchyCode>
            <item>1003<<fsLocationCode>9</item>fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <item>9<<fsHierarchyCode>1100</item>fsHierarchyCode>
            <item>1005<<fsLocationCode>9</item>fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <item>0<<fsHierarchyCode>0000</item>fsHierarchyCode>
            <item>0000<<fsLocationCode>0</item>fsLocationCode>
         </fsOrganizationList>
      </adc:translateFSDivisions>
   </soapenv:Body>
</soapenv:Envelope>

...

Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:translateFSDivisionsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <fsHierarchyCode>1003<<fsHierarchyCode>1015</fsHierarchyCode>
            <fsHierarchyType>V</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9801<<kfsOrgCode>9006</kfsOrgCode>
         </return>
         <return>
            <fsHierarchyCode>1005<<fsHierarchyCode>1100</fsHierarchyCode>
            <fsHierarchyType>V</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9802<<kfsOrgCode>9012</kfsOrgCode>
         </return>
      </ns2:translateFSDivisionsResponse>
   </soap:Body>
</soap:Envelope>

...

Code Block
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();

ArrayList<OrganizationTranslateParameters> pl21 =  
System.out.println("\nWSClient-translateFSDivisions()"new ArrayList<OrganizationTranslateParameters>();
StringArrayOrganizationTranslateParameters sa190otp210 = new StringArrayOrganizationTranslateParameters();
sa190otp210.getItemsetFsHierarchyCode().add("91015");
sa190.getItem().addotp210.setFsLocationCode("10039");
StringArrayOrganizationTranslateParameters sa191otp211 = new StringArrayOrganizationTranslateParameters();
sa191otp211.getItemsetFsHierarchyCode().add("91100");
sa191.getItem().addotp211.setFsLocationCode("10059");
StringArrayOrganizationTranslateParameters sa192otp212 = new StringArrayOrganizationTranslateParameters();
sa192otp212.getItemsetFsHierarchyCode("0000");
otp212.addsetFsLocationCode("0");
pl21.add(otp210);
sa192pl21.getItemadd(otp211);
pl21.add("0000"otp212);
List<Fs2KFSOrganizationDetails> resultList19resultList21 = ds.translateFSDivisions(Arrays.asList(sa190,sa191,sa192)pl21);
if (resultList19resultList21 != null) {
	for (Iterator i = resultList19resultList21.iterator(); i.hasNext();) {
		Fs2KFSOrganizationDetails element = (Fs2KFSOrganizationDetails) i.next();
		System.out.println("\t" + element.getFsLocationCode() + "/" + element.getFsHierarchyCode() + "/" + element.getFsHierarchyType() + " : " + element.getKfsChartCode() + "/" + element.getKfsOrgCode()); 	}
} else {
	System.out.println("something bad happened...please check your query");
}

...

IndexParameterDescriptionRequired?Data Type (max length)Example
0fsLocationCodeFS Location CodeYesString(1)9
1fsHierarchyCodeFS SubDivisionCodeNoYesString(4)10031300

DB Query

Code Block
SELECT 
FIN_COA_CD, 
ORG_CD, 
UC_LOC_CD, 
UC_HIERARCHY_CD, 
UC_HIERARCHY_TYPE_CD 
FROM UCI_CA_ORG_XW_T 
WHERE UC_HIERARCHY_TYPE_CD='S' AND 
(
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='10031300') OR
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='10051350') OR
(UC_LOC_CD='0' AND UC_HIERARCHY_CD='0000')
);

...

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)90019004
fsHierarchyTypeFS Hierarchy TypeStringS
fsLocationCodeFS Location CodeString9
fsHierarchyCodeFS Hierarchy CodeString10031300

WS Example

Request
Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:translateFSSubDivisions>
         <fsOrganizationList>
            <item>9<<fsHierarchyCode>1300</item>fsHierarchyCode>
            <item>1003<<fsLocationCode>9</item>fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <item>9<<fsHierarchyCode>1350</item>fsHierarchyCode>
            <item>1005<<fsLocationCode>9</item>fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <item>0<<fsHierarchyCode>0000</item>fsHierarchyCode>
            <item>0000<<fsLocationCode>0</item>fsLocationCode>
         </fsOrganizationList>
      </adc:translateFSSubDivisions>
   </soapenv:Body>
</soapenv:Envelope>

...

Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:translateFSSubDivisionsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <fsHierarchyCode>1003<<fsHierarchyCode>1300</fsHierarchyCode>
            <fsHierarchyType>S</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9001<<kfsOrgCode>9004</kfsOrgCode>
         </return>
         <return>
            <fsHierarchyCode>1005<<fsHierarchyCode>1350</fsHierarchyCode>
            <fsHierarchyType>S</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9002<<kfsOrgCode>9010</kfsOrgCode>
         </return>
      </ns2:translateFSSubDivisionsResponse>
   </soap:Body>
</soap:Envelope>

...

Code Block
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();;

ArrayList<OrganizationTranslateParameters> pl22  
System.out.println("\nWSClient-translateFSSubDivisions()"= new ArrayList<OrganizationTranslateParameters>();
StringArrayOrganizationTranslateParameters sa200otp220 = new StringArrayOrganizationTranslateParameters();
sa200otp220.getItemsetFsHierarchyCode().add("91300");
sa200.getItem().addotp220.setFsLocationCode("10039");
StringArrayOrganizationTranslateParameters sa201otp221 = new StringArrayOrganizationTranslateParameters();
sa201otp221.getItemsetFsHierarchyCode().add("91350");
sa201.getItem().addotp221.setFsLocationCode("10059");
StringArrayOrganizationTranslateParameters sa202otp222 = new StringArrayOrganizationTranslateParameters();
sa202.getItem()otp222.setFsHierarchyCode("0000");
otp222.setFsLocationCode("0");
pl22.add("0"otp220);
sa202pl22.getItemadd(otp221);
pl22.add("0000"otp222);
List<Fs2KFSOrganizationDetails> resultList20resultList22 = ds.translateFSSubDivisions(Arrays.asList(sa200,sa201,sa202))pl22);
if (resultList20resultList22 != null) {
	for (Iterator i = resultList20resultList22.iterator(); i.hasNext();) {
		Fs2KFSOrganizationDetails element = (Fs2KFSOrganizationDetails) i.next();
		System.out.println("\t" + element.getFsLocationCode() + "/" + element.getFsHierarchyCode() + "/" + element.getFsHierarchyType() + " : " + element.getKfsChartCode() + "/" + element.getKfsOrgCode()); 
	}
} else {
	System.out.println("something bad happened...please check your query");
}

...

IndexParameterDescriptionRequired?Data Type (max length)Example
0fsLocationCodeFS Location CodeYesString(1)9
1fsHierarchyCodeFS DepartmentCodeNoYesString(4)0302

DB Query

Code Block
SELECT 
FIN_COA_CD, 
ORG_CD, 
UC_LOC_CD, 
UC_HIERARCHY_CD, 
UC_HIERARCHY_TYPE_CD 
FROM UCI_CA_ORG_XW_T 
WHERE UC_HIERARCHY_TYPE_CD='D' AND 
(
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='0302') OR
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='0003') OR
(UC_LOC_CD='0' AND UC_HIERARCHY_CD='0000')
);

...

Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:translateFSDepartments>
         <fsOrganizationList>
            <item>9<<fsHierarchyCode>0003</item>fsHierarchyCode>
            <item>0302<<fsLocationCode>9</item>fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <item>9<<fsHierarchyCode>0302</item>fsHierarchyCode>
            <item>0003<<fsLocationCode>9</item>fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <item>0<<fsHierarchyCode>0000</item>fsHierarchyCode>
            <item>0000<<fsLocationCode>0</item>fsLocationCode>
         </fsOrganizationList>
      </adc:translateFSDepartments>
   </soapenv:Body>
</soapenv:Envelope>

...

Code Block
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:translateFSDepartmentsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <fsHierarchyCode>0003</fsHierarchyCode>
            <fsHierarchyType>D</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>0003<<kfsOrgCode>9027</kfsOrgCode>
         </return>
         <return>
            <fsHierarchyCode>0302</fsHierarchyCode>
            <fsHierarchyType>D</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>0302<<kfsOrgCode>8075</kfsOrgCode>
         </return>
      </ns2:translateFSDepartmentsResponse>
   </soap:Body>
</soap:Envelope>

...

Code Block
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();
 
System.out.println("\nWSClient-translateFSDepartments()");
StringArray sa210
ArrayList<OrganizationTranslateParameters> pl23 = new ArrayList<OrganizationTranslateParameters>();
OrganizationTranslateParameters otp230 = new StringArray();
sa210.getItemOrganizationTranslateParameters();
otp230.addsetFsHierarchyCode("90003");
sa210otp230.getItemsetFsLocationCode().add("00039");
StringArrayOrganizationTranslateParameters sa211otp231 = new StringArrayOrganizationTranslateParameters();
sa211otp231.getItemsetFsHierarchyCode().add("90302");
sa211otp231.getItemsetFsLocationCode().add("03029");
StringArrayOrganizationTranslateParameters sa212otp232 = new StringArrayOrganizationTranslateParameters();
sa212otp232.getItemsetFsHierarchyCode("0000");
otp232.addsetFsLocationCode("0");
sa212.getItem()pl23.add(otp230);
pl23.add(otp231);
pl23.add("0000"otp232);
List<Fs2KFSOrganizationDetails> resultList21resultList23 = ds.translateFSDepartments(Arrays.asList(sa210,sa211,sa212)pl23);
if (resultList21resultList23 != null) {
	for (Iterator i = resultList21resultList23.iterator(); i.hasNext();) {
		Fs2KFSOrganizationDetails element = (Fs2KFSOrganizationDetails) i.next();
		System.out.println("\t" + element.getFsLocationCode() + "/" + element.getFsHierarchyCode() + "/" + element.getFsHierarchyType() + " : " + element.getKfsChartCode() + "/" + element.getKfsOrgCode());
	}
} else {
	System.out.println("something bad happened...please check your query");
}

...