文档
测试

期间关闭检查

POST
http://localhost:27212//Api/ClosePeriod/CheckPeriodList

接口描述

期间关闭检查 用于 1. 期间关闭程式的进行 2.《检查》按钮 3《关闭期间》按钮的第一段

请求参数

参数名
类型
描述
必填
fUsrID
string
示例:1 /*操作人员ID 数值栏位*/
必填
fToken
string
示例:111111 /*Token */
必填
fOrgID
string
示例:1
必填
fPeriodType
string
示例:F /*期间类型 I. 存货期间 / F.财务期间*/
必填

响应参数

参数名
类型
描述
必填
Code
int
示例:1001 /*Code的返回值为1000.表示检查通过,没有未处理完的单据 / 1001 表示还有未处理完的单据,不能关闭当前期间, 其他的返回值为异常*/
必填
Msg
string
示例:有未处理完成的单据,不能关闭当前期间
必填
Data
object
数据字典
必填
fPeriodName
string
示例:NOV-25 /*期间描述*/
必填
fPeriodID
string
示例:23 /*期间ID*/
必填
tPeriodCheckResult
array
数据列表
必填
fsNo
string
示例:1 /*序号*/
必填
fFormCode
string
示例:ArCash /*程式代码 不显示*/
必填
fFormName
string
示例:收款单 /*程式描述*/
必填
fStauts
string
示例:Ok /*检查状态 Ok: 无未处理完单据 / Error: 有未处理完单据 不能关闭 / Warn: 有未处理完单据 可以关闭 不显示*/
必填
fDesc
string
示例:未产生凭证收款单 /*检查结果*/
必填
fDescA
string
示例:未产生凭证收款单1笔 /*检查结果错误描述*/
必填
fInterface
string
示例:/Api/ArCash/ArCashList /*接口路径 不显示*/
必填
fCol
string
示例:sGlFlag /*检查的字段 不显示*/
必填
fVal
string
示例:N /*检查字段的值 不显示*/
必填
fTypeCol
string
示例: /*检查程式类型 不显示*/
必填
fTypeVal
string
示例: /*检查程式类型的值 不显示*/
必填
fCount
string
示例:1 /*未处理完单据的笔数 */
必填

说明 / 示例

{ "fUsrID": "1", "fToken": "111111", "fOrgID": "1", "fPeriodType": "F" }

返回示例

{ "Code": 1001, "Msg": "有未处理完成的单据,不能关闭当前期间", "Data": { "fPeriodName": "NOV-25", "fPeriodID": "23", "tPeriodCheckResult": [ { "fsNo": "1", "fFormCode": "FaAsset", "fFormName": "固定资产", "fStauts": "Ok", "fDesc": "固定资产已全部审核", "fDescA": "", "fInterface": "/Api/FaAsset/FaAssetList", "fCol": "fcFlag", "fVal": "N", "fTypeCol": "", "fTypeVal": " ", "fCount": "0" }, { "fsNo": "2", "fFormCode": "FaAsset", "fFormName": "固定资产", "fStauts": "Ok", "fDesc": "固定资产已全部产生凭证", "fDescA": "", "fInterface": "/Api/FaAsset/FaAssetList", "fCol": "sGlFlag", "fVal": "N", "fTypeCol": "", "fTypeVal": " ", "fCount": "0" }, { "fsNo": "3", "fFormCode": "FaAssetDec", "fFormName": "固定资产减值", "fStauts": "Ok", "fDesc": "固定资产减值已全部审核", "fDescA": "", "fInterface": "/Api/FaAssetDec/AssetDecList", "fCol": "fcFlag", "fVal": "N", "fTypeCol": "", "fTypeVal": " ", "fCount": "0" }, { "fsNo": "4", "fFormCode": "FaAssetDec", "fFormName": "固定资产减值", "fStauts": "Ok", "fDesc": "固定资产减值已全部产生凭证", "fDescA": "", "fInterface": "/Api/FaAssetDec/AssetDecList", "fCol": "sGlFlag", "fVal": "N", "fTypeCol": "", "fTypeVal": " ", "fCount": "0" }, { "fsNo": "5", "fFormCode": "FaAssetProc", "fFormName": "固定资产处置", "fStauts": "Ok", "fDesc": "固定资产处置已全部审核", "fDescA": "", "fInterface": "/Api/FaAssetProc/AssetProcList", "fCol": "fcFlag", "fVal": "N", "fTypeCol": "", "fTypeVal": " ", "fCount": "0" }, { "fsNo": "6", "fFormCode": "FaAssetProc", "fFormName": "固定资产处置", "fStauts": "Ok", "fDesc": "固定资产处置已全部产生凭证", "fDescA": "", "fInterface": "/Api/FaAssetProc/AssetProcList", "fCol": "sGlFlag", "fVal": "N", "fTypeCol": "", "fTypeVal": " ", "fCount": "0" } ] } }