...
Index | Parameter | Description | Required? | Data Type (max length) | Example |
---|---|---|---|---|---|
0 | kfsChartCode | KFS Chart Code | Yes | String(2) | 'IR' |
1 | kfsAcctNumber | KFS Account Number | Yes | String(7) | '1234567' |
2 | effectiveDate | The date the KFS account needs to be valid | No (default is today's date) | String(8) YYYYMMDD | '20120701' (begin fiscal year 2012/2013) |
DB Query
Code Block |
---|
Old: select distinct case when not exists (select * SELECT a.FIN_COA_CD, a.ACCOUNT_NBR, 'true' AS VALID FROM dwhs_ods..ca_account_t a where a.account_nbr= '<kfsAcctNumber>' ANDWHERE a.fin_coa_cd= '<kfsChartCode>' AND a.ACCT_CLOSED_IND <> 'Y' AND ( a.ACCT_EXPIRATION_DT >= getdate() or a.ACCT_EXPIRATION_DT IS NULL) AND ( (a.account_nbr= '1000766' AND (AND a.fin_coa_cd= 'IR' AND a.ACCT_EFFECT_DT <= <effectiveDate> getdate() ) then 'false'OR else 'true' end New: SELECT a.FIN_COA_CD, a.ACCOUNT_NBR, 'true' AS VALID FROM dwhs_ods..ca_account_t a WHERE a.ACCT_CLOSED_IND <> 'Y' AND ( (a.account_nbr= '1008543' AND a.fin_coa_cd= 'IR' AND a.ACCT_EXPIRATIONEFFECT_DT ><= getdate() or a.ACCT_EXPIRATION_DT IS NULL) AND (convert(datetime,'20100701',112)) OR (a.account_nbr= '10007661234' AND a.fin_coa_cd= 'IRXX' AND a.ACCT_EFFECT_DT <= getdate()) OR (a.account_nbr= '1000768' AND a.fin_coa_cd= 'IR' AND a.ACCT_EFFECT_DT <= convert(datetime,'20100701',112)) OR (a.account_nbr= '1000767' AND a.fin_coa_cd= 'IR' AND a.ACCT_EFFECT_DT <= getdate()) ); |
Result Schema: A list of following elements (AccountValidation.java)
Parameter | Description | Data Type | Example |
---|---|---|---|
kfsChartCode | KFS Chart Code | String (2) | 'IR' |
kfsAcctNumber | KFS Account Number | String (7) | '1234567' |
isValid | Is the Chart/Account Active for that effective date (or today)? | boolean | true |
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>); |
Result Schema: A list of following elements (AccountValidation.java)
Parameter | Description | Data Type | Example |
---|---|---|---|
kfsChartCode | KFS Chart Code | String (2) | 'IR' |
kfsAcctNumber | KFS Account Number | String (7) | '1234567' |
isValid | Is the Chart/Account Active for that effective date (or today)? | boolean | true |
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:isValidKFSAccounts> <kfsAccountList> <kfsAcctNumber>1000766</kfsAcctNumber> <kfsChartCode>IR</kfsChartCode> </kfsAccountList> <kfsAccountList> <kfsAcctNumber>1008543</kfsAcctNumber> <adc:isValidKFSAccounts> <kfsChartCode>IR</kfsChartCode> <kfsAccountList> <item>IR</item></kfsAccountList> <kfsAccountList> <item>1000766</item> <<kfsAcctNumber>1234</kfsAccountList>kfsAcctNumber> <kfsAccountList> <kfsChartCode>XX</kfsChartCode> <item>IR<</item>kfsAccountList> <kfsAccountList> <item>1000767</item> <<kfsAcctNumber>1234576</kfsAccountList>kfsAcctNumber> <kfsAccountList> <kfsChartCode>XX</kfsChartCode> <item>IR<</item>kfsAccountList> </adc:isValidKFSAccounts> </soapenv:Body> <item>1000768</item></soapenv:Envelope> |
Response
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <item>20010701</item><ns2:isValidKFSAccountsResponse xmlns:ns2="http://www.adcom.uci.edu"> <return> </kfsAccountList> <kfsAccountList><kfsAcctNumber>1008543</kfsAcctNumber> <item>XX<<kfsChartCode>IR</item>kfsChartCode> <item>1234</item><valid>true</valid> </return> <item>20080101</item> <return> </kfsAccountList> </adc:isValidKFSAccounts><kfsAcctNumber>1234576</kfsAcctNumber> </soapenv:Body> </soapenv:Envelope> |
Response
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <kfsChartCode>XX</kfsChartCode> <ns2:isValidKFSAccountsResponse xmlns:ns2="http://www.adcom.uci.edu"> <return> <kfsAcctNumber>1000767</kfsAcctNumber> <kfsChartCode>IR</kfsChartCode> <valid>true</<valid>false</valid> </return> <return> <kfsAcctNumber>1000768<<kfsAcctNumber>1234</kfsAcctNumber> <kfsChartCode>IR<<kfsChartCode>XX</kfsChartCode> <valid>false</valid> </return> <return> <kfsAcctNumber>1234<<kfsAcctNumber>1000766</kfsAcctNumber> <kfsChartCode>XX<<kfsChartCode>IR</kfsChartCode> <valid>false<<valid>true</valid> </return> </ns2:isValidKFSAccountsResponse> <return> </soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
DWHServerService dss = new DWHServerService(); DWHServer ds = dss.getDWHServerPortCustom(); ArrayList<AccountParameters> <kfsAcctNumber>1000766</kfsAcctNumber>pl3 = new ArrayList<AccountParameters>(); AccountParameters ap31 = new AccountParameters(); ap31.setKfsChartCode("IR"); ap31.setKfsAcctNumber("1000766"); AccountParameters ap32 <kfsChartCode>IR</kfsChartCode>= new AccountParameters(); ap32.setKfsChartCode("IR"); ap32.setKfsAcctNumber("1008543"); AccountParameters ap33 = new AccountParameters(); ap33.setKfsChartCode("XX"); ap33.setKfsAcctNumber("1234"); AccountParameters <valid>true</valid>ap34 = new </return> </ns2:isValidKFSAccountsResponse> </soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();
StringArray sa20 = new StringArray();
sa20.getItem().add("IR");
sa20.getItem().add("1000766");
StringArray sa21 = new StringArray();
sa21.getItem().add("IR");
sa21.getItem().add("1000767");
StringArray sa22 = new StringArray();
sa22.getItem().add("IR");
sa22.getItem().add("1000768");
sa22.getItem().add("20090701");
StringArray sa23 = new StringArray();
sa23.getItem().add("XX");
sa23.getItem().add("1234");
sa23.getItem().add("20130321");
List<AccountValidation> resultList2 = ds.isValidKFSAccounts(Arrays.asList(sa20, sa21, sa22, sa23));
if (resultList2 != null) {
for (Iterator i = resultList2.iterator(); i.hasNext();) {
AccountValidation element = (AccountValidation)i.next();
System.out.println("\t" + element.getKfsChartCode() + "/" + element.getKfsAcctNumber() + " : " + element.isValid());
}
} else {
System.out.println("something bad happened...please check your query");
} |
isValidKFSExpenseAccounts(List of (kfsChartCode, kfsAcctNumber, effectiveDate))
This service is used to validate KFS chart and expense account codes. Returns an XML result set with a value of true or false for each chart/account
- This is NOT recommended to pass in same value of (kfsChartCode, kfsAcctNumber) but with different effectiveDate. An unexpected result maybe returned.
- The order of kfsChartCode, kfsAcctNumber, effectiveDate CANNOT be swapped.
- effectiveDate has to be valid. Null will be returned otherwise.
Input Specifications
...
AccountParameters();
ap34.setKfsChartCode("XX");
ap34.setKfsAcctNumber("1234576");
pl3.add(ap31);
pl3.add(ap32);
pl3.add(ap33);
pl3.add(ap34);
List<AccountValidation> resultList3 = ds.isValidKFSAccounts(pl3);
if (resultList3 != null) {
for (Iterator i = resultList3.iterator(); i.hasNext();) {
AccountValidation element = (AccountValidation) i.next();
System.out.println("\t" + element.getKfsChartCode() + "/" + element.getKfsAcctNumber() + " : " + element.isValid());
}
} else {
System.out .println("something bad happened...please check your query");
} |
...
isValidKFSExpenseAccounts(List of (kfsChartCode, kfsAcctNumber, effectiveDate))
This service is used to validate KFS chart and expense account codes. Returns an XML result set with a value of true or false for each chart/account
- This is NOT recommended to pass in same value of (kfsChartCode, kfsAcctNumber) but with different effectiveDate. An unexpected result maybe returned.
- The order of kfsChartCode, kfsAcctNumber, effectiveDate CANNOT be swapped.
- effectiveDate has to be valid. Null will be returned otherwise.
Input Specifications
Index | Parameter | Description | Required? | Data Type (max length) | Example |
---|---|---|---|---|---|
0 | kfsChartCode | KFS Chart Code | Yes | String (2) | 'IR' |
1 | kfsAcctNumber | KFS Account Number | Yes | String(7) | '1234567' |
2 | effectiveDate | Date the KFS account needs to be valid | No (default is today's date) | String(8) YYYYMMDD | '20120701' (begin fiscal year 2012/2013) |
DB Query
Code Block |
---|
SELECT a.FIN_COA_CD, a.ACCOUNT_NBR,'true' AS VALID FROM dwhs_ods..ca_account_t a WHERE
a.ACCT_CLOSED_IND <> 'Y' AND
(a.ACCT_EXPIRATION_DT >= getdate() OR a.ACCT_EXPIRATION_DT IS NULL) AND
a.ACCT_TYP_CD = 'EX' AND
(
(a.ACCOUNT_NBR= '1000766' AND
a.FIN_COA_CD= 'IR' AND
a.ACCT_EFFECT_DT <= convert(datetime,'20100701',112)) OR
(a.ACCOUNT_NBR= '1008543' AND
a.FIN_COA_CD= 'IR' AND
a.ACCT_EFFECT_DT <= getdate())
); |
Result Schema: A list of following elements (AccountValidation.java)
chart code, account code and true or false
Parameter | Description | Data Type | Example | ||
---|---|---|---|---|---|
kfsChartCode | KFS Chart Code | String (2) | 'IR'1 | ||
kfsAcctNumber | KFS Account NumberYes | String (7) | '1234567' | ||
2isValid | effectiveDate | Date the KFS account needs to be valid | No (default is today's date) | String(8) YYYYMMDD | '20120701' (begin fiscal year 2012/2013) |
DB Query
...
Is the Chart/Account Active for that effective date (or today)? | boolean | true |
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:isValidKFSExpenseAccounts> <kfsAccountList> <kfsAcctNumber>1000766</kfsAcctNumber> AND a.ACCT_CLOSED_IND <> 'Y' AND ( a.ACCT_EXPIRATION_DT >= getdate() or a.ACCT_EXPIRATION_DT IS NULL) <kfsChartCode>IR</kfsChartCode> </kfsAccountList> <kfsAccountList> AND (a.ACCT_EFFECT_DT <= <effectiveDate> )<effectiveDate>20110701</effectiveDate> AND a.ACCT_TYP_CD = 'EX') then 'false' else 'true' end New: <kfsAcctNumber>1053222</kfsAcctNumber> SELECT a.FIN_COA_CD, a.ACCOUNT_NBR,'true' AS VALID FROM dwhs_ods..ca_account_t a WHERE a.ACCT_CLOSED_IND <> 'Y' AND (a.ACCT_EXPIRATION_DT >= getdate() OR a.ACCT_EXPIRATION_DT IS NULL) AND a.ACCT_TYP_CD = 'EX' AND ( (a.ACCOUNT_NBR= '1000766' AND a.FIN_COA_CD= 'IR' AND a.ACCT_EFFECT_DT <= convert(datetime,'20100701',112)) OR (a.ACCOUNT_NBR= '1008543' AND a.FIN_COA_CD= 'IR' AND a.ACCT_EFFECT_DT <= getdate()) ); |
Result Schema: A list of following elements (AccountValidation.java)
chart code, account code and true or false
Parameter | Description | Data Type | Example |
---|---|---|---|
kfsChartCode | KFS Chart Code | String (2) | 'IR' |
kfsAcctNumber | KFS Account Number | String (7) | '1234567' |
isValid | Is the Chart/Account Active for that effective date (or today)? | boolean | true |
WS Example
Request
Code Block |
---|
<soapenv:Envelope xmlns:soapenv <kfsChartCode>IR</kfsChartCode> </kfsAccountList> <kfsAccountList> <effectiveDate>20110321</effectiveDate> <kfsAcctNumber>1234</kfsAcctNumber> <kfsChartCode>XX</kfsChartCode> </kfsAccountList> </adc:isValidKFSExpenseAccounts> </soapenv:Body> </soapenv:Envelope> |
Response
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> xmlns:adc="http: <soap:Body> <ns2:isValidKFSExpenseAccountsResponse xmlns:ns2="http://www.adcom.uci.edu"> <soapenv:Header/> <soapenv:Body> <return> <adc:isValidKFSExpenseAccounts> <kfsAcctNumber>1053222</kfsAcctNumber> <kfsAccountList> <item>IR<<kfsChartCode>IR</item>kfsChartCode> <item>1000766<<valid>true</item>valid> </kfsAccountList>return> <kfsAccountList><return> <item>IR<<kfsAcctNumber>1234</item>kfsAcctNumber> <item>1008543<<kfsChartCode>XX</item>kfsChartCode> <item>20110701<<valid>false</item>valid> </kfsAccountList>return> <kfsAccountList><return> <item>XX<<kfsAcctNumber>1000766</item>kfsAcctNumber> <item>1234<<kfsChartCode>IR</item>kfsChartCode> <item>20110321<<valid>false</item>valid> </kfsAccountList>return> </adcns2:isValidKFSExpenseAccounts>isValidKFSExpenseAccountsResponse> </soapenvsoap:Body> </soapenvsoap:Envelope> |
...
Java Client Example
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:isValidKFSExpenseAccountsResponse xmlns:ns2="http://www.adcom.uci.edu">
<return>
<kfsAcctNumber>1008543</kfsAcctNumber>
<kfsChartCode>IR</kfsChartCode>
<valid>true</valid>
</return>
<return>
<kfsAcctNumber>1234</kfsAcctNumber>
<kfsChartCode>XX</kfsChartCode>
<valid>false</valid>
</return>
<return>
<kfsAcctNumber>1000766</kfsAcctNumber>
<kfsChartCode>IR</kfsChartCode>
<valid>false</valid>
</return>
</ns2:isValidKFSExpenseAccountsResponse>
</soap:Body>
</soap:Envelope> |
Java Client Example
Code Block |
---|
DWHServerService dss = new DWHServerService();
DWHServer ds = dss.getDWHServerPortCustom();
StringArray sa30 = new StringArray();
sa30.getItem().add("IR");
sa30.getItem().add("1000766");
StringArray sa31 = new StringArray();
sa31.getItem().add("IR");
sa31.getItem().add("1008543");
sa31.getItem().add("20110701");
StringArray sa32 = new StringArray();
sa32.getItem().add("XX");
sa32.getItem().add("1234");
sa32.getItem().add("20110321");
List<AccountValidation> resultList3 = ds.isValidKFSExpenseAccounts(Arrays.asList(sa30, sa31,sa32));
if (resultList3 != null) {
for (Iterator i = resultList3.iterator(); i.hasNext();) {
AccountValidation element = (AccountValidation)i.next();
System.out.println("\t" + element.getKfsChartCode() + "/" + element.getKfsAcctNumber() + " : " + element.isValid());
}
} else {
System.out.println("something bad happened...please check your query");
} |
getValidKFSAccounts(List of (kfsChartCode, kfsAcctNumber))
This service is used retrieve valid KFS account and related attributes. Returns an XML result set with a list of accounts (example getAllValidKFSAccounts result).
Input Specifications
Index | Parameter | Description | Required? | Data Type (max length) | Example |
---|---|---|---|---|---|
0 | kfsChartCode | KFS Chart Code | Yes | String (2) | 'IR' |
1 | kfsAcctNumber | KFS Account Number | Yes | String (7) | '1234567' |
DB Query
Code Block |
---|
SELECT a.FIN_COA_CD ,a.ACCOUNT_NBRDWHServerService dss = new DWHServerService(); DWHServer ds = dss.getDWHServerPortCustom(); ArrayList<AccountParameters> pl4 = new ArrayList<AccountParameters>(); AccountParameters ap41 = new AccountParameters(); ap41.setKfsChartCode("IR"); ap41.setKfsAcctNumber("1000766"); AccountParameters ap42 = new AccountParameters(); ap42.setKfsChartCode("IR"); ap42.setKfsAcctNumber("1053222"); ap42.setEffectiveDate("20110701"); AccountParameters ap43 = new AccountParameters(); ap43.setKfsChartCode("XX"); ap43.setKfsAcctNumber("1234"); ap43.setEffectiveDate("20110321"); pl4.add(ap41); pl4.add(ap42); pl4.add(ap43); List<AccountValidation> resultList4 = ds.isValidKFSExpenseAccounts(pl4); if (resultList4 != null) { for (Iterator i = resultList4.iterator(); i.hasNext();) { AccountValidation element = (AccountValidation) i.next(); System.out.println("\t" + element.getKfsChartCode() + "/" + element.getKfsAcctNumber() + " : " + element.isValid()); } } else { System.out.println("something bad happened...please check your query"); } |
...
getValidKFSAccounts(List of (kfsChartCode, kfsAcctNumber))
This service is used retrieve valid KFS account and related attributes. Returns an XML result set with a list of accounts (example getAllValidKFSAccounts result).
Input Specifications
Index | Parameter | Description | Required? | Data Type (max length) | Example |
---|---|---|---|---|---|
0 | kfsChartCode | KFS Chart Code | Yes | String (2) | 'IR' |
1 | kfsAcctNumber | KFS Account Number | Yes | String (7) | '1234567' |
DB Query
Code Block |
---|
SELECT a.FIN_COA_CD ,a.ACCOUNT_NBR ,a.ACCOUNT_NM ,a.ACCT_FSC_OFC_UID ,a.ACCT_SPVSR_UNVL_ID ,a.ACCT_MGR_UNVL_ID ,a.ORG_CD ,a.ACCT_TYP_CD ,a.ACCT_PHYS_CMP_CD ,a.SUB_FUND_GRP_CD ,a.ACCT_FRNG_BNFT_CD ,a.FIN_HGH_ED_FUNC_CD ,a.ACCT_RSTRC_STAT_CD ,a.ACCT_RSTRC_STAT_DT ,a.ACCT_CITY_NM ,a.ACCT_STATE_CD ,a.ACCT_STREET_ADDR ,a.ACCT_ZIP_CD ,a.RPTS_TO_FIN_COA_CD ,a.RPTS_TO_ACCT_NBR ,a.ACCT_CREATE_DT ,a.ACCT_EFFECT_DT ,a.ACCT_EXPIRATION_DT ,a.CONT_FIN_COA_CD ,a.CONT_ACCOUNT_NBR ,a.ENDOW_FIN_COA_CD ,a.ENDOW_ACCOUNT_NBR ,a.CONTR_CTRL_FCOA_CD ,a.CONTR_CTRLACCT_NBR ,a.INCOME_FIN_COA_CD ,a.INCOME_ACCOUNT_NBR ,a.ACCT_ICR_TYP_CD ,a.AC_CSTM_ICREXCL_CD ,a.ACCOUNTFIN_SERIES_NMID ,a.ACCTICR_FSCFIN_OFCCOA_UIDCD ,a.ACCTICR_SPVSRACCOUNT_UNVL_IDNBR ,a.ACCT_MGRIN_UNVLFP_IDCD ,a.ORGBDGT_REC_LVL_CD ,a.ACCT_TYPSF_CD ,a.ACCT_PHYSPND_CMPSF_CD ,a.SUBFIN_EXT_FUNDENC_GRPSF_CD ,a.ACCTFIN_FRNGINT_ENC_BNFTSF_CD ,a.FIN_HGHPRE_EDENC_FUNCSF_CD ,a.ACCTFIN_RSTRCOBJ_STATPRSCTRL_CD ,a.ACCTCG_RSTRCCFDA_STAT_DTNBR ,a.ACCT_OFF_CITYCMP_NMIND ,a.ACCT_STATECLOSED_CDIND ,a.CG_ACCT_STREETRESP_ADDRID ,ab.ACCTUC_ZIPLOC_CD ,ab.RPTSUC_TO_FIN_COA_CDACCT_NBR ,ab.RPTSUC_TO_ACCTFUND_NBR ,ab.ACCTUCI_CAPITAL_CREATECAT_DTCD FROM ca_account_t a JOIN ca_account_ext_t b on ,(a.ACCTFIN_EFFECTCOA_DTCD ,a.ACCT_EXPIRATION_DT ,a.CONT_= b.FIN_COA_CD and ,a.CONT_ACCOUNT_NBR = b.ACCOUNT_NBR) WHERE ,a.ENDOWACCT_FINCLOSED_COA_CDIND <> 'Y' AND ,(a.ENDOWACCT_ACCOUNTEXPIRATION_NBRDT >= ,getdate() or a.CONTRACCT_CTRLEXPIRATION_FCOA_CDDT IS NULL) AND ,a.CONTRACCT_CTRLACCTEFFECT_NBRDT <= GETDATE() ,AND ((a.INCOME_FIN_COA_CD ,a.INCOME_='<kfsChartCode1>' AND ACCOUNT_NBR='<kfsAcctNumber1>') OR , (a.ACCTFIN_ICRCOA_TYP_CD='<kfsChartCode2>' AND ACCOUNT_NBR='<kfsAcctNumber2>') OR ,a.AC_CSTM_ICREXCL_CD . . . ,a.FIN_SERIES_IDetc ,a.ICR_) |
Result Schema: A list of following elements (AccountDetails.java)
DB Parameter | Java Parameter | Description | Data Type | Example |
---|---|---|---|---|
FIN_COA_CD |
...
Result Schema: A list of following elements (AccountDetails.java)
DB Parameter | Java Parameter | Description | Data Type | Example |
---|---|---|---|---|
FIN_COA_CD | kfsChartCode | KFS Chart Code | String (2) | 'IR' |
ACCOUNT_NBR | kfsAcctNumber | KFS Account Number | String (7) | '1234567' |
ACCOUNT_NM | kfsAcctName | KFS Account Name | String (40) | |
ACCT_FSC_OFC_UID | kfsAcctFiscalOfficerId | KFS Account Fiscal Officer ID | String | |
ACCT_SPVSR_UNVL_ID | kfsAcctSupervisorId | KFS Account Supervisor ID | String | |
ACCT_MGR_UNVL_ID | kfsAcctManagerId | KFS Account Manager ID | String | |
ORG_CD | kfsOrgCode | KFS Organization Code | String | |
ACCT_TYP_CD | kfsAcctTypeCode | KFS Account Type Code | String | |
ACCT_PHYS_CMP_CD | kfsAcctCampusCode | KFS Account Campus Code | String | |
SUB_FUND_GRP_CD | kfsSubFundCode | KFS Sub Fund Group Code | String | |
ACCT_FRNG_BNFT_CD | kfsAcctFringeBenefitCode | KFS Account Fringe Benefit Code | String | |
FIN_HGH_ED_FUNC_CD | kfsHigherEduFundCode | KFS Higher Education Function Code | String | |
ACCT_RSTRC_STAT_CD | kfsAcctRestrictedCode | KFS Account Restricted Status Code | String | |
ACCT_RSTRC_STAT_DT | kfsAcctRestrictedDate | KFS Account Restricted Status Date | String | |
ACCT_CITY_NM | kfsAcctCity | KFS Account City Name | String | |
ACCT_STATE_CD | kfsAcctState | KFS Account State Code | String | |
ACCT_STREET_ADDR | kfsAcctAddress | KFS Account Street Address | String | |
ACCT_ZIP_CD | kfsAcctZip | KFS Account Zip Code | String | |
RPTS_TO_FIN_COA_CD | kfsReportToChartCode | KFS Reports To Chart Code | String | |
RPTS_TO_ACCT_NBR | kfsReportToAcctNumber | KFS Reports To Account Number | String | |
ACCT_CREATE_DT | kfsAcctCreateDate | KFS Account Create Date | String | |
ACCT_EFFECT_DT | kfsAcctEffectiveDate | KFS Account Effective Date | String | |
ACCT_EXPIRATION_DT | kfsAcctExpDate | KFS Account Expiration Date | String | |
CONT_FIN_COA_CD | kfsContChartCode | KFS Continuation Chart Code | String | |
CONT_ACCOUNT_NBR | kfsContAcctNumber | KFS Continuation Account Number | String | |
ENDOW_FIN_COA_CD | kfsEndowChartCode | KFS Endowment Chart Code | String | |
ENDOW_ACCOUNT_NBR | kfsEndowAcctNumber | KFS Endowment Account Number | String | |
CONTR_CTRL_FCOA_CD | kfsCandGChartCode | KFS C&G Control Chart Code | String | |
CONTR_CTRLACCT_NBR | kfsCandGAcctNumber | KFS C&G Control Account Number | String | |
INCOME_FIN_COA_CD | kfsIncomeChartCode | KFS Income Stream Chart Code | String | |
INCOME_ACCOUNT_NBR | kfsIncomeAcctNumber | KFS Income Stream Account Number | String | |
ACCT_ICR_TYP_CD | kfsICRTypeCode | KFS ICR Type Code | String | |
AC_CSTM_ICREXCL_CD | kfsCustomICRCode | KFS Custom ICR Code | String | |
FIN_SERIES_ID | kfsICRRateCode | KFS ICR Rate Code | String | |
ICR_FIN_COA_CD | kfsICRChartCode | KFS ICR Credit Chart Code | String | |
ICR_ACCOUNT_NBR | kfsICRAcctNumber | KFS ICR Credit Account Number | String | |
ACCT_IN_FP_CD | kfsTPSFCode | KFS Transaction Processing Sufficient Funds Check Code | String | |
BDGT_REC_LVL_CD | kfsBudgetLevelCode | KFS Budget Recording Level Code | String | |
ACCT_SF_CD | kfsAcctSFCode | KFS Account Sufficient Fund Check Code | String | |
ACCT_PND_SF_CD | kfsAcctPSFCode | KFS Account Pending Sufficient Fund Check Code | String | |
FIN_EXT_ENC_SF_CD | kfsEESFCode | KFS External Encumbrance Sufficient Fund Check Code | String | |
FIN_INT_ENC_SF_CD | kfsIESFCode | KFS Internal Encumbrance Sufficient Fund Check Code | String | |
FIN_PRE_ENC_SF_CD | kfsPESFCode | KFS Pre-Encumbrance Sufficient Fund Check Code | String | |
FIN_OBJ_PRSCTRL_CD | kfsObjPCCode | KFS Object Presence Control Code | String | |
CG_CFDA_NBR | kfsCGCFDANumber | KFS CG CFDA number | String | |
ACCT_OFF_CMP_IND | kfsAcctOffCampusCode | KFS Account Off Campus Indicator Code | String | |
ACCT_CLOSED_IND | kfsAcctClosedCode | KFS Account Closed Indicator Code | String | |
CG_ACCT_RESP_ID | kfsAcctRespId | KFS Account Responsibility ID | String | |
UC_LOC_CD | ucLocationCode | FS Location Code (legacy) | String(1) | |
UC_ACCT_NBR | ucAccountCode | FS Account Code (legacy) | String(6) | |
UC_FUND_NBR | ucFundCode | FS Fund Code (legacy) | String(5) |
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:getValidKFSAccounts>
<kfsAccountList>
<item>IR</item>
<item>1000766</item>
</kfsAccountList>
<kfsAccountList>
<item>IR</item>
<item>1008543</item>
</kfsAccountList>
<kfsAccountList>
<item>XX</item>
<item>1234</item>
</kfsAccountList>
<kfsAccountList>
<item>IR</item>
<item>1234567</item>
</kfsAccountList>
</adc:getValidKFSAccounts>
</soapenv:Body>
</soapenv:Envelope> |
Response
...
kfsChartCode | KFS Chart Code | String (2) | 'IR' | |
ACCOUNT_NBR | kfsAcctNumber | KFS Account Number | String (7) | '1234567' |
ACCOUNT_NM | kfsAcctName | KFS Account Name | String (40) | |
ACCT_FSC_OFC_UID | kfsAcctFiscalOfficerId | KFS Account Fiscal Officer ID | String | |
ACCT_SPVSR_UNVL_ID | kfsAcctSupervisorId | KFS Account Supervisor ID | String | |
ACCT_MGR_UNVL_ID | kfsAcctManagerId | KFS Account Manager ID | String | |
ORG_CD | kfsOrgCode | KFS Organization Code | String | |
ACCT_TYP_CD | kfsAcctTypeCode | KFS Account Type Code | String | |
ACCT_PHYS_CMP_CD | kfsAcctCampusCode | KFS Account Campus Code | String | |
SUB_FUND_GRP_CD | kfsSubFundCode | KFS Sub Fund Group Code | String | |
ACCT_FRNG_BNFT_CD | kfsAcctFringeBenefitCode | KFS Account Fringe Benefit Code | String | |
FIN_HGH_ED_FUNC_CD | kfsHigherEduFundCode | KFS Higher Education Function Code | String | |
ACCT_RSTRC_STAT_CD | kfsAcctRestrictedCode | KFS Account Restricted Status Code | String | |
ACCT_RSTRC_STAT_DT | kfsAcctRestrictedDate | KFS Account Restricted Status Date | String | |
ACCT_CITY_NM | kfsAcctCity | KFS Account City Name | String | |
ACCT_STATE_CD | kfsAcctState | KFS Account State Code | String | |
ACCT_STREET_ADDR | kfsAcctAddress | KFS Account Street Address | String | |
ACCT_ZIP_CD | kfsAcctZip | KFS Account Zip Code | String | |
RPTS_TO_FIN_COA_CD | kfsReportToChartCode | KFS Reports To Chart Code | String | |
RPTS_TO_ACCT_NBR | kfsReportToAcctNumber | KFS Reports To Account Number | String | |
ACCT_CREATE_DT | kfsAcctCreateDate | KFS Account Create Date | String | |
ACCT_EFFECT_DT | kfsAcctEffectiveDate | KFS Account Effective Date | String | |
ACCT_EXPIRATION_DT | kfsAcctExpDate | KFS Account Expiration Date | String | |
CONT_FIN_COA_CD | kfsContChartCode | KFS Continuation Chart Code | String | |
CONT_ACCOUNT_NBR | kfsContAcctNumber | KFS Continuation Account Number | String | |
ENDOW_FIN_COA_CD | kfsEndowChartCode | KFS Endowment Chart Code | String | |
ENDOW_ACCOUNT_NBR | kfsEndowAcctNumber | KFS Endowment Account Number | String | |
CONTR_CTRL_FCOA_CD | kfsCandGChartCode | KFS C&G Control Chart Code | String | |
CONTR_CTRLACCT_NBR | kfsCandGAcctNumber | KFS C&G Control Account Number | String | |
INCOME_FIN_COA_CD | kfsIncomeChartCode | KFS Income Stream Chart Code | String | |
INCOME_ACCOUNT_NBR | kfsIncomeAcctNumber | KFS Income Stream Account Number | String | |
ACCT_ICR_TYP_CD | kfsICRTypeCode | KFS ICR Type Code | String | |
AC_CSTM_ICREXCL_CD | kfsCustomICRCode | KFS Custom ICR Code | String | |
FIN_SERIES_ID | kfsICRRateCode | KFS ICR Rate Code | String | |
ICR_FIN_COA_CD | kfsICRChartCode | KFS ICR Credit Chart Code | String | |
ICR_ACCOUNT_NBR | kfsICRAcctNumber | KFS ICR Credit Account Number | String | |
ACCT_IN_FP_CD | kfsTPSFCode | KFS Transaction Processing Sufficient Funds Check Code | String | |
BDGT_REC_LVL_CD | kfsBudgetLevelCode | KFS Budget Recording Level Code | String | |
ACCT_SF_CD | kfsAcctSFCode | KFS Account Sufficient Fund Check Code | String | |
ACCT_PND_SF_CD | kfsAcctPSFCode | KFS Account Pending Sufficient Fund Check Code | String | |
FIN_EXT_ENC_SF_CD | kfsEESFCode | KFS External Encumbrance Sufficient Fund Check Code | String | |
FIN_INT_ENC_SF_CD | kfsIESFCode | KFS Internal Encumbrance Sufficient Fund Check Code | String | |
FIN_PRE_ENC_SF_CD | kfsPESFCode | KFS Pre-Encumbrance Sufficient Fund Check Code | String | |
FIN_OBJ_PRSCTRL_CD | kfsObjPCCode | KFS Object Presence Control Code | String | |
CG_CFDA_NBR | kfsCGCFDANumber | KFS CG CFDA number | String | |
ACCT_OFF_CMP_IND | kfsAcctOffCampusCode | KFS Account Off Campus Indicator Code | String | |
ACCT_CLOSED_IND | kfsAcctClosedCode | KFS Account Closed Indicator Code | String | |
CG_ACCT_RESP_ID | kfsAcctRespId | KFS Account Responsibility ID | String | |
UC_LOC_CD | ucLocationCode | FS Location Code (legacy) | String(1) | |
UC_ACCT_NBR | ucAccountCode | FS Account Code (legacy) | String(6) | |
UC_FUND_NBR | ucFundCode | FS Fund Code (legacy) | String(5) |
WS Example
Request
Code Block |
---|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:getValidKFSAccountsResponse xmlns:ns2adc="http://www.adcom.uci.edu"> <return> <kfsAcctAddress>Campus Dr</kfsAcctAddress><soapenv:Header/> <soapenv:Body> <adc:getValidKFSAccounts> <kfsAcctCampusCode>IR</kfsAcctCampusCode> <kfsAccountList> <kfsAcctCity>Irvine</kfsAcctCity> <kfsAcctClosedCode>N</kfsAcctClosedCode><kfsAcctNumber>1000766</kfsAcctNumber> <kfsAcctCreateDate>2012-05-13</kfsAcctCreateDate><kfsChartCode>IR</kfsChartCode> <kfsAcctEffectiveDate>2011-07-01</kfsAcctEffectiveDate></kfsAccountList> <kfsAccountList> <kfsAcctFringeBenefitCode>Y</kfsAcctFringeBenefitCode> <kfsAcctManagerId>000000066894</kfsAcctManagerId> <kfsAcctNumber>1008543</kfsAcctNumber> <kfsAcctName>CA-BOA- CAMPUS - 1233-12007 110001-18888</kfsAcctName> <kfsChartCode>IR</kfsChartCode> </kfsAccountList> <kfsAcctNumber>1000766</kfsAcctNumber> <kfsAccountList> <kfsAcctOffCampusCode>N</kfsAcctOffCampusCode> <kfsAcctNumber>1234</kfsAcctNumber> <kfsAcctPSFCode>N</kfsAcctPSFCode> <kfsChartCode>XX</kfsChartCode> <kfsAcctRestrictedCode>U</kfsAcctRestrictedCode> </kfsAccountList> <kfsAcctSFCode>N</kfsAcctSFCode><kfsAccountList> <kfsAcctState>CA<<kfsAcctNumber>1234576</kfsAcctState>kfsAcctNumber> <kfsAcctSupervisorId>000000960010<<kfsChartCode>XX</kfsAcctSupervisorId>kfsChartCode> <kfsAcctTypeCode>BS</kfsAcctTypeCode></kfsAccountList> </adc:getValidKFSAccounts> </soapenv:Body> <kfsAcctZip>92697</kfsAcctZip></soapenv:Envelope> |
Response
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <kfsBudgetLevelCode>C</kfsBudgetLevelCode><ns2:getValidKFSAccountsResponse xmlns:ns2="http://www.adcom.uci.edu"> <return> <kfsCandGAcctNumber>9975430</kfsCandGAcctNumber> <kfsAcctAddress>Campus <kfsCandGChartCode>MC<Dr</kfsCandGChartCode>kfsAcctAddress> <kfsChartCode>IR<<kfsAcctCampusCode>IR</kfsChartCode>kfsAcctCampusCode> <kfsContAcctNumber>0<<kfsAcctCity>Irvine</kfsContAcctNumber>kfsAcctCity> <kfsContChartCode>0<<kfsAcctClosedCode>N</kfsContChartCode>kfsAcctClosedCode> <kfsEESFCode>N</kfsEESFCode><kfsAcctCreateDate>2012-09-05</kfsAcctCreateDate> <kfsEndowChartCode>0</kfsEndowChartCode><kfsAcctEffectiveDate>2011-07-01</kfsAcctEffectiveDate> <kfsFringeBenefitAcct>0<<kfsAcctFiscalOfficerId>000000060345</kfsFringeBenefitAcct>kfsAcctFiscalOfficerId> <kfsFringeBenefitChart>0<<kfsAcctFringeBenefitCode>Y</kfsFringeBenefitChart>kfsAcctFringeBenefitCode> <kfsHigherEduFundCode>NA</kfsHigherEduFundCode><kfsAcctManagerId>000000247608</kfsAcctManagerId> <kfsAcctName>INSTITUTIONAL/LATE CHARGE I <kfsICRTypeCode>0<102168-03440</kfsICRTypeCode>kfsAcctName> <kfsIESFCode>N<<kfsAcctNumber>1000766</kfsIESFCode>kfsAcctNumber> <kfsIncomeAcctNumber>0<<kfsAcctOffCampusCode>N</kfsIncomeAcctNumber>kfsAcctOffCampusCode> <kfsIncomeChartCode>0<<kfsAcctPSFCode>N</kfsIncomeChartCode>kfsAcctPSFCode> <kfsObjPCCode>N<<kfsAcctRestrictedCode>U</kfsObjPCCode>kfsAcctRestrictedCode> <kfsOrgCode>0922<<kfsAcctSFCode>N</kfsOrgCode>kfsAcctSFCode> <kfsPESFCode>N<<kfsAcctState>CA</kfsPESFCode>kfsAcctState> <kfsSubFundCode>STC&G</kfsSubFundCode><kfsAcctSupervisorId>000000089121</kfsAcctSupervisorId> <kfsTPSFCode>Y<<kfsAcctTypeCode>NA</kfsTPSFCode>kfsAcctTypeCode> <ucAccountCode>110001<<kfsAcctZip>92697</ucAccountCode>kfsAcctZip> <ucFundCode>18888<<kfsBudgetLevelCode>C</ucFundCode>kfsBudgetLevelCode> <ucLocationCode>9</ucLocationCode><kfsChartCode>IR</kfsChartCode> <<kfsEESFCode>N</return>kfsEESFCode> <return> <kfsHigherEduFundCode>NA</kfsHigherEduFundCode> <kfsAcctAddress>Campus Dr<<kfsIESFCode>N</kfsAcctAddress>kfsIESFCode> <kfsAcctCampusCode>IR<<kfsObjPCCode>N</kfsAcctCampusCode>kfsObjPCCode> <kfsAcctCity>Irvine<<kfsOrgCode>8820</kfsAcctCity>kfsOrgCode> <kfsAcctClosedCode>N<<kfsPESFCode>N</kfsAcctClosedCode>kfsPESFCode> <kfsAcctCreateDate>2012-05-13</kfsAcctCreateDate><kfsSubFundCode>SRC001</kfsSubFundCode> <kfsAcctEffectiveDate>2011-07-01</kfsAcctEffectiveDate><kfsTPSFCode>Y</kfsTPSFCode> <kfsAcctFiscalOfficerId>000000061717<<ucAccountCode>102168</kfsAcctFiscalOfficerId>ucAccountCode> <kfsAcctFringeBenefitCode>Y<<ucFundCode>03440</kfsAcctFringeBenefitCode>ucFundCode> <kfsAcctManagerId>000000121170</kfsAcctManagerId><ucLocationCode>9</ucLocationCode> </return> <kfsAcctName>MERAGE/DEAN'S OFFICE/EDUCAT 400100-09535</kfsAcctName> <return> <kfsAcctAddress>Campus <kfsAcctNumber>1008543<Dr</kfsAcctNumber>kfsAcctAddress> <kfsAcctOffCampusCode>N<<kfsAcctCampusCode>IR</kfsAcctOffCampusCode>kfsAcctCampusCode> <kfsAcctPSFCode>N<<kfsAcctCity>Irvine</kfsAcctPSFCode>kfsAcctCity> <kfsAcctRestrictedCode>U<<kfsAcctClosedCode>N</kfsAcctRestrictedCode>kfsAcctClosedCode> <kfsAcctSFCode>N</kfsAcctSFCode><kfsAcctCreateDate>2012-09-05</kfsAcctCreateDate> <kfsAcctState>CA</kfsAcctState><kfsAcctEffectiveDate>2011-07-01</kfsAcctEffectiveDate> <kfsAcctSupervisorId>000000082229<<kfsAcctFiscalOfficerId>000000060345</kfsAcctSupervisorId>kfsAcctFiscalOfficerId> <kfsAcctTypeCode>EX<<kfsAcctFringeBenefitCode>Y</kfsAcctTypeCode>kfsAcctFringeBenefitCode> <kfsAcctZip>92697</kfsAcctZip><kfsAcctManagerId>000000247608</kfsAcctManagerId> <kfsAcctName>D/NSF DMS-1001006 YI J53.0 <kfsBudgetLevelCode>C<221602-21602</kfsBudgetLevelCode>kfsAcctName> <kfsCandGAcctNumber>9975430<<kfsAcctNumber>1008543</kfsCandGAcctNumber>kfsAcctNumber> <kfsCandGChartCode>MC<<kfsAcctOffCampusCode>N</kfsCandGChartCode>kfsAcctOffCampusCode> <kfsChartCode>IR<<kfsAcctPSFCode>N</kfsChartCode>kfsAcctPSFCode> <kfsContAcctNumber>0<<kfsAcctRestrictedCode>U</kfsContAcctNumber>kfsAcctRestrictedCode> <kfsContChartCode>0<<kfsAcctSFCode>N</kfsContChartCode>kfsAcctSFCode> <kfsEESFCode>N<<kfsAcctState>CA</kfsEESFCode>kfsAcctState> <kfsEndowChartCode>0<<kfsAcctSupervisorId>000000089121</kfsEndowChartCode>kfsAcctSupervisorId> <kfsFringeBenefitAcct>0<<kfsAcctTypeCode>IN</kfsFringeBenefitAcct>kfsAcctTypeCode> <kfsFringeBenefitChart>0<<kfsAcctZip>92697</kfsFringeBenefitChart>kfsAcctZip> <kfsHigherEduFundCode>INST<<kfsBudgetLevelCode>C</kfsHigherEduFundCode>kfsBudgetLevelCode> <kfsICRTypeCode>0<<kfsChartCode>IR</kfsICRTypeCode>kfsChartCode> <kfsIESFCode>N<<kfsEESFCode>N</kfsIESFCode>kfsEESFCode> <kfsIncomeAcctNumber>0<<kfsHigherEduFundCode>NA</kfsIncomeAcctNumber>kfsHigherEduFundCode> <kfsIncomeChartCode>0<<kfsIESFCode>N</kfsIncomeChartCode>kfsIESFCode> <kfsObjPCCode>N</kfsObjPCCode> <kfsOrgCode>0049<<kfsOrgCode>6046</kfsOrgCode> <kfsPESFCode>N</kfsPESFCode> <kfsSubFundCode>OPPFNO<<kfsSubFundCode>SRC001</kfsSubFundCode> <kfsTPSFCode>Y</kfsTPSFCode> <ucAccountCode>400100<<ucAccountCode>221602</ucAccountCode> <ucFundCode>09535<<ucFundCode>21602</ucFundCode> <ucLocationCode>9</ucLocationCode> </return> </ns2:getValidKFSAccountsResponse> </soap:Body> </soap:Envelope> |
...
Code Block |
---|
DWHServerService dss = new DWHServerService(); DWHServer ds = dss.getDWHServerPortCustom(); StringArrayArrayList<AccountParameters> sa40pl3 = new StringArrayArrayList<AccountParameters>(); sa40.getItem().add AccountParameters ap31 = new AccountParameters(); ap31.setKfsChartCode("IR"); sa40.getItem().addap31.setKfsAcctNumber("1000766"); StringArrayAccountParameters sa41ap32 = new StringArrayAccountParameters(); sa41ap32.getItemsetKfsChartCode().add("IR"); sa41ap32.getItemsetKfsAcctNumber().add("1008543"); StringArrayAccountParameters sa42ap33 = new StringArrayAccountParameters(); sa42ap33.getItemsetKfsChartCode().add("XX"); sa42ap33.getItemsetKfsAcctNumber().add("1234"); StringArrayAccountParameters sa43ap34 = new StringArray(AccountParameters(); ap34.setKfsChartCode("XX"); ap34.setKfsAcctNumber("1234576"); sa43pl3.getItemadd(ap31); pl3.add("IR"ap32); sa43pl3.getItemadd(ap33); pl3.add("1234567"ap34); List<AccountDetails> resultList4resultList5 = ds.getValidKFSAccounts(Arrays.asList(sa40, sa41,sa42,sa43))pl3); if (resultList4resultList5 != null) { for (Iterator i = resultList4resultList5.iterator(); i.hasNext();) { AccountDetails element = (AccountDetails) i.next(); System.out.println("\t" + element.getKfsChartCode() + "/" + element.getKfsAcctNumber() + " : " + element.getKfsAcctName()); } } else { System.out.println("something bad happened...please check your query"); } |
...
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:getAllKFSAccountsPKResponse xmlns:ns2="http://www.adcom.uci.edu"> <return> <kfsAcctNumber>1067496</kfsAcctNumber> <kfsChartCode>IR</kfsChartCode> </return> <return> <kfsAcctNumber>1067497</kfsAcctNumber> <kfsChartCode>IR</kfsChartCode> </return> <return> <kfsAcctNumber>1067498</kfsAcctNumber> <kfsChartCode>IR</kfsChartCode> </return> ... ... <return> </ns2:getAllKFSAccountsPKResponse> </soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
long start7 = System.currentTimeMillis(); <kfsAcctNumber>1067498</kfsAcctNumber> <kfsChartCode>IR</kfsChartCode> </return> ... ... </ns2:getAllKFSAccountsPKResponse> </soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
// get all the accounts primary key List<AccountDetails> resultList7 = ds.getAllKFSAccountsPK(); if (resultList7 != null) { StringArray sa70 = new StringArray(); System.out.println("\nWSClient--getAllKFSAccountsPK(), starting time: " + start7); // get all the accounts primary key List<AccountDetails> resultList7 = ds.getAllKFSAccountsPK(); if (resultList7 != null) { System.out.println("PK-total size: " + resultList7.size()); System.out.println("PK-the 1st item ChartCode / AcctNumber: " + ((AccountDetails) resultList7.get(0)).getKfsChartCode() + " / " + ((AccountDetails) resultList7.get(0)).getKfsAcctNumber()); ArrayList<AccountParameters> pl70 = new ArrayList<AccountParameters>(); long start71 = System.currentTimeMillis(); // get details for each KFSAccount in a chunk of 1000 for (int i = 0; i < resultList7.size(); i++) { // single record detail if (i != 0 && i % 1000 == 0) { start71 = System.currentTimeMillis(); List<AccountDetails> resultList70 = ds.getValidKFSAccounts(Arrays.asList(sa70)); (pl70); System.out.println(i); System.out.println("PK-elapsed after " + i + " item time (sec): " + (System.currentTimeMillis() - start71) / 1000F); // do whatever with the 1000 records in resultList70 the 1000 records in resultList70 System.out.println("result size: " + resultList70.size()); System.out.println("1st item details, acctname: " + resultList70.get(0).getKfsAcctName() + ", addr: " + resultList70.get(0).getKfsAcctAddress()); // once hit multiple of 1000, reset argument list sa70 = new StringArraypl70.clear(); } else { // building arguments list for getValidKFSAccounts() sa70.getItem().addAccountParameters ap70 = new AccountParameters(); ap70.setKfsChartCode(resultList7.get(i).getKfsChartCode()); sa70ap70.getItemsetKfsAcctNumber().add(resultList7.get(i).getKfsAcctNumber()); pl70.add(ap70); } } System.out.println("PK-elapsed time (sec): " + (System.currentTimeMillis() - start7) / 1000F); } else { System.out.println("something bad happened...please check your query"); } |
...