OA申请单推送星空方案 采购申请单保存JSON 采购申请单状态转换JSON 修改时忽略网控
# 将OA的物资申请推送到ERP,OA提交流程后调用采购申请单保存接口。OA流程提交完成调用采购申请单状态转换接口来调整OA流程状态为已生效。如果出现流程打回,则调用反审核删除(作废)接口。
- 新增3个字段
- OA申请人 F_RDPB_OASQR 锁定
- OA流程编号 F_RDPB_OAFLOWNO 锁定,功能控制配置禁止复制
- OA流程状态 F_RDPB_OAStatus 锁定,[下拉框:待生效A、已生效B]设置默认值为待生效。
- 标准接口地址:http://IP/K3Cloud/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save.common.kdsvc
- 采购申请单保存JSON
```json
{
"NeedUpDateFields": [],
"NeedReturnFields": [],
"IsDeleteEntry": "true",
"SubSystemId": "",
"IsVerifyBaseDataField": "false",
"IsEntryBatchFill": "true",
"ValidateFlag": "true",
"NumberSearch": "true",
"IsAutoSubmitAndAudit": "true",
"InterationFlags": "",
"Model": {
"FBillTypeID": {
"FNUMBER": "CGSQD01_SYS"
},
"FApplicationDate": "2022-03-25 00:00:00",
"FRequestType": "Material",
"FApplicationOrgId": {
"FNumber": "A000"
},
"FApplicationDeptId": {
"FNumber": "BM000106"
},
"FNote": "",
"F_RDPB_OASQR": "",
"F_RDPB_OAFLOWNO": "EM01-202203-0035-BZ",
"FEntity": [{
"FRequireOrgId": {
"FNumber": "A000"
},
"FMaterialId": {
"FNumber": "51000025"
},
"FAuxpropId": {
"FAUXPROPID__FF100002": {
"FNumber": ""
},
"FAUXPROPID__FF100004": {
"FNumber": ""
}
},
"FReqQty": 1,
"FArrivalDate": "2022-03-25 13:11:00",
"FPurchaseOrgId": {
"FNumber": "A000"
},
"FSuggestSupplierId": {
"FNumber": ""
},
"FReceiveOrgId": {
"FNumber": "A000"
},
"FPriceUnitQty": 1,
"FEntryNote": "",
"FTAXPRICE": 10000
}]
}
}
```
- 采购申请单状态转换JSON
```json
{
"formid": "PUR_Requisition",
"data": {
"IsDeleteEntry": "false",
"IsUserModelInit": "true", //忽略网控
"Model": {
"FID": "157877",
"F_RDPB_OAStatus": "B"
}
}
}
```
- 采购申请单反审核[UnAudit]接口,删除[Delete]接口JSON
```json
{
"formid": "PUR_Requisition",
"data": {
"Ids": "157877",
"NetworkCtrl": "false"//忽略网控
}
}
```
- 采购申请单作废[ExcuteOperation]接口JSON
```json
{
"formid": "PUR_Requisition",
"opNumber":"Cancel",
"data": {
"Ids": "157877",
"NetworkCtrl": "false"//忽略网控
}
}
OA申请单推送星空方案 采购申请单保存JSON 采购申请单状态转换JSON 修改时忽略网控
# 将OA的物资申请推送到ERP,OA提交流程后调用采购申请单保存接口。OA流程提交完成调用采购申请单状态转换接口来调整OA流程状态为已生效。...
点击下载文档
本文2024-09-16 17:18:37发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-14876.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章