用Webapi保存销售订单时单价和税额
1,056次浏览
编辑于2017年01月14日 16:12:54
{
"Creator": "100010",
"NeedUpDateFields": [
""
],
"Model": {
"FID": 0,
"FBillNo": "",
"FBillTypeID": {
"FNumber": "XSDD01_SYS"
},
"FCreatorId": {
"FName": "kingdee"
},
"FCreateDate": "2017-01-14 16:11:57",
"FDate": "2017-01-14",
"FBusinessType": "NORMAL",
"FCustId": {
"FNumber": "01002"
},
"F_JD_Address": {
"FNumber": "120430"
},
"FSaleOrgId": {
"FNumber": "100"
},
"FSettleCurrId": {
"FNumber": "PRE001"
},
"FLocalCurrId": {
"FNumber": "PRE001"
},
"FSalerId": {
"FNumber": "001"
},
"FPayment": "A",
"F_JD_Amount": 10,
"F_JD_Combo1": "加剂",
"F_JD_Text": "A",
"FNOTE": "",
"SAL_SaleOrder__FSaleOrderFinance": {
"FExchangeTypeId": {
"FNumber": "HLTX01_SYS"
},
"FExchangeRate": 1
},
"SAL_SaleOrder__FSaleOrderEntry": [
{
"FMaterialId": {
"FNumber": "04.002"
},
"FUnitID": {
"FNumber": "吨"
},
"FQty": 6,
"FBaseUnitQty": 6,
"FPriceUnitQty": 6,
"FDeliveryMaxQty": 6,
"FBaseDeliveryMaxQty": 6,
"FDeliveryMinQty": 6,
"FBaseDeliveryMinQty": 6,
"FCanOutQty": 6,
"FBaseCanOutQty": 6,
"FRemainOutQty": 6,
"FBaseRemainOutQty": 6,
"FEntryTaxRate": 17,
"FTaxPrice": 10,
"FAmount": 51.282051282051285,
"FAllAmount": 60,
"FPrice": 8.547009,
"FEntryTaxAmount": 8.717948717948715,
"FTaxNetPrice": 10,
"FTaxAmount_LC": 8.717948717948715,
"FAmount_LC": 51.282051282051285,
"FAllAmount_LC": 60,
"FOwnerTypeId": "BD_OwnerOrg",
"FOwnerId": {
"FNumber": "100"
},
"SAL_SaleOrder__FOrderEntryPlan": [
{
"FPlanDeliveryDate": "2017-01-14",
"FPlanUnitId": {
"FNumber": "吨"
},
"FPlanQty": 6
}
]
},
{
"FMaterialId": {
"FNumber": "01001"
},
"FUnitID": {
"FNumber": "吨"
},
"FQty": 2,
"FBaseUnitQty": 2,
"FPriceUnitQty": 2,
"FDeliveryMaxQty": 2,
"FBaseDeliveryMaxQty": 2,
"FDeliveryMinQty": 2,
"FBaseDeliveryMinQty": 2,
"FCanOutQty": 2,
"FBaseCanOutQty": 2,
"FRemainOutQty": 2,
"FBaseRemainOutQty": 2,
"FEntryTaxRate": 17,
"FTaxPrice": 6,
"FAmount": 10.256410256410257,
"FAllAmount": 12,
"FPrice": 5.128205,
"FEntryTaxAmount": 1.7435897435897427,
"FTaxNetPrice": 6,
"FTaxAmount_LC": 1.7435897435897427,
"FAmount_LC": 10.256410256410257,
"FAllAmount_LC": 12,
"FOwnerTypeId": "BD_OwnerOrg",
"FOwnerId": {
"FNumber": "100"
},
"SAL_SaleOrder__FOrderEntryPlan": [
{
"FPlanDeliveryDate": "2017-01-14",
"FPlanUnitId": {
"FNumber": "吨"
},
"FPlanQty": 2
}
]
},
{
"FMaterialId": {
"FNumber": "04.001"
},
"FUnitID": {
"FNumber": "吨"
},
"FQty": 2,
"FBaseUnitQty": 2,
"FPriceUnitQty": 2,
"FDeliveryMaxQty": 2,
"FBaseDeliveryMaxQty": 2,
"FDeliveryMinQty": 2,
"FBaseDeliveryMinQty": 2,
"FCanOutQty": 2,
"FBaseCanOutQty": 2,
"FRemainOutQty": 2,
"FBaseRemainOutQty": 2,
"FEntryTaxRate": 17,
"FTaxPrice": 9,
"FAmount": 15.384615384615385,
"FAllAmount": 18,
"FPrice": 7.692308,
"FEntryTaxAmount": 2.615384615384615,
"FTaxNetPrice": 9,
"FTaxAmount_LC": 2.615384615384615,
"FAmount_LC": 15.384615384615385,
"FAllAmount_LC": 18,
"FOwnerTypeId": "BD_OwnerOrg",
"FOwnerId": {
"FNumber": "100"
},
"SAL_SaleOrder__FOrderEntryPlan": [
{
"FPlanDeliveryDate": "2017-01-14",
"FPlanUnitId": {
"FNumber": "吨"
},
"FPlanQty": 2
}
]
}
]
}
}