webapi 调拨单接口调用有效期的问题
金蝶云社区-我还年轻
我还年轻
0人赞赏了该文章 968次浏览 未经作者许可,禁止转载编辑于2017年08月02日 10:20:55

json字符串,如下:{
"Creator": "Demo",
"NeedUpDateFields": [
""
],
"Model": {
"FID": 0,
"FBillTypeID": {
"FNumber": "ZJDB01_SYS"
},
"FDate": "/Date(1501516800000+0800)/",
"FStockOutOrgId": {
"FNumber": "101"
},
"FOwnerTypeOutIdHead": "BD_OwnerOrg",
"FStockOrgId": {
"FNumber": "101"
},
"FOwnerTypeIdHead": "BD_OwnerOrg",
"FTransferBizType": "ZJDB01_SYS",
"FTransferDirect": "GENERAL",
"F_PAEZ_Base21": {
"FStaffNumber": "20033"
},
"F_PAEZ_Base2": {
"FStaffNumber": "20033"
},
"F_PAEZ_Base1": {
"FStaffNumber": "20033"
},
"F_PAEZ_Base211": {
"FNumber": "011202"
},
"NOTE": {
"FNumber": "MO003214005"
},
"FBillEntry": [
{
"FEntryID": 0,
"FProduceDate": "/Date(1496851200000+0800)/",
"FExpiryDate": "/Date(1591459200000+0800)/",
"FLot": {
"FLOTID": "441517"
},
"FDestLot": {
"FLOTID": "441517"
},
"FMaterialId": {
"FNumber": "01.03.0029"
},
"FQty": 16,
"FUnitID": {
"FNumber": "104934"
},
"FDestStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FSrcStockStatusId ": {
"FNumber": "KCZT01_SYS"
},
"FKeeperOutId ": {
"FNumber": "101"
},
"FKeeperTypeOutId": "BD_KeeperOrg",
"FKeeperId ": {
"FNumber": "101"
},
"FKeeperTypeId": "BD_KeeperOrg",
"FOwnerOutId": {
"FNumber": "101"
},
"FOwnerId": {
"FNumber": "101"
},
"FSrcStockId": {
"FNumber": "101.21.08"
},
"FDestStockId": {
"FNumber": "101.21.02.01"
},
"FSrcBillTypeId": "PRD_PPBOM",
"FSrcBillNo": "PPBOM00004470",
"FORDERTYPE": {
"FNumber": "PRD_MO"
},
"FOrderNo": "MO003214",
"FBillEntry_Link": [
{
"FBillEntry_Link_FFlowId": "",
"FBillEntry_Link_FFlowLineId": "",
"FBillEntry_Link_FRuleId": "PRD_PPBOM-STK_TransferDirect",
"FBillEntry_Link_FSTableName": "T_PRD_PPBOMENTRY",
"FBillEntry_Link_FSBillId": "109835",
"FBillEntry_Link_FSId": "132804",
"FBillEntry_Link_FBaseUnitQtyOld": 10,
"FBillEntry_Link_FBaseUnitQty": 10
}
]
},
{
"FEntryID": 0,
"FProduceDate": "/Date(1496851200000+0800)/",
"FExpiryDate": "/Date(1591459200000+0800)/",
"FLot": {
"FLOTID": "441517"
},
"FDestLot": {
"FLOTID": "441517"
},
"FMaterialId": {
"FNumber": "01.03.0029"
},
"FQty": 16,
"FUnitID": {
"FNumber": "104934"
},
"FDestStockStatusId": {
"FNumber": "KCZT01_SYS"
},
"FSrcStockStatusId ": {
"FNumber": "KCZT01_SYS"
},
"FKeeperOutId ": {
"FNumber": "101"
},
"FKeeperTypeOutId": "BD_KeeperOrg",
"FKeeperId ": {
"FNumber": "101"
},
"FKeeperTypeId": "BD_KeeperOrg",
"FOwnerOutId": {
"FNumber": "101"
},
"FOwnerId": {
"FNumber": "101"
},
"FSrcStockId": {
"FNumber": "101.21.08"
},
"FDestStockId": {
"FNumber": "101.21.02.01"
},
"FSrcBillTypeId": "PRD_PPBOM",
"FSrcBillNo": "PPBOM00004470",
"FORDERTYPE": {
"FNumber": "PRD_MO"
},
"FOrderNo": "MO003214",
"FBillEntry_Link": [
{
"FBillEntry_Link_FFlowId": "",
"FBillEntry_Link_FFlowLineId": "",
"FBillEntry_Link_FRuleId": "PRD_PPBOM-STK_TransferDirect",
"FBillEntry_Link_FSTableName": "T_PRD_PPBOMENTRY",
"FBillEntry_Link_FSBillId": "109835",
"FBillEntry_Link_FSId": "132804",
"FBillEntry_Link_FBaseUnitQtyOld": 10,
"FBillEntry_Link_FBaseUnitQty": 10
}
]
}
]
}
}

生成的单据


json的批号有效期都是一样的,但是手动调用【库存调拨单】的webapi的生成单据(暂存)的时候,有效期出现两个,望老师给解答一下,谢谢!