Table of Contents |
---|
isValidKFSSubObjects (List of (kfsFiscalYear, kfsChartCode, kfsAcctNumber,
...
kfsObjCode,
...
kfsSubObjCode))
Input Specifications
Index | Parameter | Description | Required? | Data Type (max length) | Example |
---|---|---|---|---|---|
0 | kfsFiscalYear | KFS Fiscal Year (e.g. 2013) | Yes | String (4) | |
1 | kfsChartCode | KFS Chart Code | Yes | String (2) | |
2 | kfsAcctNumber | KFS Account Number | Yes | String (7) | '1234567' |
3 | kfsObjectCodekfsObjCode | KFS Object Code | Yes | String (4) | |
4 | kfsSubObjectCodekfsSubObjCode | KFS SubObject Sub Object Code | Yes | String (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
Index | Parameter | Description | Required? | Data Type (max length) | Example |
---|---|---|---|---|---|
0 | kfsFiscalYear | KFS Fiscal Year (e.g. 2013) | Yes | String (4) | |
1 | kfsChartCode | KFS Chart Code | Yes | String (2) | |
2 | kfsAcctNumber | KFS Account Number | Yes | String (7) | '1234567' |
3 | kfsObjectCodekfsObjCode | KFS Object Code | Yes | String (4) | |
4 | kfsSubObjectCodekfsSubObjCode | KFS SubObject Sub Object Code | Yes | String (4) |
DB Query
...