预付项目类型为采购订单,采购订单必录!
json:
Array(
[0]=>AP_PAYBILL[1]=>{
"NeedUpDateFields": [
],
"ValidateFlag": true,
"BatchCount": 10,
"Model": [
{
"FID": 0,
"FBillNo": "FKD160822000001",
"FBillTypeID": {
"FNumber": "FKDLX01_SYS"
},
"FRECTUNITTYPE": "BD_Supplier",
"FRECTUNIT": {
"FNumber": "10006"
},
"FCONTACTUNITTYPE": "BD_Supplier",
"FCONTACTUNIT": {
"FNumber": "10006"
},
"FPAYORGID": {
"FNumber": "101",
"Id": "100002"
},
"FSETTLEORGID": {
"FNumber": "101",
"Id": "100002"
},
"FPURCHASEORGID": {
"FNumber": "101",
"Id": "100002"
},
"FPayAccount": {
"FNumber": "02.01.01.02"
},
"FPayPlatForm": {
"FNumber": "008"
},
"FSETTLECUR": {
"FNumber": "PRE001"
},
"FDATE": "2016\/8\/22",
"FPURCHASEDEPTID": {
"FNumber": "14"
},
"FPURCHASERID": {
"FNumber": "VK0912"
},
"FPurchaseOrder": "CGDD1607220115",
"AP_PAYBILL__FPAYBILLENTRY": [
{
"FSETTLETYPEID": {
"FNumber": "04"
},
"FPURPOSEID": {
"FNumber": "SFKYT09_SYS"
},
"FPAYITEMTYPE": 2,
"FPAYTOTALAMOUNTFOR": "60",
"FACCOUNTID": {
"FNumber": "02.01.01.02"
},
"FPAYITEM": "CGDD1607220115"
}
]
},
{
"FID": 0,
"FBillNo": "FKD160822000002",
"FBillTypeID": {
"FNumber": "FKDLX01_SYS"
},
"FRECTUNITTYPE": "BD_Supplier",
"FRECTUNIT": {
"FNumber": "10006"
},
"FCONTACTUNITTYPE": "BD_Supplier",
"FCONTACTUNIT": {
"FNumber": "10006"
},
"FPAYORGID": {
"FNumber": "101",
"Id": "100002"
},
"FSETTLEORGID": {
"FNumber": "101",
"Id": "100002"
},
"FPURCHASEORGID": {
"FNumber": "101",
"Id": "100002"
},
"FPayAccount": {
"FNumber": "02.01.01.02"
},
"FPayPlatForm": {
"FNumber": "206"
},
"FSETTLECUR": {
"FNumber": "PRE001"
},
"FDATE": "2016\/8\/22",
"FPURCHASEDEPTID": {
"FNumber": "14"
},
"FPURCHASERID": {
"FNumber": "VK0912"
},
"FPurchaseOrder": "CGDD1607150400",
"AP_PAYBILL__FPAYBILLENTRY": [
{
"FSETTLETYPEID": {
"FNumber": "04"
},
"FPURPOSEID": {
"FNumber": "SFKYT09_SYS"
},
"FPAYITEMTYPE": 2,
"FPAYTOTALAMOUNTFOR": "60",
"FACCOUNTID": {
"FNumber": "02.01.01.02"
},
"FPAYITEM": "CGDD1607150400"
}
]
}
]
})
采购订单是有传的 FPAYITEM
我付款单保存接口出现了异常!就是我的付款单明细中的预付项目类型为采购订单,一直报采购订单必录,而我的采购订单是有传入的!
该采购订单号在前台操作是可以保存的!没有报核销小于什么的!而BOS中的采购订单是文本类型的
推荐阅读