Versions Compared

Key

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

Table of Contents

isValidKFSSubObjects (List of (kfsFiscalYear, kfsChartCode, kfsAcctNumber, 

...

kfsObjCode

...

kfsSubObjCode))

Input Specifications

IndexParameterDescriptionRequired?Data Type (max length)Example
0kfsFiscalYearKFS Fiscal Year (e.g. 2013)YesString (4) 
1kfsChartCodeKFS Chart CodeYesString (2) 
2kfsAcctNumberKFS Account NumberYesString (7)'1234567'
3kfsObjectCodekfsObjCodeKFS Object CodeYesString (4) 
4kfsSubObjectCodekfsSubObjCodeKFS SubObject Sub Object CodeYesString (4) 

DB Query

...

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

System.out.println("\nWSClient-isValidKFSSubObjects()");
StringArray sa220 = new StringArray();
sa220.getItem().add("2012");
sa220.getItem().add("IR");
sa220.getItem().add("1000211");
sa220.getItem().add("4400");
sa220.getItem().add("BRM1");
StringArray sa221 = new StringArray();
sa221.getItem().add("2012");
sa221.getItem().add("IR");
sa221.getItem().add("1000211");
sa221.getItem().add("4400");
sa221.getItem().add("ITM1");
StringArray sa222 = new StringArray();
sa221.getItem().add("2012");
sa221.getItem().add("IR");
sa221.getItem().add("1000211");
sa221.getItem().add("0000");
sa221.getItem().add("XXXX");
List<SubObjectValidation> resultList22 = ds.isValidKFSSubObjects(Arrays.asList(sa220, sa221, sa222));
if (resultList22 != null) {
	for (Iterator i = resultList22.iterator(); i.hasNext();) {
		SubObjectValidation element = (SubObjectValidation)i.next();
		System.out.println("\t" + element.getKfsFiscalYear() + "/" + element.getKfsChartCode() + "/" + element.getKfsAcctNumber() + "/" + element.getKfsObjCode() + "/" + element.getKfsSubObjCode() + " : " + element.isValid());
	}
} else {
	System.out.println("something bad happened...please check your query");
}

 

...

getValidKFSSubObjects(List of (kfsFiscalYear, kfsChartCode, kfsAcctNumber,

...

 kfsObjCode,

...

 kfsSubObjCode))

Input Specifications

IndexParameterDescriptionRequired?Data Type (max length)Example
0kfsFiscalYearKFS Fiscal Year (e.g. 2013)YesString (4) 
1kfsChartCodeKFS Chart CodeYesString (2) 
2kfsAcctNumberKFS Account NumberYesString (7)'1234567'
3kfsObjectCodekfsObjCodeKFS Object CodeYesString (4) 
4kfsSubObjectCodekfsSubObjCodeKFS SubObject Sub Object CodeYesString (4) 

DB Query

...