Versions Compared

Key

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

...

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


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, fsOrganizationCode, fsDivsionCode, fsSubDivisionCode, fsDepartmentCode))

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
1fsOrganizationCodeFS Organization CodeNoString(4)1000

DB Query

Code Block
select FIN_COA_CD, ORG_CD from UCI_CA_ORG_XW_T where uc_loc_cd = '9' and uc_hierarchy_cd = '0302' and uc_hierarchy_type_cd = 'O' 

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

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)9052

WS Example

 

translateFSDivisions(List of (fsLocationCode, fsDivsionCode))

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
1fsDivsionCodeFS Division CodeYesString(4)1200

DB Query

Code Block
select FIN_COA_CD, ORG_CD from UCI_CA_ORG_XW_T where uc_loc_cd = '9' and uc_hierarchy_cd = '0302' and uc_hierarchy_type_cd = 'V' 

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

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)9052

WS Example

translateFSSubDivisions(List of (fsLocationCode, fsSubDivisionCode))

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
1fsSubDivisionCodeFS SubDivisionCodeNoString(4)1250

DB Query

Code Block
select FIN_COA_CD, ORG_CD from UCI_CA_ORG_XW_T where uc_loc_cd = '9' and uc_hierarchy_cd = '0302' and uc_hierarchy_type_cd = 'S' 

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

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)9052

WS Example

 

translateFSDepartments(List of (fsLocationCode,  fsDepartmentCode))

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
1fsDepartmentCodeFS DepartmentCodeNoString(4)0302

DB Query

Code Block
select FIN_COA_CD, ORG_CD from UCI_CA_ORG_XW_T where uc_loc_cd = '9' and uc_hierarchy_cd = '0302' and uc_hierarchy_type_cd = 'D' 

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

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString(2)IR
kfsOrgCodeKFS Organization CodeString(4)9052

WS Example