标准采购申请Json:
{
"Creator": "",
"IsAutoSubmitAndAudit": "true",
"Model": {
"FBillTypeID": {
"FNUMBER": "CGSQD01_SYS"
},
"FApplicationDate": "2020-06-23",
"FRequestType": "Material",
"FApplicationOrgId": {
"FNumber": "100"
},
"FEntity": [
{
"FRequireOrgId": {
"FNumber": "100"
},
"FMaterialId": {
"FNumber": "0101101.F020208*40024M*01"
},
"FUnitId": {
"FNumber": "jian"
},
"FReqQty": 10.0,
"FPurchaseOrgId": {
"FNumber": "100"
},
"FPriceUnitId": {
"FNumber": "jian"
},
"FREQSTOCKUNITID": {
"FNumber": "jian"
}
}
]
}
}
费用采购申请json:
{
"Creator": "",
"IsAutoSubmitAndAudit": "true",
"Model": {
"FBillTypeID": {
"FNUMBER": "CGSQD04_SYS"
},
"FApplicationDate": "2020-06-23",
"FRequestType": "Expense",
"FApplicationOrgId": {
"FNumber": "100"
},
"FEntity": [
{
"FRequireOrgId": {
"FNumber": "100"
},
"FMaterialId": {
"FNumber": "fywl"
},
"FUnitId": {
"FNumber": "ge"
},
"FReqQty": 20.0,
"FPurchaseOrgId": {
"FNumber": "100"
},
"FPriceUnitId": {
"FNumber": "ge"
},
"FREQSTOCKUNITID": {
"FNumber": "ge"
},
"FChargeProjectID":{
"FNumber":"CI001"
}
}
]
}
}
资产采购申请json:
{
"Creator": "",
"IsAutoSubmitAndAudit": "true",
"Model": {
"FBillTypeID": {
"FNUMBER": "CGSQD03_SYS"
},
"FApplicationDate": "2020-06-23",
"FRequestType": "Property",
"FApplicationOrgId": {
"FNumber": "100"
},
"FEntity": [
{
"FRequireOrgId": {
"FNumber": "100"
},
"FMaterialId": {
"FNumber": "zcwl"
},
"FUnitId": {
"FNumber": "kg"
},
"FReqQty": 10.0,
"FPurchaseOrgId": {
"FNumber": "100"
},
"FPriceUnitId": {
"FNumber": "kg"
},
"FREQSTOCKUNITID": {
"FNumber": "kg"
}
}
]
}
}
字段说明:
字段名 | 中文名 | 说明 | 必填 | 类型 |
FBillTypeID | 单据类型 | 标准采购申请默认:CGSQD01_SYS 费用采购申请默认: CGSQD04_SYS 资产采购申请默认: CGSQD03_SYS | Y | 字符串 |
FApplicationDate | 申请日期 | YYYY-MM-DD | Y | 字符串 |
FRequestType | 申请类型 | 默认:Material | Y | 字符串 |
FApplicationOrgId | 申请组织 | 组织编码 | Y | 字符串 |
FRequireOrgId | 需求组织 | 组织编码 | Y | 字符串 |
FMaterialId | 物料 | 物料编码 | Y | 字符串 |
FUnitId | 单位 | 单位编码 | Y | 字符串 |
FReqQty | 申请数量 | 申请数量 | Y | 小数 |
FPurchaseOrgId | 采购组织 | 组织编码 | Y | 字符串 |
FPriceUnitId | 计价单位 | 单位编码 | Y | 字符串 |
FREQSTOCKUNITID | 库存单位 | 单位编码 | Y | 字符串 |
FChargeProjectID | 费用项目 | 仅费用采购申请需要传费用项目编码且非必填,其他类型申请单不用此参数。 | N | 字符串 |
推荐阅读