/
DWH Web Services - Full Accounting Line

DWH Web Services - Full Accounting Line

 

KFS to UCOP Translation

This service is used to convert KFS FAU to UCOP FAU.

Input Specifications:

Index
Parameter
Description
Required?
Default Value
Data Type (max length)
0kfsFiscalYearThe KFS Fiscal YearNoCurrent Fiscal YearString(4)
2kfsChartCodeThe KFS Chart of Accounts CodeYes String(2)
3kfsAccountNumberThe KFS AccountYes String(7)
5kfsObjectCodeThe KFS Object CodeYes String(4)

Result properties:

ParameterDescriptionData TypeExample
validvalidBooleantrue
messagefeedback messageString

'Success'

ucLocationCode
UC location codeString9
ucAccountNumber
UC account numberString
405044
ucFundNumber
UC fund numberString
19900
ucObjectCode
UC object codeString
1100
ucSubCode
UC sub codeString2

WS Example

Request REST

 

DWHRESTServer/rest/coa/accountingLine/translate?kfsFiscalYear=2017&kfsChartCode=IR&kfsAccountNumber=GF10657&kfsObjectCode=1200

 

Response REST JSON

{"valid":true,"message":"Success","ucLocationCode":"9","ucAccountNumber":"405044","ucFundNumber":"19900","ucObjectCode":"1100","ucSubCode":"2"}

 

KFS Accounting Line Validation

This service is used to validate the full accounting line including GOE and OOE validation. Returns a JSON result.

Input Specifications:

Index
Parameter
Description
Required?
Data Type (max length)
0kfsFiscalYearThe KFS Fiscal YearYesString(4)
1kfsOriginationCodeThe KFS Origination Code (e.g. FM)YesString(2)
2kfsChartCodeThe KFS Chart of Accounts CodeYesString(2)
3kfsAccountNumberThe KFS AccountYesString(7)
4kfsSubAccountNumberThe KFS Sub Account NumberNoString(5)
5kfsObjectCodeThe KFS Object CodeYesString(4)
6kfsSubObjectCodeThe KFS Sub Object CodeNoString(3)
7kfsProjectCodeThe KFS Project CodeNoString(10)

Result properties:

ParameterDescriptionData TypeExample
validvalidBooleantrue
messagefeedback messageString

'Success'

matchingOOEDefinitionId
matching OOE definitionNumber54
matchingGOEDefinitionId
matching GOE definitionNumber32

WS Example

Request REST

 

DWHRESTServer/rest/coa/accountingLine/validate?kfsFiscalYear=2017&kfsOriginationCode=AR&kfsAccountNumber=SS11828&kfsChartCode=IR&kfsObjectCode=ASTS

 

Response REST JSON

{"valid":true,"message":"Success","matchingOOERuleId":0,"matchingGOERuleId":0}