Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 38 Next »

isValidKFSOrganizations(List of (kfsOrgCode, kfsChartCode))

This service is used to validate KFS organization. Returns an XML result set with a value of true or false for each organization.

Input Specifications

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

DB Query

SELECT FIN_COA_CD, ORG_CD, ORG_ACTIVE_CD FROM CA_ORG_T a WHERE a.ORG_ACTIVE_CD <> 'N' AND 
(
(a.ORG_CD='9999' AND a.FIN_COA_CD='UC') OR 
(a.ORG_CD='9999' AND a.FIN_COA_CD='IR') OR 
(a.ORG_CD='9999' AND a.FIN_COA_CD='MC') OR
(a.ORG_CD='0000' AND a.FIN_COA_CD='XX')
);

Result Schema: A list of following elements (OrganizationValidation.java)

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

WS Example

Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:isValidKFSOrganizations>
         <kfsOrganizationList>
            <kfsChartCode>UC</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
         </kfsOrganizationList>
         <kfsOrganizationList>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
         </kfsOrganizationList>
         <kfsOrganizationList>
            <kfsChartCode>MC</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
         </kfsOrganizationList>
         <kfsOrganizationList>
            <kfsChartCode>XX</kfsChartCode>
            <kfsOrgCode>0000</kfsOrgCode>
         </kfsOrganizationList>
      </adc:isValidKFSOrganizations>
   </soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:isValidKFSOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <kfsChartCode>MC</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
            <valid>true</valid>
         </return>
         <return>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
            <valid>true</valid>
         </return>
         <return>
            <kfsChartCode>UC</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
            <valid>true</valid>
         </return>
         <return>
            <kfsChartCode>XX</kfsChartCode>
            <kfsOrgCode>0000</kfsOrgCode>
            <valid>false</valid>
         </return>
      </ns2:isValidKFSOrganizationsResponse>
   </soap:Body>
</soap:Envelope> 

Java Client Example

DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPort();

ArrayList<OrganizationParameters> pl17 = new ArrayList<OrganizationParameters>();
OrganizationParameters op170 = new OrganizationParameters();
op170.setKfsChartCode("UC");
op170.setKfsOrgCode("9999");
OrganizationParameters op171 = new OrganizationParameters();
op171.setKfsChartCode("IR");
op171.setKfsOrgCode("9999");
OrganizationParameters op172 = new OrganizationParameters();
op172.setKfsChartCode("MC");
op172.setKfsOrgCode("9999");
OrganizationParameters op173 = new OrganizationParameters();
op173.setKfsChartCode("XX");
op173.setKfsOrgCode("0000");
pl17.add(op170);
pl17.add(op171);
pl17.add(op172);
pl17.add(op173);
List<OrganizationValidation> resultList17 = ds.isValidKFSOrganizations(pl17);
if (resultList17 != null) {
	for (Iterator i = resultList17.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");
}

 


getValidKFSOrganizations(List of (kfsOrgCode, kfsChartCode))

This service is used retrieve valid KFS organizations and related attributes. Returns an XML result set with a list of organizations

Input Specifications

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

DB Query

SELECT 
FIN_COA_CD, 
ORG_CD, 
ORG_MGR_UNVL_ID, 
ORG_NM, 
RC_CD,
ORG_PHYS_CMP_CD,
ORG_TYP_CD,
ORG_DFLT_ACCT_NBR,
ORG_LN1_ADDR,
ORG_LN2_ADDR,
ORG_CITY_NM,
ORG_STATE_CD,
ORG_ZIP_CD,
ORG_CNTRY_CD,
ORG_BEGIN_DT,
ORG_END_DT,
RPTS_TO_FIN_COA_CD,
RPTS_TO_ORG_CD,
ORG_ACTIVE_CD,
ORG_PLNT_ACCT_NBR,
CMP_PLNT_ACCT_NBR,
ORG_PLNT_COA_CD,
CMP_PLNT_COA_CD 
FROM CA_ORG_T a WHERE a.ORG_ACTIVE_CD <> 'N' AND 
(
(a.ORG_CD='9052' AND a.FIN_COA_CD='IR') OR 
(a.ORG_CD='9053' AND a.FIN_COA_CD='IR') OR 
(a.ORG_CD='1111' AND a.FIN_COA_CD='IR') OR
(a.ORG_CD='9054' AND a.FIN_COA_CD='XX')
);

Result Schema: A list of following elements (OrganizationDetails.java)

DB ParameterJava ParameterDescriptionData TypeExample
FIN_COA_CDkfsChartCodeKFS Chart CodeString (2)IR
ORG_CDkfsOrgCodeKFS Organization CodeString (4)

1234

ORG_MGR_UNVL_IDkfsOrgManagerIdKFS Organization Manager IDString 
ORG_NMkfsOrgNameKFS Organization NameString 
RC_CDkfsRCCodeKFS Responsibility Center CodeString 
ORG_PHYS_CMP_CDkfsOrgCampusCodeKFS Organization Physical Campus CodeString 
ORG_TYP_CDkfsOrgTypeCodeKFS Organization Type CodeString 
ORG_DFLT_ACCT_NBRkfsOrgDefaultAcctNumberKFS Default Account NumberString 
ORG_LN1_ADDRkfsOrgAddr1KFS Address Line 1String 
ORG_LN2_ADDRkfsOrgAddr2KFS Address Line 2String 
ORG_CITY_NMkfsOrgCityKFS Organization City NameString 
ORG_STATE_CDkfsOrgStateKFS Organization State CodeString 
ORG_ZIP_CDkfsOrgZipKFS Organization Zip CodeString 
ORG_CNTRY_CDkfsOrgCountryCodeKFS Organization Country CodeString 
ORG_BEGIN_DTkfsOrgBeginDateKFS Organization Begin DateString 
ORG_END_DTkfsOrgEndDateKFS Organization End DateString 
RPTS_TO_FIN_COA_CDkfsReportToChartCodeKFS Reports To Chart CodeString 
RPTS_TO_ORG_CDkfsReportToOrgCodeKFS Reports To Organization CodeString 
ORG_ACTIVE_CDkfsOrgActiveCodeKFS Organization Active CodeString 
ORG_PLNT_ACCT_NBRkfsOrgPlantAcctNumberKFS Organization Plant Account NumberString 
CMP_PLNT_ACCT_NBRkfsCampusPlantAcctNumberKFS Campus Plant Account NumberString 
ORG_PLNT_COA_CDkfsOrgPlantChartCodeKFS Organization Plant Chart CodeString 
CMP_PLNT_COA_CDkfsCampusPlantChartCodeKFS Campus Plant Chart CodeString 

WS Example

Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:getValidKFSOrganizations>
         <kfsOrganizationList>
            <kfsChartCode>UC</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
         </kfsOrganizationList>
         <kfsOrganizationList>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
         </kfsOrganizationList>
         <kfsOrganizationList>
            <kfsChartCode>MC</kfsChartCode>
            <kfsOrgCode>9999</kfsOrgCode>
         </kfsOrganizationList>
         <kfsOrganizationList>
            <kfsChartCode>XX</kfsChartCode>
            <kfsOrgCode>0000</kfsOrgCode>
         </kfsOrganizationList>
      </adc:getValidKFSOrganizations>
   </soapenv:Body>
</soapenv:Envelope> 
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:getValidKFSOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <kfsChartCode>UC</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>
            <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>
         <return>
            <kfsChartCode>IR</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>Z006411</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>
         <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>

Java Client Example

DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPort();

ArrayList<OrganizationParameters> pl17 = new ArrayList<OrganizationParameters>();
OrganizationParameters op170 = new OrganizationParameters();
op170.setKfsChartCode("UC");
op170.setKfsOrgCode("9999");
OrganizationParameters op171 = new OrganizationParameters();
op171.setKfsChartCode("IR");
op171.setKfsOrgCode("9999");
OrganizationParameters op172 = new OrganizationParameters();
op172.setKfsChartCode("MC");
op172.setKfsOrgCode("9999");
OrganizationParameters op173 = new OrganizationParameters();
op173.setKfsChartCode("XX");
op173.setKfsOrgCode("0000");
pl17.add(op170);
pl17.add(op171);
pl17.add(op172);
pl17.add(op173);
 
List<OrganizationDetails> resultList18 = ds.getValidKFSOrganizations(pl17);
if (resultList18 != null) {
	for (Iterator i = resultList18.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");
}

getKFSChildOrganizations(kfsOrgCode, kfsChartCode)

This service is used retrieve valid KFS child organizations with its flattened out org structure for reference. Returns an XML result set with a list of organizations

Input Specifications

IndexParameterDescriptionRequired?Data Type (max length)Example
0kfsChartCodeKFS Chart CodeYesString(2)IR
1kfsOrgCodeK   
WITH ChildOrgList As (
	SELECT
		ChildOrg.[CHART_CD],ChildOrg.[ORG_UC_LEVEL_CD], ChildOrg.[ORG_CD],ChildOrg.[ORG_NM],
		ChildOrg.[ORG_PARENT_ORG_CD], ChildOrg.[ORG_ROLLUP_LEVEL01_CD], ChildOrg.[ORG_ROLLUP_LEVEL02_CD],
		ChildOrg.[ORG_ROLLUP_LEVEL03_CD], ChildOrg.[ORG_ROLLUP_LEVEL04_CD], ChildOrg.[ORG_ROLLUP_LEVEL05_CD],
		ChildOrg.[ORG_ROLLUP_LEVEL06_CD]
	FROM [dwhs_ods].[dbo].[kfs_d_org] as ChildOrg
	WHERE ChildOrg.CHART_CD = 'IR' and ChildOrg.ORG_CD = '9023'
	UNION ALL
	SELECT
		ChildOrg.[CHART_CD],ChildOrg.[ORG_UC_LEVEL_CD], ChildOrg.[ORG_CD],ChildOrg.[ORG_NM],
		ChildOrg.[ORG_PARENT_ORG_CD], ChildOrg.[ORG_ROLLUP_LEVEL01_CD], ChildOrg.[ORG_ROLLUP_LEVEL02_CD],
		ChildOrg.[ORG_ROLLUP_LEVEL03_CD], ChildOrg.[ORG_ROLLUP_LEVEL04_CD], ChildOrg.[ORG_ROLLUP_LEVEL05_CD],
		ChildOrg.[ORG_ROLLUP_LEVEL06_CD]
	FROM [dwhs_ods].[dbo].[kfs_d_org] as ChildOrg
	INNER JOIN ChildOrgList as Child ON ChildOrg.[ORG_PARENT_ORG_CD] = Child.ORG_CD
		AND ChildOrg.[ORG_PARENT_CHART_CD] = Child.CHART_CD
	WHERE ChildOrg.CHART_CD = 'IR'
)
SELECT
	CASE
		WHEN LEN(L.[ORG_ROLLUP_LEVEL06_CD]) = 4 THEN 6
		WHEN LEN(L.[ORG_ROLLUP_LEVEL05_CD]) = 4 THEN 5
		WHEN LEN(L.[ORG_ROLLUP_LEVEL04_CD]) = 4 THEN 4
		WHEN LEN(L.[ORG_ROLLUP_LEVEL03_CD]) = 4 THEN 3
		WHEN LEN(L.[ORG_ROLLUP_LEVEL02_CD]) = 4 THEN 2
		WHEN LEN(L.[ORG_ROLLUP_LEVEL01_CD]) = 4 THEN 1
	END as ORG_LEVEL,
	L.[ORG_UC_LEVEL_CD], L.[CHART_CD], L.[ORG_CD],
	L.[ORG_NM], L.[ORG_PARENT_ORG_CD], L.[ORG_ROLLUP_LEVEL01_CD], L.[ORG_ROLLUP_LEVEL02_CD],
	L.[ORG_ROLLUP_LEVEL03_CD], L.[ORG_ROLLUP_LEVEL04_CD], L.[ORG_ROLLUP_LEVEL05_CD],
	L.[ORG_ROLLUP_LEVEL06_CD]
FROM ChildOrgList L
ORDER BY 1

Result Schema: A list of following elements (ChildOrganizationDetails.java)

Java ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeStringIR
kfsOrgCodeKFS Organization CodeString

8060

kfsOrgNameKFS Organization NameStringChemistry
kfsParentOrgCodeKFS Parent Organization CodeString9023
kfsOrgLevelKFS Organization LevelString4
kfsOrgCategoryKFS Organization CategoryStringDenotes the org level category designated by the budget office: 'U' , 'C', 'S', 'D'
kfsOrgRollupLevel1KFS Organization Rollup Level 1String-
kfsOrgRollupLevel2KFS Organization Rollup Level 2String-
kfsOrgRollupLevel3KFS Organization Rollup Level 3String9023
kfsOrgRollupLevel4KFS Organization Rollup Level 4String8060
kfsOrgRollupLevel5KFS Organization Rollup Level 5String-
kfsOrgRollupLevel6KFS Organization Rollup Level 6String-

WS Example

Request
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
	<S:Body>
		<ns2:getKFSChildOrganizations xmlns:ns2="http://www.adcom.uci.edu">
			<kfsOrganization>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCode>9023</kfsOrgCode>
			</kfsOrganization>
		</ns2:getKFSChildOrganizations>
	</S:Body>
</S:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
	<soap:Body>
		<ns2:getKFSChildOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>S</kfsOrgCategory>
				<kfsOrgCode>9023</kfsOrgCode>
				<kfsOrgLevel>3</kfsOrgLevel>
				<kfsOrgName>SCHOOL OF PHYSICAL SCIENCES</kfsOrgName>
				<kfsParentOrgCode>IRVN</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>-</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8110</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>EARTH SYSTEM SCIENCE</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8110</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8094</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>DEANS OFFICE</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8094</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8060</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>CHEMISTRY</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8060</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8172</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>MATHEMATICS</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8172</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
			<return>
				<kfsChartCode>IR</kfsChartCode>
				<kfsOrgCategory>D</kfsOrgCategory>
				<kfsOrgCode>8203</kfsOrgCode>
				<kfsOrgLevel>4</kfsOrgLevel>
				<kfsOrgName>PHYSICS AND ASTRONOMY</kfsOrgName>
				<kfsParentOrgCode>9023</kfsParentOrgCode>
				<kfskfsOrgRollupLevel1>-</kfskfsOrgRollupLevel1>
				<kfskfsOrgRollupLevel2>-</kfskfsOrgRollupLevel2>
				<kfskfsOrgRollupLevel3>9023</kfskfsOrgRollupLevel3>
				<kfskfsOrgRollupLevel4>8203</kfskfsOrgRollupLevel4>
				<kfskfsOrgRollupLevel5>-</kfskfsOrgRollupLevel5>
				<kfskfsOrgRollupLevel6>-</kfskfsOrgRollupLevel6>
			</return>
		</ns2:getKFSChildOrganizationsResponse>
	</soap:Body>
</soap:Envelope>

Java Client Example

 
DWHServerService service = new DWHServerService();
DWHServer server = service.getDWHServerPort();
		
OrganizationParameters orgParameters = new OrganizationParameters();
orgParameters.setKfsChartCode("IR");
orgParameters.setKfsOrgCode("9023");

List<ChildOrganizationDetails> childOrgDetails = server.getKFSChildOrganizations(orgParameters);

if (childOrgDetails != null) {
	for (ChildOrganizationDetails cod : childOrgDetails) {
		System.out.println("kfsChartCode:    " + cod.getKfsChartCode());
		System.out.println("kfsOrgCode:      " + cod.getKfsOrgCode());
		System.out.println("kfsOrgName:      " + cod.getKfsOrgName());
		System.out.println("kfsParentOrgCode:" + cod.getKfsParentOrgCode());
		System.out.println("kfsOrgLevel:     " + cod.getKfsOrgLevel());
		System.out.println("kfsOrgCategory:  " + cod.getKfsOrgCategory());
		System.out.println("kfsOrgLevel1     " + cod.getKfskfsOrgRollupLevel1());
		System.out.println("kfsOrgLevel2     " + cod.getKfskfsOrgRollupLevel2());
		System.out.println("kfsOrgLevel3     " + cod.getKfskfsOrgRollupLevel3());
		System.out.println("kfsOrgLevel4     " + cod.getKfskfsOrgRollupLevel4());
		System.out.println("kfsOrgLevel5     " + cod.getKfskfsOrgRollupLevel5());
		System.out.println("kfsOrgLevel6     " + cod.getKfskfsOrgRollupLevel6());
		System.out.println("------------------------------");
	}
}
 

 


getAllKFSOrganizations()

No input parameter, ALL active KFS organization details will be returned in result set.

DB Query

SELECT 
FIN_COA_CD, 
ORG_CD, 
ORG_MGR_UNVL_ID, 
ORG_NM, 
RC_CD,
ORG_PHYS_CMP_CD,
ORG_TYP_CD,
ORG_DFLT_ACCT_NBR,
ORG_LN1_ADDR,
ORG_LN2_ADDR,
ORG_CITY_NM,
ORG_STATE_CD,
ORG_ZIP_CD,
ORG_CNTRY_CD,
ORG_BEGIN_DT,
ORG_END_DT,
RPTS_TO_FIN_COA_CD,
RPTS_TO_ORG_CD,
ORG_ACTIVE_CD,
ORG_PLNT_ACCT_NBR,
CMP_PLNT_ACCT_NBR,
ORG_PLNT_COA_CD,
CMP_PLNT_COA_CD 
FROM CA_ORG_T WHERE ORG_ACTIVE_CD <> 'N';

Result Schema: SAME as getValidKFSOrganizations

WS Example

Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:getAllKFSOrganizations/>
   </soapenv:Body>
</soapenv:Envelope> 
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:getAllKFSOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgActiveCode>Y</kfsOrgActiveCode>
            <kfsOrgAddr1>Campus Drive</kfsOrgAddr1>
            <kfsOrgCampusCode>IR</kfsOrgCampusCode>
            <kfsOrgCity>Irvine</kfsOrgCity>
            <kfsOrgCode>9052</kfsOrgCode>
            <kfsOrgCountryCode>US</kfsOrgCountryCode>
            <kfsOrgManagerId>000000076676</kfsOrgManagerId>
            <kfsOrgName>PRIMARY CARE MEDICAL GROUP</kfsOrgName>
            <kfsOrgState>CA</kfsOrgState>
            <kfsOrgTypeCode>A</kfsOrgTypeCode>
            <kfsOrgZip>92697</kfsOrgZip>
            <kfsRCCode>10</kfsRCCode>
            <kfsReportToChartCode>IR</kfsReportToChartCode>
            <kfsReportToOrgCode>9821</kfsReportToOrgCode>
         </return>
         <return>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgActiveCode>Y</kfsOrgActiveCode>
            <kfsOrgAddr1>Campus Drive</kfsOrgAddr1>
            <kfsOrgCampusCode>IR</kfsOrgCampusCode>
            <kfsOrgCity>Irvine</kfsOrgCity>
            <kfsOrgCode>9053</kfsOrgCode>
            <kfsOrgCountryCode>US</kfsOrgCountryCode>
            <kfsOrgManagerId>000000076676</kfsOrgManagerId>
            <kfsOrgName>HOSPITALIST PROGRAM</kfsOrgName>
            <kfsOrgState>CA</kfsOrgState>
            <kfsOrgTypeCode>A</kfsOrgTypeCode>
            <kfsOrgZip>92697</kfsOrgZip>
            <kfsRCCode>10</kfsRCCode>
            <kfsReportToChartCode>IR</kfsReportToChartCode>
            <kfsReportToOrgCode>9821</kfsReportToOrgCode>
         </return>
	 ...
	 ...
      </ns2:getAllKFSOrganizationsResponse>
   </soap:Body>
</soap:Envelope> 

Java Client Example

DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPort();

List<OrganizationDetails> resultList14 = ds.getAllKFSOrganizations();
if (resultList14 != null) {
	//for (Iterator i = resultList14.iterator(); i.hasNext();) {
	//	OrganizationDetails element = (OrganizationDetails)i.next();
	//}
	System.out.println("total size: " + resultList14.size());
	System.out.println("the 1st item ChartCode / OrgCode: OrgName" + ((OrganizationDetails)resultList14.get(0)).getKfsChartCode() + " / " + ((OrganizationDetails)resultList14.get(0)).getKfsOrgCode() + " : " + ((OrganizationDetails)resultList14.get(0)).getKfsOrgName()); 
} else {
	System.out.println("something bad happened...please check your query");
}

 


translateFSOrganizations(List of (fsLocationCode, fsHierarchyCode))

This service is used to validate KFS organization. Returns an XML result set with a value of true or false for each organization.

Input Specifications

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

DB Query

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='2000') OR 
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='3000') OR 
(UC_LOC_CD='0' AND UC_HIERARCHY_CD='0000') 
);

Result Schema: A list of following elements (FS2KFSOrganizationDetails.java)

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

WS Example

Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:translateFSOrganizations>
         <fsOrganizationList>
            <fsHierarchyCode>2000</fsHierarchyCode>
            <fsLocationCode>9</fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <fsHierarchyCode>3000</fsHierarchyCode>
            <fsLocationCode>9</fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <fsHierarchyCode>0000</fsHierarchyCode>
            <fsLocationCode>0</fsLocationCode>
         </fsOrganizationList>
      </adc:translateFSOrganizations>
   </soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:translateFSOrganizationsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <fsHierarchyCode>2000</fsHierarchyCode>
            <fsHierarchyType>O</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9022</kfsOrgCode>
         </return>
         <return>
            <fsHierarchyCode>3000</fsHierarchyCode>
            <fsHierarchyType>O</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9002</kfsOrgCode>
         </return>
      </ns2:translateFSOrganizationsResponse>
   </soap:Body>
</soap:Envelope>

Java Client Example

DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPort();

ArrayList<OrganizationTranslateParameters> pl20 = new ArrayList<OrganizationTranslateParameters>();
OrganizationTranslateParameters otp200 = new OrganizationTranslateParameters();
otp200.setFsHierarchyCode("2000");
otp200.setFsLocationCode("9");
OrganizationTranslateParameters otp201 = new OrganizationTranslateParameters();
otp201.setFsHierarchyCode("3000");
otp201.setFsLocationCode("9");
OrganizationTranslateParameters otp202 = new OrganizationTranslateParameters();
otp202.setFsHierarchyCode("0000");
otp202.setFsLocationCode("0");
pl20.add(otp200);
pl20.add(otp201);
pl20.add(otp202);
List<Fs2KFSOrganizationDetails> resultList20 = ds.translateFSOrganizations(pl20);
if (resultList20 != null) {
	for (Iterator i = resultList20.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");
}

 


translateFSDivisions(List of (fsLocationCode, fsHierarchyCode))

This service is used to validate KFS organization. Returns an XML result set with a value of true or false for each organization.

Input Specifications

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

DB Query

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='1015') OR 
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='1100') OR 
(UC_LOC_CD='0' AND UC_HIERARCHY_CD='0000')
);

Result Schema: A list of following elements (FS2KFSOrganizationDetails.java)

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

WS Example

Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:translateFSDivisions>
         <fsOrganizationList>
            <fsHierarchyCode>1015</fsHierarchyCode>
            <fsLocationCode>9</fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <fsHierarchyCode>1100</fsHierarchyCode>
            <fsLocationCode>9</fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <fsHierarchyCode>0000</fsHierarchyCode>
            <fsLocationCode>0</fsLocationCode>
         </fsOrganizationList>
      </adc:translateFSDivisions>
   </soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:translateFSDivisionsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <fsHierarchyCode>1015</fsHierarchyCode>
            <fsHierarchyType>V</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9006</kfsOrgCode>
         </return>
         <return>
            <fsHierarchyCode>1100</fsHierarchyCode>
            <fsHierarchyType>V</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9012</kfsOrgCode>
         </return>
      </ns2:translateFSDivisionsResponse>
   </soap:Body>
</soap:Envelope>

Java Client Example

DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPort();

ArrayList<OrganizationTranslateParameters> pl21 = new ArrayList<OrganizationTranslateParameters>();
OrganizationTranslateParameters otp210 = new OrganizationTranslateParameters();
otp210.setFsHierarchyCode("1015");
otp210.setFsLocationCode("9");
OrganizationTranslateParameters otp211 = new OrganizationTranslateParameters();
otp211.setFsHierarchyCode("1100");
otp211.setFsLocationCode("9");
OrganizationTranslateParameters otp212 = new OrganizationTranslateParameters();
otp212.setFsHierarchyCode("0000");
otp212.setFsLocationCode("0");
pl21.add(otp210);
pl21.add(otp211);
pl21.add(otp212);
List<Fs2KFSOrganizationDetails> resultList21 = ds.translateFSDivisions(pl21);
if (resultList21 != null) {
	for (Iterator i = resultList21.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");
}

 


translateFSSubDivisions(List of (fsLocationCode,fsHierarchyCode))

This service is used to validate KFS organization. Returns an XML result set with a value of true or false for each organization.

Input Specifications

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

DB Query

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='1300') OR
(UC_LOC_CD='9' AND UC_HIERARCHY_CD='1350') OR
(UC_LOC_CD='0' AND UC_HIERARCHY_CD='0000')
);

Result Schema: A list of following elements (FS2KFSOrganizationDetails.java)

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

WS Example

Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:translateFSSubDivisions>
         <fsOrganizationList>
            <fsHierarchyCode>1300</fsHierarchyCode>
            <fsLocationCode>9</fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <fsHierarchyCode>1350</fsHierarchyCode>
            <fsLocationCode>9</fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <fsHierarchyCode>0000</fsHierarchyCode>
            <fsLocationCode>0</fsLocationCode>
         </fsOrganizationList>
      </adc:translateFSSubDivisions>
   </soapenv:Body>
</soapenv:Envelope>
Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns2:translateFSSubDivisionsResponse xmlns:ns2="http://www.adcom.uci.edu">
         <return>
            <fsHierarchyCode>1300</fsHierarchyCode>
            <fsHierarchyType>S</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9004</kfsOrgCode>
         </return>
         <return>
            <fsHierarchyCode>1350</fsHierarchyCode>
            <fsHierarchyType>S</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>9010</kfsOrgCode>
         </return>
      </ns2:translateFSSubDivisionsResponse>
   </soap:Body>
</soap:Envelope>

Java Client Example

DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPort();

ArrayList<OrganizationTranslateParameters> pl22 = new ArrayList<OrganizationTranslateParameters>();
OrganizationTranslateParameters otp220 = new OrganizationTranslateParameters();
otp220.setFsHierarchyCode("1300");
otp220.setFsLocationCode("9");
OrganizationTranslateParameters otp221 = new OrganizationTranslateParameters();
otp221.setFsHierarchyCode("1350");
otp221.setFsLocationCode("9");
OrganizationTranslateParameters otp222 = new OrganizationTranslateParameters();
otp222.setFsHierarchyCode("0000");
otp222.setFsLocationCode("0");
pl22.add(otp220);
pl22.add(otp221);
pl22.add(otp222);
List<Fs2KFSOrganizationDetails> resultList22 = ds.translateFSSubDivisions(pl22);
if (resultList22 != null) {
	for (Iterator i = resultList22.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");
}

 


translateFSDepartments(List of (fsLocationCode,  fsHierarchyCode))

This service is used to validate KFS organization. Returns an XML result set with a value of true or false for each organization.

Input Specifications

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

DB Query

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')
);

Result Schema: A list of following elements (FS2KFSOrganizationDetails.java)

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)0302
fsHierarchyTypeFS Hierarchy TypeStringD
fsLocationCodeFS Location CodeString9
fsHierarchyCodeFS Hierarchy CodeString0302

WS Example

Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adc="http://www.adcom.uci.edu">
   <soapenv:Header/>
   <soapenv:Body>
      <adc:translateFSDepartments>
         <fsOrganizationList>
            <fsHierarchyCode>0003</fsHierarchyCode>
            <fsLocationCode>9</fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <fsHierarchyCode>0302</fsHierarchyCode>
            <fsLocationCode>9</fsLocationCode>
         </fsOrganizationList>
         <fsOrganizationList>
            <fsHierarchyCode>0000</fsHierarchyCode>
            <fsLocationCode>0</fsLocationCode>
         </fsOrganizationList>
      </adc:translateFSDepartments>
   </soapenv:Body>
</soapenv:Envelope>
Response
<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>9027</kfsOrgCode>
         </return>
         <return>
            <fsHierarchyCode>0302</fsHierarchyCode>
            <fsHierarchyType>D</fsHierarchyType>
            <fsLocationCode>9</fsLocationCode>
            <kfsChartCode>IR</kfsChartCode>
            <kfsOrgCode>8075</kfsOrgCode>
         </return>
      </ns2:translateFSDepartmentsResponse>
   </soap:Body>
</soap:Envelope>

Java Client Example

DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPort();
 
ArrayList<OrganizationTranslateParameters> pl23 = new ArrayList<OrganizationTranslateParameters>();
OrganizationTranslateParameters otp230 = new OrganizationTranslateParameters();
otp230.setFsHierarchyCode("0003");
otp230.setFsLocationCode("9");
OrganizationTranslateParameters otp231 = new OrganizationTranslateParameters();
otp231.setFsHierarchyCode("0302");
otp231.setFsLocationCode("9");
OrganizationTranslateParameters otp232 = new OrganizationTranslateParameters();
otp232.setFsHierarchyCode("0000");
otp232.setFsLocationCode("0");
pl23.add(otp230);
pl23.add(otp231);
pl23.add(otp232);
List<Fs2KFSOrganizationDetails> resultList23 = ds.translateFSDepartments(pl23);
if (resultList23 != null) {
	for (Iterator i = resultList23.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");
}

 


 

  • No labels