POST api/purchase/GetPoSettleInfo

获取最早未结算的结算单(如果BillCode不为空 则获取当前指定采购单下BillCode对应结算单)

Request Information

URI Parameters

None.

Body Parameters

参数 para: {"PoCode":"采购单号","BillCode":"结算单号(可空)"}

PoPara
NameDescriptionTypeAdditional information
PoCode

采购单号

integer

None.

BillCode

结算单号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PoCode": 1,
  "BillCode": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

存在最早未结算的结算单:{"status": "success","result": "{\"NoPoSettle\":true(最早未结算结算单存在),\"BillAmount\":账单总金额,\"BillStatus\":账单状态,\"BillCode\":\"结算单号\",\"OrderTotal\":采购单总金额,\"PaidPrice\":采购单已付金额,\"BookAmount\":采购单定金,\"Items\":[{\"StandardName\":\"标准名称\",\"StockId\":商品编号,\"DealerProdNo\":\"供应商编码\",\"Quantity\":数量,\"InPrice\":进货价}]}"} 结算单不存在:{"status": "success","result": "{\"NoPoSettle\":false(最早未结算结算单不存在),\"OrderTotal\":采购单总金额,\"PaidPrice\":采购单已付金额,\"BookAmount\":采购单定金,\"BillAmount\":账单未支付金额}"}

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.