采购订单下推采购入库单时不反写关联数量
金蝶云社区-云社区用户H75m4260
云社区用户H75m4260
2人赞赏了该文章 1,381次浏览 未经作者许可,禁止转载编辑于2018年10月24日 12:46:10

各位老师,我这边碰到这样一个问题:调用API,采购订单下推采购入库单的时候采购订单上的关联数量不反写,还请各位给看看是什么问题,以下爱是请求的数据:{
"Creator": "user",
"NeedUpDateFields": [],
"NeedReturnFields": [],
"IsDeleteEntry": "True",
"SubSystemId": "",
"IsVerifyBaseDataField": "false",
"IsEntryBatchFill": "True",
"Model": {
"FID": "0",
"FBillTypeID": {
"FNumber": "RKD01_SYS"
},
"FBillNo": "",
"FDate": "2018-10-24",
"FStockOrgId": {
"FNumber": "BH01"
},
"FPurchaseOrgId": {
"FNumber": "1000"
},
"FOwnerTypeIdHead": "BD_OwnerOrg",
"FOwnerIdHead": {
"FNumber": "BH01"
},
"FDemandOrgId": {
"FNumber": "BH01"
},
"FPayOrgId": {
"FNumber": "1000"
},
"FSupplierId": {
"FNumber": "AIDI"
},
"FProviderId": {
"FNumber": "AIDI"
},
"FConfirmDate": "2018-10-24",
"FInStockFin": {
"FSettleOrgId": {
"FNumber": "1000"
},
"FSettleCurrId": {
"FNumber": "PRE001"
},
"FIsIncludedTax": "false",
"FPriceTimePoint": "1"
},
"FPurchaseDeptId": {
"FNumber": ""
},
"FReceiveDeptId": {
"FNumber": ""
},
"FPurchaserId": {
"FNumber": ""
},
"FSettleId": {
"FNumber": "AIDI"
},
"FChargeId": {
"FNumber": "AIDI"
},
"FInStockEntry": [{
"FEntryID": 0,
"FMaterialId": {
"FNumber": "3008WAIDI0001"
},
"FUnitID": {
"FNumber": "Pcs"
},
"FRealQty": 40.0,
"FMustQty": 40.0000000000,
"FPriceUnitID": {
"FNumber": "Pcs"
},
"FStockId": {
"FNumber": "BH01-01"
},
"FPrice": 50.3327590000,
"FRemainInStockUnitId": {
"FNumber": "Pcs"
},
"FStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FEntryTaxRate": 16.000000,
"F_dxd_jsj": 64.8084600000,
"FInStockEntry_Link": [{
"FInStockEntry_Link_FFlowId": "",
"FInStockEntry_Link_FFlowLineId": "",
"FInStockEntry_Link_FRuleId": "PUR_PurchaseOrder-STK_InStock",
"FInStockEntry_Link_FSTableName": "t_PUR_POOrderEntry",
"FInStockEntry_Link_FSBillId": 154802,
"FInStockEntry_Link_FSId": 430592,
"FInStockEntry_Link_FBaseQty": 40.0
}],
"FSrcBillTypeId": "CGDD01_SYS",
"FSrcBillNo": "CGDD054238"
}]
}
}

接口返回的结果为:采购入库单保存返回数据为:{"Result":{"ResponseStatus":{"IsSuccess":true,"Errors":[],"SuccessEntitys":[{"Id":261758,"Number":"CGRK168062","DIndex":0}]},"Id":261758,"Number":"CGRK168062"}}

现在的问题是:采购入库单能保存成功,也能上查下查,但采购订单的关联数量没有反写。这里面没有合并下推。
另外我按照 帖子:https://vip.kingdee.com/article/33748 里面的方法 设置了fldBaseQtyKey ,测试了多次还是没有反写关联数量。请各位给看看这是哪里的问题,谢谢!
另外 cloud 的版本是6.0.





您的鼓励与嘉奖将成为创作者们前进的动力,如果觉得本文还不错,可以给予作者创作打赏哦!

请选择打赏金币数 *

10金币20金币30金币40金币50金币60金币
可用金币: 0