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 Version History

« Previous Version 9 Next »

KFS Chart Web Services

isValidKFSCharts(kfsChartCode)

This service is used to validate KFS chart codes. Returns an XML result set with a value of true or false (example isValidKFSCharts result) for each chart

Input Specifications:

ParameterDescriptionRequired?Data Type (max length)
kfsChartCodeThe KFS chart of accounts codeYesString (2)

Logic:

select distinct
'IR',
case when not exists (select * FROM dwhs_ods..ca_chart_t a  where a.fin_coa_cd= 'IR' 
                       AND a.FIN_COA_ACTIVE_CD <> 'N' )
then 'false'
else 'true'
end

Result Schema:

Returns the chart code and true or false

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString (2)'IR'
isValidIs the Chart Active for that Fiscal Period?booleantrue

 

 

getAllValidKFSCharts()

This service is used retrieve all valid KFS chart codes. Returns an XML result set with a list of charts (example getAllValidKFSCharts result)

Input Specifications:

No input parameters needed

Logic:

 

SELECT FIN_COA_CD
      ,FIN_COA_DESC
      ,FIN_COA_ACTIVE_CD
      ,FIN_CASH_OBJ_CD
      ,FIN_AP_OBJ_CD
      ,INCBDGT_ELIMOBJ_CD
      ,EXPBDGT_ELIMOBJ_CD
      ,RPTS_TO_FIN_COA_CD
      ,FIN_AR_OBJ_CD
      ,FIN_INT_ENC_OBJ_CD
      ,FIN_EXT_ENC_OBJ_CD
      ,FIN_PRE_ENC_OBJ_CD
      ,ICR_INC_FIN_OBJ_CD
      ,ICR_EXP_FIN_OBJ_CD
      ,FND_BAL_OBJ_CD
  FROM ca_chart_t
WHERE FIN_COA_ACTIVE_CD <> 'N' 

Result Schema:

ParameterDescriptionData TypeExample
kfsChartCodeKFS Chart CodeString (2)'IR'
kfsChartDescriptionKFS Chart DescriptionString (40)'Irvine'
kfsChartActiveCodeKFS Chart Active Code ('Y' for yes, 'N' for no)String (1)'Y'
kfsFinCashObjCodeKFS Cash Object CodeString (4)'0000'
kfsFinAPObjCodeKFS Accounts Payable Object CodeString (4)'0000'
kfsIncBdgtElimObjCodeKFS Income Budget Elimination Object CodeString (4)'0000'
kfsExpBdgtElimObjCodeKFS Expense Budget Elimination Object CodeString (4)'0000'
kfsRptsToChartCodeKFS Reports to Chart CodeString (2)'MC'
kfsARObjCodeKFS Accounts Receivable Object CodeString (4)'0000'
kfsIntEncObjCodeKFS Internal Encumbrances Object CodeString (4)'0000'

kfsExtEncObjCode

KFS External Encumbrances Object CodeString (4)'0000'
kfsPreEncObjCodeKFS Pre Encumbrances Object CodeString (4)'0000'
kfsICRIncObjCodeKFS Indirect Cost Recovery Income Object CodeString (4)'0000'
kfsICRExpObjCodeKFS Indirect Cost Recovery Expense Object CodeString (4)'0000'
kfsFundBalObjCodeKFS Fund Balance Object CodeString (4)'0000'

 

 

 

  • No labels