/
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) |
---|---|---|---|---|---|
0 | kfsFiscalYear | The KFS Fiscal Year | No | Current Fiscal Year | String(4) |
2 | kfsChartCode | The KFS Chart of Accounts Code | Yes | String(2) | |
3 | kfsAccountNumber | The KFS Account | Yes | String(7) | |
5 | kfsObjectCode | The KFS Object Code | Yes | String(4) |
Result properties:
Parameter | Description | Data Type | Example |
---|---|---|---|
valid | valid | Boolean | true |
message | feedback message | String | 'Success' |
ucLocationCode | UC location code | String | 9 |
ucAccountNumber | UC account number | String | 405044 |
ucFundNumber | UC fund number | String | 19900 |
ucObjectCode | UC object code | String | 1100 |
ucSubCode | UC sub code | String | 2 |
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) |
---|---|---|---|---|
0 | kfsFiscalYear | The KFS Fiscal Year | Yes | String(4) |
1 | kfsOriginationCode | The KFS Origination Code (e.g. FM) | Yes | String(2) |
2 | kfsChartCode | The KFS Chart of Accounts Code | Yes | String(2) |
3 | kfsAccountNumber | The KFS Account | Yes | String(7) |
4 | kfsSubAccountNumber | The KFS Sub Account Number | No | String(5) |
5 | kfsObjectCode | The KFS Object Code | Yes | String(4) |
6 | kfsSubObjectCode | The KFS Sub Object Code | No | String(3) |
7 | kfsProjectCode | The KFS Project Code | No | String(10) |
Result properties:
Parameter | Description | Data Type | Example |
---|---|---|---|
valid | valid | Boolean | true |
message | feedback message | String | 'Success' |
matchingOOEDefinitionId | matching OOE definition | Number | 54 |
matchingGOEDefinitionId | matching GOE definition | Number | 32 |
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} |
---|