Balances
商品库存余额表
获取可用的仓库列表
请求地址
POST $SCMAPI_HOST/jxc_api/Balances/GetWhList
请求头
请求参数
para |
|
GetWhListPara |
FeatchAll |
0:根据授权查询,1:查询全部仓库 |
Int32 |
ShowDisableWh |
显示禁用仓库 |
Boolean |
请求示例
{
"FeatchAll": 0,
"ShowDisableWh": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
|
Int32 |
No |
|
String |
Name |
名称 |
String |
CategoryID |
仓库类别id |
Int32 |
返回示例
""
查询
请求地址
POST $SCMAPI_HOST/jxc_api/Balances/Search
请求头
请求参数
conditions |
查询信息 |
StockBalanceSearchCondition |
StockDate |
库存日期 |
DateTime |
WhIds |
仓库 |
Int32[] |
ShowDisableWh |
显示禁用仓库 |
Boolean |
WhCatId |
|
Int32[] |
WhRange |
针对导出,仓库页码(从0开始,页面大小为50) |
Int32 |
ProdIds |
商品 |
Int32[] |
CatId |
商品类别id |
Int32[] |
Spec |
规格 |
String |
WithZero |
是否包含零库存商品 |
Boolean |
WithMinus |
是否包含负库存商品 |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
UseAP |
是否按照辅助属性来分组数据 |
Boolean |
Keyword |
关键字 |
String |
LoadPrice |
是否加载价格信息 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
FinalStockFlag |
是否显示实时库存,即最终库存 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
请求示例
{
"StockDate": "2025-02-19T00:00:00+08:00",
"WhIds": null,
"ShowDisableWh": false,
"WhCatId": null,
"WhRange": 0,
"ProdIds": null,
"CatId": null,
"Spec": null,
"WithZero": false,
"WithMinus": false,
"ShowDisableProd": false,
"UseAP": false,
"Keyword": null,
"LoadPrice": true,
"NoneDataAfterWhCatFilter": false,
"FinalStockFlag": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
Id |
商品ID |
Int32 |
Status |
可用状态(0:不可用,1:可用) |
Int32 |
No |
商品编号 |
String |
ProdName |
商品名称 |
String |
CatName |
商品类别(☆原字段:Category) |
String |
Spec |
商品规格 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
商品单位 |
String |
MunitName |
多单位 |
String |
StockUnitName |
库存单位名称 |
String |
ApId |
属性ID |
Int32 |
AssistingProperty |
是否启用辅助属性 |
Boolean |
UseMultiUnits |
是否启用多单位 |
Boolean |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
IsApRow |
是否是一条属性统计行(此行不加入总计) |
Boolean |
ApName |
属性名称 |
String |
RetPric |
零售价(Retail) |
Decimal |
WsPrice |
批发价(Whole Sale) |
Decimal |
VipPrice |
Vip会员价 |
Decimal |
PurPrice |
预计采购价 |
Decimal |
CompUnitQty |
单位数量(所有仓库) |
Decimal |
CompMunitQty |
多单位数量(所有仓库) |
String |
CompStockUnitQty |
库存单位数量(所有仓库) |
String |
CompCost |
成本小计(所有仓库) |
Decimal |
LastOrder |
|
Int32 |
CompUnitCost |
单位成本(所有仓库) |
Decimal |
CompUsableUnitQty |
可用库存(所有仓库) |
Decimal |
Image |
商品图片地址 |
String |
WhList |
相关仓库库存信息 |
array[object] |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitQty |
单位数量 |
Decimal |
Cost |
成本小计 |
Decimal |
UnitCost |
单位成本 |
Decimal |
UsableUnitQty |
可用单位数量 |
Decimal |
MunitQty |
多单位数量 |
String |
StockUnitQty |
库存单位数量 |
String |
ProductPrices |
|
array[object] |
ProdId |
|
Int32 |
LevelId |
等级ID |
Int32 |
LevelName |
等级名称 |
String |
Price |
等级价格 |
String |
UnitId |
单位ID |
Int32 |
ApId |
属性ID |
Int32 |
TotalRow |
总计行 |
StockBalanceModel |
Id |
商品ID |
Int32 |
Status |
可用状态(0:不可用,1:可用) |
Int32 |
No |
商品编号 |
String |
ProdName |
商品名称 |
String |
CatName |
商品类别(☆原字段:Category) |
String |
Spec |
商品规格 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
商品单位 |
String |
MunitName |
多单位 |
String |
StockUnitName |
库存单位名称 |
String |
ApId |
属性ID |
Int32 |
AssistingProperty |
是否启用辅助属性 |
Boolean |
UseMultiUnits |
是否启用多单位 |
Boolean |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
IsApRow |
是否是一条属性统计行(此行不加入总计) |
Boolean |
ApName |
属性名称 |
String |
RetPric |
零售价(Retail) |
Decimal |
WsPrice |
批发价(Whole Sale) |
Decimal |
VipPrice |
Vip会员价 |
Decimal |
PurPrice |
预计采购价 |
Decimal |
CompUnitQty |
单位数量(所有仓库) |
Decimal |
CompMunitQty |
多单位数量(所有仓库) |
String |
CompStockUnitQty |
库存单位数量(所有仓库) |
String |
CompCost |
成本小计(所有仓库) |
Decimal |
LastOrder |
|
Int32 |
CompUnitCost |
单位成本(所有仓库) |
Decimal |
CompUsableUnitQty |
可用库存(所有仓库) |
Decimal |
Image |
商品图片地址 |
String |
WhList |
相关仓库库存信息 |
array[object] |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitQty |
单位数量 |
Decimal |
Cost |
成本小计 |
Decimal |
UnitCost |
单位成本 |
Decimal |
UsableUnitQty |
可用单位数量 |
Decimal |
MunitQty |
多单位数量 |
String |
StockUnitQty |
库存单位数量 |
String |
ProductPrices |
|
array[object] |
ProdId |
|
Int32 |
LevelId |
等级ID |
Int32 |
LevelName |
等级名称 |
String |
Price |
等级价格 |
String |
UnitId |
单位ID |
Int32 |
ApId |
属性ID |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/Balances/Export
请求头
请求参数
conditions |
查询信息 |
StockBalanceSearchCondition |
StockDate |
库存日期 |
DateTime |
WhIds |
仓库 |
Int32[] |
ShowDisableWh |
显示禁用仓库 |
Boolean |
WhCatId |
|
Int32[] |
WhRange |
针对导出,仓库页码(从0开始,页面大小为50) |
Int32 |
ProdIds |
商品 |
Int32[] |
CatId |
商品类别id |
Int32[] |
Spec |
规格 |
String |
WithZero |
是否包含零库存商品 |
Boolean |
WithMinus |
是否包含负库存商品 |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
UseAP |
是否按照辅助属性来分组数据 |
Boolean |
Keyword |
关键字 |
String |
LoadPrice |
是否加载价格信息 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
FinalStockFlag |
是否显示实时库存,即最终库存 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
请求示例
{
"StockDate": "2025-02-19T00:00:00+08:00",
"WhIds": null,
"ShowDisableWh": false,
"WhCatId": null,
"WhRange": 0,
"ProdIds": null,
"CatId": null,
"Spec": null,
"WithZero": false,
"WithMinus": false,
"ShowDisableProd": false,
"UseAP": false,
"Keyword": null,
"LoadPrice": true,
"NoneDataAfterWhCatFilter": false,
"FinalStockFlag": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/Balances/Print
请求头
请求参数
conditions |
|
StockBalanceSearchCondition |
StockDate |
库存日期 |
DateTime |
WhIds |
仓库 |
Int32[] |
ShowDisableWh |
显示禁用仓库 |
Boolean |
WhCatId |
|
Int32[] |
WhRange |
针对导出,仓库页码(从0开始,页面大小为50) |
Int32 |
ProdIds |
商品 |
Int32[] |
CatId |
商品类别id |
Int32[] |
Spec |
规格 |
String |
WithZero |
是否包含零库存商品 |
Boolean |
WithMinus |
是否包含负库存商品 |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
UseAP |
是否按照辅助属性来分组数据 |
Boolean |
Keyword |
关键字 |
String |
LoadPrice |
是否加载价格信息 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
FinalStockFlag |
是否显示实时库存,即最终库存 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
请求示例
{
"StockDate": "2025-02-19T00:00:00+08:00",
"WhIds": null,
"ShowDisableWh": false,
"WhCatId": null,
"WhRange": 0,
"ProdIds": null,
"CatId": null,
"Spec": null,
"WithZero": false,
"WithMinus": false,
"ShowDisableProd": false,
"UseAP": false,
"Keyword": null,
"LoadPrice": true,
"NoneDataAfterWhCatFilter": false,
"FinalStockFlag": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/Balances/ShareLink
请求头
请求参数
conditions |
|
StockBalanceSearchCondition |
StockDate |
库存日期 |
DateTime |
WhIds |
仓库 |
Int32[] |
ShowDisableWh |
显示禁用仓库 |
Boolean |
WhCatId |
|
Int32[] |
WhRange |
针对导出,仓库页码(从0开始,页面大小为50) |
Int32 |
ProdIds |
商品 |
Int32[] |
CatId |
商品类别id |
Int32[] |
Spec |
规格 |
String |
WithZero |
是否包含零库存商品 |
Boolean |
WithMinus |
是否包含负库存商品 |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
UseAP |
是否按照辅助属性来分组数据 |
Boolean |
Keyword |
关键字 |
String |
LoadPrice |
是否加载价格信息 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
FinalStockFlag |
是否显示实时库存,即最终库存 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
请求示例
{
"StockDate": "2025-02-19T00:00:00+08:00",
"WhIds": null,
"ShowDisableWh": false,
"WhCatId": null,
"WhRange": 0,
"ProdIds": null,
"CatId": null,
"Spec": null,
"WithZero": false,
"WithMinus": false,
"ShowDisableProd": false,
"UseAP": false,
"Keyword": null,
"LoadPrice": true,
"NoneDataAfterWhCatFilter": false,
"FinalStockFlag": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/Balances/SharePdf
请求头
请求参数
conditions |
|
StockBalanceSearchCondition |
StockDate |
库存日期 |
DateTime |
WhIds |
仓库 |
Int32[] |
ShowDisableWh |
显示禁用仓库 |
Boolean |
WhCatId |
|
Int32[] |
WhRange |
针对导出,仓库页码(从0开始,页面大小为50) |
Int32 |
ProdIds |
商品 |
Int32[] |
CatId |
商品类别id |
Int32[] |
Spec |
规格 |
String |
WithZero |
是否包含零库存商品 |
Boolean |
WithMinus |
是否包含负库存商品 |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
UseAP |
是否按照辅助属性来分组数据 |
Boolean |
Keyword |
关键字 |
String |
LoadPrice |
是否加载价格信息 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
FinalStockFlag |
是否显示实时库存,即最终库存 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
请求示例
{
"StockDate": "2025-02-19T00:00:00+08:00",
"WhIds": null,
"ShowDisableWh": false,
"WhCatId": null,
"WhRange": 0,
"ProdIds": null,
"CatId": null,
"Spec": null,
"WithZero": false,
"WithMinus": false,
"ShowDisableProd": false,
"UseAP": false,
"Keyword": null,
"LoadPrice": true,
"NoneDataAfterWhCatFilter": false,
"FinalStockFlag": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/Balances/ShareExcel
请求头
请求参数
conditions |
|
StockBalanceSearchCondition |
StockDate |
库存日期 |
DateTime |
WhIds |
仓库 |
Int32[] |
ShowDisableWh |
显示禁用仓库 |
Boolean |
WhCatId |
|
Int32[] |
WhRange |
针对导出,仓库页码(从0开始,页面大小为50) |
Int32 |
ProdIds |
商品 |
Int32[] |
CatId |
商品类别id |
Int32[] |
Spec |
规格 |
String |
WithZero |
是否包含零库存商品 |
Boolean |
WithMinus |
是否包含负库存商品 |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
UseAP |
是否按照辅助属性来分组数据 |
Boolean |
Keyword |
关键字 |
String |
LoadPrice |
是否加载价格信息 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
FinalStockFlag |
是否显示实时库存,即最终库存 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
请求示例
{
"StockDate": "2025-02-19T00:00:00+08:00",
"WhIds": null,
"ShowDisableWh": false,
"WhCatId": null,
"WhRange": 0,
"ProdIds": null,
"CatId": null,
"Spec": null,
"WithZero": false,
"WithMinus": false,
"ShowDisableProd": false,
"UseAP": false,
"Keyword": null,
"LoadPrice": true,
"NoneDataAfterWhCatFilter": false,
"FinalStockFlag": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
Bom
Bom 单控制器
Bom 单据页面使用
请求地址
POST $SCMAPI_HOST/jxc_api/Bom/GetBomById
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
根据名字查找组装单模板 其他单据引用这个模板的时候使用, 保持与组装单模板一样的结构和字段 减少前端工作量
请求地址
POST $SCMAPI_HOST/jxc_api/Bom/GetBomFromTemp
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
保存Bom
请求地址
POST $SCMAPI_HOST/jxc_api/Bom/Save
请求头
请求参数
model |
Bom 信息 |
BomTpEditModel |
TpId |
模板ID 0表示新建 |
Int32 |
TpNo |
模板编号 |
String |
TpDate |
创建日期 |
DateTime |
Note |
备注 |
String |
PreCost |
预计成本 |
Decimal |
IsChecked |
|
Int32 |
CombItem |
组合件 |
BomTpeEditModel |
ProdId |
商品id |
Int32 |
ProdName |
商品名称 |
String |
Image |
商品图片 |
String |
WhId |
仓库id |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别id |
Int32 |
CatName |
商品类别 |
String |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位id |
Int32 |
Rate |
比例 |
Decimal |
Qty |
数量 |
Decimal |
Price |
采购价 |
Decimal |
Note |
|
String |
StrValue1 |
自定义1 |
String |
StrValue2 |
自定义2 |
String |
StrValue3 |
自定义3 |
String |
StrValue4 |
自定义4 |
String |
StrValue5 |
自定义5 |
String |
StrValue6 |
自定义6 |
String |
StrValue7 |
自定义7 |
String |
StrValue8 |
自定义8 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
SubItems |
子件 |
array[object] |
ProdId |
商品id |
Int32 |
ProdName |
商品名称 |
String |
Image |
商品图片 |
String |
WhId |
仓库id |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别id |
Int32 |
CatName |
商品类别 |
String |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位id |
Int32 |
Rate |
比例 |
Decimal |
Qty |
数量 |
Decimal |
Price |
采购价 |
Decimal |
Note |
|
String |
StrValue1 |
自定义1 |
String |
StrValue2 |
自定义2 |
String |
StrValue3 |
自定义3 |
String |
StrValue4 |
自定义4 |
String |
StrValue5 |
自定义5 |
String |
StrValue6 |
自定义6 |
String |
StrValue7 |
自定义7 |
String |
StrValue8 |
自定义8 |
String |
请求示例
{
"TpId": 0,
"TpNo": null,
"TpDate": "0001-01-01T00:00:00",
"Note": null,
"PreCost": 0.0,
"IsChecked": 0,
"CombItem": null,
"AutoGenerate": false,
"BillOrigin": 0,
"SubItems": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
列表选择多条复制Bom
请求地址
POST $SCMAPI_HOST/jxc_api/Bom/Copy
请求头
请求参数
boIds |
|
BomIdsModel |
BoIds |
Bom单id |
Int32[] |
BoeIds |
Bom子件id,为空时表示全部子件 |
Int32[] |
请求示例
{
"BoIds": null,
"BoeIds": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除模板
请求地址
POST $SCMAPI_HOST/jxc_api/Bom/Delete
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核
请求地址
POST $SCMAPI_HOST/jxc_api/Bom/UnCheck
请求头
请求参数
model |
|
BomTpEditModel |
TpId |
模板ID 0表示新建 |
Int32 |
TpNo |
模板编号 |
String |
TpDate |
创建日期 |
DateTime |
Note |
备注 |
String |
PreCost |
预计成本 |
Decimal |
IsChecked |
|
Int32 |
CombItem |
组合件 |
BomTpeEditModel |
ProdId |
商品id |
Int32 |
ProdName |
商品名称 |
String |
Image |
商品图片 |
String |
WhId |
仓库id |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别id |
Int32 |
CatName |
商品类别 |
String |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位id |
Int32 |
Rate |
比例 |
Decimal |
Qty |
数量 |
Decimal |
Price |
采购价 |
Decimal |
Note |
|
String |
StrValue1 |
自定义1 |
String |
StrValue2 |
自定义2 |
String |
StrValue3 |
自定义3 |
String |
StrValue4 |
自定义4 |
String |
StrValue5 |
自定义5 |
String |
StrValue6 |
自定义6 |
String |
StrValue7 |
自定义7 |
String |
StrValue8 |
自定义8 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
SubItems |
子件 |
array[object] |
ProdId |
商品id |
Int32 |
ProdName |
商品名称 |
String |
Image |
商品图片 |
String |
WhId |
仓库id |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别id |
Int32 |
CatName |
商品类别 |
String |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位id |
Int32 |
Rate |
比例 |
Decimal |
Qty |
数量 |
Decimal |
Price |
采购价 |
Decimal |
Note |
|
String |
StrValue1 |
自定义1 |
String |
StrValue2 |
自定义2 |
String |
StrValue3 |
自定义3 |
String |
StrValue4 |
自定义4 |
String |
StrValue5 |
自定义5 |
String |
StrValue6 |
自定义6 |
String |
StrValue7 |
自定义7 |
String |
StrValue8 |
自定义8 |
String |
请求示例
{
"TpId": 0,
"TpNo": null,
"TpDate": "0001-01-01T00:00:00",
"Note": null,
"PreCost": 0.0,
"IsChecked": 0,
"CombItem": null,
"AutoGenerate": false,
"BillOrigin": 0,
"SubItems": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一个可用编号
请求地址
POST $SCMAPI_HOST/jxc_api/Bom/GetNextNo
请求头
请求示例
返回值
返回示例
""
请求地址
POST $SCMAPI_HOST/jxc_api/Bom/Last
请求头
请求参数
model |
|
BomIdModel |
BoId |
|
Int32 |
请求示例
{
"BoId": 0
}
返回值
返回示例
""
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/Search
请求头
请求参数
condition |
|
BomCondition |
TpIds |
模板id |
Int32[] |
SearchText |
查询关键字 |
String |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32 |
ProdIds |
商品ID |
Int32[] |
TpNo |
|
String |
SearchDetail |
查询细节 |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"TpIds": null,
"SearchText": null,
"IsChecked": -1,
"ProdIds": null,
"TpNo": null,
"SearchDetail": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Type |
1020 子件 1010 组合件 |
Int32 |
AsId |
账套ID |
Int32 |
TpId |
模板ID 0表示新建 |
Int32 |
TpNo |
模板编号 |
String |
TpDate |
创建日期 |
DateTime |
Note |
备注 |
String |
PreCost |
预计成本 |
Decimal |
IsChecked |
是否审核 |
Int32 |
CheckStatus |
|
String |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
|
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedByName |
审核人 |
String |
CheckedDate |
审核日期 |
DateTime |
PrintCount |
打印次数 |
Int32 |
TpeId |
模板子项id |
Int32 |
ProdId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
Image |
|
String |
Brand |
|
String |
Location |
地址 |
String |
Spec |
|
String |
WhId |
|
Int32 |
WhName |
仓库名称 |
String |
CatId |
|
Int32 |
CatName |
类别名称 |
String |
ApId |
|
Int32 |
ApName |
属性名称 |
String |
UnitId |
|
Int32 |
UnitName |
单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
Price |
采购价 |
Decimal |
StrValue1 |
|
String |
StrValue2 |
|
String |
StrValue3 |
|
String |
StrValue4 |
|
String |
StrValue5 |
|
String |
StrValue6 |
|
String |
StrValue7 |
|
String |
StrValue8 |
|
String |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
BomJoinModel |
Type |
1020 子件 1010 组合件 |
Int32 |
AsId |
账套ID |
Int32 |
TpId |
模板ID 0表示新建 |
Int32 |
TpNo |
模板编号 |
String |
TpDate |
创建日期 |
DateTime |
Note |
备注 |
String |
PreCost |
预计成本 |
Decimal |
IsChecked |
是否审核 |
Int32 |
CheckStatus |
|
String |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
|
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedByName |
审核人 |
String |
CheckedDate |
审核日期 |
DateTime |
PrintCount |
打印次数 |
Int32 |
TpeId |
模板子项id |
Int32 |
ProdId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
Image |
|
String |
Brand |
|
String |
Location |
地址 |
String |
Spec |
|
String |
WhId |
|
Int32 |
WhName |
仓库名称 |
String |
CatId |
|
Int32 |
CatName |
类别名称 |
String |
ApId |
|
Int32 |
ApName |
属性名称 |
String |
UnitId |
|
Int32 |
UnitName |
单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
Price |
采购价 |
Decimal |
StrValue1 |
|
String |
StrValue2 |
|
String |
StrValue3 |
|
String |
StrValue4 |
|
String |
StrValue5 |
|
String |
StrValue6 |
|
String |
StrValue7 |
|
String |
StrValue8 |
|
String |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
拆卸单查询
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/SearchDetail
请求头
请求参数
condition |
拆卸单查询条件集合 |
BomCondition |
TpIds |
模板id |
Int32[] |
SearchText |
查询关键字 |
String |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32 |
ProdIds |
商品ID |
Int32[] |
TpNo |
|
String |
SearchDetail |
查询细节 |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"TpIds": null,
"SearchText": null,
"IsChecked": -1,
"ProdIds": null,
"TpNo": null,
"SearchDetail": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
TpId |
|
Int32 |
TpNo |
|
String |
CheckStatus |
|
String |
MainProdNo |
组合单商品编码 |
String |
MainProdName |
组合单商品名称 |
String |
MainProdId |
组合单商品Id |
Int32 |
MainSPEC |
组合单商品规格 |
String |
MainBrand |
组合单商品品牌 |
String |
MainApName |
组合单商品属性 |
String |
MainProdLocation |
组合单商品地址 |
String |
MainUnitId |
|
Int32 |
MainUnitName |
组合单商品单位 |
String |
MainWhName |
商品库存 |
String |
MainQTY |
组合单商品数量 |
Decimal |
MainWholeLooseQty |
|
String |
MainPrice |
组合单商品单价 |
Decimal |
MainCatId |
组合单商品类别id |
Int32 |
MainCatName |
组合单商品类别 |
String |
PreCost |
|
Decimal |
GoodsNo |
子单编码 |
String |
GoodsWhName |
|
String |
GoodsProdName |
子单商品名称 |
String |
GoodsProdId |
子单商品Id |
Int32 |
GoodsSPEC |
子单商品规格 |
String |
GoodsBrand |
子单商品品牌 |
String |
GoodsApName |
子单商品属性 |
String |
GoodsProdLocation |
子单商品地址 |
String |
GoodsUnitName |
子单商品单位 |
String |
GoodsCatId |
子单商品类别id |
Int32 |
GoodsCatName |
子单商品类别 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
SumModel |
合计行 |
BomDetailModel |
TpId |
|
Int32 |
TpNo |
|
String |
CheckStatus |
|
String |
MainProdNo |
组合单商品编码 |
String |
MainProdName |
组合单商品名称 |
String |
MainProdId |
组合单商品Id |
Int32 |
MainSPEC |
组合单商品规格 |
String |
MainBrand |
组合单商品品牌 |
String |
MainApName |
组合单商品属性 |
String |
MainProdLocation |
组合单商品地址 |
String |
MainUnitId |
|
Int32 |
MainUnitName |
组合单商品单位 |
String |
MainWhName |
商品库存 |
String |
MainQTY |
组合单商品数量 |
Decimal |
MainWholeLooseQty |
|
String |
MainPrice |
组合单商品单价 |
Decimal |
MainCatId |
组合单商品类别id |
Int32 |
MainCatName |
组合单商品类别 |
String |
PreCost |
|
Decimal |
GoodsNo |
子单编码 |
String |
GoodsWhName |
|
String |
GoodsProdName |
子单商品名称 |
String |
GoodsProdId |
子单商品Id |
Int32 |
GoodsSPEC |
子单商品规格 |
String |
GoodsBrand |
子单商品品牌 |
String |
GoodsApName |
子单商品属性 |
String |
GoodsProdLocation |
子单商品地址 |
String |
GoodsUnitName |
子单商品单位 |
String |
GoodsCatId |
子单商品类别id |
Int32 |
GoodsCatName |
子单商品类别 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
根据名字查找组装单模板 其他单据引用这个模板的时候使用, 保持与组装单模板一样的结构和字段 减少前端工作量
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/SearchBomFromTempList
请求头
请求参数
condition |
|
BomCondition |
TpIds |
模板id |
Int32[] |
SearchText |
查询关键字 |
String |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32 |
ProdIds |
商品ID |
Int32[] |
TpNo |
|
String |
SearchDetail |
查询细节 |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"TpIds": null,
"SearchText": null,
"IsChecked": -1,
"ProdIds": null,
"TpNo": null,
"SearchDetail": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
TpDate |
单据日期 |
DateTime |
DateFmt |
|
String |
TpId |
模板ID |
Int32 |
TpName |
模板名称 |
String |
TpNo |
|
String |
PreCost |
组装费用 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Item |
组合件 |
array[object] |
ProdNo |
|
String |
TaxRate |
|
Decimal |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
Price |
采购价 |
Decimal |
GoodsAmount |
|
Decimal |
AsId |
账套ID |
Int32 |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
WholeLooseQty |
|
String |
AvailableQty |
|
Nullable`1 |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchEnabled |
序列号管理 |
Boolean |
SerialEnabled |
批次管理 |
Boolean |
LifeTimeEnabled |
保质期管理 |
Boolean |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
Items |
子件 |
array[object] |
ProdNo |
|
String |
TaxRate |
|
Decimal |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
Price |
采购价 |
Decimal |
GoodsAmount |
|
Decimal |
AsId |
账套ID |
Int32 |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
WholeLooseQty |
|
String |
AvailableQty |
|
Nullable`1 |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchEnabled |
序列号管理 |
Boolean |
SerialEnabled |
批次管理 |
Boolean |
LifeTimeEnabled |
保质期管理 |
Boolean |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
SumModel |
合计行 |
BomTpSearchInfo |
TpDate |
单据日期 |
DateTime |
DateFmt |
|
String |
TpId |
模板ID |
Int32 |
TpName |
模板名称 |
String |
TpNo |
|
String |
PreCost |
组装费用 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Item |
组合件 |
array[object] |
ProdNo |
|
String |
TaxRate |
|
Decimal |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
Price |
采购价 |
Decimal |
GoodsAmount |
|
Decimal |
AsId |
账套ID |
Int32 |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
WholeLooseQty |
|
String |
AvailableQty |
|
Nullable`1 |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchEnabled |
序列号管理 |
Boolean |
SerialEnabled |
批次管理 |
Boolean |
LifeTimeEnabled |
保质期管理 |
Boolean |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
Items |
子件 |
array[object] |
ProdNo |
|
String |
TaxRate |
|
Decimal |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
Price |
采购价 |
Decimal |
GoodsAmount |
|
Decimal |
AsId |
账套ID |
Int32 |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
WholeLooseQty |
|
String |
AvailableQty |
|
Nullable`1 |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchEnabled |
序列号管理 |
Boolean |
SerialEnabled |
批次管理 |
Boolean |
LifeTimeEnabled |
保质期管理 |
Boolean |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
审核Bom
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/Check
请求头
请求参数
model |
|
BomCheckModel |
TpIds |
|
Int32[] |
请求示例
{
"TpIds": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/Export
请求头
请求参数
conditions |
查询信息 |
BomCondition |
TpIds |
模板id |
Int32[] |
SearchText |
查询关键字 |
String |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32 |
ProdIds |
商品ID |
Int32[] |
TpNo |
|
String |
SearchDetail |
查询细节 |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"TpIds": null,
"SearchText": null,
"IsChecked": -1,
"ProdIds": null,
"TpNo": null,
"SearchDetail": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载Bom
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入Bom
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/DownErrorData
请求头
请求参数
guId |
标识码 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/Print
请求头
请求参数
guid |
guid |
String |
isPre |
|
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/BomList/SeniorPrint
请求头
请求参数
guid |
guid |
String |
isPre |
|
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入入库成本调整
请求地址
POST $SCMAPI_HOST/jxc_api/InBoundBillCostAdj/ImportExcel
请求头
请求示例
返回值
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/InBoundBillCostAdj/DownErrorData
请求头
请求参数
guId |
标识码 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
InventoryAging
库存账龄分析表
获取账龄
请求地址
POST $SCMAPI_HOST/jxc_api/InventoryAging/GetAgingSetting
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
ASID |
asid |
Int32 |
IAID |
明細id |
Int32 |
AgingStage |
账龄 |
String |
AgingDays |
账龄对应的天数 |
Int32 |
Order |
序号 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建人 |
DateTime |
IsSys |
是否为系统补增的 |
Boolean |
返回示例
""
保存库存账龄设置
请求地址
POST $SCMAPI_HOST/jxc_api/InventoryAging/AddSettingInfo
请求头
请求参数
models |
|
InventoryAgingSettingInfo[] |
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
恢复默认账龄
请求地址
POST $SCMAPI_HOST/jxc_api/InventoryAging/RevertDefaultSettingInfo
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出库存账龄分析表
请求地址
POST $SCMAPI_HOST/jxc_api/InventoryAging/Export
请求头
请求参数
conditions |
|
InventoryAgingCondition |
PageIndex |
|
Int32 |
PageSize |
|
Int32 |
BillDate |
开始日期 |
DateTime |
ProdCatId |
商品类别 |
Int32 |
ProdBrand |
商品品牌 |
String |
ProdIds |
商品ID数组 |
array[object] |
WhCatId |
仓库类别 |
Int32 |
WhIds |
仓库ID |
array[object] |
Keywords |
关键字 |
String |
IsProdAp |
是否启用辅助属性 |
Boolean |
IsProdShowDisabled |
是否禁用商品 |
Boolean |
IsShowSubTotal |
是否启用小计 |
Boolean |
AgingSetting |
账龄设置 |
array[object] |
ASID |
asid |
Int32 |
IAID |
明細id |
Int32 |
AgingStage |
账龄 |
String |
AgingDays |
账龄对应的天数 |
Int32 |
Order |
序号 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建人 |
DateTime |
IsSys |
是否为系统补增的 |
Boolean |
请求示例
{
"PageIndex": 0,
"PageSize": 0,
"BillDate": "0001-01-01T00:00:00",
"ProdCatId": 0,
"ProdBrand": null,
"ProdIds": null,
"WhCatId": 0,
"WhIds": null,
"Keywords": null,
"IsProdAp": false,
"IsProdShowDisabled": false,
"IsShowSubTotal": false,
"AgingSetting": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
检索库存账龄分析表数据
请求地址
POST $SCMAPI_HOST/jxc_api/InventoryAging/Search
请求头
请求参数
conditions |
查询信息 |
InventoryAgingCondition |
PageIndex |
|
Int32 |
PageSize |
|
Int32 |
BillDate |
开始日期 |
DateTime |
ProdCatId |
商品类别 |
Int32 |
ProdBrand |
商品品牌 |
String |
ProdIds |
商品ID数组 |
array[object] |
WhCatId |
仓库类别 |
Int32 |
WhIds |
仓库ID |
array[object] |
Keywords |
关键字 |
String |
IsProdAp |
是否启用辅助属性 |
Boolean |
IsProdShowDisabled |
是否禁用商品 |
Boolean |
IsShowSubTotal |
是否启用小计 |
Boolean |
AgingSetting |
账龄设置 |
array[object] |
ASID |
asid |
Int32 |
IAID |
明細id |
Int32 |
AgingStage |
账龄 |
String |
AgingDays |
账龄对应的天数 |
Int32 |
Order |
序号 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建人 |
DateTime |
IsSys |
是否为系统补增的 |
Boolean |
请求示例
{
"PageIndex": 0,
"PageSize": 0,
"BillDate": "0001-01-01T00:00:00",
"ProdCatId": 0,
"ProdBrand": null,
"ProdIds": null,
"WhCatId": 0,
"WhIds": null,
"Keywords": null,
"IsProdAp": false,
"IsProdShowDisabled": false,
"IsShowSubTotal": false,
"AgingSetting": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
InventoryAgingListModel |
Summary |
合计行 |
InventoryAgingItemModel |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ProdBrand |
品牌 |
String |
ApName |
属性 |
String |
ProdSpec |
规格型号 |
String |
ProdCatName |
商品类别 |
String |
ProdCatNo |
商品类别编号 |
String |
WhCatName |
仓库类别名称 |
String |
WhCatNo |
仓库类别编号 |
String |
WhName |
仓库名称 |
String |
WhNo |
仓库编码 |
String |
ProdUnitName |
基本单位 |
String |
CompUnitQty |
库存数量 |
Decimal |
AgingSegmentsInfo |
账龄分段数据 |
array[object] |
AgingCount |
账龄数量 |
Nullable`1 |
AgingStage |
账龄阶段 |
String |
order |
|
Int32 |
Total |
总条数 |
Int64 |
TitleSetting |
动态列表头 |
array[object] |
ASID |
asid |
Int32 |
IAID |
明細id |
Int32 |
AgingStage |
账龄 |
String |
AgingDays |
账龄对应的天数 |
Int32 |
Order |
序号 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建人 |
DateTime |
IsSys |
是否为系统补增的 |
Boolean |
Items |
具体数据 |
array[object] |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ProdBrand |
品牌 |
String |
ApName |
属性 |
String |
ProdSpec |
规格型号 |
String |
ProdCatName |
商品类别 |
String |
ProdCatNo |
商品类别编号 |
String |
WhCatName |
仓库类别名称 |
String |
WhCatNo |
仓库类别编号 |
String |
WhName |
仓库名称 |
String |
WhNo |
仓库编码 |
String |
ProdUnitName |
基本单位 |
String |
CompUnitQty |
库存数量 |
Decimal |
AgingSegmentsInfo |
账龄分段数据 |
array[object] |
AgingCount |
账龄数量 |
Nullable`1 |
AgingStage |
账龄阶段 |
String |
order |
|
Int32 |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/InventoryAging/Print
请求头
请求参数
conditions |
|
InventoryAgingCondition |
PageIndex |
|
Int32 |
PageSize |
|
Int32 |
BillDate |
开始日期 |
DateTime |
ProdCatId |
商品类别 |
Int32 |
ProdBrand |
商品品牌 |
String |
ProdIds |
商品ID数组 |
array[object] |
WhCatId |
仓库类别 |
Int32 |
WhIds |
仓库ID |
array[object] |
Keywords |
关键字 |
String |
IsProdAp |
是否启用辅助属性 |
Boolean |
IsProdShowDisabled |
是否禁用商品 |
Boolean |
IsShowSubTotal |
是否启用小计 |
Boolean |
AgingSetting |
账龄设置 |
array[object] |
ASID |
asid |
Int32 |
IAID |
明細id |
Int32 |
AgingStage |
账龄 |
String |
AgingDays |
账龄对应的天数 |
Int32 |
Order |
序号 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建人 |
DateTime |
IsSys |
是否为系统补增的 |
Boolean |
请求示例
{
"PageIndex": 0,
"PageSize": 0,
"BillDate": "0001-01-01T00:00:00",
"ProdCatId": 0,
"ProdBrand": null,
"ProdIds": null,
"WhCatId": 0,
"WhIds": null,
"Keywords": null,
"IsProdAp": false,
"IsProdShowDisabled": false,
"IsShowSubTotal": false,
"AgingSetting": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
ReceiveSendSummary
商品收发汇总表
初始化商品收发汇总表
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiveSendSummary/InitData
请求头
请求示例
返回值
返回示例
""
获取商品收发汇总表信息
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiveSendSummary/Search
请求头
请求参数
conditions |
查询信息 |
RSSSearchConditions |
TypeIds |
|
Int32[] |
BillType |
|
Int32[] |
BillStart |
单据日期起 |
Nullable`1 |
BillEnd |
单据日期至 |
Nullable`1 |
ProdIds |
商品ID数组 |
Int32[] |
ProdCatId |
商品类别 |
Int32[] |
Spec |
商品规格 |
String |
WhIds |
仓库ID |
Int32[] |
WhCatId |
仓库类别ID |
Int32[] |
BusinessOnly |
无发生额不显示 |
Boolean |
Keyword |
关键字 |
String |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"TypeIds": null,
"BillType": null,
"BillStart": null,
"BillEnd": null,
"ProdIds": null,
"ProdCatId": null,
"Spec": null,
"WhIds": null,
"WhCatId": null,
"BusinessOnly": false,
"Keyword": null,
"NoneDataAfterWhCatFilter": false,
"ShowDisableProd": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
Id |
商品ID |
Int32 |
No |
商品编码 |
String |
ProdName |
商品名称 |
String |
CatName |
商品类别(☆原字段:Category) |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitName |
单位名称 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
WhCatName |
仓库类别名称 |
String |
Items |
各项类型信息组合 |
array[object] |
Flag |
1:入库,-1:出库 |
Decimal |
Qty |
数量 |
Decimal |
Cost |
成本 |
Decimal |
TypeId |
列ID |
Int32 |
NoBusiness |
是否发生了业务 |
Boolean |
TotalRow |
总计行 |
RecSendSummaryModel |
Id |
商品ID |
Int32 |
No |
商品编码 |
String |
ProdName |
商品名称 |
String |
CatName |
商品类别(☆原字段:Category) |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitName |
单位名称 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
WhCatName |
仓库类别名称 |
String |
Items |
各项类型信息组合 |
array[object] |
Flag |
1:入库,-1:出库 |
Decimal |
Qty |
数量 |
Decimal |
Cost |
成本 |
Decimal |
TypeId |
列ID |
Int32 |
NoBusiness |
是否发生了业务 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiveSendSummary/Export
请求头
请求参数
conditions |
查询信息 |
RSSSearchConditions |
TypeIds |
|
Int32[] |
BillType |
|
Int32[] |
BillStart |
单据日期起 |
Nullable`1 |
BillEnd |
单据日期至 |
Nullable`1 |
ProdIds |
商品ID数组 |
Int32[] |
ProdCatId |
商品类别 |
Int32[] |
Spec |
商品规格 |
String |
WhIds |
仓库ID |
Int32[] |
WhCatId |
仓库类别ID |
Int32[] |
BusinessOnly |
无发生额不显示 |
Boolean |
Keyword |
关键字 |
String |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"TypeIds": null,
"BillType": null,
"BillStart": null,
"BillEnd": null,
"ProdIds": null,
"ProdCatId": null,
"Spec": null,
"WhIds": null,
"WhCatId": null,
"BusinessOnly": false,
"Keyword": null,
"NoneDataAfterWhCatFilter": false,
"ShowDisableProd": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiveSendSummary/Print
请求头
请求参数
conditions |
|
RSSSearchConditions |
TypeIds |
|
Int32[] |
BillType |
|
Int32[] |
BillStart |
单据日期起 |
Nullable`1 |
BillEnd |
单据日期至 |
Nullable`1 |
ProdIds |
商品ID数组 |
Int32[] |
ProdCatId |
商品类别 |
Int32[] |
Spec |
商品规格 |
String |
WhIds |
仓库ID |
Int32[] |
WhCatId |
仓库类别ID |
Int32[] |
BusinessOnly |
无发生额不显示 |
Boolean |
Keyword |
关键字 |
String |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"TypeIds": null,
"BillType": null,
"BillStart": null,
"BillEnd": null,
"ProdIds": null,
"ProdCatId": null,
"Spec": null,
"WhIds": null,
"WhCatId": null,
"BusinessOnly": false,
"Keyword": null,
"NoneDataAfterWhCatFilter": false,
"ShowDisableProd": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"UseAsyncFileProcess": false,
"AsyncFileType": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
ReportReceiveDetailed
商品收发明细表
初始化商品收发明细表
请求地址
POST $SCMAPI_HOST/jxc_api/ReportReceiveDetailed/InitData
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
检索商品收发明细表数据
请求地址
POST $SCMAPI_HOST/jxc_api/ReportReceiveDetailed/Search
请求头
请求参数
conditions |
查询信息 |
RDDetailsSearchCondition |
BillStart |
开始日期 |
DateTime |
BillEnd |
截止日期 |
DateTime |
ProductIds |
商品ID |
Int32[] |
ProdCatId |
商品类别 |
Int32[] |
Spec |
规格 |
String |
WhIds |
仓库ID |
Int32[] |
WhCatId |
仓库类别 |
Int32[] |
TypeIds |
单据类别ID |
Int32[] |
CustIds |
客户id |
Int32[] |
VendIDs |
供应商id |
Int32[] |
BusinessOnly |
只显示发生额的数据 |
Boolean |
ByWarehouse |
按仓库显示 |
Boolean |
ShowDisableWarehousing |
是否显示禁用仓库 |
Boolean |
CountRow |
|
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
Keywords |
关键字 |
String |
OnlyIncludedInAcc |
是否仅仅统计需要记账的单据(仅调拨单不会在记账中统计) 调拨单不影响成本,所以在计算总金额的时候,这个变量可以为true或false,对结果没影响。 如果是取得成本变化列表,就需要设置为true,以排除调拨单 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": "0001-01-01T00:00:00",
"BillEnd": "0001-01-01T00:00:00",
"ProductIds": null,
"ProdCatId": null,
"Spec": null,
"WhIds": null,
"WhCatId": null,
"TypeIds": null,
"CustIds": null,
"VendIDs": null,
"BusinessOnly": false,
"ByWarehouse": false,
"ShowDisableWarehousing": false,
"CountRow": 0,
"PageIndex": 0,
"PageSize": 0,
"UsePager": true,
"Keywords": null,
"OnlyIncludedInAcc": false,
"NoneDataAfterWhCatFilter": false,
"ShowDisableProd": false,
"AccountingItemId": null,
"DepartmentId": null,
"UseAsyncFileProcess": false,
"AsyncFileType": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
RPDetailedListModel |
Summary |
合计行 |
ReceiveDetailedTotalRow |
InQty |
入库数量合计 |
Decimal |
InBaseQty |
入库基本单位数量合计 |
Decimal |
InCost |
入库成本合计 |
Decimal |
OutQty |
出库数量合计 |
Decimal |
OutBaseQty |
出库基本单位数量合计 |
Decimal |
OutCost |
出库成本合计 |
Decimal |
RestQty |
结存数量合计 |
Decimal |
RestCost |
结存成本合计 |
Decimal |
Total |
总条数 |
Int64 |
Items |
具体数据 |
array[object] |
IsFirst |
标记当前记录是否是一个期初信息 |
Boolean |
ProdId |
商品ID |
Int64 |
ApId |
属性ID |
Int32 |
UnitId |
单位ID |
Int64 |
Rate |
比例 |
Int64 |
Date |
单据日期 |
DateTime |
BType |
类型ID |
BillType |
BDirection |
单据方向 |
BillDirection |
No |
单据编号 |
String |
VcId |
往来单位ID |
Int64 |
CustId |
|
Int32 |
VendId |
|
Int32 |
MainId |
主ID |
Int64 |
WhId |
仓库ID |
Int64 |
MainBillId |
单据ID |
Int64 |
Id |
单据ID(☆原字段:BillId) |
Int64 |
Note |
备注 |
String |
QTY |
数量 |
Decimal |
UnitCost |
单位成本 |
Decimal |
Order |
序号 |
Int32 |
Cost |
成本 |
Decimal |
InQTY |
入库计量单位数量(由入库基本单位数量乘以比例得来) |
Decimal |
InBaseQTY |
入库基本单位数量(等同于数量) |
Decimal |
InUnitCost |
入库单位成本(由入库成本除以入库计量单位数量得来) |
Decimal |
InCost |
入库成本 |
Decimal |
OutQTY |
出库计量单位数量(由出库基本单位数量乘以比例得来) |
Decimal |
OutBaseQTY |
出库基本单位数量(等同于数量) |
Decimal |
OutUnitCost |
出库单位成本(由出库成本除以出库计量单位数量得来) |
Decimal |
OutCost |
出库成本 |
Decimal |
RestQTY |
结余数量 |
Decimal |
RestUnitCost |
结余单位成本 |
Decimal |
RestCost |
结余成本 |
Decimal |
UnitName |
单位 |
String |
WhName |
仓库 |
String |
WhCatName |
仓库类别 |
String |
VCName |
往来单位 |
String |
BTypeName |
业务类型 |
String |
ProdAP |
属性 |
String |
ProdSpec |
规格 |
String |
ProdCat |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出Excel
请求地址
POST $SCMAPI_HOST/jxc_api/ReportReceiveDetailed/Export
请求头
请求参数
conditions |
查询信息 |
RDDetailsSearchCondition |
BillStart |
开始日期 |
DateTime |
BillEnd |
截止日期 |
DateTime |
ProductIds |
商品ID |
Int32[] |
ProdCatId |
商品类别 |
Int32[] |
Spec |
规格 |
String |
WhIds |
仓库ID |
Int32[] |
WhCatId |
仓库类别 |
Int32[] |
TypeIds |
单据类别ID |
Int32[] |
CustIds |
客户id |
Int32[] |
VendIDs |
供应商id |
Int32[] |
BusinessOnly |
只显示发生额的数据 |
Boolean |
ByWarehouse |
按仓库显示 |
Boolean |
ShowDisableWarehousing |
是否显示禁用仓库 |
Boolean |
CountRow |
|
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
Keywords |
关键字 |
String |
OnlyIncludedInAcc |
是否仅仅统计需要记账的单据(仅调拨单不会在记账中统计) 调拨单不影响成本,所以在计算总金额的时候,这个变量可以为true或false,对结果没影响。 如果是取得成本变化列表,就需要设置为true,以排除调拨单 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": "0001-01-01T00:00:00",
"BillEnd": "0001-01-01T00:00:00",
"ProductIds": null,
"ProdCatId": null,
"Spec": null,
"WhIds": null,
"WhCatId": null,
"TypeIds": null,
"CustIds": null,
"VendIDs": null,
"BusinessOnly": false,
"ByWarehouse": false,
"ShowDisableWarehousing": false,
"CountRow": 0,
"PageIndex": 0,
"PageSize": 0,
"UsePager": true,
"Keywords": null,
"OnlyIncludedInAcc": false,
"NoneDataAfterWhCatFilter": false,
"ShowDisableProd": false,
"AccountingItemId": null,
"DepartmentId": null,
"UseAsyncFileProcess": false,
"AsyncFileType": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/ReportReceiveDetailed/Print
请求头
请求参数
conditions |
|
RDDetailsSearchCondition |
BillStart |
开始日期 |
DateTime |
BillEnd |
截止日期 |
DateTime |
ProductIds |
商品ID |
Int32[] |
ProdCatId |
商品类别 |
Int32[] |
Spec |
规格 |
String |
WhIds |
仓库ID |
Int32[] |
WhCatId |
仓库类别 |
Int32[] |
TypeIds |
单据类别ID |
Int32[] |
CustIds |
客户id |
Int32[] |
VendIDs |
供应商id |
Int32[] |
BusinessOnly |
只显示发生额的数据 |
Boolean |
ByWarehouse |
按仓库显示 |
Boolean |
ShowDisableWarehousing |
是否显示禁用仓库 |
Boolean |
CountRow |
|
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
Keywords |
关键字 |
String |
OnlyIncludedInAcc |
是否仅仅统计需要记账的单据(仅调拨单不会在记账中统计) 调拨单不影响成本,所以在计算总金额的时候,这个变量可以为true或false,对结果没影响。 如果是取得成本变化列表,就需要设置为true,以排除调拨单 |
Boolean |
NoneDataAfterWhCatFilter |
经过类别过滤,仍然没有仓库id |
Boolean |
ShowDisableProd |
显示禁用商品 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": "0001-01-01T00:00:00",
"BillEnd": "0001-01-01T00:00:00",
"ProductIds": null,
"ProdCatId": null,
"Spec": null,
"WhIds": null,
"WhCatId": null,
"TypeIds": null,
"CustIds": null,
"VendIDs": null,
"BusinessOnly": false,
"ByWarehouse": false,
"ShowDisableWarehousing": false,
"CountRow": 0,
"PageIndex": 0,
"PageSize": 0,
"UsePager": true,
"Keywords": null,
"OnlyIncludedInAcc": false,
"NoneDataAfterWhCatFilter": false,
"ShowDisableProd": false,
"AccountingItemId": null,
"DepartmentId": null,
"UseAsyncFileProcess": false,
"AsyncFileType": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Inventory
盘点单控制器
盘点商品列表
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/SearchData
请求头
请求参数
condition |
查询条件 |
ScCondition |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
WhId |
查询仓库Id,0或null为全部 |
Int32[] |
WhCatId |
仓库类别Id |
Int32 |
ChangeStatus |
盘点单盈亏状态:0代表全部,1代表有盈亏,2代表无盈亏 |
Int32 |
Date |
盘点日期 |
DateTime |
CatId |
商品类别id |
Int32[] |
Id |
盘点id |
Int32 |
Ids |
盘点id |
Int32[] |
IsZeroProd |
是否显示零库存商品 |
Boolean |
ProdIds |
商品 |
Int32[] |
Brand |
品牌 |
String |
ShowDisabled |
显示禁用商品 |
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"WhId": null,
"WhCatId": 0,
"ChangeStatus": 0,
"Date": "0001-01-01T00:00:00",
"CatId": null,
"Id": 0,
"Ids": null,
"IsZeroProd": true,
"ProdIds": null,
"Brand": null,
"ShowDisabled": false,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
ScId |
盘点单Id |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
CatName |
商品类别名称 |
String |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
Note |
备注 |
String |
QTY |
系统库存(☆原字段:Qty) |
Decimal |
WholeLooseQty |
系统库存整件散包 |
String |
StWholeLooseQty |
盘点库存 整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
StQTY |
盘点库存(☆原字段:StQty) |
Decimal |
Image |
商品图片 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
Change |
盘盈盘亏 |
Decimal |
IsSave |
|
Boolean |
WhCatId |
仓库类别Id |
Int32 |
WhCatName |
仓库类被名称 |
String |
UseMultiUnits |
是否开启多单位 |
Boolean |
UseAp |
是否开启辅助属性 |
Boolean |
SumModel |
合计行 |
ScProdQtyModel |
ScId |
盘点单Id |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
CatName |
商品类别名称 |
String |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
Note |
备注 |
String |
QTY |
系统库存(☆原字段:Qty) |
Decimal |
WholeLooseQty |
系统库存整件散包 |
String |
StWholeLooseQty |
盘点库存 整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
StQTY |
盘点库存(☆原字段:StQty) |
Decimal |
Image |
商品图片 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
Change |
盘盈盘亏 |
Decimal |
IsSave |
|
Boolean |
WhCatId |
仓库类别Id |
Int32 |
WhCatName |
仓库类被名称 |
String |
UseMultiUnits |
是否开启多单位 |
Boolean |
UseAp |
是否开启辅助属性 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
根据盘点单id获取盘点单数据
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/GetDataById
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ScEditModel |
DateFmt |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
盘点ID |
Int32 |
No |
单据编号 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
|
array[object] |
AsId |
账套ID |
Int32 |
ScDate |
单据日期 |
DateTime |
ScId |
盘点ID |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
CatName |
商品类别名称 |
String |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
QTY |
系统库存 |
Decimal |
WholeLooseQty |
系统库存整件散包 |
String |
StWholeLooseQty |
盘点库存 整件散包 |
String |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
StQTY |
盘点库存 |
Decimal |
Change |
盘盈盘亏 |
Decimal |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhCatId |
仓库类别Id |
Int32 |
WhCatName |
仓库类被名称 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UseMultiUnits |
是否开启多单位 |
Boolean |
UseAp |
是否开启辅助属性 |
Boolean |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
IsSave |
|
Boolean |
items |
|
array[object] |
ScId |
盘点ID |
Int32 |
ScDataType |
盘点结果类型:1010其它入库单,1020其它出库单 |
Int32 |
ScDataId |
盘点结果id,对应其它入库单id和其它出库单id |
Int32 |
ScDataNo |
盘点结果编码 |
String |
返回示例
""
单据单据查询
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/SearchBill
请求头
请求参数
search |
查询类型(正常,盘亏,盘盈) |
Int32 |
id |
盘点id |
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
验证生成单据据是否打开
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/VerifyCreat
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
新增盘点单
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/Add
请求头
请求参数
model |
盘点单数据信息 |
ScEditModel |
DateFmt |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
盘点ID |
Int32 |
No |
单据编号 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
|
array[object] |
AsId |
账套ID |
Int32 |
ScDate |
单据日期 |
DateTime |
ScId |
盘点ID |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
CatName |
商品类别名称 |
String |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
QTY |
系统库存 |
Decimal |
WholeLooseQty |
系统库存整件散包 |
String |
StWholeLooseQty |
盘点库存 整件散包 |
String |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
StQTY |
盘点库存 |
Decimal |
Change |
盘盈盘亏 |
Decimal |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhCatId |
仓库类别Id |
Int32 |
WhCatName |
仓库类被名称 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UseMultiUnits |
是否开启多单位 |
Boolean |
UseAp |
是否开启辅助属性 |
Boolean |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
IsSave |
|
Boolean |
items |
|
array[object] |
ScId |
盘点ID |
Int32 |
ScDataType |
盘点结果类型:1010其它入库单,1020其它出库单 |
Int32 |
ScDataId |
盘点结果id,对应其它入库单id和其它出库单id |
Int32 |
ScDataNo |
盘点结果编码 |
String |
请求示例
{
"IsSave": false,
"IsCreat": false,
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:03.3803066+08:00",
"Id": 0,
"No": null,
"WhId": 0,
"WhName": null,
"CreatedBy": 0,
"CreatedDate": "2025-02-19T18:13:03.3803066+08:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"ModifiedByName": null,
"BillOrigin": 0,
"Items": [],
"items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改盘点单
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/Update
请求头
请求参数
model |
盘点单数据信息 |
ScEditModel |
DateFmt |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
盘点ID |
Int32 |
No |
单据编号 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
|
array[object] |
AsId |
账套ID |
Int32 |
ScDate |
单据日期 |
DateTime |
ScId |
盘点ID |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
CatName |
商品类别名称 |
String |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
QTY |
系统库存 |
Decimal |
WholeLooseQty |
系统库存整件散包 |
String |
StWholeLooseQty |
盘点库存 整件散包 |
String |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
StQTY |
盘点库存 |
Decimal |
Change |
盘盈盘亏 |
Decimal |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhCatId |
仓库类别Id |
Int32 |
WhCatName |
仓库类被名称 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UseMultiUnits |
是否开启多单位 |
Boolean |
UseAp |
是否开启辅助属性 |
Boolean |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
IsSave |
|
Boolean |
items |
|
array[object] |
ScId |
盘点ID |
Int32 |
ScDataType |
盘点结果类型:1010其它入库单,1020其它出库单 |
Int32 |
ScDataId |
盘点结果id,对应其它入库单id和其它出库单id |
Int32 |
ScDataNo |
盘点结果编码 |
String |
请求示例
{
"IsSave": false,
"IsCreat": false,
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:03.6887983+08:00",
"Id": 0,
"No": null,
"WhId": 0,
"WhName": null,
"CreatedBy": 0,
"CreatedDate": "2025-02-19T18:13:03.6887983+08:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"ModifiedByName": null,
"BillOrigin": 0,
"Items": [],
"items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
结束盘点
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/EndInventory
请求头
请求参数
model |
盘点信息 |
ScEditModel |
DateFmt |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
盘点ID |
Int32 |
No |
单据编号 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
|
array[object] |
AsId |
账套ID |
Int32 |
ScDate |
单据日期 |
DateTime |
ScId |
盘点ID |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
CatName |
商品类别名称 |
String |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
QTY |
系统库存 |
Decimal |
WholeLooseQty |
系统库存整件散包 |
String |
StWholeLooseQty |
盘点库存 整件散包 |
String |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
StQTY |
盘点库存 |
Decimal |
Change |
盘盈盘亏 |
Decimal |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhCatId |
仓库类别Id |
Int32 |
WhCatName |
仓库类被名称 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UseMultiUnits |
是否开启多单位 |
Boolean |
UseAp |
是否开启辅助属性 |
Boolean |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
IsSave |
|
Boolean |
items |
|
array[object] |
ScId |
盘点ID |
Int32 |
ScDataType |
盘点结果类型:1010其它入库单,1020其它出库单 |
Int32 |
ScDataId |
盘点结果id,对应其它入库单id和其它出库单id |
Int32 |
ScDataNo |
盘点结果编码 |
String |
请求示例
{
"IsSave": false,
"IsCreat": false,
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:03.9862145+08:00",
"Id": 0,
"No": null,
"WhId": 0,
"WhName": null,
"CreatedBy": 0,
"CreatedDate": "2025-02-19T18:13:03.9862145+08:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"ModifiedByName": null,
"BillOrigin": 0,
"Items": [],
"items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/Export
请求头
请求参数
conditions |
查询信息 |
InventorySearchConditions2 |
Id |
|
Int32 |
LastCheckoutDate |
|
DateTime |
VerifyExist |
用于导出盘点结果 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
WhId |
仓库ID |
Int32[] |
WhCatId |
仓库类别Id |
Int32 |
CatId |
商品类别 |
Int32[] |
Keywords |
搜索关键词 |
String |
IsZeroProd |
零库存商品 |
Boolean |
DateFmt |
截止日期 |
String |
ProdIds |
商品 |
Int32[] |
Brand |
品牌 |
String |
ShowDisabled |
显示禁用商品 |
Boolean |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": 0,
"LastCheckoutDate": "0001-01-01T00:00:00",
"WhId": null,
"WhCatId": 0,
"CatId": null,
"Keywords": null,
"IsZeroProd": false,
"DateFmt": null,
"ProdIds": null,
"Brand": null,
"ShowDisabled": false,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出系统库存
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/ExportExcel
请求头
请求参数
conditions |
查询信息 |
InventorySearchConditions2 |
Id |
|
Int32 |
LastCheckoutDate |
|
DateTime |
VerifyExist |
用于导出盘点结果 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
WhId |
仓库ID |
Int32[] |
WhCatId |
仓库类别Id |
Int32 |
CatId |
商品类别 |
Int32[] |
Keywords |
搜索关键词 |
String |
IsZeroProd |
零库存商品 |
Boolean |
DateFmt |
截止日期 |
String |
ProdIds |
商品 |
Int32[] |
Brand |
品牌 |
String |
ShowDisabled |
显示禁用商品 |
Boolean |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": 0,
"LastCheckoutDate": "0001-01-01T00:00:00",
"WhId": null,
"WhCatId": 0,
"CatId": null,
"Keywords": null,
"IsZeroProd": false,
"DateFmt": null,
"ProdIds": null,
"Brand": null,
"ShowDisabled": false,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出盘点结果
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/ExportExcelSimple
请求头
请求参数
conditions |
|
InventorySearchConditions2 |
Id |
|
Int32 |
LastCheckoutDate |
|
DateTime |
VerifyExist |
用于导出盘点结果 |
Boolean |
UseAsyncFileProcess |
是否使用异步文件处理 |
Boolean |
AsyncFileType |
是否使用异步文件处理 |
AsyncFileType |
WhId |
仓库ID |
Int32[] |
WhCatId |
仓库类别Id |
Int32 |
CatId |
商品类别 |
Int32[] |
Keywords |
搜索关键词 |
String |
IsZeroProd |
零库存商品 |
Boolean |
DateFmt |
截止日期 |
String |
ProdIds |
商品 |
Int32[] |
Brand |
品牌 |
String |
ShowDisabled |
显示禁用商品 |
Boolean |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": 0,
"LastCheckoutDate": "0001-01-01T00:00:00",
"WhId": null,
"WhCatId": 0,
"CatId": null,
"Keywords": null,
"IsZeroProd": false,
"DateFmt": null,
"ProdIds": null,
"Brand": null,
"ShowDisabled": false,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入单据信息
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Inventory/DownErrorData
请求头
请求参数
model |
错误数据guid |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Disassembly
拆卸单控制器
根据拆卸单id获取拆卸单数据
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/GetDataById
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
DassEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
拆卸单ID |
Int32 |
No |
单据编号 |
String |
Expense |
拆卸费用 |
Decimal |
ShareExpense |
是否分摊费用 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
TpId |
模板ID |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
CheckedByName |
审核人名称 |
String |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
ModifiedDate |
修改日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Item |
组合件子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
CatName |
类别 |
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DassDate |
单据日期 |
DateTime |
DassId |
拆卸单ID |
Int32 |
DassNo |
拆卸单编号 |
String |
Id |
拆卸单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
DassPercent |
分摊比例 |
Decimal |
UnitCost |
拆卸单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
Items |
子件子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
CatName |
类别 |
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DassDate |
单据日期 |
DateTime |
DassId |
拆卸单ID |
Int32 |
DassNo |
拆卸单编号 |
String |
Id |
拆卸单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
DassPercent |
分摊比例 |
Decimal |
UnitCost |
拆卸单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
返回示例
""
保存拆卸单
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/Save
请求头
请求参数
model |
拆卸单数据信息 |
DassEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
拆卸单ID |
Int32 |
No |
单据编号 |
String |
Expense |
拆卸费用 |
Decimal |
ShareExpense |
是否分摊费用 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
TpId |
模板ID |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
CheckedByName |
审核人名称 |
String |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
ModifiedDate |
修改日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Item |
组合件子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
CatName |
类别 |
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DassDate |
单据日期 |
DateTime |
DassId |
拆卸单ID |
Int32 |
DassNo |
拆卸单编号 |
String |
Id |
拆卸单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
DassPercent |
分摊比例 |
Decimal |
UnitCost |
拆卸单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
Items |
子件子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
CatName |
类别 |
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DassDate |
单据日期 |
DateTime |
DassId |
拆卸单ID |
Int32 |
DassNo |
拆卸单编号 |
String |
Id |
拆卸单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
DassPercent |
分摊比例 |
Decimal |
UnitCost |
拆卸单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:06.1309129+08:00",
"Id": 0,
"No": null,
"Expense": 0.0,
"ShareExpense": 1,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"TpId": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"CheckedByName": null,
"CreatedByName": null,
"ModifiedByName": null,
"ModifiedDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"BillOrigin": 0,
"Item": [],
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
审核拆卸单
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/Check
请求头
请求参数
model |
拆卸单数据信息 |
DassEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
拆卸单ID |
Int32 |
No |
单据编号 |
String |
Expense |
拆卸费用 |
Decimal |
ShareExpense |
是否分摊费用 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
TpId |
模板ID |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
CheckedByName |
审核人名称 |
String |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
ModifiedDate |
修改日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Item |
组合件子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
CatName |
类别 |
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DassDate |
单据日期 |
DateTime |
DassId |
拆卸单ID |
Int32 |
DassNo |
拆卸单编号 |
String |
Id |
拆卸单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
DassPercent |
分摊比例 |
Decimal |
UnitCost |
拆卸单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
Items |
子件子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
CatName |
类别 |
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DassDate |
单据日期 |
DateTime |
DassId |
拆卸单ID |
Int32 |
DassNo |
拆卸单编号 |
String |
Id |
拆卸单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
DassPercent |
分摊比例 |
Decimal |
UnitCost |
拆卸单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:07.0072112+08:00",
"Id": 0,
"No": null,
"Expense": 0.0,
"ShareExpense": 1,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"TpId": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"CheckedByName": null,
"CreatedByName": null,
"ModifiedByName": null,
"ModifiedDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"BillOrigin": 0,
"Item": [],
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核拆卸单
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/Uncheck
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除拆卸单
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/Delete
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
保存模板
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/SearchTemp
请求头
请求参数
para |
模板名称 |
SearchTempPara |
Name |
模板名称 |
String |
PageIndex |
页码 |
Int32 |
PageSize |
每页个数 |
Int32 |
请求示例
{
"Name": null,
"PageIndex": 0,
"PageSize": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
DateFmt |
|
String |
TpId |
模板ID |
Int32 |
TpName |
模板名称 |
String |
Type |
组装拆卸类别 |
Int32 |
Expense |
组装费用 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Item |
组合件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
Items |
子件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
SumModel |
合计行 |
AssemblyTempInfo |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
DateFmt |
|
String |
TpId |
模板ID |
Int32 |
TpName |
模板名称 |
String |
Type |
组装拆卸类别 |
Int32 |
Expense |
组装费用 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Item |
组合件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
Items |
子件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
保存模板信息
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/SaveTemp
请求头
请求参数
info |
模板信息 |
AssemblyTempInfo |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
DateFmt |
|
String |
TpId |
模板ID |
Int32 |
TpName |
模板名称 |
String |
Type |
组装拆卸类别 |
Int32 |
Expense |
组装费用 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Item |
组合件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
Items |
子件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
请求示例
{
"AsId": 0,
"TpDate": "0001-01-01T00:00:00",
"DateFmt": "",
"TpId": 0,
"TpName": null,
"Type": 0,
"Expense": 0.0,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"Item": [],
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除模板
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/DeleteTemp
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取模板信息
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/GetDisassemblyFromTemp
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
检测模板名称是否存在
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/DoesTempExist
请求头
请求参数
请求示例
"字符串值"
返回值
返回示例
""
检测模板是否存在
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/DoesTempIdExist
请求头
请求参数
请求示例
0
返回值
返回示例
""
根据单据日期获取编号
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/GetNoByDate
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获得商品出库成本
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/GetOutInventoryCost
请求头
请求参数
para |
|
GetOutInventoryCostPara |
Deliveries |
|
array[object] |
AsId |
|
Int32 |
BillType |
|
BillType |
BillDirection |
|
BillDirection |
BillNo |
|
String |
OldBillNo |
|
String |
BillId |
|
Int32 |
OldBillId |
|
Int32 |
BillTime |
|
DateTime |
ProdId |
|
Int32 |
WhId |
|
Int32 |
ApId |
|
Int32 |
QTY |
|
Decimal |
Amount |
|
Decimal |
Rate |
|
Decimal |
UnitId |
|
Int32 |
VcId |
|
Int32 |
MainId |
|
Int32 |
Note |
|
String |
IsExist |
|
Boolean |
RelativeBillId |
|
Int32 |
请求示例
{
"Deliveries": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获得拆卸单子件成本
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/GetDassInCost
请求头
请求参数
para |
|
DassInCostPara |
DassInCostItems |
|
array[object] |
ProdId |
|
Int32 |
ApId |
|
Int32 |
WhId |
|
Int32 |
请求示例
{
"DassInCostItems": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取上一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/Disassembly/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
InventoryList
盘点单列表控制器
盘点单查询
请求地址
POST $SCMAPI_HOST/jxc_api/InventoryList/Search
请求头
请求参数
condition |
盘点单查询条件集合 |
ScCondition |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
WhId |
查询仓库Id,0或null为全部 |
Int32[] |
WhCatId |
仓库类别Id |
Int32 |
ChangeStatus |
盘点单盈亏状态:0代表全部,1代表有盈亏,2代表无盈亏 |
Int32 |
Date |
盘点日期 |
DateTime |
CatId |
商品类别id |
Int32[] |
Id |
盘点id |
Int32 |
Ids |
盘点id |
Int32[] |
IsZeroProd |
是否显示零库存商品 |
Boolean |
ProdIds |
商品 |
Int32[] |
Brand |
品牌 |
String |
ShowDisabled |
显示禁用商品 |
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"WhId": null,
"WhCatId": 0,
"ChangeStatus": 0,
"Date": "0001-01-01T00:00:00",
"CatId": null,
"Id": 0,
"Ids": null,
"IsZeroProd": true,
"ProdIds": null,
"Brand": null,
"ShowDisabled": false,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
盘点单ID(☆原字段:ScId) |
Int32 |
Date |
订单日期(☆原字段:ScDate) |
String |
No |
单据编号(☆原字段:ScNo) |
String |
WhName |
盘点仓库 |
String |
Items |
盘点结果(☆原字段:items) |
array[object] |
ScId |
盘点ID |
Int32 |
ScDataType |
盘点结果类型:1010其它入库单,1020其它出库单 |
Int32 |
ScDataId |
盘点结果id,对应其它入库单id和其它出库单id |
Int32 |
ScDataNo |
盘点结果编码 |
String |
ChangeStatus |
盘点状态 |
Boolean |
WhsNo |
盘盈单号 |
String |
WhsBill |
盘盈单 |
Int32 |
DoNo |
盘亏单号 |
String |
DoBill |
盘亏单 |
Int32 |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
ScListModel |
Id |
盘点单ID(☆原字段:ScId) |
Int32 |
Date |
订单日期(☆原字段:ScDate) |
String |
No |
单据编号(☆原字段:ScNo) |
String |
WhName |
盘点仓库 |
String |
Items |
盘点结果(☆原字段:items) |
array[object] |
ScId |
盘点ID |
Int32 |
ScDataType |
盘点结果类型:1010其它入库单,1020其它出库单 |
Int32 |
ScDataId |
盘点结果id,对应其它入库单id和其它出库单id |
Int32 |
ScDataNo |
盘点结果编码 |
String |
ChangeStatus |
盘点状态 |
Boolean |
WhsNo |
盘盈单号 |
String |
WhsBill |
盘盈单 |
Int32 |
DoNo |
盘亏单号 |
String |
DoBill |
盘亏单 |
Int32 |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
删除盘点单
请求地址
POST $SCMAPI_HOST/jxc_api/InventoryList/DeleteById
请求头
请求参数
arrayModel |
盘点单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
DisassemblyList
拆卸单列表控制器
拆卸单查询
请求地址
POST $SCMAPI_HOST/jxc_api/DisassemblyList/Search
请求头
请求参数
condition |
拆卸单查询条件集合 |
DassCondition |
Ids |
|
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32[] |
DisassProdIds |
拆卸商品id |
Int32[] |
DisassWhIds |
拆卸仓库id |
Int32[] |
ProdIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": [
-1
],
"DisassProdIds": null,
"DisassWhIds": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
拆卸单ID |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
No |
单据编号 |
String |
Date |
订单日期 |
String |
MainProdName |
组合件 |
String |
MainProdNo |
|
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地(☆原字段:Location) |
String |
QTY |
数量 |
Decimal |
UnitCost |
单位成本 |
Decimal |
Cost |
组合成本 |
Decimal |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
WhName |
仓库名称 |
String |
UnitName |
单位名称 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ProductionDate |
生产日期 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ApName |
属性 |
String |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
DassListModel |
Id |
拆卸单ID |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
No |
单据编号 |
String |
Date |
订单日期 |
String |
MainProdName |
组合件 |
String |
MainProdNo |
|
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地(☆原字段:Location) |
String |
QTY |
数量 |
Decimal |
UnitCost |
单位成本 |
Decimal |
Cost |
组合成本 |
Decimal |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
WhName |
仓库名称 |
String |
UnitName |
单位名称 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ProductionDate |
生产日期 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ApName |
属性 |
String |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
拆卸单明细查询
请求地址
POST $SCMAPI_HOST/jxc_api/DisassemblyList/SearchDetail
请求头
请求参数
condition |
组装单查询条件集合 |
DassCondition |
Ids |
|
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32[] |
DisassProdIds |
拆卸商品id |
Int32[] |
DisassWhIds |
拆卸仓库id |
Int32[] |
ProdIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": [
-1
],
"DisassProdIds": null,
"DisassWhIds": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
MainProdNo |
组合单商品编码 |
String |
MainProdName |
组合单商品名称 |
String |
MainProdId |
组合单商品Id |
Int32 |
MainSPEC |
组合单商品规格 |
String |
MainBrand |
组合单商品品牌 |
String |
MainApName |
组合单商品属性 |
String |
MainProdLocation |
组合单商品地址 |
String |
MainUnitId |
|
Int32 |
MainUnitName |
组合单商品单位 |
String |
MainWhName |
商品库存 |
String |
MainQTY |
组合单商品数量 |
Decimal |
MainAvailableQty |
|
Nullable`1 |
MainWholeLooseQty |
|
String |
MainExpense |
组合单组装费用 |
Decimal |
MainUnitCost |
组合单出库单位成本 |
Decimal |
MainCost |
组合单出库成本 |
Decimal |
GoodsNo |
子单编码 |
String |
GoodsUnitCost |
子单入库单位成本 |
Decimal |
GoodsCost |
子单入库成本 |
Decimal |
SubBatchNo |
子件批次 |
String |
SubProductionDate |
子件生产日期 |
String |
SubLifeTime |
子件保质期 |
Int32 |
SubLifeTimeUnit |
子件保质期单位 |
LifeTimeUnitEnum |
SubLifeTimeUnitName |
子件保质期单位名称 |
String |
SubExpirationDate |
子件到期日期 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
SumModel |
合计行 |
DassDetailModel |
MainProdNo |
组合单商品编码 |
String |
MainProdName |
组合单商品名称 |
String |
MainProdId |
组合单商品Id |
Int32 |
MainSPEC |
组合单商品规格 |
String |
MainBrand |
组合单商品品牌 |
String |
MainApName |
组合单商品属性 |
String |
MainProdLocation |
组合单商品地址 |
String |
MainUnitId |
|
Int32 |
MainUnitName |
组合单商品单位 |
String |
MainWhName |
商品库存 |
String |
MainQTY |
组合单商品数量 |
Decimal |
MainAvailableQty |
|
Nullable`1 |
MainWholeLooseQty |
|
String |
MainExpense |
组合单组装费用 |
Decimal |
MainUnitCost |
组合单出库单位成本 |
Decimal |
MainCost |
组合单出库成本 |
Decimal |
GoodsNo |
子单编码 |
String |
GoodsUnitCost |
子单入库单位成本 |
Decimal |
GoodsCost |
子单入库成本 |
Decimal |
SubBatchNo |
子件批次 |
String |
SubProductionDate |
子件生产日期 |
String |
SubLifeTime |
子件保质期 |
Int32 |
SubLifeTimeUnit |
子件保质期单位 |
LifeTimeUnitEnum |
SubLifeTimeUnitName |
子件保质期单位名称 |
String |
SubExpirationDate |
子件到期日期 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
删除拆卸单
请求地址
POST $SCMAPI_HOST/jxc_api/DisassemblyList/Delete
请求头
请求参数
arrayModel |
拆卸单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
审核拆卸单
请求地址
POST $SCMAPI_HOST/jxc_api/DisassemblyList/CheckList
请求头
请求参数
arrayModel |
拆卸单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核拆卸单
请求地址
POST $SCMAPI_HOST/jxc_api/DisassemblyList/UncheckList
请求头
请求参数
arrayModel |
拆卸单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/DisassemblyList/Export
请求头
请求参数
conditions |
查询信息 |
DassCondition |
Ids |
|
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32[] |
DisassProdIds |
拆卸商品id |
Int32[] |
DisassWhIds |
拆卸仓库id |
Int32[] |
ProdIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": [
-1
],
"DisassProdIds": null,
"DisassWhIds": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/DisassemblyList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/DisassemblyList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
OthersWarehousing
其它入库单控制器
根据其它入库单id获取其它入库单数据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/GetDataById
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WhsoEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
单据类别 |
Int32 |
VendId |
供货商ID |
Int32 |
VendName |
供应商名称 |
String |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
入库单ID |
Int32 |
No |
单据编号 |
String |
Amount |
入库金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额 |
Int32 |
OfStatus |
核销状态 |
Int32 |
ScId |
盘点ID |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算 ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
RelatedBills |
其他入库单关联的其他出库单id 和 No |
IdNoPair[] |
Items |
子条目 |
array[object] |
AsId |
账套ID |
Int32 |
WhsDate |
单据日期 |
DateTime |
BType |
单据类别 |
Int64 |
VendId |
供货商ID |
Int32 |
CustId |
客户ID |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
WhsId |
入库单ID |
Int32 |
WhsNo |
入库单编号 |
String |
Id |
入库单子表ID(☆原字段:WhseId) |
Int32 |
UseAp |
是否使用辅助属性 |
Boolean |
ApId |
商品辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
Spec |
规格 |
String |
ProdLocation |
产地(☆原字段:ProdLoc) |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UseMultiUnits |
是否使用多单位 |
Boolean |
UnitId |
商品单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
DisRate |
折扣率 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
购货金额 |
Decimal |
Note |
备注 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
采购费用 |
Decimal |
SoId |
未知,似乎是放弃使用了 |
Decimal |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
返回示例
""
保存其它入库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/Save
请求头
请求参数
model |
其它入库单数据信息 |
WhsoEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
单据类别 |
Int32 |
VendId |
供货商ID |
Int32 |
VendName |
供应商名称 |
String |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
入库单ID |
Int32 |
No |
单据编号 |
String |
Amount |
入库金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额 |
Int32 |
OfStatus |
核销状态 |
Int32 |
ScId |
盘点ID |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算 ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
RelatedBills |
其他入库单关联的其他出库单id 和 No |
IdNoPair[] |
Items |
子条目 |
array[object] |
AsId |
账套ID |
Int32 |
WhsDate |
单据日期 |
DateTime |
BType |
单据类别 |
Int64 |
VendId |
供货商ID |
Int32 |
CustId |
客户ID |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
WhsId |
入库单ID |
Int32 |
WhsNo |
入库单编号 |
String |
Id |
入库单子表ID(☆原字段:WhseId) |
Int32 |
UseAp |
是否使用辅助属性 |
Boolean |
ApId |
商品辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
Spec |
规格 |
String |
ProdLocation |
产地(☆原字段:ProdLoc) |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UseMultiUnits |
是否使用多单位 |
Boolean |
UnitId |
商品单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
DisRate |
折扣率 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
购货金额 |
Decimal |
Note |
备注 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
采购费用 |
Decimal |
SoId |
未知,似乎是放弃使用了 |
Decimal |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:10.7121692+08:00",
"BType": 0,
"VendId": 0,
"VendName": null,
"CustId": 0,
"CustName": null,
"Id": 0,
"No": null,
"Amount": 0.0,
"PrintCount": 0,
"Note": null,
"OfAmount": 0,
"OfStatus": 0,
"ScId": 0,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedByName": null,
"CreatedByName": null,
"ModifiedByName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"RelatedBills": null,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取其他入库单业务类型选项列表
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/GetBTypeList
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
|
Int32 |
No |
|
String |
Name |
名称 |
String |
CategoryID |
仓库类别id |
Int32 |
返回示例
""
审核其它入库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/Check
请求头
请求参数
model |
其它入库单数据信息 |
WhsoEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
单据类别 |
Int32 |
VendId |
供货商ID |
Int32 |
VendName |
供应商名称 |
String |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
入库单ID |
Int32 |
No |
单据编号 |
String |
Amount |
入库金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额 |
Int32 |
OfStatus |
核销状态 |
Int32 |
ScId |
盘点ID |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算 ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
RelatedBills |
其他入库单关联的其他出库单id 和 No |
IdNoPair[] |
Items |
子条目 |
array[object] |
AsId |
账套ID |
Int32 |
WhsDate |
单据日期 |
DateTime |
BType |
单据类别 |
Int64 |
VendId |
供货商ID |
Int32 |
CustId |
客户ID |
Int32 |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
WhsId |
入库单ID |
Int32 |
WhsNo |
入库单编号 |
String |
Id |
入库单子表ID(☆原字段:WhseId) |
Int32 |
UseAp |
是否使用辅助属性 |
Boolean |
ApId |
商品辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
Spec |
规格 |
String |
ProdLocation |
产地(☆原字段:ProdLoc) |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UseMultiUnits |
是否使用多单位 |
Boolean |
UnitId |
商品单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
|
Nullable`1 |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
DisRate |
折扣率 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
购货金额 |
Decimal |
Note |
备注 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
采购费用 |
Decimal |
SoId |
未知,似乎是放弃使用了 |
Decimal |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:11.1761756+08:00",
"BType": 0,
"VendId": 0,
"VendName": null,
"CustId": 0,
"CustName": null,
"Id": 0,
"No": null,
"Amount": 0.0,
"PrintCount": 0,
"Note": null,
"OfAmount": 0,
"OfStatus": 0,
"ScId": 0,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedByName": null,
"CreatedByName": null,
"ModifiedByName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"RelatedBills": null,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核其它入库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/Uncheck
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除其它入库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/Delete
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
根据单据日期获取编号
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/GetNoByDate
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取上一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousing/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
Costadj
成本调整单控制器
根据成本调整单id获取成本调整单数据
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/GetDataById
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
CostadjEditModel |
DateFmt |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
成本调整单ID |
Int32 |
No |
单据编号 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
CaDate |
单据日期 |
DateTime |
CaId |
成本调整单ID |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
Amount |
调整金额 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
返回示例
""
保存成本调整单
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/Save
请求头
请求参数
model |
成本调整单数据信息 |
CostadjEditModel |
DateFmt |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
成本调整单ID |
Int32 |
No |
单据编号 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
CaDate |
单据日期 |
DateTime |
CaId |
成本调整单ID |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
Amount |
调整金额 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:12.0518907+08:00",
"Id": 0,
"No": null,
"PrintCount": 0,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"ModifiedByName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
新增成本调整单
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/Add
请求头
请求参数
model |
成本调整单数据信息 |
CostadjEditModel |
DateFmt |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
成本调整单ID |
Int32 |
No |
单据编号 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
CaDate |
单据日期 |
DateTime |
CaId |
成本调整单ID |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
Amount |
调整金额 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:12.3978669+08:00",
"Id": 0,
"No": null,
"PrintCount": 0,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"ModifiedByName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改成本调整单
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/Update
请求头
请求参数
model |
成本调整单数据信息 |
CostadjEditModel |
DateFmt |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
成本调整单ID |
Int32 |
No |
单据编号 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CreatedByName |
创建人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
CaDate |
单据日期 |
DateTime |
CaId |
成本调整单ID |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
Amount |
调整金额 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:12.7508906+08:00",
"Id": 0,
"No": null,
"PrintCount": 0,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"ModifiedByName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除成本调整单
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/Delete
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
根据单据日期获取编号
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/GetNoByDate
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取上一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/Costadj/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
Assembly
组合单控制器
根据组合单id获取组合单数据
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/GetDataById
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
AssEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
组合单ID |
Int32 |
No |
单据编号 |
String |
Expense |
组合费用 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
TpId |
模板ID |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
AssDate |
单据日期 |
DateTime |
AssId |
组合单ID |
Int32 |
AssNo |
组合单编号 |
String |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
Item |
|
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
AssDate |
单据日期 |
DateTime |
AssId |
组合单ID |
Int32 |
AssNo |
组合单编号 |
String |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
返回示例
""
保存组装单
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/Save
请求头
请求参数
model |
组装单数据信息 |
AssEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
组合单ID |
Int32 |
No |
单据编号 |
String |
Expense |
组合费用 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
TpId |
模板ID |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
AssDate |
单据日期 |
DateTime |
AssId |
组合单ID |
Int32 |
AssNo |
组合单编号 |
String |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
Item |
|
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
AssDate |
单据日期 |
DateTime |
AssId |
组合单ID |
Int32 |
AssNo |
组合单编号 |
String |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:15.0983686+08:00",
"Id": 0,
"No": null,
"Expense": 0.0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"TpId": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedByName": null,
"CreatedByName": null,
"ModifiedByName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": [],
"Item": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
审核组合单
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/Check
请求头
请求参数
model |
组合单数据信息 |
AssEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
组合单ID |
Int32 |
No |
单据编号 |
String |
Expense |
组合费用 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
TpId |
模板ID |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
AssDate |
单据日期 |
DateTime |
AssId |
组合单ID |
Int32 |
AssNo |
组合单编号 |
String |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
Item |
|
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
Spec |
|
String |
Brand |
|
String |
ProdLocation |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
CatName |
类别 |
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
AssDate |
单据日期 |
DateTime |
AssId |
组合单ID |
Int32 |
AssNo |
组合单编号 |
String |
Id |
组合单子表ID |
Int32 |
Type |
单据类别 |
Int64 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
UnitCost |
组合单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Image |
图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:16.3704958+08:00",
"Id": 0,
"No": null,
"Expense": 0.0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"TpId": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedByName": null,
"CreatedByName": null,
"ModifiedByName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": [],
"Item": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核组合单
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/Uncheck
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除组合单
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/Delete
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获得商品出库成本
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/GetOutInventoryCost
请求头
请求参数
delivery |
组装单信息 |
BillItemModel |
AsId |
|
Int32 |
BillType |
|
BillType |
BillDirection |
|
BillDirection |
BillNo |
|
String |
OldBillNo |
|
String |
BillId |
|
Int32 |
OldBillId |
|
Int32 |
BillTime |
|
DateTime |
ProdId |
|
Int32 |
WhId |
|
Int32 |
ApId |
|
Int32 |
QTY |
|
Decimal |
Amount |
|
Decimal |
Rate |
|
Decimal |
UnitId |
|
Int32 |
VcId |
|
Int32 |
MainId |
|
Int32 |
Note |
|
String |
IsExist |
|
Boolean |
RelativeBillId |
|
Int32 |
请求示例
{
"AsId": 0,
"BillType": 0,
"BillDirection": 0,
"BillNo": "",
"OldBillNo": "",
"BillId": 0,
"OldBillId": 0,
"BillTime": "0001-01-01T00:00:00",
"ProdId": 0,
"WhId": 0,
"ApId": 0,
"QTY": 0.0,
"Amount": 0.0,
"Rate": 0.0,
"UnitId": 0,
"VcId": 0,
"MainId": 0,
"Note": null,
"IsExist": false,
"RelativeBillId": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
根据模板名称查询模板
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/SearchTemp
请求头
请求参数
para |
模板名称 |
SearchTempPara |
Name |
模板名称 |
String |
PageIndex |
页码 |
Int32 |
PageSize |
每页个数 |
Int32 |
请求示例
{
"Name": null,
"PageIndex": 0,
"PageSize": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
DateFmt |
|
String |
TpId |
模板ID |
Int32 |
TpName |
模板名称 |
String |
Type |
组装拆卸类别 |
Int32 |
Expense |
组装费用 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Item |
组合件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
Items |
子件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
SumModel |
合计行 |
AssemblyTempInfo |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
DateFmt |
|
String |
TpId |
模板ID |
Int32 |
TpName |
模板名称 |
String |
Type |
组装拆卸类别 |
Int32 |
Expense |
组装费用 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Item |
组合件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
Items |
子件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
保存模板信息
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/SaveTemp
请求头
请求参数
info |
模板信息 |
AssemblyTempInfo |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
DateFmt |
|
String |
TpId |
模板ID |
Int32 |
TpName |
模板名称 |
String |
Type |
组装拆卸类别 |
Int32 |
Expense |
组装费用 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Item |
组合件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
Items |
子件 |
array[object] |
AsId |
账套ID |
Int32 |
TpDate |
单据日期 |
DateTime |
TpId |
模板ID |
Int32 |
TpeId |
条目ID |
Int32 |
Type |
组件类别 |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
主单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
主数量 |
Decimal |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
ProdName |
|
String |
ProdNo |
|
String |
请求示例
{
"AsId": 0,
"TpDate": "0001-01-01T00:00:00",
"DateFmt": "",
"TpId": 0,
"TpName": null,
"Type": 0,
"Expense": 0.0,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"Item": [],
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除模板
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/DeleteTemp
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
根据模板id获取模板
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/GetAssemblyFromTemp
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
检测模板名称是否存在
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/DoesTempExist
请求头
请求参数
请求示例
"字符串值"
返回值
返回示例
""
检测模板是否存在
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/DoesTempIdExist
请求头
请求参数
请求示例
0
返回值
返回示例
""
根据单据日期获取编号
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/GetNoByDate
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取上一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/Assembly/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
AssemblyList
组合单列表控制器
组装单查询
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/Search
请求头
请求参数
condition |
组装单查询条件集合 |
AssCondition |
Ids |
|
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32[] |
AssProdIds |
组装商品id |
Int32[] |
AssWhIds |
组装仓库id |
Int32[] |
ProdIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": [
-1
],
"AssProdIds": null,
"AssWhIds": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
组装单ID |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
IsChecked |
是否审核 |
Int32 |
No |
单据编号 |
String |
Date |
订单日期 |
String |
MainProdName |
组合件 |
String |
MainProdNo |
|
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地(☆原字段:Location) |
String |
QTY |
数量 |
Decimal |
UnitCost |
单位成本 |
Decimal |
Cost |
组合成本 |
Decimal |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
WhName |
仓库名称 |
String |
UnitName |
单位名称 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ProductionDate |
生产日期 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ApName |
属性 |
String |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
AssListModel |
Id |
组装单ID |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
IsChecked |
是否审核 |
Int32 |
No |
单据编号 |
String |
Date |
订单日期 |
String |
MainProdName |
组合件 |
String |
MainProdNo |
|
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地(☆原字段:Location) |
String |
QTY |
数量 |
Decimal |
UnitCost |
单位成本 |
Decimal |
Cost |
组合成本 |
Decimal |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
WhName |
仓库名称 |
String |
UnitName |
单位名称 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ProductionDate |
生产日期 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ApName |
属性 |
String |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
组装单明细查询
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/SearchDetail
请求头
请求参数
condition |
组装单查询条件集合 |
AssCondition |
Ids |
|
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32[] |
AssProdIds |
组装商品id |
Int32[] |
AssWhIds |
组装仓库id |
Int32[] |
ProdIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": [
-1
],
"AssProdIds": null,
"AssWhIds": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
MainProdNo |
组合单商品编码 |
String |
MainProdName |
组合单商品名称 |
String |
MainCatName |
组合件商品的类别 |
String |
MainProdId |
组合单商品Id |
Int32 |
MainSPEC |
组合单商品规格 |
String |
MainBrand |
组合单商品品牌 |
String |
MainApName |
组合单商品属性 |
String |
MainProdLocation |
组合单商品地址 |
String |
MainUnitName |
组合单商品单位 |
String |
MainUnitId |
|
Int32 |
MainWhName |
商品库存 |
String |
MainQTY |
组合单商品数量 |
Decimal |
MainAvailableQty |
|
Nullable`1 |
MainWholeLooseQty |
|
String |
MainExpense |
组合单组装费用 |
Decimal |
MainUnitCost |
组合单出库单位成本 |
Decimal |
MainCost |
组合单出库成本 |
Decimal |
SubBatchNo |
子件批次 |
String |
SubProductionDate |
子件生产日期 |
String |
SubLifeTime |
子件保质期 |
Int32 |
SubLifeTimeUnit |
子件保质期单位 |
LifeTimeUnitEnum |
SubLifeTimeUnitName |
子件保质期单位名称 |
String |
SubExpirationDate |
子件到期日期 |
String |
GoodsNo |
子单编码 |
String |
GoodsUnitCost |
子单入库单位成本 |
Decimal |
GoodsCost |
子单入库成本 |
Decimal |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
SumModel |
合计行 |
AssDetailModel |
MainProdNo |
组合单商品编码 |
String |
MainProdName |
组合单商品名称 |
String |
MainCatName |
组合件商品的类别 |
String |
MainProdId |
组合单商品Id |
Int32 |
MainSPEC |
组合单商品规格 |
String |
MainBrand |
组合单商品品牌 |
String |
MainApName |
组合单商品属性 |
String |
MainProdLocation |
组合单商品地址 |
String |
MainUnitName |
组合单商品单位 |
String |
MainUnitId |
|
Int32 |
MainWhName |
商品库存 |
String |
MainQTY |
组合单商品数量 |
Decimal |
MainAvailableQty |
|
Nullable`1 |
MainWholeLooseQty |
|
String |
MainExpense |
组合单组装费用 |
Decimal |
MainUnitCost |
组合单出库单位成本 |
Decimal |
MainCost |
组合单出库成本 |
Decimal |
SubBatchNo |
子件批次 |
String |
SubProductionDate |
子件生产日期 |
String |
SubLifeTime |
子件保质期 |
Int32 |
SubLifeTimeUnit |
子件保质期单位 |
LifeTimeUnitEnum |
SubLifeTimeUnitName |
子件保质期单位名称 |
String |
SubExpirationDate |
子件到期日期 |
String |
GoodsNo |
子单编码 |
String |
GoodsUnitCost |
子单入库单位成本 |
Decimal |
GoodsCost |
子单入库成本 |
Decimal |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
删除组合单
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/Delete
请求头
请求参数
arrayModel |
组合单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
审核组合单
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/CheckList
请求头
请求参数
arrayModel |
组合单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核组合单
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/UncheckList
请求头
请求参数
arrayModel |
组合单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
下载采购入库单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入组装单
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/DownErrorData
请求头
请求参数
guId |
标识码 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/Export
请求头
请求参数
conditions |
查询信息 |
AssCondition |
Ids |
|
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
审核状态:-1(全部),0(未审核),1(已审核) |
Int32[] |
AssProdIds |
组装商品id |
Int32[] |
AssWhIds |
组装仓库id |
Int32[] |
ProdIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": [
-1
],
"AssProdIds": null,
"AssWhIds": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/Print
请求头
请求参数
guid |
guid |
String |
isPre |
|
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/AssemblyList/SeniorPrint
请求头
请求参数
guid |
guid |
String |
isPre |
|
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
StockTransfer
调拨单控制器
根据调拨单id获取调拨单数据
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/GetDataById
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
StEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
调拨单ID |
Int32 |
No |
单据编号 |
String |
WhIn |
调入仓库ID |
Int32 |
WhInName |
调入仓库名称 |
String |
WhOut |
调出仓库ID |
Int32 |
WhOutName |
调出仓库名称 |
String |
IsChecked |
是否审核 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedByName |
审核人名称(☆原字段:CheckByName) |
String |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
ModifiedDate |
修改日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
AsId |
账套ID |
Int32 |
StDate |
单据日期 |
DateTime |
StId |
调拨单ID |
Int32 |
StNo |
单据编号 |
String |
Id |
调拨单子表ID(☆原字段:SteId) |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
Note |
备注 |
String |
Image |
商品图片 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
返回示例
""
保存调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/Save
请求头
请求参数
model |
调拨单数据信息 |
StEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
调拨单ID |
Int32 |
No |
单据编号 |
String |
WhIn |
调入仓库ID |
Int32 |
WhInName |
调入仓库名称 |
String |
WhOut |
调出仓库ID |
Int32 |
WhOutName |
调出仓库名称 |
String |
IsChecked |
是否审核 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedByName |
审核人名称(☆原字段:CheckByName) |
String |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
ModifiedDate |
修改日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
AsId |
账套ID |
Int32 |
StDate |
单据日期 |
DateTime |
StId |
调拨单ID |
Int32 |
StNo |
单据编号 |
String |
Id |
调拨单子表ID(☆原字段:SteId) |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
Note |
备注 |
String |
Image |
商品图片 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:20.8029328+08:00",
"Id": 0,
"No": null,
"WhIn": 0,
"WhInName": null,
"WhOut": 0,
"WhOutName": null,
"IsChecked": 0,
"PrintCount": 0,
"Note": null,
"CheckedBy": 0,
"CheckedByName": null,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedBy": 0,
"CreatedByName": null,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedByName": null,
"ModifiedDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"BillOrigin": 0,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
新增调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/Add
请求头
请求参数
model |
调拨单数据信息 |
StEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
调拨单ID |
Int32 |
No |
单据编号 |
String |
WhIn |
调入仓库ID |
Int32 |
WhInName |
调入仓库名称 |
String |
WhOut |
调出仓库ID |
Int32 |
WhOutName |
调出仓库名称 |
String |
IsChecked |
是否审核 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedByName |
审核人名称(☆原字段:CheckByName) |
String |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
ModifiedDate |
修改日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
AsId |
账套ID |
Int32 |
StDate |
单据日期 |
DateTime |
StId |
调拨单ID |
Int32 |
StNo |
单据编号 |
String |
Id |
调拨单子表ID(☆原字段:SteId) |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
Note |
备注 |
String |
Image |
商品图片 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:21.2359319+08:00",
"Id": 0,
"No": null,
"WhIn": 0,
"WhInName": null,
"WhOut": 0,
"WhOutName": null,
"IsChecked": 0,
"PrintCount": 0,
"Note": null,
"CheckedBy": 0,
"CheckedByName": null,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedBy": 0,
"CreatedByName": null,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedByName": null,
"ModifiedDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"BillOrigin": 0,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/Update
请求头
请求参数
model |
调拨单数据信息 |
StEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
调拨单ID |
Int32 |
No |
单据编号 |
String |
WhIn |
调入仓库ID |
Int32 |
WhInName |
调入仓库名称 |
String |
WhOut |
调出仓库ID |
Int32 |
WhOutName |
调出仓库名称 |
String |
IsChecked |
是否审核 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedByName |
审核人名称(☆原字段:CheckByName) |
String |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
ModifiedDate |
修改日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
AsId |
账套ID |
Int32 |
StDate |
单据日期 |
DateTime |
StId |
调拨单ID |
Int32 |
StNo |
单据编号 |
String |
Id |
调拨单子表ID(☆原字段:SteId) |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
Note |
备注 |
String |
Image |
商品图片 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:21.6663799+08:00",
"Id": 0,
"No": null,
"WhIn": 0,
"WhInName": null,
"WhOut": 0,
"WhOutName": null,
"IsChecked": 0,
"PrintCount": 0,
"Note": null,
"CheckedBy": 0,
"CheckedByName": null,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedBy": 0,
"CreatedByName": null,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedByName": null,
"ModifiedDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"BillOrigin": 0,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
审核调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/Check
请求头
请求参数
model |
调拨单数据信息 |
StEditModel |
DateFmt |
格式化单据日期 |
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
调拨单ID |
Int32 |
No |
单据编号 |
String |
WhIn |
调入仓库ID |
Int32 |
WhInName |
调入仓库名称 |
String |
WhOut |
调出仓库ID |
Int32 |
WhOutName |
调出仓库名称 |
String |
IsChecked |
是否审核 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedByName |
审核人名称(☆原字段:CheckByName) |
String |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
ModifiedDate |
修改日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
AsId |
账套ID |
Int32 |
StDate |
单据日期 |
DateTime |
StId |
调拨单ID |
Int32 |
StNo |
单据编号 |
String |
Id |
调拨单子表ID(☆原字段:SteId) |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ApId |
商品辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
Note |
备注 |
String |
Image |
商品图片 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
请求示例
{
"DateFmt": "2025-02-19",
"AsId": 0,
"Date": "2025-02-19T18:13:22.0764253+08:00",
"Id": 0,
"No": null,
"WhIn": 0,
"WhInName": null,
"WhOut": 0,
"WhOutName": null,
"IsChecked": 0,
"PrintCount": 0,
"Note": null,
"CheckedBy": 0,
"CheckedByName": null,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedBy": 0,
"CreatedByName": null,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedByName": null,
"ModifiedDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"BillOrigin": 0,
"Items": []
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/Uncheck
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/Delete
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
根据单据日期获取编号
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/GetNoByDate
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一条调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取上一条调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransfer/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
CostadjList
成本调整单列表控制器
成本调整单查询
请求地址
POST $SCMAPI_HOST/jxc_api/CostadjList/Search
请求头
请求参数
condition |
成本调整单查询条件集合 |
CostAdjCondition |
OwhsIds |
成本调整单 id |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
WhId |
查询仓库Id,0或null为全部 |
Int32[] |
ProdIds |
商品id |
Int32[] |
CatId |
商品类别 |
Int32[] |
Ids |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OwhsIds": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"WhId": null,
"ProdIds": null,
"CatId": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
成本调整单ID |
Int32 |
Date |
订单日期 |
String |
No |
单据编号 |
String |
TypeName |
业务类型 |
String |
WhIds |
成本调整仓库集合(前端无用) |
Int32[] |
Amount |
调整金额 |
Decimal |
CreatedByName |
制单人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
CostadjListModel |
Id |
成本调整单ID |
Int32 |
Date |
订单日期 |
String |
No |
单据编号 |
String |
TypeName |
业务类型 |
String |
WhIds |
成本调整仓库集合(前端无用) |
Int32[] |
Amount |
调整金额 |
Decimal |
CreatedByName |
制单人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
成本调整单查询
请求地址
POST $SCMAPI_HOST/jxc_api/CostadjList/SearchDetail
请求头
请求参数
condition |
成本调整单查询条件集合 |
CostAdjCondition |
OwhsIds |
成本调整单 id |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
WhId |
查询仓库Id,0或null为全部 |
Int32[] |
ProdIds |
商品id |
Int32[] |
CatId |
商品类别 |
Int32[] |
Ids |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OwhsIds": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"WhId": null,
"ProdIds": null,
"CatId": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
GoodsNo |
商品编码 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
SumModel |
合计行 |
CostadjDetailModel |
GoodsNo |
商品编码 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
删除成本调整单
请求地址
POST $SCMAPI_HOST/jxc_api/CostadjList/Delete
请求头
请求参数
arrayModel |
成本调整单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出 V1.2.6.0.2
请求地址
POST $SCMAPI_HOST/jxc_api/CostadjList/Export
请求头
请求参数
conditions |
查询信息 |
CostAdjCondition |
OwhsIds |
成本调整单 id |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
WhId |
查询仓库Id,0或null为全部 |
Int32[] |
ProdIds |
商品id |
Int32[] |
CatId |
商品类别 |
Int32[] |
Ids |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OwhsIds": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"WhId": null,
"ProdIds": null,
"CatId": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/CostadjList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/CostadjList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
StockTransferList
调拨单列表控制器
调拨单查询
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/Search
请求头
请求参数
condition |
调拨单查询条件集合 |
StCondition |
StIds |
调拨单id |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
WhOut |
调出仓库id |
Int32[] |
WhIn |
调入仓库id |
Int32[] |
IsChecked |
是否审核:-1代表全部,0代表未审核,1代表已审核 |
Int32[] |
ShowTransferDetail |
是否显示调拨明细 |
Boolean |
ProdIds |
商品id |
Int32[] |
CreatedBy |
创建人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
Ids |
|
Int32[] |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StIds": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"WhOut": null,
"WhIn": null,
"IsChecked": [
-1
],
"ShowTransferDetail": false,
"ProdIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"Ids": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
调拨单ID(☆原字段:StId) |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
Date |
订单日期(☆原字段:StDate) |
String |
No |
单据编号(☆原字段:StNo) |
String |
WhOutName |
调出仓库 |
String |
WhInName |
调入仓库 |
String |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
ProdCount |
商品种类 |
Int32 |
BillOriginDesc |
单据来源描述 |
String |
Details |
调拨明细 |
array[object] |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
规格 |
String |
ApName |
商品辅助属性名称 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitName |
商品单位名称 |
String |
QTY |
系统库存 |
Decimal |
SumModel |
合计行 |
StListModel |
Id |
调拨单ID(☆原字段:StId) |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
Date |
订单日期(☆原字段:StDate) |
String |
No |
单据编号(☆原字段:StNo) |
String |
WhOutName |
调出仓库 |
String |
WhInName |
调入仓库 |
String |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
ProdCount |
商品种类 |
Int32 |
BillOriginDesc |
单据来源描述 |
String |
Details |
调拨明细 |
array[object] |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
规格 |
String |
ApName |
商品辅助属性名称 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitName |
商品单位名称 |
String |
QTY |
系统库存 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
调拨单查询
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/SearchDetail
请求头
请求参数
condition |
调拨单查询条件集合 |
StCondition |
StIds |
调拨单id |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
WhOut |
调出仓库id |
Int32[] |
WhIn |
调入仓库id |
Int32[] |
IsChecked |
是否审核:-1代表全部,0代表未审核,1代表已审核 |
Int32[] |
ShowTransferDetail |
是否显示调拨明细 |
Boolean |
ProdIds |
商品id |
Int32[] |
CreatedBy |
创建人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
Ids |
|
Int32[] |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StIds": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"WhOut": null,
"WhIn": null,
"IsChecked": [
-1
],
"ShowTransferDetail": false,
"ProdIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"Ids": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
WhInName |
入库单名称 |
String |
WhOutName |
出库单名称 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
SumModel |
合计行 |
StDetailModel |
WhInName |
入库单名称 |
String |
WhOutName |
出库单名称 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
删除调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/Delete
请求头
请求参数
arrayModel |
调拨单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
审核调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/CheckList
请求头
请求参数
arrayModel |
调拨单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核调拨单
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/UncheckList
请求头
请求参数
arrayModel |
调拨单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/Export
请求头
请求参数
conditions |
查询信息 |
StCondition |
StIds |
调拨单id |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
WhOut |
调出仓库id |
Int32[] |
WhIn |
调入仓库id |
Int32[] |
IsChecked |
是否审核:-1代表全部,0代表未审核,1代表已审核 |
Int32[] |
ShowTransferDetail |
是否显示调拨明细 |
Boolean |
ProdIds |
商品id |
Int32[] |
CreatedBy |
创建人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
Ids |
|
Int32[] |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StIds": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"WhOut": null,
"WhIn": null,
"IsChecked": [
-1
],
"ShowTransferDetail": false,
"ProdIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"Ids": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
获取要打印的调拨单据信息列表
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
获取要打印的调拨单据信息列表
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/DownErrorData
请求头
请求参数
model |
错误数据guid |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入Excel
请求地址
POST $SCMAPI_HOST/jxc_api/StockTransferList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
OthersWarehousingOutList
其它出库单列表控制器
其它出库单查询
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/Search
请求头
请求参数
condition |
其它出库单查询条件集合 |
DooCondition |
OdIds |
其他出库单 id |
Int32[] |
BType |
出库业务类型(0代表全部) |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
Start |
|
DateTime |
End |
|
DateTime |
IsChecked |
是否审核 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
WhIds |
|
Int32[] |
CustIds |
客户id |
Int32[] |
CreatedBy |
制单人id |
Int32[] |
CheckedBy |
审核人id |
Int32[] |
ProdIds |
商品id |
Int32[] |
Ids |
主表单Ids |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OdIds": null,
"BType": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"IsChecked": null,
"AccountingItemId": null,
"DepartmentId": null,
"WhIds": null,
"CustIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ProdIds": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
出库单ID(☆原字段:DoId) |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
Date |
订单日期(☆原字段:DoDate) |
String |
No |
单据编号(☆原字段:DoNo) |
String |
BTypeName |
业务类型(☆原字段:BtypeName) |
String |
QTY |
|
Decimal |
Amount |
金额 |
Decimal |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
CustId |
客户id |
Int32 |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算项目ID |
Int32 |
DepartmentName |
辅助核算项目名称 |
String |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
DooListModel |
Id |
出库单ID(☆原字段:DoId) |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
Date |
订单日期(☆原字段:DoDate) |
String |
No |
单据编号(☆原字段:DoNo) |
String |
BTypeName |
业务类型(☆原字段:BtypeName) |
String |
QTY |
|
Decimal |
Amount |
金额 |
Decimal |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
CustId |
客户id |
Int32 |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算项目ID |
Int32 |
DepartmentName |
辅助核算项目名称 |
String |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
其它出库单明细查询
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/SearchDetail
请求头
请求参数
condition |
其它出库单查询条件集合 |
DooCondition |
OdIds |
其他出库单 id |
Int32[] |
BType |
出库业务类型(0代表全部) |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
Start |
|
DateTime |
End |
|
DateTime |
IsChecked |
是否审核 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
WhIds |
|
Int32[] |
CustIds |
客户id |
Int32[] |
CreatedBy |
制单人id |
Int32[] |
CheckedBy |
审核人id |
Int32[] |
ProdIds |
商品id |
Int32[] |
Ids |
主表单Ids |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OdIds": null,
"BType": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"IsChecked": null,
"AccountingItemId": null,
"DepartmentId": null,
"WhIds": null,
"CustIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ProdIds": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
CustId |
客户ID |
Int32 |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
SumModel |
合计行 |
DooDetailModel |
CustId |
客户ID |
Int32 |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
删除其它出库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/Delete
请求头
请求参数
arrayModel |
其它出库单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
审核其它出库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/CheckList
请求头
请求参数
arrayModel |
其它出库单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核其它出库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/UncheckList
请求头
请求参数
arrayModel |
其它出库单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/Export
请求头
请求参数
conditions |
查询信息 |
DooCondition |
OdIds |
其他出库单 id |
Int32[] |
BType |
出库业务类型(0代表全部) |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
Start |
|
DateTime |
End |
|
DateTime |
IsChecked |
是否审核 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
WhIds |
|
Int32[] |
CustIds |
客户id |
Int32[] |
CreatedBy |
制单人id |
Int32[] |
CheckedBy |
审核人id |
Int32[] |
ProdIds |
商品id |
Int32[] |
Ids |
主表单Ids |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OdIds": null,
"BType": null,
"SearchText": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"IsChecked": null,
"AccountingItemId": null,
"DepartmentId": null,
"WhIds": null,
"CustIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ProdIds": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
获取要打印的其他出库单信息列表
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/Print
请求头
请求参数
guid |
guid |
String |
isPre |
|
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
获取要打印的其他出库单信息列表
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/SeniorPrint
请求头
请求参数
guid |
guid |
String |
isPre |
|
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/DownErrorData
请求头
请求参数
model |
错误数据guid |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入数据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOutList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
OthersWarehousingList
其它入库单列表控制器
其它入库单查询
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/Search
请求头
请求参数
condition |
其它入库单查询条件集合 |
WhsoCondition |
BType |
入库业务类型(0代表全部) |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
是否审核 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
WhIds |
|
Int32[] |
VendorIds |
供应商id |
Int32[] |
CustIds |
客户id |
Int32[] |
CreatedBy |
制单人id |
Int32[] |
CheckedBy |
审核人id |
Int32[] |
ProdIds |
商品id |
Int32[] |
OwhsIds |
|
Int32[] |
Ids |
主表单Ids |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BType": null,
"SearchText": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": null,
"AccountingItemId": null,
"DepartmentId": null,
"WhIds": null,
"VendorIds": null,
"CustIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ProdIds": null,
"OwhsIds": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
入库单ID(☆原字段:WhsId) |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
Date |
订单日期(☆原字段:WhsDate) |
String |
No |
单据编号(☆原字段:WhsNo) |
String |
BTypeName |
业务类型(☆原字段:BtypeName) |
String |
QTY |
数量 |
Decimal |
Amount |
金额 |
Decimal |
VendName |
供货商 |
String |
VendNo |
供货商 |
String |
CustName |
客户 |
String |
CustNo |
客户 |
String |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
WhsoListModel |
Id |
入库单ID(☆原字段:WhsId) |
Int32 |
CheckedStatus |
单据状态(☆原字段:BillStatus) |
String |
Date |
订单日期(☆原字段:WhsDate) |
String |
No |
单据编号(☆原字段:WhsNo) |
String |
BTypeName |
业务类型(☆原字段:BtypeName) |
String |
QTY |
数量 |
Decimal |
Amount |
金额 |
Decimal |
VendName |
供货商 |
String |
VendNo |
供货商 |
String |
CustName |
客户 |
String |
CustNo |
客户 |
String |
CreatedByName |
制单人 |
String |
CheckedByName |
审核人 |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
其它入库单明细查询查询
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/SearchDetail
请求头
请求参数
condition |
其它入库单查询条件集合 |
WhsoCondition |
BType |
入库业务类型(0代表全部) |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
是否审核 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
WhIds |
|
Int32[] |
VendorIds |
供应商id |
Int32[] |
CustIds |
客户id |
Int32[] |
CreatedBy |
制单人id |
Int32[] |
CheckedBy |
审核人id |
Int32[] |
ProdIds |
商品id |
Int32[] |
OwhsIds |
|
Int32[] |
Ids |
主表单Ids |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BType": null,
"SearchText": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": null,
"AccountingItemId": null,
"DepartmentId": null,
"WhIds": null,
"VendorIds": null,
"CustIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ProdIds": null,
"OwhsIds": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
VendId |
供货商ID |
Int32 |
VendName |
供应商 |
String |
VendNo |
|
String |
CustId |
客户ID |
Int32 |
CustName |
客户 |
String |
CustNo |
|
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
SumModel |
合计行 |
WhsoDetailModel |
VendId |
供货商ID |
Int32 |
VendName |
供应商 |
String |
VendNo |
|
String |
CustId |
客户ID |
Int32 |
CustName |
客户 |
String |
CustNo |
|
String |
Id |
入库单,出库单ID |
Int32 |
EId |
子单ID |
Int32 |
BType |
单据类别 |
Int32 |
IsChecked |
是否审核 |
Int32 |
CheckedStatus |
审核状态(前台展示) |
String |
Date |
单据日期 |
DateTime |
DateFormat |
单据日期格式化 |
String |
No |
单据编码 |
String |
BTypeName |
业务类型 |
String |
Amount |
入库,出库金额 |
Decimal |
CreatedBy |
创建人ID |
Int32 |
CreatedDate |
创建时间 |
DateTime |
CreatedByName |
创建人 |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CheckedByName |
审核人 |
String |
Note |
单据备注 |
String |
ProdId |
商品Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
SPEC |
商品规格 |
String |
ApId |
商品属性 |
Int32 |
ApName |
商品属性名称 |
String |
CatId |
商品类别 |
Int32 |
CatName |
商品类别名称 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
UnitID |
商品单位ID |
Int32 |
UnitName |
商品单位名称 |
String |
WhID |
商品仓库ID |
Int32 |
MainWhID |
商品 |
Int32 |
WhIDs |
商品仓库ID |
Int32[] |
WhName |
商品仓库名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
WholeLooseQty |
|
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
QTY |
商品数量,和不显示详情时数量字段保持一致 |
Decimal |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
GoodsPrice |
购货单价 |
Decimal |
GoodsAmount |
购货金额 |
Decimal |
GoodsNOTE |
商品备注 |
String |
AccountingItemId |
项目ID |
Int32 |
AccountingItemName |
项目名称 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentName |
部门名称 |
String |
PrintCount |
打印次数 |
String |
MainImage |
图片 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SerialNoItems |
序列号明细 |
array[object] |
AsId |
账套ID |
Int32 |
FlowId |
记录ID |
String |
BillDirection |
出入库方向,1001:入库,1002:出库 |
Int32 |
BillDate |
单据时间 |
DateTime |
BillType |
单据类型 |
BillType |
BillId |
单据ID |
Int32 |
EntryId |
单据子条目ID |
Int32 |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
IsChecked |
是否审核 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
LastBillDirection |
最后一次出入库方向,1001:入库,1002:出库 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
删除其它入库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/Delete
请求头
请求参数
arrayModel |
其它入库单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
审核其它入库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/CheckList
请求头
请求参数
arrayModel |
其它入库单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核其它入库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/UncheckList
请求头
请求参数
arrayModel |
其它入库单id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/Export
请求头
请求参数
conditions |
查询信息 |
WhsoCondition |
BType |
入库业务类型(0代表全部) |
Int32[] |
SearchText |
查询关键字 |
String |
StartDate |
查询开始日期 |
DateTime |
EndDate |
查询结束日期 |
DateTime |
IsChecked |
是否审核 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
WhIds |
|
Int32[] |
VendorIds |
供应商id |
Int32[] |
CustIds |
客户id |
Int32[] |
CreatedBy |
制单人id |
Int32[] |
CheckedBy |
审核人id |
Int32[] |
ProdIds |
商品id |
Int32[] |
OwhsIds |
|
Int32[] |
Ids |
主表单Ids |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BType": null,
"SearchText": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"IsChecked": null,
"AccountingItemId": null,
"DepartmentId": null,
"WhIds": null,
"VendorIds": null,
"CustIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ProdIds": null,
"OwhsIds": null,
"Ids": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
获取要打印的销售单据信息列表
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
获取要打印的销售单据信息列表
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/DownErrorData
请求头
请求参数
model |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入Excel
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
OthersWarehousingOut
其它出库单控制器
根据其它出库单id/盘点单-id获取其它出库单数据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/GetDataById
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
DooEditModel |
DateFmt |
格式化单据日期 |
String |
CustName |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
单据类别 |
Int32 |
CustId |
客户ID |
Int32 |
Id |
出库单ID |
Int32 |
No |
单据编号 |
String |
Amount |
出库金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额 |
Int32 |
OfStatus |
核销状态 |
Int32 |
ScId |
盘点ID |
Int32 |
IsChecked |
是否审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算 ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类别 |
Int64 |
CustId |
客户ID |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
DoId |
出库单ID |
Int32 |
DoNo |
出库单编号 |
String |
Id |
出库单子表ID(☆原字段:DoeId) |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
出库单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
RelatedBills |
其他出库单关联的采购入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
采购入库单生成其他出库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/InitDataFromWhs
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
DooEditModel |
DateFmt |
格式化单据日期 |
String |
CustName |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
单据类别 |
Int32 |
CustId |
客户ID |
Int32 |
Id |
出库单ID |
Int32 |
No |
单据编号 |
String |
Amount |
出库金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额 |
Int32 |
OfStatus |
核销状态 |
Int32 |
ScId |
盘点ID |
Int32 |
IsChecked |
是否审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算 ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类别 |
Int64 |
CustId |
客户ID |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
DoId |
出库单ID |
Int32 |
DoNo |
出库单编号 |
String |
Id |
出库单子表ID(☆原字段:DoeId) |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
出库单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
RelatedBills |
其他出库单关联的采购入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
保存其它出库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/Save
请求头
请求参数
model |
其它入库单数据信息 |
DooEditModel |
DateFmt |
格式化单据日期 |
String |
CustName |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
单据类别 |
Int32 |
CustId |
客户ID |
Int32 |
Id |
出库单ID |
Int32 |
No |
单据编号 |
String |
Amount |
出库金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额 |
Int32 |
OfStatus |
核销状态 |
Int32 |
ScId |
盘点ID |
Int32 |
IsChecked |
是否审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算 ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类别 |
Int64 |
CustId |
客户ID |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
DoId |
出库单ID |
Int32 |
DoNo |
出库单编号 |
String |
Id |
出库单子表ID(☆原字段:DoeId) |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
出库单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
RelatedBills |
其他出库单关联的采购入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"DateFmt": "2025-02-19",
"CustName": null,
"AsId": 0,
"Date": "2025-02-19T18:13:30.593824+08:00",
"BType": 0,
"CustId": 0,
"Id": 0,
"No": null,
"Amount": 0.0,
"PrintCount": 0,
"Note": null,
"OfAmount": 0,
"OfStatus": 0,
"ScId": 0,
"IsChecked": 0,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedByName": null,
"CreatedByName": null,
"ModifiedByName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": [],
"RelatedBills": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取其他出库单业务类型选项列表
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/GetBTypeList
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
|
Int32 |
No |
|
String |
Name |
名称 |
String |
CategoryID |
仓库类别id |
Int32 |
返回示例
""
审核其它出库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/Check
请求头
请求参数
model |
其它出库单数据信息 |
DooEditModel |
DateFmt |
格式化单据日期 |
String |
CustName |
|
String |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
单据类别 |
Int32 |
CustId |
客户ID |
Int32 |
Id |
出库单ID |
Int32 |
No |
单据编号 |
String |
Amount |
出库金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额 |
Int32 |
OfStatus |
核销状态 |
Int32 |
ScId |
盘点ID |
Int32 |
IsChecked |
是否审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算 ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
DateTime |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedByName |
审核人名称(☆原字段:CheckedName) |
String |
CreatedByName |
创建人名称(☆原字段:CreatedName) |
String |
ModifiedByName |
修改人名称(☆原字段:ModifiedName) |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目 |
array[object] |
ProdNo |
|
String |
ProdName |
|
String |
UseAp |
|
Boolean |
UseMultiUnits |
|
Boolean |
ApName |
|
String |
WhName |
|
String |
UnitName |
|
String |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类别 |
Int64 |
CustId |
客户ID |
Int32 |
WhId |
仓库ID |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
DoId |
出库单ID |
Int32 |
DoNo |
出库单编号 |
String |
Id |
出库单子表ID(☆原字段:DoeId) |
Int32 |
ApId |
商品辅助属性ID |
Int32 |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格 |
String |
UnitId |
商品单位ID |
Int32 |
Rate |
比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
出库单位成本 |
Decimal |
Cost |
出库成本 |
Decimal |
Note |
备注 |
String |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
RelatedBills |
其他出库单关联的采购入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"DateFmt": "2025-02-19",
"CustName": null,
"AsId": 0,
"Date": "2025-02-19T18:13:31.452804+08:00",
"BType": 0,
"CustId": 0,
"Id": 0,
"No": null,
"Amount": 0.0,
"PrintCount": 0,
"Note": null,
"OfAmount": 0,
"OfStatus": 0,
"ScId": 0,
"IsChecked": 0,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedByName": null,
"CreatedByName": null,
"ModifiedByName": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": [],
"RelatedBills": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反审核其它出库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/Uncheck
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除其它出库单
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/Delete
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
根据单据日期获取编号
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/GetNoByDate
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取上一条单据
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/OthersWarehousingOut/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
CodeRule
编码规则
获取单据编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/Index
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取指定单据编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/Get
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
添加单据编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/AddCodeRule
请求头
请求参数
codeRuleInfo |
|
CodeRuleInfo |
Id |
规则ID |
String |
AsId |
规则ID |
Int32 |
Name |
规则ID |
String |
BillType |
规则类型 |
BillType |
Prefix |
编码前缀 |
String |
DateRule |
编码中缀 |
String |
Digits |
编码位数 |
Int32 |
StartValue |
起始编号 |
Int64 |
IsEnable |
是否开启 |
Boolean |
RefreshType |
清零模式 |
RefreshTypeEnum |
Dynamic_Encode |
动态编码 |
Boolean |
Multiplex_Encode |
编码复用 |
Boolean |
Modifiable_Encode |
编码修改开关 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
创建时间 |
DateTime |
请求示例
{
"Id": null,
"AsId": 0,
"Name": null,
"BillType": 0,
"Prefix": null,
"DateRule": null,
"Digits": 0,
"StartValue": 0,
"IsEnable": false,
"RefreshType": 0,
"Dynamic_Encode": false,
"Multiplex_Encode": false,
"Modifiable_Encode": false,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
编辑单据编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/EditCodeRule
请求头
请求参数
codeRuleInfo |
|
CodeRuleInfo |
Id |
规则ID |
String |
AsId |
规则ID |
Int32 |
Name |
规则ID |
String |
BillType |
规则类型 |
BillType |
Prefix |
编码前缀 |
String |
DateRule |
编码中缀 |
String |
Digits |
编码位数 |
Int32 |
StartValue |
起始编号 |
Int64 |
IsEnable |
是否开启 |
Boolean |
RefreshType |
清零模式 |
RefreshTypeEnum |
Dynamic_Encode |
动态编码 |
Boolean |
Multiplex_Encode |
编码复用 |
Boolean |
Modifiable_Encode |
编码修改开关 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
创建时间 |
DateTime |
请求示例
{
"Id": null,
"AsId": 0,
"Name": null,
"BillType": 0,
"Prefix": null,
"DateRule": null,
"Digits": 0,
"StartValue": 0,
"IsEnable": false,
"RefreshType": 0,
"Dynamic_Encode": false,
"Multiplex_Encode": false,
"Modifiable_Encode": false,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
启用停用
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/EditStatus
请求头
请求参数
codeRuleInfos |
|
CodeRuleInfo |
Id |
规则ID |
String |
AsId |
规则ID |
Int32 |
Name |
规则ID |
String |
BillType |
规则类型 |
BillType |
Prefix |
编码前缀 |
String |
DateRule |
编码中缀 |
String |
Digits |
编码位数 |
Int32 |
StartValue |
起始编号 |
Int64 |
IsEnable |
是否开启 |
Boolean |
RefreshType |
清零模式 |
RefreshTypeEnum |
Dynamic_Encode |
动态编码 |
Boolean |
Multiplex_Encode |
编码复用 |
Boolean |
Modifiable_Encode |
编码修改开关 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
创建时间 |
DateTime |
请求示例
{
"Id": null,
"AsId": 0,
"Name": null,
"BillType": 0,
"Prefix": null,
"DateRule": null,
"Digits": 0,
"StartValue": 0,
"IsEnable": false,
"RefreshType": 0,
"Dynamic_Encode": false,
"Multiplex_Encode": false,
"Modifiable_Encode": false,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除单据编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/DelCodeRule
请求头
请求参数
codeRuleInfos |
|
array[object] |
Id |
规则ID |
String |
AsId |
规则ID |
Int32 |
Name |
规则ID |
String |
BillType |
规则类型 |
BillType |
Prefix |
编码前缀 |
String |
DateRule |
编码中缀 |
String |
Digits |
编码位数 |
Int32 |
StartValue |
起始编号 |
Int64 |
IsEnable |
是否开启 |
Boolean |
RefreshType |
清零模式 |
RefreshTypeEnum |
Dynamic_Encode |
动态编码 |
Boolean |
Multiplex_Encode |
编码复用 |
Boolean |
Modifiable_Encode |
编码修改开关 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
创建时间 |
DateTime |
请求示例
[
{
"Id": null,
"AsId": 0,
"Name": null,
"BillType": 0,
"Prefix": null,
"DateRule": null,
"Digits": 0,
"StartValue": 0,
"IsEnable": false,
"RefreshType": 0,
"Dynamic_Encode": false,
"Multiplex_Encode": false,
"Modifiable_Encode": false,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00"
}
]
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
判断能否编辑编码
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/CheckModifiableEncode
请求头
请求参数
请求示例
0
返回值
返回示例
""
判断是否编码日期变化时重新编码
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/CheckRecodeByCodeDate
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取基础资料编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/SearchEntityRules
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
记录ID |
Int32 |
TypeName |
基础资料类型 |
String |
Name |
名称 |
String |
Description |
编码规则 |
String |
Digits |
流水号位数 |
Int32 |
IsEnabled |
当前规则是否是活跃状态 |
Int32 |
Note |
备注 |
String |
CreatedDate |
创建时间 |
String |
IsEnable |
是否可用(为了兼容单据自定义编码而加的属性) |
Boolean |
返回示例
""
获取ID查询基础资料编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/GetEntityRule
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
EntityRuleEditModel |
Id |
记录ID |
Int32 |
Name |
名称 |
String |
EType |
基础资料类型 |
SettingType |
Prefix |
前缀 |
String |
CategoryPart |
类别部分 |
EntityCodeCategoryPartEnum |
Digits |
流水号位数 |
Int32 |
StartValue |
流水号起始值 |
Int64 |
IsPrefixAvailable |
编码是否可用 |
Boolean |
IsCategoryPartAvailable |
类别部分是否可用 |
Boolean |
IsSerialAvailable |
流水号是否可用 |
Boolean |
FillLacking |
是否自动填充流水号断号 |
Boolean |
IsOptional |
编码是否是可选的(可选的编码,用户可以在页面上修改) |
Boolean |
IsEnabled |
是否可用 |
Boolean |
Note |
备注 |
String |
BillType |
基础资料类型(为了兼容单据自定义编码而加的属性) |
Int32 |
Multiplex_Encode |
是否自动填充流水号断号(为了兼容单据自定义编码而加的属性) |
Boolean |
Modifiable_Encode |
生成编码是否是可选的(可选的编码,用户可以在页面上修改)(为了兼容单据自定义编码而加的属性) |
Boolean |
IsEnable |
是否可用(为了兼容单据自定义编码而加的属性) |
Boolean |
返回示例
""
当前编码是否可以更换
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/IsEntityNoChangeable
请求头
请求参数
请求示例
0
返回值
返回示例
""
编码规则是否绑定了业务类型
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/IsBindCategoryPart
请求头
请求参数
请求示例
0
返回值
返回示例
""
添加基础资料编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/AddEntityRule
请求头
请求参数
model |
|
EntityRuleEditModel |
Id |
记录ID |
Int32 |
Name |
名称 |
String |
EType |
基础资料类型 |
SettingType |
Prefix |
前缀 |
String |
CategoryPart |
类别部分 |
EntityCodeCategoryPartEnum |
Digits |
流水号位数 |
Int32 |
StartValue |
流水号起始值 |
Int64 |
IsPrefixAvailable |
编码是否可用 |
Boolean |
IsCategoryPartAvailable |
类别部分是否可用 |
Boolean |
IsSerialAvailable |
流水号是否可用 |
Boolean |
FillLacking |
是否自动填充流水号断号 |
Boolean |
IsOptional |
编码是否是可选的(可选的编码,用户可以在页面上修改) |
Boolean |
IsEnabled |
是否可用 |
Boolean |
Note |
备注 |
String |
BillType |
基础资料类型(为了兼容单据自定义编码而加的属性) |
Int32 |
Multiplex_Encode |
是否自动填充流水号断号(为了兼容单据自定义编码而加的属性) |
Boolean |
Modifiable_Encode |
生成编码是否是可选的(可选的编码,用户可以在页面上修改)(为了兼容单据自定义编码而加的属性) |
Boolean |
IsEnable |
是否可用(为了兼容单据自定义编码而加的属性) |
Boolean |
请求示例
{
"Id": 0,
"Name": null,
"EType": 0,
"Prefix": null,
"CategoryPart": 0,
"Digits": 0,
"StartValue": 0,
"IsPrefixAvailable": false,
"IsCategoryPartAvailable": false,
"IsSerialAvailable": true,
"FillLacking": false,
"IsOptional": false,
"IsEnabled": false,
"Note": null,
"BillType": 0,
"Multiplex_Encode": false,
"Modifiable_Encode": false,
"IsEnable": false
}
返回值
返回示例
""
编辑基础资料编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/EditEntityRule
请求头
请求参数
model |
|
EntityRuleEditModel |
Id |
记录ID |
Int32 |
Name |
名称 |
String |
EType |
基础资料类型 |
SettingType |
Prefix |
前缀 |
String |
CategoryPart |
类别部分 |
EntityCodeCategoryPartEnum |
Digits |
流水号位数 |
Int32 |
StartValue |
流水号起始值 |
Int64 |
IsPrefixAvailable |
编码是否可用 |
Boolean |
IsCategoryPartAvailable |
类别部分是否可用 |
Boolean |
IsSerialAvailable |
流水号是否可用 |
Boolean |
FillLacking |
是否自动填充流水号断号 |
Boolean |
IsOptional |
编码是否是可选的(可选的编码,用户可以在页面上修改) |
Boolean |
IsEnabled |
是否可用 |
Boolean |
Note |
备注 |
String |
BillType |
基础资料类型(为了兼容单据自定义编码而加的属性) |
Int32 |
Multiplex_Encode |
是否自动填充流水号断号(为了兼容单据自定义编码而加的属性) |
Boolean |
Modifiable_Encode |
生成编码是否是可选的(可选的编码,用户可以在页面上修改)(为了兼容单据自定义编码而加的属性) |
Boolean |
IsEnable |
是否可用(为了兼容单据自定义编码而加的属性) |
Boolean |
请求示例
{
"Id": 0,
"Name": null,
"EType": 0,
"Prefix": null,
"CategoryPart": 0,
"Digits": 0,
"StartValue": 0,
"IsPrefixAvailable": false,
"IsCategoryPartAvailable": false,
"IsSerialAvailable": true,
"FillLacking": false,
"IsOptional": false,
"IsEnabled": false,
"Note": null,
"BillType": 0,
"Multiplex_Encode": false,
"Modifiable_Encode": false,
"IsEnable": false
}
返回值
返回示例
""
删除基础资料编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/DeleteEntityRole
请求头
请求参数
para |
|
DeleteEntityRolePara |
Ids |
规则ID |
Int32[] |
请求示例
{
"Ids": null
}
返回值
返回示例
""
启用基础资料编码规则
请求地址
POST $SCMAPI_HOST/jxc_api/CodeRule/EnableEntityRule
请求头
请求参数
para |
|
EnableEntityRulePara |
Id |
基础资料规则ID |
Int32 |
请求示例
{
"Id": 0
}
返回值
返回示例
""
FileDownloadCenter
文件下载中心
检索
请求地址
POST $SCMAPI_HOST/jxc_api/FileDownloadCenter/Search
请求头
请求参数
conditions |
检索条件 |
FileDownloadCenterSearchCondition |
AsId |
账套编号 |
Int32 |
UserSn |
用户编号 |
Int32 |
DateStart |
开始日期 |
Nullable`1 |
DateEnd |
结束日期 |
Nullable`1 |
Module |
模块 一级菜单参考 PermissionModule来扩展 |
Int32[] |
SourceType |
来源类型 1excel 2 pdf |
Int32 |
CreateBy |
导出人 |
Int32[] |
KeyWord |
关键字 |
String |
PageIndex |
页码 |
Int32 |
PageSize |
分页大小 |
Int32 |
IsAdmin |
是否是管理员 |
Boolean |
IsVisit |
是否访问页面 用于激活文件下载中心tab时记录日志 |
Boolean |
AppAsId |
|
String |
请求示例
{
"AsId": 0,
"UserSn": 0,
"DateStart": null,
"DateEnd": null,
"Module": null,
"SourceType": 0,
"CreateBy": null,
"KeyWord": null,
"PageIndex": 1,
"PageSize": 20,
"IsAdmin": false,
"IsVisit": false,
"AppAsId": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出(目前只有非记账部分的打印会使用)
请求地址
POST $SCMAPI_HOST/jxc_api/FileDownloadCenter/Export
请求头
请求参数
ids |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
删除
请求地址
POST $SCMAPI_HOST/jxc_api/FileDownloadCenter/DeleteFile
请求头
请求参数
condition |
|
FileOperationCondition |
AppAsId |
|
String |
请求示例
{
"FileList": [],
"AppAsId": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
添加日志
请求地址
POST $SCMAPI_HOST/jxc_api/FileDownloadCenter/AddLog
请求头
请求参数
dto |
|
AddLogRequestDTO |
Id |
|
Int32 |
Type |
|
Int32 |
FileName |
|
String |
IsFromAcc |
|
Boolean |
请求示例
{
"Id": 0,
"Type": 0,
"FileName": null,
"IsFromAcc": false
}
返回值
返回示例
""
PageColumnSet
列设置信息操作
添加或修改页面列设置
请求地址
POST $SCMAPI_HOST/jxc_api/PageColumnSet/Save
请求头
请求参数
model |
具体信息 |
PCSModel |
pageId |
页面ID |
String |
set |
设置详情 |
String |
请求示例
{
"pageId": null,
"set": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
批量添加或修改统一列设置
请求地址
POST $SCMAPI_HOST/jxc_api/PageColumnSet/SaveList
请求头
请求参数
models |
|
array[object] |
pageId |
页面ID |
String |
set |
设置详情 |
String |
请求示例
[
{
"pageId": null,
"set": null
}
]
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
查询统一列设置
请求地址
POST $SCMAPI_HOST/jxc_api/PageColumnSet/SearchList
请求头
请求参数
pageIds |
|
array[object] |
Chars |
|
Char |
Length |
|
Int32 |
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
清除页面列设置
请求地址
POST $SCMAPI_HOST/jxc_api/PageColumnSet/Delete
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
同步列设置
请求地址
POST $SCMAPI_HOST/jxc_api/PageColumnSet/SyncAllUserColSet
请求头
请求参数
model |
|
PCSModel |
pageId |
页面ID |
String |
set |
设置详情 |
String |
请求示例
{
"pageId": null,
"set": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
判断是否启用列设置
请求地址
POST $SCMAPI_HOST/jxc_api/PageColumnSet/UseColSet
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
保存列设置开关
请求地址
POST $SCMAPI_HOST/jxc_api/PageColumnSet/SetPageColumnSetSettings
请求头
请求参数
enablePageColumnSet |
|
Boolean |
请求示例
false
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Vesion
版本信息
获取当前版本信息
请求地址
POST $SCMAPI_HOST/jxc_api/Vesion/GetCurrentVersion
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
添加访问日志
请求地址
POST $SCMAPI_HOST/jxc_api/Vesion/AddVisitLog
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Backup
备份、恢复
获取备份信息列表
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/Index
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取备份信息列表-Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/IndexErp
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取备份信息列表-Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/LoadStatus
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
备份是否完成,true:完成,false:未完成
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/IsBackupDone
请求头
请求示例
返回值
返回示例
""
获取容量-Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/GetDiskState
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除备份数据
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/Delete
请求头
请求参数
name |
备份名称 |
String |
id |
|
String |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
上传备份文件
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/Upload
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
上传备份文件--Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/UploadErp
请求头
请求参数
uploadCB |
|
UploadCB |
OSSPath |
|
String |
UploadPath |
|
String |
FileName |
|
String |
Filesize |
|
Int64 |
Status |
|
Int32 |
请求示例
{
"OSSPath": null,
"UploadPath": null,
"FileName": null,
"Filesize": 0,
"Status": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
上传备份文件回调--Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/UploadCallBack
请求头
请求参数
uploadCB |
|
UploadCB |
OSSPath |
|
String |
UploadPath |
|
String |
FileName |
|
String |
Filesize |
|
Int64 |
Status |
|
Int32 |
请求示例
{
"OSSPath": null,
"UploadPath": null,
"FileName": null,
"Filesize": 0,
"Status": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
校验是否含有72h临时包
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/HasTemporaryPac
请求头
请求示例
返回值
返回示例
""
批量删除备份包--Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/DelBCP
请求头
请求参数
delBPModel |
|
array[object] |
id |
|
String |
name |
|
String |
请求示例
[
{
"id": null,
"name": null
}
]
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
下载备份文件
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/Download
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载备份文件-Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/DownloadErp
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
备份数据
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/DoBackup
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
备份数据--Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/DoBackupErp
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
恢复数据
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/Recovery
请求头
请求参数
para |
备份名称 |
AsBackupModel |
ServiceId |
服务ID |
Int32 |
FileName |
进销存备份文件的名称 |
String |
AsId |
当前进销存账套ID(在不能解析当前账套ID时使用,比如演示账套ID) |
Int32 |
AccFileName |
记账备份文件的名称 |
String |
AccAsId |
当前进销存关联的记账账套ID |
Int32 |
EmployeeIds |
演示账套初始的用户 |
String |
CreateNewAs |
是否恢复创建新账套 |
Boolean |
BackUpPacId |
备份包id |
String |
请求示例
{
"ServiceId": 0,
"FileName": null,
"AsId": 0,
"AccFileName": null,
"AccAsId": 0,
"EmployeeIds": null,
"CreateNewAs": false,
"BackUpPacId": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
恢复数据--Erp
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/RecoveryErp
请求头
请求参数
para |
备份名称 |
AsErpBackupModel |
ClientId |
|
String |
Mobile |
|
String |
VerifyCode |
|
String |
TimeStamp |
|
DateTime |
Stamp |
|
String |
ServiceId |
服务ID |
Int32 |
FileName |
进销存备份文件的名称 |
String |
AsId |
当前进销存账套ID(在不能解析当前账套ID时使用,比如演示账套ID) |
Int32 |
AccFileName |
记账备份文件的名称 |
String |
AccAsId |
当前进销存关联的记账账套ID |
Int32 |
EmployeeIds |
演示账套初始的用户 |
String |
CreateNewAs |
是否恢复创建新账套 |
Boolean |
BackUpPacId |
备份包id |
String |
请求示例
{
"ServiceId": 0,
"FileName": null,
"AsId": 0,
"AccFileName": null,
"AccAsId": 0,
"EmployeeIds": null,
"CreateNewAs": false,
"BackUpPacId": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
启用或关闭自动备份
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/EnableAutoBackup
请求头
请求参数
请求示例
false
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
发送邮箱验证码
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/SendVCode
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
保存设置信息
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/UpdateBackupSet
请求头
请求参数
info |
自动备份设置信息 |
BackupSetInfo |
AsId |
账套ID |
Int32 |
UserSn |
用户编号 |
Int32 |
Open |
是否启用 |
Decimal |
Month |
执行备份日 |
Decimal |
Email |
接收备份包的邮箱 |
String |
vCode |
验证码 |
String |
请求示例
{
"AsId": 0,
"UserSn": 0,
"Open": 0.0,
"Month": 0.0,
"Email": null,
"vCode": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取自动备份设置信息
请求地址
POST $SCMAPI_HOST/jxc_api/Backup/GetSet
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Checkout
结账/反结账 系统参数
初始化结账/反结账页面信息
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/InitCheckOutData
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
初始化结账/反结账页面信息
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/InitCheckOutDataErp
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
结账
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/CheckOut
请求头
请求参数
请求示例
"0001-01-01T00:00:00"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
检查是否存在未审核单据
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/HasUncheckedBill
请求头
请求参数
请求示例
"0001-01-01T00:00:00"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
检查是否存在未审核单据
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/VerifyUCBill
请求头
请求参数
请求示例
"0001-01-01T00:00:00"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反结账
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/UnCheckOut
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Erp-检查是否存在未审核单据
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/VerifyUCBillErp
请求头
请求参数
请求示例
"0001-01-01T00:00:00"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Erp-检查是否存在负库存商品
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/VerifyUCBalanceErp
请求头
请求参数
请求示例
"0001-01-01T00:00:00"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Erp结账
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/CheckOutErp
请求头
请求参数
请求示例
"0001-01-01T00:00:00"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
反结账
请求地址
POST $SCMAPI_HOST/jxc_api/Checkout/UnCheckOutErp
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Common
通用接口
获取单据编号
请求地址
POST $SCMAPI_HOST/jxc_api/Common/GetBillNo
请求头
请求参数
billDate |
单据日期 |
DateTime |
billType |
单据类型 |
CommonBillType |
请求示例
"0001-01-01T00:00:00"
返回值
返回示例
""
获取下一个编码:商品编码、客户编码、供应商编码、员工编码、仓库编码、账户编码
请求地址
POST $SCMAPI_HOST/jxc_api/Common/GetNextNo
请求头
请求参数
type |
编码类型 |
CommonBaseDataType |
categoryId |
|
Int32 |
请求示例
0
返回值
返回示例
""
获取最近使用的5个商品、客户、供应商、员工、仓库、账户
请求地址
POST $SCMAPI_HOST/jxc_api/Common/GetRecentlyData
请求头
请求参数
type |
类型 |
CommonBaseDataType |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
Id |
Int32 |
ParentId |
父级Id |
Int32 |
No |
编码 |
String |
Name |
名称 |
String |
OtherName |
别名 |
String |
Status |
状态 |
Boolean |
_status |
|
Int32 |
TaxRate |
|
Decimal |
返回示例
""
获取所有的账套、废弃
请求地址
POST $SCMAPI_HOST/jxc_api/Common/GetAccountSets
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
账套Id |
Int32 |
Name |
账套名称 |
String |
AsStartDate |
账套启用日期 |
String |
RemainingDays |
账套剩余时间 |
Int32 |
IsTrial |
账套是否试用期,true:是试用期 |
Boolean |
ExpiredTime |
账套过期时间 |
String |
IsExpired |
账套是否过期 |
Boolean |
UsedBy |
账套的超级管理员/创建者 |
Int32 |
UsedByMobile |
账套管理员手机号 |
String |
PerActionList |
页面操作权限类别 |
array[object] |
Permission |
用户权限 |
RolePermissionSetInfo |
IsAdmin |
是否是管理员 |
Boolean |
IsSuperAdmin |
是否是超级管理员 |
Boolean |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
ModuleSetList |
模块权限(进销存部分) |
array[object] |
Module |
|
Int32 |
CtrlAll |
是否用户该模块所有权限 |
Boolean |
PageSets |
下属各页面权限 |
array[object] |
PageText |
|
String |
IsReport |
|
Boolean |
PermissionSet |
|
String |
ShowMoney |
是否显示报表金额数据 |
Boolean |
OwnShowMoneyProperty |
是否拥有“ShowMoney”属性 |
Boolean |
AccRole |
记账角色(将弃用) |
AccRoleModel |
RoleName |
|
String |
RoleId |
|
Int32 |
Permissions |
|
String[] |
ScmPermission |
|
array[object] |
Module |
|
Int32 |
CtrlAll |
是否用户该模块所有权限 |
Boolean |
PageSets |
下属各页面权限 |
array[object] |
PageText |
|
String |
IsReport |
|
Boolean |
PermissionSet |
|
String |
ShowMoney |
是否显示报表金额数据 |
Boolean |
OwnShowMoneyProperty |
是否拥有“ShowMoney”属性 |
Boolean |
AccModuleSetList |
模块权限(记账部分) |
array[object] |
Module |
权限模块 |
Int32 |
PageSets |
相关页面权限设置 |
array[object] |
PageText |
页面字符标识 |
String |
PageName |
页面描述(前端使用) |
String |
IsReport |
是否是报表页面 |
Boolean |
Order |
排序数字 |
Int32 |
PermissionSet |
方法名称:::是否有访问权限 |
array[object] |
Chars |
|
Char |
Length |
|
Int32 |
CtrlAll |
是否拥有该模块所有权限 |
Boolean |
ShowMoney |
是否显示报表金额 |
Boolean |
OwnShowMoneyProperty |
该模块是否拥有“ShowMoney”属性 |
Boolean |
PriceFloatWidth |
价格保留小数位 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
QTYFloatWidth |
数量保留小数位 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
Currency |
本位币设置 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
CostMethod |
成本计算方法 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableWhCost |
成本核算方式 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableAbnormalCost |
是否启用异常成本 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
AssistingProperty |
辅助属性启用设置 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
ArgList |
相关设置组 |
array[object] |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
Base |
账套基础信息 |
AccountSetInfo |
Id |
账套Id |
Int32 |
AppId |
第三方应用ID |
Int32 |
SysId |
0,进销存。1,财税通 |
Int32 |
CstId |
财税通企业ID |
Int32 |
Name |
公司名称 |
String |
Industry |
所属行业 |
Int32 |
CreditNo |
似乎还没用 |
String |
Address |
公司地址 |
String |
TaxNo |
纳税人识别号 |
String |
IsTaxer |
一般纳税人 |
Int32 |
Tax_Type |
税种,"false":小企业会计准则; "true":企业会计准则(2019已执行),一般纳税人 |
String |
AccountingStandard |
会计准则 |
String |
SUB_ACC_STANDARD |
Sub准则 |
String |
BankName |
开户银行 |
String |
BankNumber |
开户账户 |
String |
Fax |
传真 |
String |
AcName |
开户名 |
String |
AaId |
关联的代账公司ID |
Int32 |
UsedBy |
|
Int32 |
UsedByMobile |
账套管理员手机号 |
String |
Contact |
联系人 |
String |
Phone |
手机号 |
String |
Email |
邮箱地址 |
String |
AsStartDate |
账套启用日期 |
DateTime |
EnableLock |
是否使用了账套锁 |
Boolean |
PasswordHashString |
账套锁密码密文 JsonIgnore 是防止把密码带到前端去 |
String |
NeedUnlock |
是否需要解锁 用于前端弹解锁框 true 需要弹框输入密码 |
Boolean |
AsStartDateFmt |
|
String |
CreatedDate |
账套创建日期 |
DateTime |
AsStartDateFmtErp |
|
String |
RemainingDays |
账套剩余时间 |
Int32 |
ExpiredTime |
账套过期时间 |
String |
IsExpired |
账套是否过期,true:过期 |
Boolean |
IsTrial |
账套是否试用期,true:是试用期 |
Boolean |
CheckOutDate |
|
String |
CurrentInvertoryDate |
当前成本单据日期 |
String |
UsedDate |
似乎还没用 |
DateTime |
Currency |
本位币 1010 RMB |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
QTYFloatWidth |
数量小数位 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
PriceFloatWidth |
单价小数位 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
CostMethod |
|
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableWhCost |
是否开启分仓 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableAbnormalCost |
是否开异常成本 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
AssistingProperty |
新建修改账套不需要此字段 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableCheck |
是否开启审核 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableTax |
是否使用税率 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableAccountingItem |
辅助核算项目ID |
Int32 |
AutoGenerateJournal |
自动生成日记账 |
Int32 |
CustCreditControlTime |
客户信用管理控制时点,选项:单据保存时值0,单据审核时值1,默认值1 |
Int32 |
CustCreditSaveVerifyType |
客户余额超过信用额度时,销售出库单、销售退货单、其他收入单信用控制方式,选项:允许保存/审核单据0,不允许保存/审核单据1,默认值1 |
Int32 |
CustCreditControlSellOrder |
销售订单是否占用信用额度并进行信用控制,选项:不控制0,控制1,默认值1 |
Int32 |
EnableReceivableAndPayableWarning |
1启用应收应付预警 0不启用 默认1 |
Int32 |
EnableAccImportAddBusinessRelatedUnits |
1启用新增往来单位 0不启用 默认1 |
Int32 |
BeforeAsStartDate |
修改账套信息之前的账套启用日期 |
DateTime |
CanModifyASSD |
新建修改账套不需要此字段 |
Boolean |
AccAccountInfo |
关联的记账账套的信息 |
AccAccountInfoModel |
AsId |
|
Int32 |
Name |
|
String |
TaxName |
纳税人名称 |
String |
CostCalList |
|
array[object] |
AsId |
|
Int32 |
Order |
序号 |
Int32 |
CostSourceTYPE |
|
CostSourceType |
UpdatedTime |
|
DateTime |
CostSource |
取值来源 |
String |
SourceDesc |
应用说明 |
String |
EnableBatch |
业财:是否开启批次/保质期管理/允许过期商品出库;进销存:批次 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableSerial |
是否开启序列号管理 |
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableLifeTime |
|
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
EnableExpiredSaled |
|
SystemArgumentInfo |
AsId |
账套新建修改不需要传此参数 |
Int32 |
Type |
参数类型 |
SystemArgumentType |
TypeValue |
参数值,0标识未开启,1标识开启 |
Int32 |
OldTypeValue |
参数值,用于修改系统参数是保存原始的参数值 |
Int32 |
DefaultValue |
默认值:目前只有开启税率开关以后使用其保存默认税率 |
Decimal |
CostCalList |
|
array[object] |
AsId |
|
Int32 |
Order |
序号 |
Int32 |
CostSourceTYPE |
|
CostSourceType |
UpdatedTime |
|
DateTime |
CostSource |
取值来源 |
String |
SourceDesc |
应用说明 |
String |
AccArg |
|
AccModel |
SCM_AS_ID |
|
Int32 |
AS_Name |
|
String |
AS_INDUSTRY |
|
String |
CHECK_NEEDED |
|
String |
TAX_TYPE |
|
String |
ACCOUNTING_STANDARD |
|
String |
UNIFIED_NUMBER |
|
String |
SUB_ACCOUNTING_STANDARD |
|
String |
AS_ID |
|
Int32 |
CASHIER |
|
String |
FIXDASSET |
|
String |
SHOW_SCM |
|
String |
FA_START_PEROID |
|
String |
AS_START_YEAR |
|
String |
AS_START_MONTH |
|
String |
AS_START_DATE |
|
String |
ISFIRSTACCOUNT |
|
String |
ISCHANGEDSTARTDATE |
|
Boolean |
TAX_PAYER_NAME |
|
String |
TAX_PAYER_NUMBER |
|
String |
TAX_PAYER_PASSWORD |
|
String |
TAXPAYER_PASSWORD |
|
String |
TAXAD_ID |
|
Int32 |
TAX_DECLARE_REGION |
|
String |
TAX_DECLARE_EMP_NAME |
|
String |
TaxDeclareEmployeeName |
|
String |
TAX_DECLARE_EMP_PHONE |
|
String |
TaxDeclareEmployeePhone |
|
String |
TAX_DECLARE_PASSWORD |
|
String |
TaxDeclarePassword |
|
String |
Tax_Rate |
增值税率 |
Decimal |
TaxLoginType |
税务系统登录方式 |
TaxLoginTypeEnum |
PersonPositionType |
个人职务类型 |
PersonPositionTypeEnum |
AgentTaxNumber |
代理机构税号 |
String |
PersonPhone |
办税人手机号 |
String |
PersonAccount |
个人用户账户 |
String |
PersonPassword |
个人用户密码 |
String |
OldAllAACalcStatement |
返回结果多一个 AllAACalcStatemen true 全部辅助核算 false 客户/供应商 |
Boolean |
AllAACalcStatement |
返回结果多一个 AllAACalcStatemen true 全部辅助核算 false 客户/供应商 |
Boolean |
RecalculateBalacnceType |
1 所有所有账套 2 修改本年内的账套(这个参数只用从前端传入,不用返回给前端,前端显示时默认显示第一个就行。) |
Int32 |
IS_VOUCHER_DIFFRENT_MONTH |
|
String |
PeriodText |
|
String |
EnableLock |
|
Boolean |
NeedUnlock |
|
Boolean |
UserByName |
超管 |
String |
返回示例
""
Log
账套日志、账套登录日志,用户操作日志
添加用户的账套登录日志
请求地址
POST $SCMAPI_HOST/jxc_api/Log/AddScmAsLoginLog
请求头
请求参数
model |
|
AddAsLoginLogViewModel |
UserId |
用户标识 |
String |
IPID |
用户IP编号 |
Int32 |
Browser |
浏览器类型 |
BrowserType |
Version |
浏览器主版本 |
Int32 |
OS |
系统类型 |
OSType |
ScreenResolution |
屏幕分辨率 |
String |
Mobile |
客户端类型 |
ClientType |
Equipment |
设备类型 |
EquipmentType |
WebSite |
操作网站 |
Int32 |
Language |
使用语言 |
Int32 |
请求示例
{
"UserId": null,
"IPID": 0,
"Browser": 0,
"Version": 0,
"OS": 0,
"ScreenResolution": null,
"Mobile": 0,
"Equipment": 0,
"WebSite": 1,
"Language": 0
}
返回值
返回示例
""
添加一条账套操作日志记录
请求地址
POST $SCMAPI_HOST/jxc_api/Log/AddAsLog
请求头
请求参数
model |
|
AddAsLogViewModel |
Data |
相关信息(跟log字段相关) |
String |
LogType |
操作类型 |
AsLogType |
WebSite |
客户端类型 |
ClientType |
Language |
语言 |
Int32 |
UserId |
用户标识 |
String |
请求示例
{
"Data": null,
"LogType": 0,
"WebSite": 1010,
"Language": 0,
"UserId": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取账套操作日志分页数据
请求地址
POST $SCMAPI_HOST/jxc_api/Log/SearchAsLog
请求头
请求参数
conditions |
|
AsLogSearchConditions |
AsId |
账套编号 |
Int32 |
UserSn |
用户编号 |
Int32 |
DateStart |
开始日期 |
Nullable`1 |
DateEnd |
结束日期 |
Nullable`1 |
LogType |
日志操作类型 |
Nullable`1 |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
请求示例
{
"AsId": 0,
"UserSn": 0,
"DateStart": null,
"DateEnd": null,
"LogType": null,
"PageIndex": 1,
"PageSize": 20
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取IP地址编号
请求地址
POST $SCMAPI_HOST/jxc_api/Log/GetID
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取账套登录日志分页记录
请求地址
POST $SCMAPI_HOST/jxc_api/Log/SearchAsLoginLog
请求头
请求参数
conditions |
|
AsLoginLogSearchConditions |
AsId |
账套编号 |
Int32 |
UserSn |
用户编号 |
Int32 |
DateStart |
开始日期 |
Nullable`1 |
DateEnd |
结束日期 |
Nullable`1 |
OS |
系统类型 |
Nullable`1 |
Browser |
浏览器类型 |
Nullable`1 |
Mobile |
客户端类型 |
Nullable`1 |
Equipment |
设备类型 |
Nullable`1 |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
请求示例
{
"AsId": 0,
"UserSn": 0,
"DateStart": null,
"DateEnd": null,
"OS": null,
"Browser": null,
"Mobile": null,
"Equipment": null,
"PageIndex": 1,
"PageSize": 20
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
添加一条用户操作日志记录
请求地址
POST $SCMAPI_HOST/jxc_api/Log/AddOperationLog
请求头
请求参数
model |
|
AddOpertaionLogViewModel |
UserId |
用户标识 |
String |
LogType |
操作类型 |
OpeLogType |
MainMenu |
主菜单名称 |
MainMenuName |
Menu |
菜单名称 |
MenuName |
Page |
页面地址 |
String |
Log |
操作描述 |
String |
WebSite |
操作网站 |
Int32 |
Language |
使用语言 |
Int32 |
请求示例
{
"UserId": null,
"LogType": 0,
"MainMenu": 0,
"Menu": 0,
"Page": null,
"Log": null,
"WebSite": 0,
"Language": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取用户操作日志分页记录
请求地址
POST $SCMAPI_HOST/jxc_api/Log/SearchOperationLog
请求头
请求参数
conditions |
|
OperationLogSearchConditions |
UserSn |
用户编号 |
Int32 |
DateStart |
开始日期 |
Nullable`1 |
DateEnd |
结束日期 |
Nullable`1 |
LogType |
操作类型 |
Nullable`1 |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
Keywords |
关键字 |
String |
请求示例
{
"UserSn": 0,
"DateStart": null,
"DateEnd": null,
"LogType": null,
"PageIndex": 1,
"PageSize": 20,
"Keywords": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取所有的用户[名称:::手机号]组合列表
请求地址
POST $SCMAPI_HOST/jxc_api/Log/GetUserList
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
UserSn |
|
Int32 |
Mobile |
|
String |
UserName |
|
String |
Nickname |
|
String |
返回示例
""
PrintTpl
打印模板页面
打印模板类型列表
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/PTTypeList
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
打印模板列表
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/PTList
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
为打印对话框获取打印模板列表及模板类型
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/GetPTList
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
为打印对话框获取打印模板列表及模板类型
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/GetNewPTList
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取打印模板设置信息 如果没有ptId,仅仅获取初始化设置信息
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/PTInfo
请求头
请求参数
ptType |
打印模板类型 |
Int32 |
ptId |
模板ID |
Nullable`1 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
保存预览设置效果,返回编号
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/GetPreviewNo
请求头
请求参数
pti |
打印模板元素 |
PrintTemplateInfo |
AsId |
账套ID |
Int32 |
PtType |
模板类型 |
PrintTemplateType |
PtId |
模板ID |
Int32 |
PtName |
模板名称 |
String |
PtLayout |
模板样式JSON |
String |
IsDefault |
是否为默认模板 0,不是,1:是 |
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
AccAsId |
|
Int32 |
CurrentUserSn |
|
Int32 |
请求示例
{
"PtType": 0,
"PtId": 0,
"PtName": null,
"IsDefault": 0,
"AccAsId": 0,
"CurrentUserSn": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
预览设置效果
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/Preview
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
保存模板设置信息
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/Save
请求头
请求参数
pti |
打印模板元素 |
PrintTemplateInfo |
AsId |
账套ID |
Int32 |
PtType |
模板类型 |
PrintTemplateType |
PtId |
模板ID |
Int32 |
PtName |
模板名称 |
String |
PtLayout |
模板样式JSON |
String |
IsDefault |
是否为默认模板 0,不是,1:是 |
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
AccAsId |
|
Int32 |
CurrentUserSn |
|
Int32 |
请求示例
{
"PtType": 0,
"PtId": 0,
"PtName": null,
"IsDefault": 0,
"AccAsId": 0,
"CurrentUserSn": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
复制模板
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/Copy
请求头
请求参数
typeId |
模板类型id |
Int32 |
ptId |
模板id |
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除模板
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/Delete
请求头
请求参数
typeId |
模板类型id |
Int32 |
ptId |
模板id |
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
设为默认模板
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/SetDefault
请求头
请求参数
typeId |
模板类型id |
Int32 |
ptId |
模板id |
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
上传图片
请求地址
POST $SCMAPI_HOST/jxc_api/PrintTpl/Upload
请求头
请求参数
options |
|
UploadOptions |
Type |
上传类型 |
PicType |
Content |
上传内容(base64string) |
String |
请求示例
{
"Type": 0,
"Content": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ZPicUpload |
PicUrl |
|
String |
返回示例
""
SalesProfit
销售利润表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/SalesProfit/Search
请求头
请求参数
conditions |
|
SalesProfitSearchConditions |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
CustIds |
客户ID(间接获取) |
Int32[] |
CustTypeId |
客户类别 |
Int32[] |
SalesId |
销售人员 |
Int32[] |
BillType |
单据类型 0:全部,2020:普通销售,2030:销售退回 |
Int32[] |
Keywords |
关键字 |
String |
ShowDetails |
是否显示商品明细 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustTypeId": null,
"SalesId": null,
"BillType": null,
"Keywords": null,
"ShowDetails": false,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
Id |
单据ID(☆原字段:BillId) |
Int32 |
IsDetails |
是否是商品详情行 |
Boolean |
Date |
单据日期(☆原字段:BillDate) |
String |
CustName |
客户 |
String |
CustNo |
客户 |
String |
CustType |
客户类别 |
String |
CustId |
客户id |
Int32 |
SalesName |
销售人员 |
String |
No |
销售单据号(☆原字段:BillNo) |
String |
BType |
业务类型(☆原字段:BillType) |
Int32 |
BusinessType |
业务类型名称(☆原字段:BillName) |
String |
CatName |
商品类别 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
规格型号 |
String |
ApName |
属性(☆原字段:AP) |
String |
UnitName |
单位 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
Amount |
销售收入 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
UnitCost |
单位成本 |
Decimal |
SalesCost |
销售成本 |
Decimal |
GrossProfit |
销售毛利 |
Decimal |
GrossProfitRate |
毛利率 |
String |
BenefitAmount |
优惠金额 |
Decimal |
Expense |
销售费用 |
Decimal |
NetProfit |
销售净利润 |
Decimal |
NetProfitRate |
净利率 |
String |
AfterBenefitAmount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
Receivable |
应收金额(☆原字段:ReceivableAmount) |
Decimal |
OfdAmount |
已收款金额(☆原字段:ReceivedAmount) |
Decimal |
Note |
单据备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
Brand |
品牌 |
String |
ProLocation |
产地 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
TotalRow |
总计行 |
SProfitModel |
Id |
单据ID(☆原字段:BillId) |
Int32 |
IsDetails |
是否是商品详情行 |
Boolean |
Date |
单据日期(☆原字段:BillDate) |
String |
CustName |
客户 |
String |
CustNo |
客户 |
String |
CustType |
客户类别 |
String |
CustId |
客户id |
Int32 |
SalesName |
销售人员 |
String |
No |
销售单据号(☆原字段:BillNo) |
String |
BType |
业务类型(☆原字段:BillType) |
Int32 |
BusinessType |
业务类型名称(☆原字段:BillName) |
String |
CatName |
商品类别 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
规格型号 |
String |
ApName |
属性(☆原字段:AP) |
String |
UnitName |
单位 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
Amount |
销售收入 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
UnitCost |
单位成本 |
Decimal |
SalesCost |
销售成本 |
Decimal |
GrossProfit |
销售毛利 |
Decimal |
GrossProfitRate |
毛利率 |
String |
BenefitAmount |
优惠金额 |
Decimal |
Expense |
销售费用 |
Decimal |
NetProfit |
销售净利润 |
Decimal |
NetProfitRate |
净利率 |
String |
AfterBenefitAmount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
Receivable |
应收金额(☆原字段:ReceivableAmount) |
Decimal |
OfdAmount |
已收款金额(☆原字段:ReceivedAmount) |
Decimal |
Note |
单据备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
Brand |
品牌 |
String |
ProLocation |
产地 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SalesProfit/Export
请求头
请求参数
conditions |
|
SalesProfitSearchConditions |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
CustIds |
客户ID(间接获取) |
Int32[] |
CustTypeId |
客户类别 |
Int32[] |
SalesId |
销售人员 |
Int32[] |
BillType |
单据类型 0:全部,2020:普通销售,2030:销售退回 |
Int32[] |
Keywords |
关键字 |
String |
ShowDetails |
是否显示商品明细 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustTypeId": null,
"SalesId": null,
"BillType": null,
"Keywords": null,
"ShowDetails": false,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/SalesProfit/Print
请求头
请求参数
conditions |
|
SalesProfitSearchConditions |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
CustIds |
客户ID(间接获取) |
Int32[] |
CustTypeId |
客户类别 |
Int32[] |
SalesId |
销售人员 |
Int32[] |
BillType |
单据类型 0:全部,2020:普通销售,2030:销售退回 |
Int32[] |
Keywords |
关键字 |
String |
ShowDetails |
是否显示商品明细 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustTypeId": null,
"SalesId": null,
"BillType": null,
"Keywords": null,
"ShowDetails": false,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
SaleStatistics
销售统计数据
销售收款情况:统计今日、本月、本年的预收款笔数、单日销售并收款笔数、欠款收回笔数
请求地址
POST $SCMAPI_HOST/jxc_api/SaleStatistics/ReceiptBill
请求头
请求参数
startTime |
|
DateTime |
endTime |
|
DateTime |
请求示例
"0001-01-01T00:00:00"
返回值
返回示例
""
SellDelivery
销售出库单页面
初始化销售出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/InitData
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
测试是否可以生成退货单
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/PreInitSd
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取上一条销售订单ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取下一条销售订单ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
使用销售订单初始化单据信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/InitDataFromSo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
从多条销售订单信息初始化入库单信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/InitDataFromSos
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:13:44.876832+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
从多条销售订单信息生成入库单记录(批量出库)
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/GenerateSdFromSo
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:13:45.6460063+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
BatchDeliveryResult |
DeliveryBills |
生成的出库单信息 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
BillIds |
出库单ID |
String |
Errors |
如果只生成一条出库单信息,并且有错误的话,自动跳转到出库单详情页面,并且把错误信息展示给用户 |
array[object] |
Chars |
|
Char |
Length |
|
Int32 |
返回示例
""
从多条销售订单信息生成入库单记录(合并出库)
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/MergeGenerateSdFromSo
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:13:46.4937964+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
BatchDeliveryResult |
DeliveryBills |
生成的出库单信息 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
BillIds |
出库单ID |
String |
Errors |
如果只生成一条出库单信息,并且有错误的话,自动跳转到出库单详情页面,并且把错误信息展示给用户 |
array[object] |
Chars |
|
Char |
Length |
|
Int32 |
返回示例
""
使用采购入库单生成销售出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/InitDataFromWhs
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
从多条采购入库单信息合并生成一张销售出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/CreateSdWithMultiWhs
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:13:47.9448179+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
其他入库单生成销售出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/InitDataFromWhso
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
使用组装单生成销售出库单 只取组合件商品来生成销售出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/InitDataFromAssembly
请求头
请求参数
assemblyIdsObj |
|
AssemblyIdsModel |
AssemblyIds |
|
Int32[] |
请求示例
{
"AssemblyIds": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
销售出库单信息复制生成入库单记录
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/GenerateSdFromCopy
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:13:49.7363332+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
添加
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/Add
请求头
请求参数
model |
提交信息 |
SellDeliveryEditModel |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员 |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用(针对销售出库单) |
Decimal |
AmountFirst |
本次收款/本次退款(☆原字段:RpAmount) |
Decimal |
AcId |
结算账户ID |
Int32 |
Expense |
销售费用 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
ProdId |
商品ID |
Int32 |
CatId |
商品类别ID |
Int32 |
WhId |
仓库ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单ID(2.7新增) |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单ID |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
isNotRelate |
|
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
ExpenseItems |
费用清单 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
结算信息清单 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
CustPaymentItems |
客户承担费用 |
array[object] |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来单位id |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SumAmount |
汇总的价税合计(关联使用) |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"CustPayment": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"Expense": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Note": null,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"Items": null,
"ExpenseItems": [],
"PayInfoItems": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"BillOrigin": 0,
"CustPaymentItems": [],
"RelatedBills": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
修改
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/Update
请求头
请求参数
model |
提交信息 |
SellDeliveryEditModel |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员 |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用(针对销售出库单) |
Decimal |
AmountFirst |
本次收款/本次退款(☆原字段:RpAmount) |
Decimal |
AcId |
结算账户ID |
Int32 |
Expense |
销售费用 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
ProdId |
商品ID |
Int32 |
CatId |
商品类别ID |
Int32 |
WhId |
仓库ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单ID(2.7新增) |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单ID |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
isNotRelate |
|
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
ExpenseItems |
费用清单 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
结算信息清单 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
CustPaymentItems |
客户承担费用 |
array[object] |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来单位id |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SumAmount |
汇总的价税合计(关联使用) |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"CustPayment": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"Expense": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Note": null,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"Items": null,
"ExpenseItems": [],
"PayInfoItems": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"BillOrigin": 0,
"CustPaymentItems": [],
"RelatedBills": null
}
返回值
返回示例
""
保存并审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/Check
请求头
请求参数
model |
销售出库单 |
SellDeliveryEditModel |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员 |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用(针对销售出库单) |
Decimal |
AmountFirst |
本次收款/本次退款(☆原字段:RpAmount) |
Decimal |
AcId |
结算账户ID |
Int32 |
Expense |
销售费用 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
ProdId |
商品ID |
Int32 |
CatId |
商品类别ID |
Int32 |
WhId |
仓库ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单ID(2.7新增) |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单ID |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
isNotRelate |
|
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
ExpenseItems |
费用清单 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
结算信息清单 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
CustPaymentItems |
客户承担费用 |
array[object] |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来单位id |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SumAmount |
汇总的价税合计(关联使用) |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"CustPayment": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"Expense": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Note": null,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"Items": null,
"ExpenseItems": [],
"PayInfoItems": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"BillOrigin": 0,
"CustPaymentItems": [],
"RelatedBills": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
反审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/UnCheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除单条记录
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
获取费用改造数量或者金额发生变化时的数据(仅供前端使用,数据库不进行保存)
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/ShowExpShare
请求头
请求参数
model |
|
SellDeliveryEditModel |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员 |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用(针对销售出库单) |
Decimal |
AmountFirst |
本次收款/本次退款(☆原字段:RpAmount) |
Decimal |
AcId |
结算账户ID |
Int32 |
Expense |
销售费用 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
ProdId |
商品ID |
Int32 |
CatId |
商品类别ID |
Int32 |
WhId |
仓库ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单ID(2.7新增) |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单ID |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
isNotRelate |
|
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
ExpenseItems |
费用清单 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
结算信息清单 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
CustPaymentItems |
客户承担费用 |
array[object] |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来单位id |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SumAmount |
汇总的价税合计(关联使用) |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"CustPayment": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"Expense": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Note": null,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"Items": null,
"ExpenseItems": [],
"PayInfoItems": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"BillOrigin": 0,
"CustPaymentItems": [],
"RelatedBills": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/SellDelivery/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
SellDeliveryList
销售出库单列表页面
检索
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/Search
请求头
请求参数
conditions |
检索条件 |
SdSearchConditions |
BillType |
单据类型 (0,全部。2020,出库单。2030,退货单) |
Int32 |
BillNo |
根据单据编号查询 为了对接第三方 |
String |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
CustIds |
客户 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
收款状态(1010,未收款。1020,部分收款。1030,全部收款) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售出库单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillType": 0,
"BillNo": null,
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"CustIds": null,
"Sales": null,
"Status": null,
"InvoiceStatus": null,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端使用)(☆原字段:Checked) |
Int32 |
CheckedStatus |
单据状态(移动端使用)(☆原字段:Status) |
String |
RecStatusStr |
收款状态(移动端使用)(☆原字段:FundStatus) |
String |
RecStatus |
收款状态(PC端使用) |
BillStatus |
RpStatus |
收付款状态(为了统一采购、销售的收付款属性名称而添加的名称) |
BillStatus |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
SalesName |
销售人员(☆原字段:Sales) |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户 |
String |
RelaBills |
关联销售单号(销售订单/销售退货单) |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
销售金额 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
CustPayment |
客户承担费 |
Decimal |
CustPaymentFromOtherPayment |
其他支出单的客户承担费 |
Decimal |
Receivable |
本次应收款(优惠后金额+客户承担费用) |
Decimal |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户收款 |
String |
AmountFirst |
首次收款 |
Decimal |
Expense |
销售费用 |
Decimal |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
OfdAmount |
已收款(首次收款+核销金额)(☆原字段:RpAmount) |
Decimal |
OfuAmount |
未收款金额 |
Decimal |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
String |
SettlePeriodName |
结算期限名字 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatusStr |
|
String |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
SellDeliveryListModel |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端使用)(☆原字段:Checked) |
Int32 |
CheckedStatus |
单据状态(移动端使用)(☆原字段:Status) |
String |
RecStatusStr |
收款状态(移动端使用)(☆原字段:FundStatus) |
String |
RecStatus |
收款状态(PC端使用) |
BillStatus |
RpStatus |
收付款状态(为了统一采购、销售的收付款属性名称而添加的名称) |
BillStatus |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
SalesName |
销售人员(☆原字段:Sales) |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户 |
String |
RelaBills |
关联销售单号(销售订单/销售退货单) |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
销售金额 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
CustPayment |
客户承担费 |
Decimal |
CustPaymentFromOtherPayment |
其他支出单的客户承担费 |
Decimal |
Receivable |
本次应收款(优惠后金额+客户承担费用) |
Decimal |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户收款 |
String |
AmountFirst |
首次收款 |
Decimal |
Expense |
销售费用 |
Decimal |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
OfdAmount |
已收款(首次收款+核销金额)(☆原字段:RpAmount) |
Decimal |
OfuAmount |
未收款金额 |
Decimal |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
String |
SettlePeriodName |
结算期限名字 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatusStr |
|
String |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
查询单据及商品详情
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SearchDetails
请求头
请求参数
conditions |
|
SdSearchConditions |
BillType |
单据类型 (0,全部。2020,出库单。2030,退货单) |
Int32 |
BillNo |
根据单据编号查询 为了对接第三方 |
String |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
CustIds |
客户 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
收款状态(1010,未收款。1020,部分收款。1030,全部收款) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售出库单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillType": 0,
"BillNo": null,
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"CustIds": null,
"Sales": null,
"Status": null,
"InvoiceStatus": null,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
RecStatus |
收款状态(PC端使用) |
BillStatus |
RelaBills |
关联销售单号(销售订单/销售退货单) |
IdNoPair[] |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端使用)(☆原字段:Checked) |
Int32 |
DoStatus |
收款状态(PC端使用) |
BillStatus |
Date |
单据日期 |
DateTime |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
SalesNo |
|
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户 |
String |
LinkManTel |
联系电话 |
String |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
BillAmountTax |
单据销售金额(整单) |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
CustPaymentFromOtherPayment |
其他支出单的客户承担费 |
Decimal |
CustPaymentItemInfos |
|
array[object] |
Id |
费用条目ID |
Int32 |
BillId |
源单据ID |
Int32 |
BillNo |
源单据编号 |
String |
BillType |
源单据类别 |
BillType |
VendId |
供应商ID |
Int32 |
ExpType |
费用类别ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额,客户承担费用时为总的价税合计 |
Decimal |
ExpPid |
父级id |
Int32 |
BillDate |
源单日期 |
DateTime |
PayedStatus |
付款状态 |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
IsCustPayment |
是否客户承担费用 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
Receivable |
本次应收款(优惠后金额+客户承担费用) |
Decimal |
AcId |
单账户付款时的账户ID |
Int32 |
AcNames |
收款账户 |
String |
MultipleAccounts |
|
String |
AmountFirst |
首次收款 |
Decimal |
Expense |
销售费用 |
Decimal |
GoodsExpense |
|
Decimal |
OfdAmount |
已收款(首次收款+核销金额)(☆原字段:RpAmount) |
Decimal |
OfuAmount |
未付款 |
Decimal |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限日期 |
DateTime |
SettlePeriodDate |
|
String |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限名称 |
String |
CheckedBy |
审核人 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
Nullable`1 |
Image |
图片 |
String |
Note |
备注 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
DoeId |
条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
CustomerCode |
客户商品编码 |
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别名称 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
AmountTax |
价税合计金额 |
Decimal |
ItemNote |
子条目备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
Resds |
|
String |
Resos |
|
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
SellDeliveryDetailListModel |
RecStatus |
收款状态(PC端使用) |
BillStatus |
RelaBills |
关联销售单号(销售订单/销售退货单) |
IdNoPair[] |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端使用)(☆原字段:Checked) |
Int32 |
DoStatus |
收款状态(PC端使用) |
BillStatus |
Date |
单据日期 |
DateTime |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
SalesNo |
|
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户 |
String |
LinkManTel |
联系电话 |
String |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
BillAmountTax |
单据销售金额(整单) |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
CustPaymentFromOtherPayment |
其他支出单的客户承担费 |
Decimal |
CustPaymentItemInfos |
|
array[object] |
Id |
费用条目ID |
Int32 |
BillId |
源单据ID |
Int32 |
BillNo |
源单据编号 |
String |
BillType |
源单据类别 |
BillType |
VendId |
供应商ID |
Int32 |
ExpType |
费用类别ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额,客户承担费用时为总的价税合计 |
Decimal |
ExpPid |
父级id |
Int32 |
BillDate |
源单日期 |
DateTime |
PayedStatus |
付款状态 |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
IsCustPayment |
是否客户承担费用 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
Receivable |
本次应收款(优惠后金额+客户承担费用) |
Decimal |
AcId |
单账户付款时的账户ID |
Int32 |
AcNames |
收款账户 |
String |
MultipleAccounts |
|
String |
AmountFirst |
首次收款 |
Decimal |
Expense |
销售费用 |
Decimal |
GoodsExpense |
|
Decimal |
OfdAmount |
已收款(首次收款+核销金额)(☆原字段:RpAmount) |
Decimal |
OfuAmount |
未付款 |
Decimal |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限日期 |
DateTime |
SettlePeriodDate |
|
String |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限名称 |
String |
CheckedBy |
审核人 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
Nullable`1 |
Image |
图片 |
String |
Note |
备注 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
DoeId |
条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
CustomerCode |
客户商品编码 |
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别名称 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
AmountTax |
价税合计金额 |
Decimal |
ItemNote |
子条目备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
Resds |
|
String |
Resos |
|
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
批量审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/Check
请求头
请求参数
sdIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量反审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/UnCheck
请求头
请求参数
sdIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量删除
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/Delete
请求头
请求参数
whsIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
打印销售出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/Print
请求头
请求参数
guid |
Pdf文档标识 |
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印销售出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SeniorPrint
请求头
请求参数
guid |
Pdf文档标识 |
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/Export
请求头
请求参数
conditions |
|
SdSearchConditions |
BillType |
单据类型 (0,全部。2020,出库单。2030,退货单) |
Int32 |
BillNo |
根据单据编号查询 为了对接第三方 |
String |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
CustIds |
客户 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
收款状态(1010,未收款。1020,部分收款。1030,全部收款) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售出库单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillType": 0,
"BillNo": null,
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"CustIds": null,
"Sales": null,
"Status": null,
"InvoiceStatus": null,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
销售出库单列表 - 下载销售出库单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/DownErrorData
请求头
请求参数
guId |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入销售出库单信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取用于生成退货单的出库单信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SearchSourceBills
请求头
请求参数
conditions |
|
BillSearchConditions |
isDetail |
选择源单时是否显示商品明细 |
Boolean |
VcId |
往来单位ID |
Int32 |
SourceBillType |
源单单据类型(采购入库订单/采购退货订单/采购入库单/销售出库订单/销售退货订单/销售出库单) |
BillType |
BillType |
生成的单据类型(采购入库订单/采购退货订单/采购入库单/销售出库订单/销售退货订单/销售出库单) |
BillType |
Keyword |
关键字(单据编号) |
String |
DateStart |
单据日期起 |
Nullable`1 |
DateEnd |
单据日期至 |
Nullable`1 |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"isDetail": false,
"VcId": 0,
"SourceBillType": 0,
"BillType": 0,
"Keyword": null,
"DateStart": null,
"DateEnd": null,
"PageIndex": 0,
"PageSize": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
单据ID |
Int32 |
EntryId |
子条目ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
String |
DeliveryDate |
交货日期 |
String |
VcName |
往来单位名称 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
商品规格 |
String |
UnitName |
单位名称 |
String |
QTY |
数量 |
Decimal |
UsedQTY |
已入库/出库数量 |
Decimal |
RestQTY |
剩余数量 |
Decimal |
ApName |
辅助属性名称 |
String |
SumModel |
合计行 |
SelectBillListModel |
Id |
单据ID |
Int32 |
EntryId |
子条目ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
String |
DeliveryDate |
交货日期 |
String |
VcName |
往来单位名称 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
商品规格 |
String |
UnitName |
单位名称 |
String |
QTY |
数量 |
Decimal |
UsedQTY |
已入库/出库数量 |
Decimal |
RestQTY |
剩余数量 |
Decimal |
ApName |
辅助属性名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
搜索发票信息(用于向单据登记发票)
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SearchInvoices
请求头
请求参数
para |
|
SearchInvoicesPara |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
InvoiceType |
发票类型 |
InvoiceType |
VcId |
客户、供应商ID,职员 |
Int32 |
PayeeType |
收款人类型 |
ContactType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": "",
"Start": null,
"End": null,
"InvoiceType": 0,
"VcId": 0,
"PayeeType": 0,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
SumModel |
合计行 |
InvoiceEnrollListModel |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/Enroll
请求头
请求参数
para |
|
EnrollPara |
BillType |
源单类型 |
BillType |
Ids |
单据ID(EntryIds非空时该条目无效) |
Int32[] |
EntryIds |
子条目ID |
Int32[] |
Invoices |
登记的发票ID |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
IsBillId |
true:根据整单关联,false:根据子条目关联 |
Boolean |
请求示例
{
"BillType": 0,
"Ids": null,
"EntryIds": null,
"Invoices": null,
"IsBillId": true
}
返回值
返回示例
""
取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/UnEnroll
请求头
请求参数
para |
|
UnEnrollPara |
BillType |
源单类型 |
BillType |
Id |
单据ID |
Int32 |
EntityId |
子单据Id |
Nullable`1 |
InvoiceIds |
发票ID |
array[object] |
EntryIds |
子条目ID |
Int32[] |
请求示例
{
"BillType": 0,
"Id": 0,
"EntityId": null,
"InvoiceIds": null,
"EntryIds": null
}
返回值
返回示例
""
批量取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/UnEnrollBatch
请求头
请求参数
请求示例
返回值
返回示例
""
根据单据ID查询关联的发票ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SearchInvoiceIds
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID查询发票信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SearchInvoiceMaps
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
返回示例
""
搜索日记账
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SearchJournal
请求头
请求参数
condition |
|
JournalSearchCondition |
VcId |
往来单位 |
Int32 |
ContactType |
往来单位类型 |
ContactType |
BillType |
单据类型 |
BillType |
SearchText |
关键字 |
String |
AmountSign |
正数:1,负数:-1 |
Int32 |
Start |
开始时间 |
String |
End |
结束时间 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VcId": 0,
"ContactType": 0,
"BillType": 0,
"SearchText": "",
"AmountSign": 0,
"Start": null,
"End": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
SumModel |
合计行 |
ScmJournalModel |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
核销
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/Offset
请求头
请求参数
model |
|
JofEditModel |
OfMode |
核销模式,1010:手动核销,1020:自动核销 |
Int32 |
Items |
日记账核销条目 |
array[object] |
Id |
日记账ID |
Int32 |
BillNo |
日记账编码 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BType |
日记账类型 |
BillType |
BillAmount |
日记账总金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
BillOFUAmount |
日记未核销金额 |
Decimal |
VcId |
客户、供应商 |
Int32 |
AcId |
账号ID |
Int32 |
LineSn |
日记账Sn |
Int32 |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"OfMode": 0,
"Items": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
手动核销
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/ManualOffset
请求头
请求参数
model |
|
ManualJofEditModel |
Journal |
日记账核销条目 |
JournalEditModel |
VcId |
客户/供应商ID |
Int32 |
BillDate |
日记账日期 |
DateTime |
AcId |
付款账户 |
Int32 |
RpType |
收支类别 |
Int32 |
PaymentMethod |
结算方式 |
Int32 |
Note |
摘要 |
String |
OfAmount |
交易金额 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"Journal": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
取消核销
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/CancelOffset
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
根据单据ID查询核销记录ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SearchJofIds
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID核销记录信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellDeliveryList/SearchJofInfo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
OfDate |
核销日期 |
String |
OfId |
核销记录ID |
Int32 |
OfNo |
核销记录编码 |
String |
OfAmount |
核销金额 |
Decimal |
BType |
日记账类型 |
BillType |
BillDate |
日记账日期 |
DateTime |
BillDateFmt |
日记账日期 |
String |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillNo |
交易流水号 |
String |
Note |
摘要 |
String |
BillAmount |
支出/收入 |
Decimal |
RpTypeName |
收支类别名称 |
String |
返回示例
""
SellOrder
销售订单
初始化销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/InitData
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellOrderModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:SoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:SoId) |
Int32 |
No |
单据编号(☆原字段:SoNo) |
String |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
Note |
备注 |
String |
PrintCount |
打印次数 |
Int32 |
DeliveryDate |
交货日期 |
DateTime |
DoStatus |
订单状态(☆原字段:SoStatus) |
BillStatus |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
AcName |
结算账户名称 |
String |
IsChecked |
是否审核(☆:去掉了Ischecked字段) |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
IsLocked |
是否锁定库存(☆原字段:IsLock) |
Boolean |
IsClosed |
是否关闭 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限值 |
String |
RelaSds |
相关的销售出库单/退货单 |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成相关的出库/退货单 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
条目ID(☆原字段:SoeId) |
Int32 |
SoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码 |
String |
SoId |
单据Id |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品Id |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
SoNo |
单据编号 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
商品可用库存 |
Nullable`1 |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
ProdTaxRate |
商品税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
Note |
备注 |
String |
DoQTY |
实际出库数量(☆原字段:DoQty) |
Decimal |
DoStatus |
出库状态 |
BillStatus |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
PoId |
关联采购订单id |
Int32 |
PoNo |
关联采购订单编码 |
String |
PoeId |
关联采购订单明细id |
Int32 |
WhsId |
关联采购入库单id |
Int32 |
WhsNo |
关联采购入库单编码 |
String |
WhseId |
关联采购入库单明细id |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
RelatedPoId |
销售订单关联的采购订单id |
Int32 |
RelatedPoNo |
销售订单关联的采购订单No |
String |
返回示例
""
获取变更记录
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/GetChangeHistory
请求头
请求参数
id |
|
Int32 |
pageIndex |
|
Int32 |
pageSize |
|
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
HistoryId |
|
Int32 |
Edition |
|
String |
EditDate |
|
String |
EditBy |
|
String |
EditReason |
|
String |
HistoryType |
|
String |
OldNo |
|
String |
NewNo |
|
String |
ProdName |
|
String |
ProdNo |
|
String |
ApName |
|
String |
Spec |
|
String |
ChangeAttribute |
|
String |
OldValue |
|
String |
NewValue |
|
String |
SumModel |
合计行 |
ChangeHistoryModel |
HistoryId |
|
Int32 |
Edition |
|
String |
EditDate |
|
String |
EditBy |
|
String |
EditReason |
|
String |
HistoryType |
|
String |
OldNo |
|
String |
NewNo |
|
String |
ProdName |
|
String |
ProdNo |
|
String |
ApName |
|
String |
Spec |
|
String |
ChangeAttribute |
|
String |
OldValue |
|
String |
NewValue |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出变更记录
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/ExportChangeHistory
请求头
请求参数
para |
|
OrderChangeQueryPara |
Id |
单据Id |
Int32 |
HistoryIds |
版本号 |
array[object] |
请求示例
{
"Id": 0,
"HistoryIds": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
使用采购订单生成销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/InitDataFromPo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellOrderModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:SoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:SoId) |
Int32 |
No |
单据编号(☆原字段:SoNo) |
String |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
Note |
备注 |
String |
PrintCount |
打印次数 |
Int32 |
DeliveryDate |
交货日期 |
DateTime |
DoStatus |
订单状态(☆原字段:SoStatus) |
BillStatus |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
AcName |
结算账户名称 |
String |
IsChecked |
是否审核(☆:去掉了Ischecked字段) |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
IsLocked |
是否锁定库存(☆原字段:IsLock) |
Boolean |
IsClosed |
是否关闭 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限值 |
String |
RelaSds |
相关的销售出库单/退货单 |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成相关的出库/退货单 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
条目ID(☆原字段:SoeId) |
Int32 |
SoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码 |
String |
SoId |
单据Id |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品Id |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
SoNo |
单据编号 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
商品可用库存 |
Nullable`1 |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
ProdTaxRate |
商品税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
Note |
备注 |
String |
DoQTY |
实际出库数量(☆原字段:DoQty) |
Decimal |
DoStatus |
出库状态 |
BillStatus |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
PoId |
关联采购订单id |
Int32 |
PoNo |
关联采购订单编码 |
String |
PoeId |
关联采购订单明细id |
Int32 |
WhsId |
关联采购入库单id |
Int32 |
WhsNo |
关联采购入库单编码 |
String |
WhseId |
关联采购入库单明细id |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
RelatedPoId |
销售订单关联的采购订单id |
Int32 |
RelatedPoNo |
销售订单关联的采购订单No |
String |
返回示例
""
预先判断是否可以生成出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/PreInitSo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取上一条销售订单ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取下一条销售订单ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
添加销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/Add
请求头
请求参数
model |
销售订单信息 |
SellOrderEditModel |
Id |
单据ID(☆原字段:SoId) |
Int32 |
No |
单据编号(☆原字段:SoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员ID |
Int32 |
Date |
单据日期(☆原字段:SoDate) |
DateTime |
DeliveryDate |
交货日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
Note |
备注 |
String |
DoId |
关联的出库单ID |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:SoeId) |
Int32 |
SoId |
单据Id |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品Id |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
IsClosed |
是否关闭 |
Boolean |
Note |
备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
PoId |
关联采购订单id |
Int32 |
PoNo |
关联采购订单编码 |
String |
PoeId |
关联采购订单明细id |
Int32 |
WhsId |
关联采购入库单id |
Int32 |
WhsNo |
关联采购入库单编码 |
String |
WhseId |
关联采购入库单明细id |
Int32 |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
RelatedPoId |
销售订单关联的采购订单id |
Int32 |
RelatedPoNo |
销售订单关联的采购订单No |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
ChangeReason |
变更原因 |
String |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"AcId": 0,
"AmountFirst": 0.0,
"Note": null,
"DoId": 0,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"PayInfoItems": null,
"Items": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"RelatedPoId": 0,
"RelatedPoNo": null,
"BillOrigin": 0,
"ChangeReason": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
修改销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/Update
请求头
请求参数
model |
|
SellOrderEditModel |
Id |
单据ID(☆原字段:SoId) |
Int32 |
No |
单据编号(☆原字段:SoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员ID |
Int32 |
Date |
单据日期(☆原字段:SoDate) |
DateTime |
DeliveryDate |
交货日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
Note |
备注 |
String |
DoId |
关联的出库单ID |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:SoeId) |
Int32 |
SoId |
单据Id |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品Id |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
IsClosed |
是否关闭 |
Boolean |
Note |
备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
PoId |
关联采购订单id |
Int32 |
PoNo |
关联采购订单编码 |
String |
PoeId |
关联采购订单明细id |
Int32 |
WhsId |
关联采购入库单id |
Int32 |
WhsNo |
关联采购入库单编码 |
String |
WhseId |
关联采购入库单明细id |
Int32 |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
RelatedPoId |
销售订单关联的采购订单id |
Int32 |
RelatedPoNo |
销售订单关联的采购订单No |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
ChangeReason |
变更原因 |
String |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"AcId": 0,
"AmountFirst": 0.0,
"Note": null,
"DoId": 0,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"PayInfoItems": null,
"Items": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"RelatedPoId": 0,
"RelatedPoNo": null,
"BillOrigin": 0,
"ChangeReason": null
}
返回值
返回示例
""
变更销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/Change
请求头
请求参数
model |
|
SellOrderEditModel |
Id |
单据ID(☆原字段:SoId) |
Int32 |
No |
单据编号(☆原字段:SoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员ID |
Int32 |
Date |
单据日期(☆原字段:SoDate) |
DateTime |
DeliveryDate |
交货日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
Note |
备注 |
String |
DoId |
关联的出库单ID |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:SoeId) |
Int32 |
SoId |
单据Id |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品Id |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
IsClosed |
是否关闭 |
Boolean |
Note |
备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
PoId |
关联采购订单id |
Int32 |
PoNo |
关联采购订单编码 |
String |
PoeId |
关联采购订单明细id |
Int32 |
WhsId |
关联采购入库单id |
Int32 |
WhsNo |
关联采购入库单编码 |
String |
WhseId |
关联采购入库单明细id |
Int32 |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
RelatedPoId |
销售订单关联的采购订单id |
Int32 |
RelatedPoNo |
销售订单关联的采购订单No |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
ChangeReason |
变更原因 |
String |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"AcId": 0,
"AmountFirst": 0.0,
"Note": null,
"DoId": 0,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"PayInfoItems": null,
"Items": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"RelatedPoId": 0,
"RelatedPoNo": null,
"BillOrigin": 0,
"ChangeReason": null
}
返回值
返回示例
""
保存并审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/Check
请求头
请求参数
model |
|
SellOrderEditModel |
Id |
单据ID(☆原字段:SoId) |
Int32 |
No |
单据编号(☆原字段:SoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员ID |
Int32 |
Date |
单据日期(☆原字段:SoDate) |
DateTime |
DeliveryDate |
交货日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
Note |
备注 |
String |
DoId |
关联的出库单ID |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:SoeId) |
Int32 |
SoId |
单据Id |
Int32 |
CatId |
商品类别ID |
Int32 |
ProdId |
商品Id |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
IsClosed |
是否关闭 |
Boolean |
Note |
备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
PoId |
关联采购订单id |
Int32 |
PoNo |
关联采购订单编码 |
String |
PoeId |
关联采购订单明细id |
Int32 |
WhsId |
关联采购入库单id |
Int32 |
WhsNo |
关联采购入库单编码 |
String |
WhseId |
关联采购入库单明细id |
Int32 |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
RelatedPoId |
销售订单关联的采购订单id |
Int32 |
RelatedPoNo |
销售订单关联的采购订单No |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
ChangeReason |
变更原因 |
String |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"AcId": 0,
"AmountFirst": 0.0,
"Note": null,
"DoId": 0,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"PayInfoItems": null,
"Items": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"RelatedPoId": 0,
"RelatedPoNo": null,
"BillOrigin": 0,
"ChangeReason": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
反审核销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/UnCheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
关闭销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/Close
请求头
请求参数
请求示例
0
返回值
返回示例
""
开启销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/UnClose
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除单条记录
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
获得最近的价格
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/GetLatestProductPrice
请求头
请求参数
para |
|
GetLatestSoProductPricePara |
VcId |
客户、供应商ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Count |
|
Decimal |
OrderDate |
|
DateTime |
请求示例
{
"VcId": 0,
"ProdId": 0,
"ApId": 0,
"UnitId": 0,
"Count": 0.0,
"OrderDate": "0001-01-01T00:00:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
GetLatestSoProductPriceResult |
GradeName |
客户等级 |
String |
GradePrice |
相应等级价格 |
String |
VcPrice |
|
Decimal |
VcPriceLimit |
|
Decimal |
VcTypePrice |
|
Decimal |
VcTypePriceLimit |
|
Decimal |
MaxPurPrice |
最高采购价 |
Decimal |
MinSellPrice |
最低销售价 |
Decimal |
返回示例
""
批量获得最近的价格
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/BatchGetLatestProductPrice
请求头
请求参数
paras |
|
BatchGetLatestSoProductPricePara |
VcId |
客户、供应商ID |
Int32 |
VcType |
客户供应商类型 |
Nullable`1 |
VcLevel |
客户等级 |
Nullable`1 |
请求示例
{
"VcId": 0,
"VcType": null,
"VcLevel": null,
"RowPriceParas": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
GradeName |
客户等级 |
String |
GradePrice |
相应等级价格 |
String |
VcPrice |
|
Decimal |
VcPriceLimit |
|
Decimal |
VcTypePrice |
|
Decimal |
VcTypePriceLimit |
|
Decimal |
MaxPurPrice |
最高采购价 |
Decimal |
MinSellPrice |
最低销售价 |
Decimal |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrder/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
SellOrderDetail
销售明细表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderDetail/Search
请求头
请求参数
conditions |
|
SoDetailSearchCondition |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
CustIds |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
Sales |
销售人员 |
Int32[] |
TypeIds |
业务类型 |
Int32[] |
ProdIds |
商品编号 |
Int32[] |
ProdType |
商品类别 |
Int32[] |
WhId |
仓库ID |
Int32[] |
WhType |
仓库类别 |
Int32[] |
Keywords |
关键字(加载相关字段后使用此属性过滤) |
String |
WithGrossProfit |
是否计算毛利 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"CustIds": null,
"CustType": null,
"Sales": null,
"TypeIds": null,
"ProdIds": null,
"ProdType": null,
"WhId": null,
"WhType": null,
"Keywords": null,
"WithGrossProfit": false,
"AccountingItemId": null,
"DepartmentId": null,
"InvoiceStatus": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
Date |
销售日期(☆原字段:SdDate) |
String |
BType |
单据类型 出库或者退货 |
Int32 |
Id |
销售单ID(☆原字段:SdId) |
Int32 |
DoeId |
|
Int32 |
No |
销售单据号(☆原字段:SdNo) |
String |
BusinessType |
业务类别 |
String |
SalesName |
销售人员(☆原字段:Salesman) |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
CustType |
客户类别 |
String |
CustId |
客户Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
名称 |
String |
CatName |
商品类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格型号 |
String |
ApName |
属性(☆原字段:Ap) |
String |
UnitName |
单位 |
String |
BaseUnitName |
基本单位 |
String |
MunitName |
多单位名称 |
String |
WhName |
仓库 |
String |
WhType |
仓库类别 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitQTY |
根据基本单位比例换算后的销售数量 |
Decimal |
MunitQty |
根据多单位换算的销售数量 |
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisRate |
折扣率 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
销售收入 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
BillDiscRate |
单据优惠率 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNo |
发票号码 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
UnitCost |
单位成本 |
Decimal |
SalesCost |
销售成本 |
Decimal |
GrossProfit |
销售毛利 |
Decimal |
GrossProfitRate |
毛利率 |
String |
Note |
备注 |
String |
BillNote |
整单备注 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
TotalRow |
总计行 |
SDetailsModel |
Date |
销售日期(☆原字段:SdDate) |
String |
BType |
单据类型 出库或者退货 |
Int32 |
Id |
销售单ID(☆原字段:SdId) |
Int32 |
DoeId |
|
Int32 |
No |
销售单据号(☆原字段:SdNo) |
String |
BusinessType |
业务类别 |
String |
SalesName |
销售人员(☆原字段:Salesman) |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
CustType |
客户类别 |
String |
CustId |
客户Id |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
名称 |
String |
CatName |
商品类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格型号 |
String |
ApName |
属性(☆原字段:Ap) |
String |
UnitName |
单位 |
String |
BaseUnitName |
基本单位 |
String |
MunitName |
多单位名称 |
String |
WhName |
仓库 |
String |
WhType |
仓库类别 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitQTY |
根据基本单位比例换算后的销售数量 |
Decimal |
MunitQty |
根据多单位换算的销售数量 |
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisRate |
折扣率 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
销售收入 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
BillDiscRate |
单据优惠率 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNo |
发票号码 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
UnitCost |
单位成本 |
Decimal |
SalesCost |
销售成本 |
Decimal |
GrossProfit |
销售毛利 |
Decimal |
GrossProfitRate |
毛利率 |
String |
Note |
备注 |
String |
BillNote |
整单备注 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderDetail/Export
请求头
请求参数
conditions |
|
SoDetailSearchCondition |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
CustIds |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
Sales |
销售人员 |
Int32[] |
TypeIds |
业务类型 |
Int32[] |
ProdIds |
商品编号 |
Int32[] |
ProdType |
商品类别 |
Int32[] |
WhId |
仓库ID |
Int32[] |
WhType |
仓库类别 |
Int32[] |
Keywords |
关键字(加载相关字段后使用此属性过滤) |
String |
WithGrossProfit |
是否计算毛利 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"CustIds": null,
"CustType": null,
"Sales": null,
"TypeIds": null,
"ProdIds": null,
"ProdType": null,
"WhId": null,
"WhType": null,
"Keywords": null,
"WithGrossProfit": false,
"AccountingItemId": null,
"DepartmentId": null,
"InvoiceStatus": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderDetail/Print
请求头
请求参数
conditions |
|
SoDetailSearchCondition |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
CustIds |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
Sales |
销售人员 |
Int32[] |
TypeIds |
业务类型 |
Int32[] |
ProdIds |
商品编号 |
Int32[] |
ProdType |
商品类别 |
Int32[] |
WhId |
仓库ID |
Int32[] |
WhType |
仓库类别 |
Int32[] |
Keywords |
关键字(加载相关字段后使用此属性过滤) |
String |
WithGrossProfit |
是否计算毛利 |
Boolean |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"CustIds": null,
"CustType": null,
"Sales": null,
"TypeIds": null,
"ProdIds": null,
"ProdType": null,
"WhId": null,
"WhType": null,
"Keywords": null,
"WithGrossProfit": false,
"AccountingItemId": null,
"DepartmentId": null,
"InvoiceStatus": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
SellOrderList
销售订单列表页面
检索销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/Search
请求头
请求参数
conditions |
|
SoSearchConditions |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
DeliveryDateStart |
交货日期起 |
DateTime |
DeliveryDateEnd |
交货日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
BillNo |
根据订单编号查询数据 第三方会使用 |
String |
Sales |
销售人员 |
Int32[] |
Sales1 |
只有以销定购使用 |
Int32 |
Status |
出库状态 |
BillStatus[] |
BillType |
订单类型(0,全部。2010,销售订单。2011,销售退货订单) |
Int32 |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售订单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CustIds |
多选客户 |
Int32[] |
CategoryId |
商品类别 |
Int32 |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
CategoryIds |
|
Int32[] |
MappingItems |
预计可用库存表查询锁定订单 |
ProdWhMapping |
isLocked |
|
Boolean |
ProdId |
|
Int32 |
WhId |
|
Int32 |
SoeIds |
预计可用库存表查询锁定订单的销售子订单ID |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"DeliveryDateStart": "0001-01-01T00:00:00",
"DeliveryDateEnd": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"BillNo": null,
"Sales": null,
"Sales1": 0,
"Status": null,
"BillType": 0,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"CustIds": null,
"CategoryId": 0,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"CategoryIds": null,
"MappingItems": null,
"SoeIds": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
单据ID |
Int32 |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
DoStatusStr |
出库状态(App端用)(☆原字段:ExStatus) |
String |
DoStatus |
出库状态(PC端用)(☆原字段:OutStatus) |
BillStatus |
LockedStatus |
锁定状态(☆原字段:CloseStatus) |
String |
IsClosed |
是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
BTypeName |
业务类型(销货/退货)(☆原字段:BillType) |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
LinkManTel |
|
String |
CustId |
客户ID |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
SalesNo |
销售员编码 |
String |
SalesId |
|
Int32 |
RelaSds |
关联销售单(出库/退货) |
IdNoPair[] |
RelaPoWhs |
关联采购单(订单/入库) |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
销售金额 |
Decimal |
DeliveryDate |
交货日期 |
String |
DeliveryDateFmt |
交货日期 |
String |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户收款 |
String |
AmountFirst |
首次收款 |
Decimal |
PrintCount |
打印次数 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
String |
BillOriginDesc |
单据来源 |
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
SumModel |
合计行 |
SellOrderListModel |
Id |
单据ID |
Int32 |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
DoStatusStr |
出库状态(App端用)(☆原字段:ExStatus) |
String |
DoStatus |
出库状态(PC端用)(☆原字段:OutStatus) |
BillStatus |
LockedStatus |
锁定状态(☆原字段:CloseStatus) |
String |
IsClosed |
是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
BTypeName |
业务类型(销货/退货)(☆原字段:BillType) |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
LinkManTel |
|
String |
CustId |
客户ID |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
SalesNo |
销售员编码 |
String |
SalesId |
|
Int32 |
RelaSds |
关联销售单(出库/退货) |
IdNoPair[] |
RelaPoWhs |
关联采购单(订单/入库) |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
销售金额 |
Decimal |
DeliveryDate |
交货日期 |
String |
DeliveryDateFmt |
交货日期 |
String |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户收款 |
String |
AmountFirst |
首次收款 |
Decimal |
PrintCount |
打印次数 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
String |
BillOriginDesc |
单据来源 |
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
查询单据及商品详情
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/SearchDetails
请求头
请求参数
conditions |
|
SoSearchConditions |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
DeliveryDateStart |
交货日期起 |
DateTime |
DeliveryDateEnd |
交货日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
BillNo |
根据订单编号查询数据 第三方会使用 |
String |
Sales |
销售人员 |
Int32[] |
Sales1 |
只有以销定购使用 |
Int32 |
Status |
出库状态 |
BillStatus[] |
BillType |
订单类型(0,全部。2010,销售订单。2011,销售退货订单) |
Int32 |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售订单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CustIds |
多选客户 |
Int32[] |
CategoryId |
商品类别 |
Int32 |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
CategoryIds |
|
Int32[] |
MappingItems |
预计可用库存表查询锁定订单 |
ProdWhMapping |
isLocked |
|
Boolean |
ProdId |
|
Int32 |
WhId |
|
Int32 |
SoeIds |
预计可用库存表查询锁定订单的销售子订单ID |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"DeliveryDateStart": "0001-01-01T00:00:00",
"DeliveryDateEnd": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"BillNo": null,
"Sales": null,
"Sales1": 0,
"Status": null,
"BillType": 0,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"CustIds": null,
"CategoryId": 0,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"CategoryIds": null,
"MappingItems": null,
"SoeIds": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
IsLock |
是否已锁定 |
Boolean |
LockedStatus |
锁定状态(☆原字段:CloseStatus) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsItemClosed |
子条目是否已关闭 |
Boolean |
Date |
订单日期 |
DateTime |
DateFmt |
订单日期 |
String |
No |
单据编号 |
String |
DeliveryDate |
交货日期 |
DateTime |
DeliveryDateFmt |
交货日期 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(销货/退货)(☆原字段:BillType) |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户 |
String |
CustName |
客户 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
AcId |
收款账户 |
Int32 |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户 |
String |
AmountFirst |
首次收款 |
Decimal |
RelaSds |
关联销售单(出库/退货) |
IdNoPair[] |
RelaPoWhs |
关联采购单(订单/入库) |
IdNoPair[] |
CheckedBy |
审核人 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
SoeId |
子条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ProdTaxRate |
|
String |
CustomerCode |
客户商品编码 |
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatId |
商品类别id |
Int32 |
CatName |
类别名称 |
String |
CatNo |
商品类别编码 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
WhNo |
仓库编码 |
String |
WhCatName |
仓库类别名称 |
String |
WhCatNo |
仓库类别名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
DoQTY |
已出库数量 |
Decimal |
DoRealQTY |
真实出库数量 |
Decimal |
DoStatus |
出库状态(PC端用)(☆原字段:OutStatus) |
BillStatus |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
ItemNote |
子条目备注 |
String |
BillDiscRate |
优惠率(%) (整单) |
Decimal |
BillDiscAmount |
优惠金额(整单) |
Decimal |
AmountAfterDisc |
优惠后金额(整单) |
Decimal |
BillAmountTax |
单据销售金额(整单) |
Decimal |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限日期 |
DateTime |
SettlePeriodDate |
|
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
SellOrderDetailListModel |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
IsLock |
是否已锁定 |
Boolean |
LockedStatus |
锁定状态(☆原字段:CloseStatus) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsItemClosed |
子条目是否已关闭 |
Boolean |
Date |
订单日期 |
DateTime |
DateFmt |
订单日期 |
String |
No |
单据编号 |
String |
DeliveryDate |
交货日期 |
DateTime |
DeliveryDateFmt |
交货日期 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(销货/退货)(☆原字段:BillType) |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户 |
String |
CustName |
客户 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
AcId |
收款账户 |
Int32 |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户 |
String |
AmountFirst |
首次收款 |
Decimal |
RelaSds |
关联销售单(出库/退货) |
IdNoPair[] |
RelaPoWhs |
关联采购单(订单/入库) |
IdNoPair[] |
CheckedBy |
审核人 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
SoeId |
子条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ProdTaxRate |
|
String |
CustomerCode |
客户商品编码 |
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatId |
商品类别id |
Int32 |
CatName |
类别名称 |
String |
CatNo |
商品类别编码 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
WhNo |
仓库编码 |
String |
WhCatName |
仓库类别名称 |
String |
WhCatNo |
仓库类别名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
DoQTY |
已出库数量 |
Decimal |
DoRealQTY |
真实出库数量 |
Decimal |
DoStatus |
出库状态(PC端用)(☆原字段:OutStatus) |
BillStatus |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
ItemNote |
子条目备注 |
String |
BillDiscRate |
优惠率(%) (整单) |
Decimal |
BillDiscAmount |
优惠金额(整单) |
Decimal |
AmountAfterDisc |
优惠后金额(整单) |
Decimal |
BillAmountTax |
单据销售金额(整单) |
Decimal |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限日期 |
DateTime |
SettlePeriodDate |
|
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
批量审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/Check
请求头
请求参数
soIds |
销售订单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量反审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/UnCheck
请求头
请求参数
soIds |
销售订单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量删除
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/Delete
请求头
请求参数
soIds |
销售订单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量关闭
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/Close
请求头
请求参数
soIds |
销售订单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
按明细批量关闭
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/CloseErp
请求头
请求参数
soRelation |
|
SORelation |
SoModel |
|
array[object] |
Id |
主表ID |
Int32 |
DetailId |
明细id |
Int32 |
请求示例
{
"SoModel": null
}
返回值
返回示例
""
批量启用
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/UnClose
请求头
请求参数
soIds |
销售订单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
按明细批量启用
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/UnCloseErp
请求头
请求参数
soRelation |
|
SORelation |
SoModel |
|
array[object] |
Id |
主表ID |
Int32 |
DetailId |
明细id |
Int32 |
请求示例
{
"SoModel": null
}
返回值
返回示例
""
批量锁定
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/Lock
请求头
请求参数
soIds |
销售订单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量锁定
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/LockErp
请求头
请求参数
soRelation |
销售订单主表ID以及条目id |
SORelation |
SoModel |
|
array[object] |
Id |
主表ID |
Int32 |
DetailId |
明细id |
Int32 |
请求示例
{
"SoModel": null
}
返回值
返回示例
""
批量解锁
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/UnLock
请求头
请求参数
soIds |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量解锁
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/UnLockErp
请求头
请求参数
soRelation |
|
SORelation |
SoModel |
|
array[object] |
Id |
主表ID |
Int32 |
DetailId |
明细id |
Int32 |
请求示例
{
"SoModel": null
}
返回值
返回示例
""
打印销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/Print
请求头
请求参数
guid |
Pdf文档标识 |
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印销售订单
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/SeniorPrint
请求头
请求参数
guid |
Pdf文档标识 |
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/Export
请求头
请求参数
conditions |
|
SoSearchConditions |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
DeliveryDateStart |
交货日期起 |
DateTime |
DeliveryDateEnd |
交货日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
BillNo |
根据订单编号查询数据 第三方会使用 |
String |
Sales |
销售人员 |
Int32[] |
Sales1 |
只有以销定购使用 |
Int32 |
Status |
出库状态 |
BillStatus[] |
BillType |
订单类型(0,全部。2010,销售订单。2011,销售退货订单) |
Int32 |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售订单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CustIds |
多选客户 |
Int32[] |
CategoryId |
商品类别 |
Int32 |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
CategoryIds |
|
Int32[] |
MappingItems |
预计可用库存表查询锁定订单 |
ProdWhMapping |
isLocked |
|
Boolean |
ProdId |
|
Int32 |
WhId |
|
Int32 |
SoeIds |
预计可用库存表查询锁定订单的销售子订单ID |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"DeliveryDateStart": "0001-01-01T00:00:00",
"DeliveryDateEnd": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"BillNo": null,
"Sales": null,
"Sales1": 0,
"Status": null,
"BillType": 0,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"CustIds": null,
"CategoryId": 0,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"CategoryIds": null,
"MappingItems": null,
"SoeIds": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载销售订单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/DownErrorData
请求头
请求参数
guId |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
销售订单列表 - 导入销售订单记录
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取用于出库单的订单信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderList/SearchSourceBills
请求头
请求参数
conditions |
|
BillSearchConditions |
isDetail |
选择源单时是否显示商品明细 |
Boolean |
VcId |
往来单位ID |
Int32 |
SourceBillType |
源单单据类型(采购入库订单/采购退货订单/采购入库单/销售出库订单/销售退货订单/销售出库单) |
BillType |
BillType |
生成的单据类型(采购入库订单/采购退货订单/采购入库单/销售出库订单/销售退货订单/销售出库单) |
BillType |
Keyword |
关键字(单据编号) |
String |
DateStart |
单据日期起 |
Nullable`1 |
DateEnd |
单据日期至 |
Nullable`1 |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"isDetail": false,
"VcId": 0,
"SourceBillType": 0,
"BillType": 0,
"Keyword": null,
"DateStart": null,
"DateEnd": null,
"PageIndex": 0,
"PageSize": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
单据ID |
Int32 |
EntryId |
子条目ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
String |
DeliveryDate |
交货日期 |
String |
VcName |
往来单位名称 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
商品规格 |
String |
UnitName |
单位名称 |
String |
QTY |
数量 |
Decimal |
UsedQTY |
已入库/出库数量 |
Decimal |
RestQTY |
剩余数量 |
Decimal |
ApName |
辅助属性名称 |
String |
SumModel |
合计行 |
SelectBillListModel |
Id |
单据ID |
Int32 |
EntryId |
子条目ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
String |
DeliveryDate |
交货日期 |
String |
VcName |
往来单位名称 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
商品规格 |
String |
UnitName |
单位名称 |
String |
QTY |
数量 |
Decimal |
UsedQTY |
已入库/出库数量 |
Decimal |
RestQTY |
剩余数量 |
Decimal |
ApName |
辅助属性名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
SellOrderSummary
销售汇总表
检索销售汇总表
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/Search
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
IsCountRow |
是否合计行 |
Boolean |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户编码/名称 |
String |
CustTypeName |
客户类别 |
String |
Sales |
销售人员ID |
Int32 |
SalesNo |
销售员编号 |
String |
SalesName |
销售员 |
String |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
名称 |
String |
CatName |
商品类别 |
String |
Spec |
规格型号(☆原字段:ProdSpec) |
String |
ApName |
属性(☆原字段:Ap) |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhNo |
仓库编号 |
String |
WhName |
仓库 |
String |
WhType |
|
String |
UnitName |
多单位 |
String |
MulQtyDesc |
多单位数量 |
String |
UnitBaseName |
单位 |
String |
QTY |
单位数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
Price |
单价 |
Decimal |
Amount |
销售金额 |
Decimal |
DiscAllocation |
优惠金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
UnitCost |
单位成本 |
Decimal |
SalesCost |
销售成本 |
Decimal |
GrossProfit |
销售毛利 |
Decimal |
GrossProfitRate |
毛利率 |
String |
AccountingItemProfit |
项目利润 |
Decimal |
AccountingItemProfitRate |
项目利润率 |
String |
Expense |
销售费用 |
Decimal |
BillOfdAmount |
已核销金额(收款金额) |
Decimal |
BillAmount |
未收款金额 |
Decimal |
DepartmentId |
部门 |
Int32 |
DepartmentNo |
部门编号 |
String |
DepartmentName |
部门名称 |
String |
DepartmentProfit |
部门利润 |
Decimal |
UpperDepartmentName |
上级部门名称 |
String |
DepartmentProfitRate |
部门利润率 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemNo |
项目编码 |
String |
AccountingItemName |
辅助核算项目名称 |
String |
AccountingDepartment |
辅助核算-项目的负责部门 |
String |
AccountingOwner |
辅助核算-项目的责任人 |
String |
MobilePhone |
联系电话 |
String |
AccountingStatus |
是否可用 |
Boolean |
StartDate |
辅助核算-项目的开始日期 |
String |
EndDate |
辅助核算-项目的验收日期 |
String |
Note |
辅助核算-项目的备注 |
String |
TotalRow |
总计行 |
SSummaryModel |
IsCountRow |
是否合计行 |
Boolean |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户编码/名称 |
String |
CustTypeName |
客户类别 |
String |
Sales |
销售人员ID |
Int32 |
SalesNo |
销售员编号 |
String |
SalesName |
销售员 |
String |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
名称 |
String |
CatName |
商品类别 |
String |
Spec |
规格型号(☆原字段:ProdSpec) |
String |
ApName |
属性(☆原字段:Ap) |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhNo |
仓库编号 |
String |
WhName |
仓库 |
String |
WhType |
|
String |
UnitName |
多单位 |
String |
MulQtyDesc |
多单位数量 |
String |
UnitBaseName |
单位 |
String |
QTY |
单位数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
Price |
单价 |
Decimal |
Amount |
销售金额 |
Decimal |
DiscAllocation |
优惠金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
UnitCost |
单位成本 |
Decimal |
SalesCost |
销售成本 |
Decimal |
GrossProfit |
销售毛利 |
Decimal |
GrossProfitRate |
毛利率 |
String |
AccountingItemProfit |
项目利润 |
Decimal |
AccountingItemProfitRate |
项目利润率 |
String |
Expense |
销售费用 |
Decimal |
BillOfdAmount |
已核销金额(收款金额) |
Decimal |
BillAmount |
未收款金额 |
Decimal |
DepartmentId |
部门 |
Int32 |
DepartmentNo |
部门编号 |
String |
DepartmentName |
部门名称 |
String |
DepartmentProfit |
部门利润 |
Decimal |
UpperDepartmentName |
上级部门名称 |
String |
DepartmentProfitRate |
部门利润率 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemNo |
项目编码 |
String |
AccountingItemName |
辅助核算项目名称 |
String |
AccountingDepartment |
辅助核算-项目的负责部门 |
String |
AccountingOwner |
辅助核算-项目的责任人 |
String |
MobilePhone |
联系电话 |
String |
AccountingStatus |
是否可用 |
Boolean |
StartDate |
辅助核算-项目的开始日期 |
String |
EndDate |
辅助核算-项目的验收日期 |
String |
Note |
辅助核算-项目的备注 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
检索销售汇总表(按商品)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/SearchByProd
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
ProdName |
商品名称 |
String |
QTY |
销售数量(☆原字段:Qty) |
Decimal |
Amount |
销售金额 |
Decimal |
DiscAllocation |
优惠金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
返回示例
""
检索销售汇总表(按客户)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/SearchByCust
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
CustName |
客户名称 |
String |
SalesCount |
销售笔数 |
Int32 |
Amount |
销售金额 |
Decimal |
DiscAllocation |
优惠金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SalesCost |
销售成本 |
Decimal |
GrossProfit |
销售毛利 |
Decimal |
返回示例
""
检索销售汇总表(按销售人员)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/SearchBySalesman
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Salesman |
销售人员 |
String |
SalesCount |
销售笔数 |
Int32 |
Amount |
销售金额 |
Decimal |
返回示例
""
分享销售汇总表链接(按商品)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/ShareLinkByProd
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享销售汇总表链接(按客户)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/ShareLinkByCust
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享销售汇总表链接(按销售员)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/ShareLinkBySalesman
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/SharePdf
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/ShareExcel
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/Export
请求头
请求参数
conditions |
|
SoSummarySearchCondition |
SummaryType |
* 统计类别 (1010:按商品,1020:按客户,1030:按销售人员) |
SaleSummaryType |
ProductIds |
商品ID |
Int32[] |
Category |
商品类别(针对App) |
Int32[] |
CustomerIds |
客户ID |
Int32[] |
CustTypeId |
客户类别ID(针对App) |
Int32[] |
SalesId |
销售人员ID |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
关键字 |
String |
BillStart |
单据日期起 |
String |
BillEnd |
单据日期至 |
String |
WarehouseId |
仓库ID |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
WithGrossProfit |
是否计算毛利 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
MaxRecCount |
返回最大记录数(针对App。如果为0,返回全部) |
Int32 |
ApName |
商品属性 |
String |
ApIds |
商品属性 |
Int32[] |
Spec |
规格型号 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"Category": null,
"CustomerIds": null,
"CustTypeId": null,
"SalesId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": false,
"MaxRecCount": 0,
"ApName": null,
"ApIds": null,
"Spec": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印销售汇总表(按商品)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/PrintByProd
请求头
请求参数
conditions |
|
SellOrderSummaryByProdCondition |
SummaryType |
|
SaleSummaryType |
BillStart |
|
String |
BillEnd |
|
String |
ProductIds |
|
Int32[] |
Category |
|
Int32[] |
WarehouseId |
|
Int32[] |
WhCat |
|
Int32[] |
Spec |
|
String |
ShowAP |
|
Boolean |
WithGrossProfit |
|
Boolean |
ShowSubtotalRows |
|
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"BillStart": null,
"BillEnd": null,
"ProductIds": null,
"Category": null,
"WarehouseId": null,
"WhCat": null,
"Spec": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印销售汇总表(按客户)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/PrinthByCust
请求头
请求参数
conditions |
|
SellOrderSummaryCondition |
SummaryType |
|
SaleSummaryType |
BillStart |
|
String |
BillEnd |
|
String |
ProductIds |
|
Int32[] |
Category |
|
Int32[] |
WarehouseId |
|
Int32[] |
WhCat |
|
Int32[] |
Spec |
|
String |
ShowAP |
|
Boolean |
WithGrossProfit |
|
Boolean |
ShowSubtotalRows |
|
Boolean |
ShowInactive |
|
Boolean |
CustomerIds |
|
Int32[] |
CustTypeId |
|
Int32[] |
Keywords |
|
String |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
EmployeeID |
|
Int32[] |
SalesId |
|
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"BillStart": null,
"BillEnd": null,
"ProductIds": null,
"Category": null,
"WarehouseId": null,
"WhCat": null,
"Spec": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": true,
"ShowInactive": false,
"CustomerIds": null,
"CustTypeId": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"EmployeeID": null,
"SalesId": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印销售汇总表(按部门)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/PrintByDepartment
请求头
请求参数
conditions |
|
SellOrderSummaryCondition |
SummaryType |
|
SaleSummaryType |
BillStart |
|
String |
BillEnd |
|
String |
ProductIds |
|
Int32[] |
Category |
|
Int32[] |
WarehouseId |
|
Int32[] |
WhCat |
|
Int32[] |
Spec |
|
String |
ShowAP |
|
Boolean |
WithGrossProfit |
|
Boolean |
ShowSubtotalRows |
|
Boolean |
ShowInactive |
|
Boolean |
CustomerIds |
|
Int32[] |
CustTypeId |
|
Int32[] |
Keywords |
|
String |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
EmployeeID |
|
Int32[] |
SalesId |
|
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"BillStart": null,
"BillEnd": null,
"ProductIds": null,
"Category": null,
"WarehouseId": null,
"WhCat": null,
"Spec": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": true,
"ShowInactive": false,
"CustomerIds": null,
"CustTypeId": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"EmployeeID": null,
"SalesId": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印销售汇总表(按销售人员)
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderSummary/PrinthBySale
请求头
请求参数
conditions |
|
SellOrderSummaryCondition |
SummaryType |
|
SaleSummaryType |
BillStart |
|
String |
BillEnd |
|
String |
ProductIds |
|
Int32[] |
Category |
|
Int32[] |
WarehouseId |
|
Int32[] |
WhCat |
|
Int32[] |
Spec |
|
String |
ShowAP |
|
Boolean |
WithGrossProfit |
|
Boolean |
ShowSubtotalRows |
|
Boolean |
ShowInactive |
|
Boolean |
CustomerIds |
|
Int32[] |
CustTypeId |
|
Int32[] |
Keywords |
|
String |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
EmployeeID |
|
Int32[] |
SalesId |
|
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"BillStart": null,
"BillEnd": null,
"ProductIds": null,
"Category": null,
"WarehouseId": null,
"WhCat": null,
"Spec": null,
"ShowAP": false,
"WithGrossProfit": false,
"ShowSubtotalRows": true,
"ShowInactive": false,
"CustomerIds": null,
"CustTypeId": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"EmployeeID": null,
"SalesId": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
SellOrderTrack
销售订单跟踪表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderTrack/Search
请求头
请求参数
conditions |
|
SoTrackSearchCondition |
Id |
订单Id |
Int32[] |
BillStart |
单据日期 |
String |
BillEnd |
单据日期 |
String |
CustId |
客户 |
Int32[] |
CustType |
客户类别 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
状态 |
Int32[] |
ReceiptStatus |
收款状态 |
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
ProductIds |
商品 |
Int32[] |
ProdType |
商品类别 |
Int32[] |
Keywords |
|
String |
CreatedBy |
下单人 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
IsShowProdDetail |
是否显示商品明细 |
Boolean |
IsAllFlowTrack |
是否全流程追踪 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": null,
"BillStart": null,
"BillEnd": null,
"CustId": null,
"CustType": null,
"Sales": null,
"Status": null,
"ReceiptStatus": null,
"InvoiceStatus": null,
"ProductIds": [],
"ProdType": null,
"Keywords": null,
"CreatedBy": null,
"AccountingItemId": null,
"DepartmentId": null,
"IsShowProdDetail": true,
"IsAllFlowTrack": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
IsCountRow |
是否用来计算total |
Boolean |
IsIgnorePage |
为true时不参与分页 |
Boolean |
IsSummary |
是否是合计行,给前端 |
Boolean |
BType |
单据类型 |
BillType |
ProdNo |
商品编码 |
String |
WhName |
|
String |
ProdType |
商品类型 |
String |
ProdName |
名称 |
String |
ProdImage |
|
String |
Spec |
规格型号 |
String |
ApName |
属性(☆原字段:Ap) |
String |
UnitName |
单位 |
String |
Id |
单据ID(☆原字段:SoId) |
Int32 |
EntryId |
订单子条目类型 |
Int32 |
Date |
订单日期(☆原字段:SoDate) |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
CustId |
客户id |
Int32 |
CustTypeName |
客户类别 |
String |
SalesName |
销售人员(☆原字段:Employee) |
String |
DoStatusStr |
入库状态(☆原字段:Status) |
String |
DoStatus |
入库状态 |
Int32 |
ReceiptStatusStr |
收款状态 |
String |
ReceiptStatus |
|
Int32 |
InvoiceStatusStr |
开票状态 |
String |
InvoiceStatus |
|
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
|
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
Amount |
购货金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
ExQTY |
已出库数量 |
Decimal |
RestQty |
未出库数量 |
Decimal |
ExAmount |
已出库金额 |
Decimal |
RestAmount |
未出库金额 |
Decimal |
DeliveryDate |
预计交货日期 |
String |
DoDate |
最后出库日期 |
String |
Note |
备注 |
String |
BillNote |
整单备注 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
OfdAmount |
收款金额 |
Decimal |
OfuAmount |
未收款金额 |
Decimal |
CreatedByName |
制单人 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
Items |
|
array[object] |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
InvoiceAmount |
发票金额 |
Decimal |
NoInvoiceAmount |
未开发票金额 |
Decimal |
OfdAmount |
核销金额,收款金额 |
Decimal |
OfuAmount |
未核销金额,未收款金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
TotalRow |
总计行 |
SoTrackModel |
IsCountRow |
是否用来计算total |
Boolean |
IsIgnorePage |
为true时不参与分页 |
Boolean |
IsSummary |
是否是合计行,给前端 |
Boolean |
BType |
单据类型 |
BillType |
ProdNo |
商品编码 |
String |
WhName |
|
String |
ProdType |
商品类型 |
String |
ProdName |
名称 |
String |
ProdImage |
|
String |
Spec |
规格型号 |
String |
ApName |
属性(☆原字段:Ap) |
String |
UnitName |
单位 |
String |
Id |
单据ID(☆原字段:SoId) |
Int32 |
EntryId |
订单子条目类型 |
Int32 |
Date |
订单日期(☆原字段:SoDate) |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
CustId |
客户id |
Int32 |
CustTypeName |
客户类别 |
String |
SalesName |
销售人员(☆原字段:Employee) |
String |
DoStatusStr |
入库状态(☆原字段:Status) |
String |
DoStatus |
入库状态 |
Int32 |
ReceiptStatusStr |
收款状态 |
String |
ReceiptStatus |
|
Int32 |
InvoiceStatusStr |
开票状态 |
String |
InvoiceStatus |
|
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
|
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
Amount |
购货金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
ExQTY |
已出库数量 |
Decimal |
RestQty |
未出库数量 |
Decimal |
ExAmount |
已出库金额 |
Decimal |
RestAmount |
未出库金额 |
Decimal |
DeliveryDate |
预计交货日期 |
String |
DoDate |
最后出库日期 |
String |
Note |
备注 |
String |
BillNote |
整单备注 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
OfdAmount |
收款金额 |
Decimal |
OfuAmount |
未收款金额 |
Decimal |
CreatedByName |
制单人 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
Items |
|
array[object] |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
InvoiceAmount |
发票金额 |
Decimal |
NoInvoiceAmount |
未开发票金额 |
Decimal |
OfdAmount |
核销金额,收款金额 |
Decimal |
OfuAmount |
未核销金额,未收款金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
订单跟踪表跳转详情页 手机端用
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderTrack/Init
请求头
请求参数
condition |
|
SoTrackInitCondition |
Id |
订单Id |
Int32 |
EId |
订单条目Id |
Int32[] |
DetailType |
用于控制从订单跟踪表跳到不同的详情页 |
SoTrackDetailTypeEnum |
Keywords |
|
String |
请求示例
{
"Id": 0,
"EId": null,
"DetailType": 0,
"Keywords": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
IsCountRow |
是否用来计算total |
Boolean |
IsIgnorePage |
为true时不参与分页 |
Boolean |
IsSummary |
是否是合计行,给前端 |
Boolean |
BType |
单据类型 |
BillType |
ProdNo |
商品编码 |
String |
WhName |
|
String |
ProdType |
商品类型 |
String |
ProdName |
名称 |
String |
ProdImage |
|
String |
Spec |
规格型号 |
String |
ApName |
属性(☆原字段:Ap) |
String |
UnitName |
单位 |
String |
Id |
单据ID(☆原字段:SoId) |
Int32 |
EntryId |
订单子条目类型 |
Int32 |
Date |
订单日期(☆原字段:SoDate) |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
CustId |
客户id |
Int32 |
CustTypeName |
客户类别 |
String |
SalesName |
销售人员(☆原字段:Employee) |
String |
DoStatusStr |
入库状态(☆原字段:Status) |
String |
DoStatus |
入库状态 |
Int32 |
ReceiptStatusStr |
收款状态 |
String |
ReceiptStatus |
|
Int32 |
InvoiceStatusStr |
开票状态 |
String |
InvoiceStatus |
|
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
|
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
Amount |
购货金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
ExQTY |
已出库数量 |
Decimal |
RestQty |
未出库数量 |
Decimal |
ExAmount |
已出库金额 |
Decimal |
RestAmount |
未出库金额 |
Decimal |
DeliveryDate |
预计交货日期 |
String |
DoDate |
最后出库日期 |
String |
Note |
备注 |
String |
BillNote |
整单备注 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
OfdAmount |
收款金额 |
Decimal |
OfuAmount |
未收款金额 |
Decimal |
CreatedByName |
制单人 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
Items |
|
array[object] |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
InvoiceAmount |
发票金额 |
Decimal |
NoInvoiceAmount |
未开发票金额 |
Decimal |
OfdAmount |
核销金额,收款金额 |
Decimal |
OfuAmount |
未核销金额,未收款金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
TotalRow |
总计行 |
SoTrackModel |
IsCountRow |
是否用来计算total |
Boolean |
IsIgnorePage |
为true时不参与分页 |
Boolean |
IsSummary |
是否是合计行,给前端 |
Boolean |
BType |
单据类型 |
BillType |
ProdNo |
商品编码 |
String |
WhName |
|
String |
ProdType |
商品类型 |
String |
ProdName |
名称 |
String |
ProdImage |
|
String |
Spec |
规格型号 |
String |
ApName |
属性(☆原字段:Ap) |
String |
UnitName |
单位 |
String |
Id |
单据ID(☆原字段:SoId) |
Int32 |
EntryId |
订单子条目类型 |
Int32 |
Date |
订单日期(☆原字段:SoDate) |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
CustId |
客户id |
Int32 |
CustTypeName |
客户类别 |
String |
SalesName |
销售人员(☆原字段:Employee) |
String |
DoStatusStr |
入库状态(☆原字段:Status) |
String |
DoStatus |
入库状态 |
Int32 |
ReceiptStatusStr |
收款状态 |
String |
ReceiptStatus |
|
Int32 |
InvoiceStatusStr |
开票状态 |
String |
InvoiceStatus |
|
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
|
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
Amount |
购货金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
ExQTY |
已出库数量 |
Decimal |
RestQty |
未出库数量 |
Decimal |
ExAmount |
已出库金额 |
Decimal |
RestAmount |
未出库金额 |
Decimal |
DeliveryDate |
预计交货日期 |
String |
DoDate |
最后出库日期 |
String |
Note |
备注 |
String |
BillNote |
整单备注 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
OfdAmount |
收款金额 |
Decimal |
OfuAmount |
未收款金额 |
Decimal |
CreatedByName |
制单人 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
Items |
|
array[object] |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
InvoiceAmount |
发票金额 |
Decimal |
NoInvoiceAmount |
未开发票金额 |
Decimal |
OfdAmount |
核销金额,收款金额 |
Decimal |
OfuAmount |
未核销金额,未收款金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderTrack/Export
请求头
请求参数
conditions |
|
SoTrackSearchCondition |
Id |
订单Id |
Int32[] |
BillStart |
单据日期 |
String |
BillEnd |
单据日期 |
String |
CustId |
客户 |
Int32[] |
CustType |
客户类别 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
状态 |
Int32[] |
ReceiptStatus |
收款状态 |
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
ProductIds |
商品 |
Int32[] |
ProdType |
商品类别 |
Int32[] |
Keywords |
|
String |
CreatedBy |
下单人 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
IsShowProdDetail |
是否显示商品明细 |
Boolean |
IsAllFlowTrack |
是否全流程追踪 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": null,
"BillStart": null,
"BillEnd": null,
"CustId": null,
"CustType": null,
"Sales": null,
"Status": null,
"ReceiptStatus": null,
"InvoiceStatus": null,
"ProductIds": [],
"ProdType": null,
"Keywords": null,
"CreatedBy": null,
"AccountingItemId": null,
"DepartmentId": null,
"IsShowProdDetail": true,
"IsAllFlowTrack": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/SellOrderTrack/Print
请求头
请求参数
conditions |
|
SoTrackSearchCondition |
Id |
订单Id |
Int32[] |
BillStart |
单据日期 |
String |
BillEnd |
单据日期 |
String |
CustId |
客户 |
Int32[] |
CustType |
客户类别 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
状态 |
Int32[] |
ReceiptStatus |
收款状态 |
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
ProductIds |
商品 |
Int32[] |
ProdType |
商品类别 |
Int32[] |
Keywords |
|
String |
CreatedBy |
下单人 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
IsShowProdDetail |
是否显示商品明细 |
Boolean |
IsAllFlowTrack |
是否全流程追踪 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": null,
"BillStart": null,
"BillEnd": null,
"CustId": null,
"CustType": null,
"Sales": null,
"Status": null,
"ReceiptStatus": null,
"InvoiceStatus": null,
"ProductIds": [],
"ProdType": null,
"Keywords": null,
"CreatedBy": null,
"AccountingItemId": null,
"DepartmentId": null,
"IsShowProdDetail": true,
"IsAllFlowTrack": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
SellRankingsList
销售排行表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/SellRankingsList/Search
请求头
请求参数
conditions |
|
SellRankingSearchConditions |
SummaryType |
统计类别 (1010:按客户,1020:按部门,1030:按销售人员,1040:按商品),默认按照客户 |
Int32 |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
CustIds |
客户ID 集合 |
Int32[] |
CustTypeId |
客户类别ID |
Int32 |
Keyword |
关键字 |
String |
SalesId |
销售人员ID |
Int32 |
DepartmentId |
部门ID |
Int32 |
ProductId |
商品ID 集合 |
Int32[] |
ProductTypeId |
商品类别ID |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 1010,
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustTypeId": 0,
"Keyword": null,
"SalesId": 0,
"DepartmentId": 0,
"ProductId": null,
"ProductTypeId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
CustTypeName |
客户类别 |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
Count |
销售笔数 |
Int32 |
Amount |
销售金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
UnitCost |
单位成本 |
Decimal |
SalesCost |
销售成本 |
Decimal |
GrossProfit |
销售毛利 |
Decimal |
GrossProfitRate |
毛利率 |
String |
DepartmentId |
部门ID |
Int32 |
DepartmentNo |
部门编码 |
String |
DepartmentName |
部门名称 |
String |
Sales |
销售人员ID |
Int32 |
SalesNo |
销售人员编码 |
String |
SalesName |
销售员名称 |
String |
ProductTypeName |
商品类别 |
String |
ProductId |
商品ID |
Int32 |
ProductNo |
商品编码 |
String |
ProductName |
商品名称 |
String |
ProductSpec |
销售规格 |
String |
ApName |
属性名称 |
String |
SellCount |
按商品汇总时 商品的销售数量 按基础单位换算 |
Decimal |
UnitName |
按商品汇总时 商品的销售数量对应的单位 (基础单位) |
String |
UnitId |
按商品汇总时 商品的销售数量对应的单位 (基础单位) |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SellRankingsList/Export
请求头
请求参数
conditions |
|
SellRankingSearchConditions |
SummaryType |
统计类别 (1010:按客户,1020:按部门,1030:按销售人员,1040:按商品),默认按照客户 |
Int32 |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
CustIds |
客户ID 集合 |
Int32[] |
CustTypeId |
客户类别ID |
Int32 |
Keyword |
关键字 |
String |
SalesId |
销售人员ID |
Int32 |
DepartmentId |
部门ID |
Int32 |
ProductId |
商品ID 集合 |
Int32[] |
ProductTypeId |
商品类别ID |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 1010,
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustTypeId": 0,
"Keyword": null,
"SalesId": 0,
"DepartmentId": 0,
"ProductId": null,
"ProductTypeId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/SellRankingsList/Print
请求头
请求参数
conditions |
|
SellRankingSearchConditions |
SummaryType |
统计类别 (1010:按客户,1020:按部门,1030:按销售人员,1040:按商品),默认按照客户 |
Int32 |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
CustIds |
客户ID 集合 |
Int32[] |
CustTypeId |
客户类别ID |
Int32 |
Keyword |
关键字 |
String |
SalesId |
销售人员ID |
Int32 |
DepartmentId |
部门ID |
Int32 |
ProductId |
商品ID 集合 |
Int32[] |
ProductTypeId |
商品类别ID |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 1010,
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustTypeId": 0,
"Keyword": null,
"SalesId": 0,
"DepartmentId": 0,
"ProductId": null,
"ProductTypeId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
SellReceipt
销售收款一览表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/SellReceipt/Search
请求头
请求参数
conditions |
|
SRLSearchConditions |
BillStart |
单据检索日期起 |
Nullable`1 |
BillEnd |
单据检索日期至 |
Nullable`1 |
CustIds |
客户ID |
Int32[] |
CustType |
客户类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SalesId |
销售人员 |
Int32[] |
Keywords |
关键字 |
String |
AsStartDate |
账套开启日期 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
Status |
收款/退款状态(1010,未。1020,部分。1030,全部) [-1]也可能会被传过来,在构建数据查询条件的时候会去掉小于0的相当于没加搜索条件 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"CustIds": null,
"CustType": null,
"BillType": null,
"SalesId": null,
"Keywords": null,
"AsStartDate": "0001-01-01T00:00:00",
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"Status": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
IsCountRow |
是否是合计行 |
Boolean |
CustTypeName |
客户类别 |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
SalesName |
销售员(☆原字段:Sales) |
String |
BType |
单据类型(☆原字段:BillType) |
Int32 |
BusinessType |
业务类型 |
String |
Date |
单据日期(☆原字段:BillDate) |
String |
Id |
单据ID(☆原字段:BillId) |
Int32 |
No |
单据编号(☆原字段:BillNo) |
String |
OrpId |
核销记录ID |
Int32 |
OrpNo |
核销记录编号 |
String |
Amount |
销售金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
AmountFirst |
本次收款(☆原字段:CurrentReceipt) |
Decimal |
Blance |
应收款余额 |
Decimal |
ReceiptRate |
收款率 |
String |
Note |
备注 |
String |
AcName |
付款账户 |
String |
StatusText |
销售收款状态 |
String |
TotalRow |
总计行 |
SellReceiptModel |
IsCountRow |
是否是合计行 |
Boolean |
CustTypeName |
客户类别 |
String |
CustName |
客户 |
String |
CustNo |
客户编码 |
String |
SalesName |
销售员(☆原字段:Sales) |
String |
BType |
单据类型(☆原字段:BillType) |
Int32 |
BusinessType |
业务类型 |
String |
Date |
单据日期(☆原字段:BillDate) |
String |
Id |
单据ID(☆原字段:BillId) |
Int32 |
No |
单据编号(☆原字段:BillNo) |
String |
OrpId |
核销记录ID |
Int32 |
OrpNo |
核销记录编号 |
String |
Amount |
销售金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
AmountFirst |
本次收款(☆原字段:CurrentReceipt) |
Decimal |
Blance |
应收款余额 |
Decimal |
ReceiptRate |
收款率 |
String |
Note |
备注 |
String |
AcName |
付款账户 |
String |
StatusText |
销售收款状态 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SellReceipt/Export
请求头
请求参数
conditions |
|
SRLSearchConditions |
BillStart |
单据检索日期起 |
Nullable`1 |
BillEnd |
单据检索日期至 |
Nullable`1 |
CustIds |
客户ID |
Int32[] |
CustType |
客户类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SalesId |
销售人员 |
Int32[] |
Keywords |
关键字 |
String |
AsStartDate |
账套开启日期 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
Status |
收款/退款状态(1010,未。1020,部分。1030,全部) [-1]也可能会被传过来,在构建数据查询条件的时候会去掉小于0的相当于没加搜索条件 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"CustIds": null,
"CustType": null,
"BillType": null,
"SalesId": null,
"Keywords": null,
"AsStartDate": "0001-01-01T00:00:00",
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"Status": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/SellReceipt/Print
请求头
请求参数
conditions |
|
SRLSearchConditions |
BillStart |
单据检索日期起 |
Nullable`1 |
BillEnd |
单据检索日期至 |
Nullable`1 |
CustIds |
客户ID |
Int32[] |
CustType |
客户类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SalesId |
销售人员 |
Int32[] |
Keywords |
关键字 |
String |
AsStartDate |
账套开启日期 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
Status |
收款/退款状态(1010,未。1020,部分。1030,全部) [-1]也可能会被传过来,在构建数据查询条件的时候会去掉小于0的相当于没加搜索条件 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"CustIds": null,
"CustType": null,
"BillType": null,
"SalesId": null,
"Keywords": null,
"AsStartDate": "0001-01-01T00:00:00",
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"Status": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
SellReturn
销售退货单页面
初始化销售出库单
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/InitData
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
获取一组商品默认价格信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/GetDefaultPrices
请求头
请求参数
conditions |
|
SearchDefaultPriceConditions |
BillType |
单据类型(1020:采购入库, 2020:销售出库) |
Int32 |
Ids |
商品ID |
Int32[] |
请求示例
{
"BillType": 0,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
BillType |
|
Int32 |
ProdId |
|
Int32 |
WhId |
|
Int32 |
Price |
|
Decimal |
返回示例
""
获取上一条销售订单ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取下一条销售订单ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
使用销售订单初始化销售退货单信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/InitDataFromSo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
从多条销售订单信息初始化退货单信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/InitDataFromSos
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:14:28.2482085+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
使用销售出库单初始化销售退货单信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/InitDataFromSd
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
使用多条销售出库单初始化销售退货单信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/InitDataFromSds
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:14:29.8642121+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
添加
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/Add
请求头
请求参数
model |
提交信息 |
SellDeliveryEditModel |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员 |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用(针对销售出库单) |
Decimal |
AmountFirst |
本次收款/本次退款(☆原字段:RpAmount) |
Decimal |
AcId |
结算账户ID |
Int32 |
Expense |
销售费用 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
ProdId |
商品ID |
Int32 |
CatId |
商品类别ID |
Int32 |
WhId |
仓库ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单ID(2.7新增) |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单ID |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
isNotRelate |
|
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
ExpenseItems |
费用清单 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
结算信息清单 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
CustPaymentItems |
客户承担费用 |
array[object] |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来单位id |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SumAmount |
汇总的价税合计(关联使用) |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"CustPayment": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"Expense": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Note": null,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"Items": null,
"ExpenseItems": [],
"PayInfoItems": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"BillOrigin": 0,
"CustPaymentItems": [],
"RelatedBills": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
修改
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/Update
请求头
请求参数
model |
提交信息 |
SellDeliveryEditModel |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员 |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用(针对销售出库单) |
Decimal |
AmountFirst |
本次收款/本次退款(☆原字段:RpAmount) |
Decimal |
AcId |
结算账户ID |
Int32 |
Expense |
销售费用 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
ProdId |
商品ID |
Int32 |
CatId |
商品类别ID |
Int32 |
WhId |
仓库ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单ID(2.7新增) |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单ID |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
isNotRelate |
|
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
ExpenseItems |
费用清单 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
结算信息清单 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
CustPaymentItems |
客户承担费用 |
array[object] |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来单位id |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SumAmount |
汇总的价税合计(关联使用) |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"CustPayment": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"Expense": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Note": null,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"Items": null,
"ExpenseItems": [],
"PayInfoItems": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"BillOrigin": 0,
"CustPaymentItems": [],
"RelatedBills": null
}
返回值
返回示例
""
保存并审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/Check
请求头
请求参数
model |
提交信息 |
SellDeliveryEditModel |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员 |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用(针对销售出库单) |
Decimal |
AmountFirst |
本次收款/本次退款(☆原字段:RpAmount) |
Decimal |
AcId |
结算账户ID |
Int32 |
Expense |
销售费用 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
ProdId |
商品ID |
Int32 |
CatId |
商品类别ID |
Int32 |
WhId |
仓库ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单ID(2.7新增) |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单ID |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
isNotRelate |
|
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
ExpenseItems |
费用清单 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
结算信息清单 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
CustPaymentItems |
客户承担费用 |
array[object] |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来单位id |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SumAmount |
汇总的价税合计(关联使用) |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"CustPayment": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"Expense": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Note": null,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"Items": null,
"ExpenseItems": [],
"PayInfoItems": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"BillOrigin": 0,
"CustPaymentItems": [],
"RelatedBills": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
反审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/UnCheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除单条记录
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
获取费用改造数量或者金额发生变化时的数据(仅供前端使用,数据库不进行保存)
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/ShowExpShare
请求头
请求参数
model |
|
SellDeliveryEditModel |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
CustId |
客户ID |
Int32 |
Sales |
销售人员 |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
CustPayment |
客户承担费用(针对销售出库单) |
Decimal |
AmountFirst |
本次收款/本次退款(☆原字段:RpAmount) |
Decimal |
AcId |
结算账户ID |
Int32 |
Expense |
销售费用 |
Decimal |
EditRecvAddr |
是否修改客户发货地址 |
Boolean |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
ProdId |
商品ID |
Int32 |
CatId |
商品类别ID |
Int32 |
WhId |
仓库ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单ID(2.7新增) |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单ID |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
isNotRelate |
|
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
ExpenseItems |
费用清单 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
结算信息清单 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ForcePassCredit |
是否强制过信用额度检查 |
Boolean |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
CustPaymentItems |
客户承担费用 |
array[object] |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来单位id |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
SumAmount |
汇总的价税合计(关联使用) |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
请求示例
{
"Id": 0,
"No": null,
"CustId": 0,
"Sales": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"CustPayment": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"Expense": 0.0,
"EditRecvAddr": false,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Note": null,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"AutoGenerate": false,
"Items": null,
"ExpenseItems": [],
"PayInfoItems": null,
"ForcePassCredit": false,
"NeedJudgePrice": false,
"BillOrigin": 0,
"CustPaymentItems": [],
"RelatedBills": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellDeliveryModel |
AsId |
账套ID |
Int32 |
Date |
单据日期(☆原字段:DoDate) |
DateTime |
DateFmt |
|
String |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
Id |
单据ID(☆原字段:DoId) |
Int32 |
No |
单据编号(☆原字段:DoNo) |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Sales |
销售人员ID(☆原字段:SalesId) |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
AmountFirst |
本次收款金额(☆原字段:RpAmount) |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
EditRecvAddr |
是否修改客户发货地址 |
Nullable`1 |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
RecStatus |
收款状态(1010,未付款。1020,部分付款。1030,全部付款)(☆原字段:DoStatus) |
Int32 |
IsChecked |
是否已审核 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
创建人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
SettlePeriodName |
结算期限名称 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
结算期限类型 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限 |
DateTime |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
子条目清单 |
array[object] |
AsId |
账套ID |
Int32 |
DoDate |
单据日期 |
DateTime |
BType |
单据类型(☆原字段:Btype) |
BillType |
CustId |
客户ID |
Int32 |
CustCode |
客户商品编码(☆原字段:custCode) |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
CatId |
商品类别ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
DoId |
单据ID |
Int32 |
DoNo |
单据编号 |
String |
Id |
条目ID(☆原字段:DoeId) |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
单位比例 |
Decimal |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
AvailableQTY |
可用库存数 |
Nullable`1 |
Price |
价格 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
购货金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
税后金额 |
Decimal |
Expense |
销售费用 |
Decimal |
Note |
备注 |
String |
SoId |
关联的销售订单ID |
Int32 |
SoNo |
关联的销售订单编号 |
String |
SoeId |
关联的销售订单子条目ID |
Int32 |
DoRId |
关联销售出库单ID |
Int32 |
DoRNo |
关联销售出库单号 |
String |
DoeRId |
关联销售出库单子条目ID |
Int32 |
Image |
商品图片 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
isNotRelate |
|
Boolean |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
CustPaymentItems |
客户承担费用明细 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
RelaBills |
相关的退货单(如果当前单据是出库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还可以生成关联的销售退货单(如果当前单据是出库类型) |
Boolean |
RelaSo |
相关的销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
相关的销售订单(2.7新增) |
IdNoPair[] |
RelaSd |
相关的出库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
相关的出库单(如果当前单据是退货类型, 2.7新增) |
IdNoPair[] |
RelatedBills |
销售出库单关联的采购入库单/其他入库单/组装单id 和 No |
IdNoPair[] |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturn/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
SellReturnList
销售退货单列表页面
检索
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/Search
请求头
请求参数
conditions |
检索条件 |
SdSearchConditions |
BillType |
单据类型 (0,全部。2020,出库单。2030,退货单) |
Int32 |
BillNo |
根据单据编号查询 为了对接第三方 |
String |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
CustIds |
客户 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
收款状态(1010,未收款。1020,部分收款。1030,全部收款) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售出库单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillType": 0,
"BillNo": null,
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"CustIds": null,
"Sales": null,
"Status": null,
"InvoiceStatus": null,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
单据ID |
Int32 |
CheckedStatus |
单据状态(移动端使用)(☆原字段:Status) |
String |
IsChecked |
单据状态(PC端使用)(☆原字段:Checked) |
Int32 |
BackStatusStr |
退款状态(移动端使用)(☆原字段:RefundStatus) |
String |
BackStatus |
退款状态(PC端使用) |
BillStatus |
RpStatus |
收付款状态(为了统一采购、销售的收付款属性名称而添加的名称) |
BillStatus |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
SalesName |
销售人员(☆原字段:Sales) |
String |
SalesId |
|
Int32 |
SalesNo |
|
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户 |
String |
LinkManTel |
|
String |
RelaSo |
关联销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
关联订单(2.7新增) |
IdNoPair[] |
RelaWhs |
关联销售出库单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
关联销售出库单(2.7新增) |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
销售金额 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
Receivable |
本次应收款(优惠后金额) |
Decimal |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户收款 |
String |
AmountFirst |
首次收款 |
Decimal |
Expense |
销售费用 |
Decimal |
CustPayment |
客户承担费 |
Decimal |
CustPaymentFromOtherPayment |
其他支出单的客户承担费 |
Decimal |
OfdAmount |
已退款(首次退款+核销金额)(☆原字段:RpAmount) |
Decimal |
OfuAmount |
未付款 |
Decimal |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限date |
DateTime |
SettlePeriodDate |
|
String |
SettlePeriodName |
结算期限名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
SellReturnListModel |
Id |
单据ID |
Int32 |
CheckedStatus |
单据状态(移动端使用)(☆原字段:Status) |
String |
IsChecked |
单据状态(PC端使用)(☆原字段:Checked) |
Int32 |
BackStatusStr |
退款状态(移动端使用)(☆原字段:RefundStatus) |
String |
BackStatus |
退款状态(PC端使用) |
BillStatus |
RpStatus |
收付款状态(为了统一采购、销售的收付款属性名称而添加的名称) |
BillStatus |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
SalesName |
销售人员(☆原字段:Sales) |
String |
SalesId |
|
Int32 |
SalesNo |
|
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户 |
String |
LinkManTel |
|
String |
RelaSo |
关联销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
关联订单(2.7新增) |
IdNoPair[] |
RelaWhs |
关联销售出库单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
关联销售出库单(2.7新增) |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
销售金额 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
Receivable |
本次应收款(优惠后金额) |
Decimal |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户收款 |
String |
AmountFirst |
首次收款 |
Decimal |
Expense |
销售费用 |
Decimal |
CustPayment |
客户承担费 |
Decimal |
CustPaymentFromOtherPayment |
其他支出单的客户承担费 |
Decimal |
OfdAmount |
已退款(首次退款+核销金额)(☆原字段:RpAmount) |
Decimal |
OfuAmount |
未付款 |
Decimal |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限date |
DateTime |
SettlePeriodDate |
|
String |
SettlePeriodName |
结算期限名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
查询单据及商品详情
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/SearchDetails
请求头
请求参数
conditions |
|
SdSearchConditions |
BillType |
单据类型 (0,全部。2020,出库单。2030,退货单) |
Int32 |
BillNo |
根据单据编号查询 为了对接第三方 |
String |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
CustIds |
客户 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
收款状态(1010,未收款。1020,部分收款。1030,全部收款) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售出库单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillType": 0,
"BillNo": null,
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"CustIds": null,
"Sales": null,
"Status": null,
"InvoiceStatus": null,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
BackStatus |
退款状态(PC端使用) |
BillStatus |
OfuAmount |
|
Decimal |
RelaSo |
关联销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
关联订单(2.7新增) |
IdNoPair[] |
RelaWhs |
关联销售出库单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
关联销售出库单(2.7新增) |
IdNoPair[] |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端使用)(☆原字段:Checked) |
Int32 |
DoStatus |
收款状态(PC端使用) |
BillStatus |
Date |
单据日期 |
DateTime |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
SalesNo |
|
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户 |
String |
LinkManTel |
联系电话 |
String |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
BillAmountTax |
单据销售金额(整单) |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
CustPaymentFromOtherPayment |
其他支出单的客户承担费 |
Decimal |
CustPaymentItemInfos |
|
array[object] |
Id |
费用条目ID |
Int32 |
BillId |
源单据ID |
Int32 |
BillNo |
源单据编号 |
String |
BillType |
源单据类别 |
BillType |
VendId |
供应商ID |
Int32 |
ExpType |
费用类别ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额,客户承担费用时为总的价税合计 |
Decimal |
ExpPid |
父级id |
Int32 |
BillDate |
源单日期 |
DateTime |
PayedStatus |
付款状态 |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
IsCustPayment |
是否客户承担费用 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
Receivable |
本次应收款(优惠后金额+客户承担费用) |
Decimal |
AcId |
单账户付款时的账户ID |
Int32 |
AcNames |
收款账户 |
String |
MultipleAccounts |
|
String |
AmountFirst |
首次收款 |
Decimal |
Expense |
销售费用 |
Decimal |
GoodsExpense |
|
Decimal |
OfdAmount |
已收款(首次收款+核销金额)(☆原字段:RpAmount) |
Decimal |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限日期 |
DateTime |
SettlePeriodDate |
|
String |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限名称 |
String |
CheckedBy |
审核人 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
Nullable`1 |
Image |
图片 |
String |
Note |
备注 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
DoeId |
条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
CustomerCode |
客户商品编码 |
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别名称 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
AmountTax |
价税合计金额 |
Decimal |
ItemNote |
子条目备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
Resds |
|
String |
Resos |
|
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
SellReturnDetailListModel |
BackStatus |
退款状态(PC端使用) |
BillStatus |
OfuAmount |
|
Decimal |
RelaSo |
关联销售订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSos |
关联订单(2.7新增) |
IdNoPair[] |
RelaWhs |
关联销售出库单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaSds |
关联销售出库单(2.7新增) |
IdNoPair[] |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端使用)(☆原字段:Checked) |
Int32 |
DoStatus |
收款状态(PC端使用) |
BillStatus |
Date |
单据日期 |
DateTime |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
SalesNo |
|
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户 |
String |
LinkManTel |
联系电话 |
String |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
BillAmountTax |
单据销售金额(整单) |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
CustPaymentFromOtherPayment |
其他支出单的客户承担费 |
Decimal |
CustPaymentItemInfos |
|
array[object] |
Id |
费用条目ID |
Int32 |
BillId |
源单据ID |
Int32 |
BillNo |
源单据编号 |
String |
BillType |
源单据类别 |
BillType |
VendId |
供应商ID |
Int32 |
ExpType |
费用类别ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额,客户承担费用时为总的价税合计 |
Decimal |
ExpPid |
父级id |
Int32 |
BillDate |
源单日期 |
DateTime |
PayedStatus |
付款状态 |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
IsCustPayment |
是否客户承担费用 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
Receivable |
本次应收款(优惠后金额+客户承担费用) |
Decimal |
AcId |
单账户付款时的账户ID |
Int32 |
AcNames |
收款账户 |
String |
MultipleAccounts |
|
String |
AmountFirst |
首次收款 |
Decimal |
Expense |
销售费用 |
Decimal |
GoodsExpense |
|
Decimal |
OfdAmount |
已收款(首次收款+核销金额)(☆原字段:RpAmount) |
Decimal |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限日期 |
DateTime |
SettlePeriodDate |
|
String |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限名称 |
String |
CheckedBy |
审核人 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
Nullable`1 |
Image |
图片 |
String |
Note |
备注 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
DoeId |
条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
CustomerCode |
客户商品编码 |
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别名称 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
Recvr |
收货人(针对销售出库单) |
String |
RecvMobile |
收货电话(针对销售出库单) |
String |
RecvAddress |
收货地址(针对销售出库单) |
String |
AmountTax |
价税合计金额 |
Decimal |
ItemNote |
子条目备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
Resds |
|
String |
Resos |
|
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
UnitCost |
单位成本 |
Decimal |
DeliveryCost |
成本 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
批量审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/Check
请求头
请求参数
sdIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量反审核
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/UnCheck
请求头
请求参数
sdIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量删除
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/Delete
请求头
请求参数
sdIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
打印销售退货单
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/Print
请求头
请求参数
guid |
Pdf文档标识 |
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印销售退货单
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/SeniorPrint
请求头
请求参数
guid |
Pdf文档标识 |
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/Export
请求头
请求参数
conditions |
|
SdSearchConditions |
BillType |
单据类型 (0,全部。2020,出库单。2030,退货单) |
Int32 |
BillNo |
根据单据编号查询 为了对接第三方 |
String |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
CustIds |
客户 |
Int32[] |
Sales |
销售人员 |
Int32[] |
Status |
收款状态(1010,未收款。1020,部分收款。1030,全部收款) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售出库单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillType": 0,
"BillNo": null,
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"CustIds": null,
"Sales": null,
"Status": null,
"InvoiceStatus": null,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/DownErrorData
请求头
请求参数
guid |
信息识别码 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入销售退货单记录
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
搜索发票信息(用于向单据登记发票)
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/SearchInvoices
请求头
请求参数
para |
|
SearchInvoicesPara |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
InvoiceType |
发票类型 |
InvoiceType |
VcId |
客户、供应商ID,职员 |
Int32 |
PayeeType |
收款人类型 |
ContactType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": "",
"Start": null,
"End": null,
"InvoiceType": 0,
"VcId": 0,
"PayeeType": 0,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
SumModel |
合计行 |
InvoiceEnrollListModel |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/Enroll
请求头
请求参数
para |
|
EnrollPara |
BillType |
源单类型 |
BillType |
Ids |
单据ID(EntryIds非空时该条目无效) |
Int32[] |
EntryIds |
子条目ID |
Int32[] |
Invoices |
登记的发票ID |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
IsBillId |
true:根据整单关联,false:根据子条目关联 |
Boolean |
请求示例
{
"BillType": 0,
"Ids": null,
"EntryIds": null,
"Invoices": null,
"IsBillId": true
}
返回值
返回示例
""
取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/UnEnroll
请求头
请求参数
para |
|
UnEnrollPara |
BillType |
源单类型 |
BillType |
Id |
单据ID |
Int32 |
EntityId |
子单据Id |
Nullable`1 |
InvoiceIds |
发票ID |
array[object] |
EntryIds |
子条目ID |
Int32[] |
请求示例
{
"BillType": 0,
"Id": 0,
"EntityId": null,
"InvoiceIds": null,
"EntryIds": null
}
返回值
返回示例
""
批量取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/UnEnrollBatch
请求头
请求参数
请求示例
返回值
返回示例
""
根据单据ID查询关联的发票ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/SearchInvoiceIds
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID查询发票信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/SearchInvoiceMaps
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
返回示例
""
搜索日记账
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/SearchJournal
请求头
请求参数
condition |
|
JournalSearchCondition |
VcId |
往来单位 |
Int32 |
ContactType |
往来单位类型 |
ContactType |
BillType |
单据类型 |
BillType |
SearchText |
关键字 |
String |
AmountSign |
正数:1,负数:-1 |
Int32 |
Start |
开始时间 |
String |
End |
结束时间 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VcId": 0,
"ContactType": 0,
"BillType": 0,
"SearchText": "",
"AmountSign": 0,
"Start": null,
"End": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
SumModel |
合计行 |
ScmJournalModel |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
核销
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/Offset
请求头
请求参数
model |
|
JofEditModel |
OfMode |
核销模式,1010:手动核销,1020:自动核销 |
Int32 |
Items |
日记账核销条目 |
array[object] |
Id |
日记账ID |
Int32 |
BillNo |
日记账编码 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BType |
日记账类型 |
BillType |
BillAmount |
日记账总金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
BillOFUAmount |
日记未核销金额 |
Decimal |
VcId |
客户、供应商 |
Int32 |
AcId |
账号ID |
Int32 |
LineSn |
日记账Sn |
Int32 |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"OfMode": 0,
"Items": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
手动核销
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/ManualOffset
请求头
请求参数
model |
|
ManualJofEditModel |
Journal |
日记账核销条目 |
JournalEditModel |
VcId |
客户/供应商ID |
Int32 |
BillDate |
日记账日期 |
DateTime |
AcId |
付款账户 |
Int32 |
RpType |
收支类别 |
Int32 |
PaymentMethod |
结算方式 |
Int32 |
Note |
摘要 |
String |
OfAmount |
交易金额 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"Journal": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
取消核销
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/CancelOffset
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
根据单据ID查询核销记录ID
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/SearchJofIds
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID核销记录信息
请求地址
POST $SCMAPI_HOST/jxc_api/SellReturnList/SearchJofInfo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
OfDate |
核销日期 |
String |
OfId |
核销记录ID |
Int32 |
OfNo |
核销记录编码 |
String |
OfAmount |
核销金额 |
Decimal |
BType |
日记账类型 |
BillType |
BillDate |
日记账日期 |
DateTime |
BillDateFmt |
日记账日期 |
String |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillNo |
交易流水号 |
String |
Note |
摘要 |
String |
BillAmount |
支出/收入 |
Decimal |
RpTypeName |
收支类别名称 |
String |
返回示例
""
OrderBySale
以销定购
查询以销定购
请求地址
POST $SCMAPI_HOST/jxc_api/OrderBySale/SearchOrderBySales
请求头
请求参数
conditions |
|
SoSearchConditions |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
DeliveryDateStart |
交货日期起 |
DateTime |
DeliveryDateEnd |
交货日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
BillNo |
根据订单编号查询数据 第三方会使用 |
String |
Sales |
销售人员 |
Int32[] |
Sales1 |
只有以销定购使用 |
Int32 |
Status |
出库状态 |
BillStatus[] |
BillType |
订单类型(0,全部。2010,销售订单。2011,销售退货订单) |
Int32 |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售订单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CustIds |
多选客户 |
Int32[] |
CategoryId |
商品类别 |
Int32 |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
CategoryIds |
|
Int32[] |
MappingItems |
预计可用库存表查询锁定订单 |
ProdWhMapping |
isLocked |
|
Boolean |
ProdId |
|
Int32 |
WhId |
|
Int32 |
SoeIds |
预计可用库存表查询锁定订单的销售子订单ID |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"DeliveryDateStart": "0001-01-01T00:00:00",
"DeliveryDateEnd": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"BillNo": null,
"Sales": null,
"Sales1": 0,
"Status": null,
"BillType": 0,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"CustIds": null,
"CategoryId": 0,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"CategoryIds": null,
"MappingItems": null,
"SoeIds": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
BatchEnabled |
序列号管理 |
Boolean |
SerialEnabled |
批次管理 |
Boolean |
LifeTimeEnabled |
保质期管理 |
Boolean |
Rate |
比例 |
Decimal |
TargetBillRelations |
关联表信息 |
array[object] |
UnsoldQTY |
未出库数量 |
Decimal |
PurcQTY |
已采购数量 |
Decimal |
NPurcQTY |
本次采购数量 |
Decimal |
PurcPrice |
采购单价 |
Decimal |
PurcAmount |
采购金额 |
Decimal |
StockAmount |
库存数量 |
Decimal |
MinimumStock |
最低库存 |
Decimal |
ProcurementInTransitCount |
采购在途数量 |
Decimal |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
IsLock |
是否已锁定 |
Boolean |
LockedStatus |
锁定状态(☆原字段:CloseStatus) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsItemClosed |
子条目是否已关闭 |
Boolean |
Date |
订单日期 |
DateTime |
DateFmt |
订单日期 |
String |
No |
单据编号 |
String |
DeliveryDate |
交货日期 |
DateTime |
DeliveryDateFmt |
交货日期 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(销货/退货)(☆原字段:BillType) |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户 |
String |
CustName |
客户 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
AcId |
收款账户 |
Int32 |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户 |
String |
AmountFirst |
首次收款 |
Decimal |
RelaSds |
关联销售单(出库/退货) |
IdNoPair[] |
RelaPoWhs |
关联采购单(订单/入库) |
IdNoPair[] |
CheckedBy |
审核人 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
SoeId |
子条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ProdTaxRate |
|
String |
CustomerCode |
客户商品编码 |
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatId |
商品类别id |
Int32 |
CatName |
类别名称 |
String |
CatNo |
商品类别编码 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
WhNo |
仓库编码 |
String |
WhCatName |
仓库类别名称 |
String |
WhCatNo |
仓库类别名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
DoQTY |
已出库数量 |
Decimal |
DoRealQTY |
真实出库数量 |
Decimal |
DoStatus |
出库状态(PC端用)(☆原字段:OutStatus) |
BillStatus |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
ItemNote |
子条目备注 |
String |
BillDiscRate |
优惠率(%) (整单) |
Decimal |
BillDiscAmount |
优惠金额(整单) |
Decimal |
AmountAfterDisc |
优惠后金额(整单) |
Decimal |
BillAmountTax |
单据销售金额(整单) |
Decimal |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限日期 |
DateTime |
SettlePeriodDate |
|
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
SumModel |
合计行 |
SellOrderDetailBRRListModel |
BatchEnabled |
序列号管理 |
Boolean |
SerialEnabled |
批次管理 |
Boolean |
LifeTimeEnabled |
保质期管理 |
Boolean |
Rate |
比例 |
Decimal |
TargetBillRelations |
关联表信息 |
array[object] |
UnsoldQTY |
未出库数量 |
Decimal |
PurcQTY |
已采购数量 |
Decimal |
NPurcQTY |
本次采购数量 |
Decimal |
PurcPrice |
采购单价 |
Decimal |
PurcAmount |
采购金额 |
Decimal |
StockAmount |
库存数量 |
Decimal |
MinimumStock |
最低库存 |
Decimal |
ProcurementInTransitCount |
采购在途数量 |
Decimal |
Id |
单据ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
IsLock |
是否已锁定 |
Boolean |
LockedStatus |
锁定状态(☆原字段:CloseStatus) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsItemClosed |
子条目是否已关闭 |
Boolean |
Date |
订单日期 |
DateTime |
DateFmt |
订单日期 |
String |
No |
单据编号 |
String |
DeliveryDate |
交货日期 |
DateTime |
DeliveryDateFmt |
交货日期 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(销货/退货)(☆原字段:BillType) |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户 |
String |
CustName |
客户 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售人员(☆原字段:Sales) |
String |
AcId |
收款账户 |
Int32 |
AcNames |
收款账户 |
String |
MultipleAccounts |
多账户 |
String |
AmountFirst |
首次收款 |
Decimal |
RelaSds |
关联销售单(出库/退货) |
IdNoPair[] |
RelaPoWhs |
关联采购单(订单/入库) |
IdNoPair[] |
CheckedBy |
审核人 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
SoeId |
子条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
ProdTaxRate |
|
String |
CustomerCode |
客户商品编码 |
String |
Spec |
规格 |
String |
Brand |
品牌 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatId |
商品类别id |
Int32 |
CatName |
类别名称 |
String |
CatNo |
商品类别编码 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
WhNo |
仓库编码 |
String |
WhCatName |
仓库类别名称 |
String |
WhCatNo |
仓库类别名称 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
DoQTY |
已出库数量 |
Decimal |
DoRealQTY |
真实出库数量 |
Decimal |
DoStatus |
出库状态(PC端用)(☆原字段:OutStatus) |
BillStatus |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计金额 |
Decimal |
ItemNote |
子条目备注 |
String |
BillDiscRate |
优惠率(%) (整单) |
Decimal |
BillDiscAmount |
优惠金额(整单) |
Decimal |
AmountAfterDisc |
优惠后金额(整单) |
Decimal |
BillAmountTax |
单据销售金额(整单) |
Decimal |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodName |
结算期限 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDateTime |
结算期限日期 |
DateTime |
SettlePeriodDate |
|
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
Image |
图片 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源描述 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
使用销售订单生成采购订单
请求地址
POST $SCMAPI_HOST/jxc_api/OrderBySale/CreatePOForOBS
请求头
请求参数
items |
|
array[object] |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
VendId |
供货商ID |
Int32 |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
BType |
单据类型(购货:1010,退货:1011)(☆原字段:BillType) |
BillType |
PrintCount |
打印次数 |
Int32 |
AmountFirst |
预售货款 |
Decimal |
SoId |
来源销售订单ID |
Int32 |
SoNo |
来源销售订单编码 |
String |
SoeId |
来源销售订单明细ID |
Int32 |
Items |
子条目清单 |
array[object] |
Id |
购货订单条目ID |
Int32 |
PoId |
购货订单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
PoeId |
购货订单条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
请求示例
[
{
"Id": 0,
"No": null,
"VendId": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"PrintCount": 0,
"AmountFirst": 0.0,
"SoId": 0,
"SoNo": null,
"SoeId": 0,
"Items": null,
"PoeId": 0,
"ProdId": 0,
"ApId": 0,
"WhId": 0,
"UnitId": 0,
"QTY": 0.0,
"Price": 0.0,
"PriceTax": 0.0,
"PriceDis": 0.0,
"Amount": 0.0,
"TaxRate": 0.0,
"Tax": 0.0,
"AmountTax": 0.0,
"Note": null,
"StrValue1": null,
"StrValue2": null,
"StrValue3": null,
"StrValue4": null,
"StrValue5": null,
"StrValue6": null,
"StrValue7": null,
"StrValue8": null
}
]
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
使用销售订单生成采购入库单
请求地址
POST $SCMAPI_HOST/jxc_api/OrderBySale/CreateWHSForOBS
请求头
请求参数
items |
|
array[object] |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
VendId |
供货商ID |
Int32 |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
BType |
单据类型(购货:1010,退货:1011)(☆原字段:BillType) |
BillType |
PrintCount |
打印次数 |
Int32 |
AmountFirst |
预售货款 |
Decimal |
SoId |
来源销售订单ID |
Int32 |
SoNo |
来源销售订单编码 |
String |
SoeId |
来源销售订单明细ID |
Int32 |
Items |
子条目清单 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
PoeId |
购货订单条目ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
NPurcQTY |
待采购数量 |
Decimal |
请求示例
[
{
"Id": 0,
"No": null,
"VendId": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"PrintCount": 0,
"AmountFirst": 0.0,
"SoId": 0,
"SoNo": null,
"SoeId": 0,
"Items": null,
"PoeId": 0,
"ProdId": 0,
"ApId": 0,
"WhId": 0,
"UnitId": 0,
"QTY": 0.0,
"Price": 0.0,
"PriceTax": 0.0,
"Amount": 0.0,
"TaxRate": 0.0,
"Tax": 0.0,
"AmountTax": 0.0,
"Note": null,
"StrValue1": null,
"StrValue2": null,
"StrValue3": null,
"StrValue4": null,
"StrValue5": null,
"StrValue6": null,
"StrValue7": null,
"StrValue8": null,
"NPurcQTY": 0.0
}
]
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/OrderBySale/Export
请求头
请求参数
conditions |
|
SoSearchConditions |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
DeliveryDateStart |
交货日期起 |
DateTime |
DeliveryDateEnd |
交货日期至 |
DateTime |
UpdateTimeStart |
根据更新时间查询单据对接第三方 |
DateTime |
UpdateTimeEnd |
根据更新时间查询单据对接第三方 |
DateTime |
BillNo |
根据订单编号查询数据 第三方会使用 |
String |
Sales |
销售人员 |
Int32[] |
Sales1 |
只有以销定购使用 |
Int32 |
Status |
出库状态 |
BillStatus[] |
BillType |
订单类型(0,全部。2010,销售订单。2011,销售退货订单) |
Int32 |
Checked |
审核状态(-1,全部。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
Ids |
前端手动选择的销售订单ID |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CustIds |
多选客户 |
Int32[] |
CategoryId |
商品类别 |
Int32 |
ProductIds |
商品id |
Int32[] |
WhIds |
仓库id |
Int32[] |
CreatedBy |
创建 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
CategoryIds |
|
Int32[] |
MappingItems |
预计可用库存表查询锁定订单 |
ProdWhMapping |
isLocked |
|
Boolean |
ProdId |
|
Int32 |
WhId |
|
Int32 |
SoeIds |
预计可用库存表查询锁定订单的销售子订单ID |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"DeliveryDateStart": "0001-01-01T00:00:00",
"DeliveryDateEnd": "0001-01-01T00:00:00",
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"BillNo": null,
"Sales": null,
"Sales1": 0,
"Status": null,
"BillType": 0,
"Checked": [
-1
],
"Keywords": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 300,
"ExportDetails": false,
"CustIds": null,
"CategoryId": 0,
"ProductIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"CategoryIds": null,
"MappingItems": null,
"SoeIds": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
PurchaseOrder
采购订单页面
预测试是否可以生成入库单,退货单
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/PreInitPo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取一条单据信息
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/InitData
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
PurchaseOrderModel |
AsId |
账套ID |
Int32 |
Id |
订单ID |
Int32 |
No |
单据编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendTaxRate |
|
Decimal |
VendName |
供应商名称 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
总数量 |
Decimal |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预购货款 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
生成日期 |
DateTime |
ModifiedByName |
最后修改人(☆原字段:CreatedBy) |
String |
ModifiedDate |
最后修改日期 |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
WhsStatus |
订单(入库)状态(☆原字段:Status) |
BillStatus |
Checked |
是否已审核 |
Boolean |
AcName |
结算账户名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
IsClosed |
是否已关闭 |
Boolean |
IsLocked |
是否已关闭(☆原字段:IsLock) |
Boolean |
RelaBills |
关联入库单 |
IdNoPair[] |
CanCreateRelaBills |
是否可以生成关联的入库/退货单 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
|
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型 |
String |
BillOriginDesc |
单据来源 |
String |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
/// 订单包含的商品条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
购货订单条目ID |
Int32 |
PoId |
购货订单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
ProdTaxRate |
|
Nullable`1 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
商品可用库存 |
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量(☆原字段:WHSQTY) |
Decimal |
WhsStatus |
出入库状态 |
BillStatus |
PoNo |
单据编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
PoDate |
单据日期(☆原字段:PODate) |
DateTime |
VendId |
供货商ID |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
返回示例
""
使用库存预警相关的商品初始化采购订单信息
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/InitDataWithWarning
请求头
请求参数
request |
|
CreatePoRequest |
Items |
|
array[object] |
ApId |
|
Int32 |
ProdId |
|
Int32 |
WhId |
|
Int32 |
Qty |
|
Decimal |
请求示例
{
"Items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
PurchaseOrderModel |
AsId |
账套ID |
Int32 |
Id |
订单ID |
Int32 |
No |
单据编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendTaxRate |
|
Decimal |
VendName |
供应商名称 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
总数量 |
Decimal |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预购货款 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
生成日期 |
DateTime |
ModifiedByName |
最后修改人(☆原字段:CreatedBy) |
String |
ModifiedDate |
最后修改日期 |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
WhsStatus |
订单(入库)状态(☆原字段:Status) |
BillStatus |
Checked |
是否已审核 |
Boolean |
AcName |
结算账户名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
IsClosed |
是否已关闭 |
Boolean |
IsLocked |
是否已关闭(☆原字段:IsLock) |
Boolean |
RelaBills |
关联入库单 |
IdNoPair[] |
CanCreateRelaBills |
是否可以生成关联的入库/退货单 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
|
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型 |
String |
BillOriginDesc |
单据来源 |
String |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
/// 订单包含的商品条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
购货订单条目ID |
Int32 |
PoId |
购货订单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
ProdTaxRate |
|
Nullable`1 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
商品可用库存 |
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量(☆原字段:WHSQTY) |
Decimal |
WhsStatus |
出入库状态 |
BillStatus |
PoNo |
单据编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
PoDate |
单据日期(☆原字段:PODate) |
DateTime |
VendId |
供货商ID |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
返回示例
""
获取变更记录
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/GetChangeHistory
请求头
请求参数
id |
|
Int32 |
pageIndex |
|
Int32 |
pageSize |
|
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
HistoryId |
|
Int32 |
Edition |
|
String |
EditDate |
|
String |
EditBy |
|
String |
EditReason |
|
String |
HistoryType |
|
String |
OldNo |
|
String |
NewNo |
|
String |
ProdName |
|
String |
ProdNo |
|
String |
ApName |
|
String |
Spec |
|
String |
ChangeAttribute |
|
String |
OldValue |
|
String |
NewValue |
|
String |
SumModel |
合计行 |
ChangeHistoryModel |
HistoryId |
|
Int32 |
Edition |
|
String |
EditDate |
|
String |
EditBy |
|
String |
EditReason |
|
String |
HistoryType |
|
String |
OldNo |
|
String |
NewNo |
|
String |
ProdName |
|
String |
ProdNo |
|
String |
ApName |
|
String |
Spec |
|
String |
ChangeAttribute |
|
String |
OldValue |
|
String |
NewValue |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出变更记录
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/ExportChangeHistory
请求头
请求参数
para |
|
OrderChangeQueryPara |
Id |
单据Id |
Int32 |
HistoryIds |
版本号 |
array[object] |
请求示例
{
"Id": 0,
"HistoryIds": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
使用销售订单生成采购订单
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/InitDataFromSo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
PurchaseOrderModel |
AsId |
账套ID |
Int32 |
Id |
订单ID |
Int32 |
No |
单据编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendTaxRate |
|
Decimal |
VendName |
供应商名称 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
总数量 |
Decimal |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预购货款 |
Decimal |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
生成日期 |
DateTime |
ModifiedByName |
最后修改人(☆原字段:CreatedBy) |
String |
ModifiedDate |
最后修改日期 |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
WhsStatus |
订单(入库)状态(☆原字段:Status) |
BillStatus |
Checked |
是否已审核 |
Boolean |
AcName |
结算账户名称 |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
IsClosed |
是否已关闭 |
Boolean |
IsLocked |
是否已关闭(☆原字段:IsLock) |
Boolean |
RelaBills |
关联入库单 |
IdNoPair[] |
CanCreateRelaBills |
是否可以生成关联的入库/退货单 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodValue |
|
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型 |
String |
BillOriginDesc |
单据来源 |
String |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
/// 订单包含的商品条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
购货订单条目ID |
Int32 |
PoId |
购货订单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitId |
单位ID |
Int32 |
ProdTaxRate |
|
Nullable`1 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
商品可用库存 |
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量(☆原字段:WHSQTY) |
Decimal |
WhsStatus |
出入库状态 |
BillStatus |
PoNo |
单据编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
PoDate |
单据日期(☆原字段:PODate) |
DateTime |
VendId |
供货商ID |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
返回示例
""
获取上一条采购订单ID
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获取下一条采购订单ID
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
添加采购订单
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/Add
请求头
请求参数
model |
提交信息 |
PurchaseOrderEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
BType |
单据类型(购货:1010,退货:1011)(☆原字段:BillType) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
购货订单条目ID |
Int32 |
PoId |
购货订单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
InvoiceType |
发票类型 1010 普通发票, 1020农产品发票 |
Int32 |
InvoiceTypeName |
|
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
ChangeReason |
变更原因 |
String |
请求示例
{
"Id": 0,
"No": null,
"VendId": 0,
"Purchaser": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"PrintCount": 0,
"AcId": 0,
"AmountFirst": 0.0,
"Note": null,
"AccountingItemId": 0,
"PayInfoItems": null,
"DepartmentId": 0,
"AutoGenerate": false,
"Items": null,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"InvoiceType": 0,
"InvoiceTypeName": "普通发票",
"NeedJudgePrice": false,
"BillOrigin": 0,
"ChangeReason": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
修改采购订单
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/Update
请求头
请求参数
model |
提交信息 |
PurchaseOrderEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
BType |
单据类型(购货:1010,退货:1011)(☆原字段:BillType) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
购货订单条目ID |
Int32 |
PoId |
购货订单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
InvoiceType |
发票类型 1010 普通发票, 1020农产品发票 |
Int32 |
InvoiceTypeName |
|
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
ChangeReason |
变更原因 |
String |
请求示例
{
"Id": 0,
"No": null,
"VendId": 0,
"Purchaser": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"PrintCount": 0,
"AcId": 0,
"AmountFirst": 0.0,
"Note": null,
"AccountingItemId": 0,
"PayInfoItems": null,
"DepartmentId": 0,
"AutoGenerate": false,
"Items": null,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"InvoiceType": 0,
"InvoiceTypeName": "普通发票",
"NeedJudgePrice": false,
"BillOrigin": 0,
"ChangeReason": null
}
返回值
返回示例
""
变更采购订单
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/Change
请求头
请求参数
model |
|
PurchaseOrderEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
BType |
单据类型(购货:1010,退货:1011)(☆原字段:BillType) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
购货订单条目ID |
Int32 |
PoId |
购货订单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
InvoiceType |
发票类型 1010 普通发票, 1020农产品发票 |
Int32 |
InvoiceTypeName |
|
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
ChangeReason |
变更原因 |
String |
请求示例
{
"Id": 0,
"No": null,
"VendId": 0,
"Purchaser": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"PrintCount": 0,
"AcId": 0,
"AmountFirst": 0.0,
"Note": null,
"AccountingItemId": 0,
"PayInfoItems": null,
"DepartmentId": 0,
"AutoGenerate": false,
"Items": null,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"InvoiceType": 0,
"InvoiceTypeName": "普通发票",
"NeedJudgePrice": false,
"BillOrigin": 0,
"ChangeReason": null
}
返回值
返回示例
""
删除单条记录
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
保存并审核
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/Check
请求头
请求参数
model |
提交信息 |
PurchaseOrderEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
Date |
单据日期(☆原字段:PODate) |
DateTime |
DeliveryDate |
交货时间 |
DateTime |
BType |
单据类型(购货:1010,退货:1011)(☆原字段:BillType) |
BillType |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
PrintCount |
打印次数 |
Int32 |
AcId |
结算账户ID |
Int32 |
AmountFirst |
预售货款 |
Decimal |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目清单 |
array[object] |
Id |
购货订单条目ID |
Int32 |
PoId |
购货订单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
InvoiceType |
发票类型 1010 普通发票, 1020农产品发票 |
Int32 |
InvoiceTypeName |
|
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
ChangeReason |
变更原因 |
String |
请求示例
{
"Id": 0,
"No": null,
"VendId": 0,
"Purchaser": 0,
"Date": "0001-01-01T00:00:00",
"DeliveryDate": "0001-01-01T00:00:00",
"BType": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"PrintCount": 0,
"AcId": 0,
"AmountFirst": 0.0,
"Note": null,
"AccountingItemId": 0,
"PayInfoItems": null,
"DepartmentId": 0,
"AutoGenerate": false,
"Items": null,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"InvoiceType": 0,
"InvoiceTypeName": "普通发票",
"NeedJudgePrice": false,
"BillOrigin": 0,
"ChangeReason": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
反审核
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/UnCheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
获得最近的价格
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/GetLatestProductPrice
请求头
请求参数
para |
|
GetLatestPoProductPricePara |
VcId |
客户、供应商ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Count |
交易数量 |
Decimal |
OrderDate |
|
DateTime |
请求示例
{
"VcId": 0,
"ProdId": 0,
"ApId": 0,
"UnitId": 0,
"Count": 0.0,
"OrderDate": "0001-01-01T00:00:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
GetLatestPoProductPriceResult |
GradeName |
客户等级 |
String |
GradePrice |
相应等级价格 |
Decimal |
VcPrice |
|
Decimal |
VcPriceLimit |
|
Decimal |
VcTypePrice |
|
Decimal |
VcTypePriceLimit |
|
Decimal |
MaxPurPrice |
最高采购价 |
Decimal |
MinSellPrice |
最低销售价 |
Decimal |
返回示例
""
批量获取获得最近的价格
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/BatchGetLatestProductPrice
请求头
请求参数
paras |
|
BatchGetLatestPoProductPricePara |
VcId |
客户、供应商ID |
Int32 |
VcType |
客户供应商类型 |
Nullable`1 |
VcLevel |
客户等级 |
Nullable`1 |
请求示例
{
"VcId": 0,
"VcType": null,
"VcLevel": null,
"RowPriceParas": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
GradeName |
客户等级 |
String |
GradePrice |
相应等级价格 |
Decimal |
VcPrice |
|
Decimal |
VcPriceLimit |
|
Decimal |
VcTypePrice |
|
Decimal |
VcTypePriceLimit |
|
Decimal |
MaxPurPrice |
最高采购价 |
Decimal |
MinSellPrice |
最低销售价 |
Decimal |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrder/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
PurchaseOrderDetail
采购明细表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderDetail/Search
请求头
请求参数
conditions |
|
PoDetailSearchCondition |
BillStart |
单据日期开始 |
String |
BillEnd |
单据日期结束 |
String |
VendorIds |
供应商ID |
Int32[] |
ProductIds |
商品ID |
Int32[] |
ProductIdsCat |
|
Int32[] |
ProdType |
商品类别 |
Int32[] |
Status |
|
Int32 |
TypeIds |
单据类型 |
Int32[] |
Purchasers |
采购员 |
Int32[] |
Keywords |
|
String |
CategoryId |
供应商类别 |
Int32[] |
WhId |
仓库id |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
PurchaserName |
|
String |
BusinessOnly |
设置是否只显示有业务发生的商品记录 |
Boolean |
NoStockTransfer |
是否不包含调拨单 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CountRow |
是否需要导出合计行信息 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
KwProdIds |
相关产品 |
Int32[] |
KwBillTypes |
业务类型 |
Int32[] |
KwCustIds |
往来单位(客户) |
Int32[] |
KwVendIds |
往来单位(供应商) |
Int32[] |
KwWhIds |
相关仓库 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"VendorIds": null,
"ProductIds": null,
"ProductIdsCat": null,
"ProdType": null,
"Status": 0,
"TypeIds": null,
"Purchasers": null,
"Keywords": null,
"CategoryId": null,
"WhId": null,
"WhCat": null,
"PurchaserName": null,
"BusinessOnly": false,
"NoStockTransfer": false,
"PageIndex": 1,
"PageSize": 300,
"UsePager": true,
"CountRow": 1,
"AccountingItemId": null,
"DepartmentId": null,
"KwProdIds": null,
"KwBillTypes": null,
"KwCustIds": null,
"KwVendIds": null,
"KwWhIds": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
IsCountRow |
是否是合计行 |
Boolean |
Date |
采购日期(☆原字段:WhsDate) |
String |
Id |
单据ID(☆原字段:WhsId) |
Int32 |
No |
单据编号(☆原字段:WhsNo) |
String |
BusinessType |
业务类别(☆原字段:BussType) |
String |
VendName |
供应商 |
String |
VendType |
供应商类型 |
String |
VendNo |
供应商编码 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
CatName |
商品类型 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格型号 |
String |
ApName |
属性 |
String |
UnitName |
单位 (采购单位) |
String |
BaseUnitName |
基本单位 |
String |
MunitName |
多单位名称 |
String |
WhName |
仓库 |
String |
WhType |
仓库类别 |
String |
QTY |
数量(☆原字段:Qty) 采购数量 |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitQTY |
根据基本单位比例换算后的采购数量 |
Decimal |
MunitQty |
根据多单位换算的采购数量 |
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisRate |
折扣率 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
金额 |
Decimal |
Tax |
税额 |
Decimal |
TaxRate |
税率 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
BillNote |
整单备注 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
BillDiscRate |
整单的优惠率 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
TotalRow |
总计行 |
PDetailsModel |
IsCountRow |
是否是合计行 |
Boolean |
Date |
采购日期(☆原字段:WhsDate) |
String |
Id |
单据ID(☆原字段:WhsId) |
Int32 |
No |
单据编号(☆原字段:WhsNo) |
String |
BusinessType |
业务类别(☆原字段:BussType) |
String |
VendName |
供应商 |
String |
VendType |
供应商类型 |
String |
VendNo |
供应商编码 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
CatName |
商品类型 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
Spec |
规格型号 |
String |
ApName |
属性 |
String |
UnitName |
单位 (采购单位) |
String |
BaseUnitName |
基本单位 |
String |
MunitName |
多单位名称 |
String |
WhName |
仓库 |
String |
WhType |
仓库类别 |
String |
QTY |
数量(☆原字段:Qty) 采购数量 |
Decimal |
WholeLooseQty |
整件散包 |
String |
BaseUnitQTY |
根据基本单位比例换算后的采购数量 |
Decimal |
MunitQty |
根据多单位换算的采购数量 |
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisRate |
折扣率 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
金额 |
Decimal |
Tax |
税额 |
Decimal |
TaxRate |
税率 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
BillNote |
整单备注 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
BillDiscRate |
整单的优惠率 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderDetail/Export
请求头
请求参数
conditions |
|
PoDetailSearchCondition |
BillStart |
单据日期开始 |
String |
BillEnd |
单据日期结束 |
String |
VendorIds |
供应商ID |
Int32[] |
ProductIds |
商品ID |
Int32[] |
ProductIdsCat |
|
Int32[] |
ProdType |
商品类别 |
Int32[] |
Status |
|
Int32 |
TypeIds |
单据类型 |
Int32[] |
Purchasers |
采购员 |
Int32[] |
Keywords |
|
String |
CategoryId |
供应商类别 |
Int32[] |
WhId |
仓库id |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
PurchaserName |
|
String |
BusinessOnly |
设置是否只显示有业务发生的商品记录 |
Boolean |
NoStockTransfer |
是否不包含调拨单 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CountRow |
是否需要导出合计行信息 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
KwProdIds |
相关产品 |
Int32[] |
KwBillTypes |
业务类型 |
Int32[] |
KwCustIds |
往来单位(客户) |
Int32[] |
KwVendIds |
往来单位(供应商) |
Int32[] |
KwWhIds |
相关仓库 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"VendorIds": null,
"ProductIds": null,
"ProductIdsCat": null,
"ProdType": null,
"Status": 0,
"TypeIds": null,
"Purchasers": null,
"Keywords": null,
"CategoryId": null,
"WhId": null,
"WhCat": null,
"PurchaserName": null,
"BusinessOnly": false,
"NoStockTransfer": false,
"PageIndex": 1,
"PageSize": 300,
"UsePager": true,
"CountRow": 1,
"AccountingItemId": null,
"DepartmentId": null,
"KwProdIds": null,
"KwBillTypes": null,
"KwCustIds": null,
"KwVendIds": null,
"KwWhIds": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderDetail/Print
请求头
请求参数
conditions |
|
PoDetailSearchCondition |
BillStart |
单据日期开始 |
String |
BillEnd |
单据日期结束 |
String |
VendorIds |
供应商ID |
Int32[] |
ProductIds |
商品ID |
Int32[] |
ProductIdsCat |
|
Int32[] |
ProdType |
商品类别 |
Int32[] |
Status |
|
Int32 |
TypeIds |
单据类型 |
Int32[] |
Purchasers |
采购员 |
Int32[] |
Keywords |
|
String |
CategoryId |
供应商类别 |
Int32[] |
WhId |
仓库id |
Int32[] |
WhCat |
仓库类别 |
Int32[] |
PurchaserName |
|
String |
BusinessOnly |
设置是否只显示有业务发生的商品记录 |
Boolean |
NoStockTransfer |
是否不包含调拨单 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CountRow |
是否需要导出合计行信息 |
Int32 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
KwProdIds |
相关产品 |
Int32[] |
KwBillTypes |
业务类型 |
Int32[] |
KwCustIds |
往来单位(客户) |
Int32[] |
KwVendIds |
往来单位(供应商) |
Int32[] |
KwWhIds |
相关仓库 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"VendorIds": null,
"ProductIds": null,
"ProductIdsCat": null,
"ProdType": null,
"Status": 0,
"TypeIds": null,
"Purchasers": null,
"Keywords": null,
"CategoryId": null,
"WhId": null,
"WhCat": null,
"PurchaserName": null,
"BusinessOnly": false,
"NoStockTransfer": false,
"PageIndex": 1,
"PageSize": 300,
"UsePager": true,
"CountRow": 1,
"AccountingItemId": null,
"DepartmentId": null,
"KwProdIds": null,
"KwBillTypes": null,
"KwCustIds": null,
"KwVendIds": null,
"KwWhIds": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
PurchaseOrderList
采购订单列表页面
检索
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/Search
请求头
请求参数
conditions |
检索条件 |
PoSearchConditions |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
DeliveryDateStart |
交货日期起 |
Nullable`1 |
DeliveryDateEnd |
交货日期止 |
Nullable`1 |
Status |
单据状态(1010,未入库。1020,部分入库。1030,全部入库。 1040,已关闭) |
Int32[] |
Checked |
审核状态(-1,所有状态。0,未审核。1,已审核, 2未审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
BillType |
业务类型(1010,购货。1020,退货) |
Int32[] |
Ids |
采购单据编号(前端手动勾选) |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
商品ID |
Int32[] |
VendorIds |
供应商ID |
Int32[] |
WhIds |
仓库ID |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ConsiderTime |
|
Boolean |
InvoiceType |
发票类型 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"DeliveryDateStart": null,
"DeliveryDateEnd": null,
"Status": null,
"Checked": null,
"Keywords": null,
"BillType": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"VendorIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ConsiderTime": true,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
订单ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
WhsStatusStr |
入库状态(App端用)(☆原字段:InStatus) |
String |
WhsStatus |
入库状态(PC端用) |
BillStatus |
IsClosed |
是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
No |
单据编号 |
String |
BTypeName |
业务类型(☆原字段:BillType) |
String |
VendName |
供应商(☆原字段:Vendor) |
String |
VendNo |
供应商编码 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
RelaWhs |
关联入库单 |
IdNoPair[] |
RelaSos |
关联的销售订单,由此销售订单生成 |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
采购额 |
Decimal |
BillDiscRate |
优惠率 |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
AcNames |
付款账户 |
String |
MultipleAccounts |
多账户付款 |
String |
AmountFirst |
首次收款 |
Decimal |
DeliveryDate |
交货日期 |
String |
PrintCount |
打印次数 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限Id |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
String |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型 |
String |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
PurchaseOrderListModel |
Id |
订单ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
WhsStatusStr |
入库状态(App端用)(☆原字段:InStatus) |
String |
WhsStatus |
入库状态(PC端用) |
BillStatus |
IsClosed |
是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
No |
单据编号 |
String |
BTypeName |
业务类型(☆原字段:BillType) |
String |
VendName |
供应商(☆原字段:Vendor) |
String |
VendNo |
供应商编码 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
RelaWhs |
关联入库单 |
IdNoPair[] |
RelaSos |
关联的销售订单,由此销售订单生成 |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
采购额 |
Decimal |
BillDiscRate |
优惠率 |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
AcNames |
付款账户 |
String |
MultipleAccounts |
多账户付款 |
String |
AmountFirst |
首次收款 |
Decimal |
DeliveryDate |
交货日期 |
String |
PrintCount |
打印次数 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限Id |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
String |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型 |
String |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
检索带有商品明细
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/SearchDetail
请求头
请求参数
conditions |
|
PoSearchConditions |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
DeliveryDateStart |
交货日期起 |
Nullable`1 |
DeliveryDateEnd |
交货日期止 |
Nullable`1 |
Status |
单据状态(1010,未入库。1020,部分入库。1030,全部入库。 1040,已关闭) |
Int32[] |
Checked |
审核状态(-1,所有状态。0,未审核。1,已审核, 2未审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
BillType |
业务类型(1010,购货。1020,退货) |
Int32[] |
Ids |
采购单据编号(前端手动勾选) |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
商品ID |
Int32[] |
VendorIds |
供应商ID |
Int32[] |
WhIds |
仓库ID |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ConsiderTime |
|
Boolean |
InvoiceType |
发票类型 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"DeliveryDateStart": null,
"DeliveryDateEnd": null,
"Status": null,
"Checked": null,
"Keywords": null,
"BillType": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"VendorIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ConsiderTime": true,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AmountTax |
采购费用 = 优惠金额 + 优惠后金额 |
Decimal |
Id |
订单ID |
Int32 |
POEId |
订单子条目ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Boolean |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsGoodsClosed |
子条目(商品)是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
DateFmt |
|
String |
No |
单据编号 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(☆原字段:BillType) |
String |
VendId |
供应商ID |
Int32 |
VendName |
供应商(☆原字段:Vendor) |
String |
VendNo |
供应商编码 |
String |
DeliveryDate |
交货日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
PurchaserId |
采购员Id |
Int32 |
PurchaserName |
采购员名称 |
String |
PrintCount |
打印次数 |
String |
ProdID |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApID |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
CatName |
商品类别 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
WhID |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitID |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
|
String |
AvailableQTY |
|
Nullable`1 |
GoodsWHSQTY |
商品入库数量 |
Decimal |
GoodsWHSREALQTY |
商品实际入库数量 |
Decimal |
Price |
商品购货单价 |
Decimal |
PriceTax |
商品含税单价 |
Decimal |
PriceDis |
商品折后单价 |
Decimal |
DiscRate |
商品折扣率 |
Decimal |
DiscAmount |
商品折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
GoodsAmount |
商品金额 |
Decimal |
TaxRate |
商品税率 |
Decimal |
Tax |
商品税额 |
Decimal |
GoodsAmountTax |
商品价税合计 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
BillAmount |
优惠后金额(由于App需要而保留) |
Decimal |
GoodsNote |
商品备注 |
String |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodDate |
结算日期 |
String |
SettlePeriodName |
结算期限 |
String |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
RelaWhs |
关联入库单 |
IdNoPair[] |
RelaSos |
关联的销售订单,由此销售订单生成 |
IdNoPair[] |
WhsStatus |
入库状态(PC端用) |
BillStatus |
AcId |
预付款账户Id |
Int32 |
AcNames |
账户名称 |
String |
MultipleAccounts |
多账户 |
String |
AmountFirst |
预付款金额 |
Decimal |
ProcurementInTransitCount |
|
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
PurchaseOrderDetailListModel |
AmountTax |
采购费用 = 优惠金额 + 优惠后金额 |
Decimal |
Id |
订单ID |
Int32 |
POEId |
订单子条目ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Boolean |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsGoodsClosed |
子条目(商品)是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
DateFmt |
|
String |
No |
单据编号 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(☆原字段:BillType) |
String |
VendId |
供应商ID |
Int32 |
VendName |
供应商(☆原字段:Vendor) |
String |
VendNo |
供应商编码 |
String |
DeliveryDate |
交货日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
PurchaserId |
采购员Id |
Int32 |
PurchaserName |
采购员名称 |
String |
PrintCount |
打印次数 |
String |
ProdID |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApID |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
CatName |
商品类别 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
WhID |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitID |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
GoodsQTY |
商品数量 |
Decimal |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
|
String |
AvailableQTY |
|
Nullable`1 |
GoodsWHSQTY |
商品入库数量 |
Decimal |
GoodsWHSREALQTY |
商品实际入库数量 |
Decimal |
Price |
商品购货单价 |
Decimal |
PriceTax |
商品含税单价 |
Decimal |
PriceDis |
商品折后单价 |
Decimal |
DiscRate |
商品折扣率 |
Decimal |
DiscAmount |
商品折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
GoodsAmount |
商品金额 |
Decimal |
TaxRate |
商品税率 |
Decimal |
Tax |
商品税额 |
Decimal |
GoodsAmountTax |
商品价税合计 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
BillAmount |
优惠后金额(由于App需要而保留) |
Decimal |
GoodsNote |
商品备注 |
String |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodDate |
结算日期 |
String |
SettlePeriodName |
结算期限 |
String |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
RelaWhs |
关联入库单 |
IdNoPair[] |
RelaSos |
关联的销售订单,由此销售订单生成 |
IdNoPair[] |
WhsStatus |
入库状态(PC端用) |
BillStatus |
AcId |
预付款账户Id |
Int32 |
AcNames |
账户名称 |
String |
MultipleAccounts |
多账户 |
String |
AmountFirst |
预付款金额 |
Decimal |
ProcurementInTransitCount |
|
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
批量审核
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/Check
请求头
请求参数
poIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量反审核
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/UnCheck
请求头
请求参数
poIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量删除
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/Delete
请求头
请求参数
poIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
打印采购订单
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/Print
请求头
请求参数
guid |
|
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印采购订单
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/SeniorPrint
请求头
请求参数
guid |
|
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/Export
请求头
请求参数
conditions |
|
PoSearchConditions |
Start |
订单日期起 |
DateTime |
End |
订单日期至 |
DateTime |
DeliveryDateStart |
交货日期起 |
Nullable`1 |
DeliveryDateEnd |
交货日期止 |
Nullable`1 |
Status |
单据状态(1010,未入库。1020,部分入库。1030,全部入库。 1040,已关闭) |
Int32[] |
Checked |
审核状态(-1,所有状态。0,未审核。1,已审核, 2未审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
BillType |
业务类型(1010,购货。1020,退货) |
Int32[] |
Ids |
采购单据编号(前端手动勾选) |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
商品ID |
Int32[] |
VendorIds |
供应商ID |
Int32[] |
WhIds |
仓库ID |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ConsiderTime |
|
Boolean |
InvoiceType |
发票类型 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"DeliveryDateStart": null,
"DeliveryDateEnd": null,
"Status": null,
"Checked": null,
"Keywords": null,
"BillType": null,
"Ids": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"VendorIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ConsiderTime": true,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
批量关闭
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/Close
请求头
请求参数
ids |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量开启
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/Open
请求头
请求参数
ids |
选中的采购订单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
下载采购订单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/DownloadErrorData
请求头
请求参数
guId |
信息识别码 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入采购订单记录
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取用于生成入库单的订单信息,采购订单->采购入库单
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderList/SearchSourceBills
请求头
请求参数
conditions |
|
BillSearchConditions |
isDetail |
选择源单时是否显示商品明细 |
Boolean |
VcId |
往来单位ID |
Int32 |
SourceBillType |
源单单据类型(采购入库订单/采购退货订单/采购入库单/销售出库订单/销售退货订单/销售出库单) |
BillType |
BillType |
生成的单据类型(采购入库订单/采购退货订单/采购入库单/销售出库订单/销售退货订单/销售出库单) |
BillType |
Keyword |
关键字(单据编号) |
String |
DateStart |
单据日期起 |
Nullable`1 |
DateEnd |
单据日期至 |
Nullable`1 |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"isDetail": false,
"VcId": 0,
"SourceBillType": 0,
"BillType": 0,
"Keyword": null,
"DateStart": null,
"DateEnd": null,
"PageIndex": 0,
"PageSize": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
单据ID |
Int32 |
EntryId |
子条目ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
String |
DeliveryDate |
交货日期 |
String |
VcName |
往来单位名称 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
商品规格 |
String |
UnitName |
单位名称 |
String |
QTY |
数量 |
Decimal |
UsedQTY |
已入库/出库数量 |
Decimal |
RestQTY |
剩余数量 |
Decimal |
ApName |
辅助属性名称 |
String |
SumModel |
合计行 |
SelectBillListModel |
Id |
单据ID |
Int32 |
EntryId |
子条目ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
String |
DeliveryDate |
交货日期 |
String |
VcName |
往来单位名称 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
商品规格 |
String |
UnitName |
单位名称 |
String |
QTY |
数量 |
Decimal |
UsedQTY |
已入库/出库数量 |
Decimal |
RestQTY |
剩余数量 |
Decimal |
ApName |
辅助属性名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
PurchaseOrderSummary
采购汇总表
检索采购汇总表
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/Search
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemNo |
项目编码 |
String |
AccountingItemName |
辅助核算项目名称 |
String |
AccountingDepartment |
辅助核算-项目的负责部门 |
String |
AccountingOwner |
辅助核算-项目的责任人 |
String |
MobilePhone |
联系电话 |
String |
AccountingStatus |
是否可用 |
Boolean |
StartDate |
辅助核算-项目的开始日期 |
String |
EndDate |
辅助核算-项目的验收日期 |
String |
Note |
辅助核算-项目的备注 |
String |
DepartmentId |
|
Int32 |
DepartmentNo |
|
String |
DepartmentName |
|
String |
UpperDepartmentName |
|
String |
IsCountRow |
是否合计行 |
Boolean |
VendId |
供应商ID(页面跳转使用) |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商编码/名称 |
String |
VendTypeName |
供应商类别 |
String |
Purchaser |
采购员id |
Int32 |
PurchaserName |
采购员名称 |
String |
ProdId |
商品ID(页面跳转使用) |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
CatName |
商品类别 |
String |
Spec |
规格型号(☆原字段:ProdSpec) |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ApId |
属性Id |
Int32 |
ApName |
属性 |
String |
WhId |
仓库ID(页面跳转使用) |
Int32 |
WhNo |
仓库编码 |
String |
WhName |
仓库 |
String |
WhType |
仓库类别 |
String |
UnitName |
多单位 |
String |
WholeLooseQty |
整件散包 |
String |
UnitQTY |
多单位数量(☆原字段:UnitQty) |
String |
UnitBaseName |
单位 |
String |
QTY |
单位数量(☆原字段:Qty) |
Decimal |
Price |
单价 |
Decimal |
Amount |
采购金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
TotalRow |
总计行 |
PurchaseSummaryModel |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemNo |
项目编码 |
String |
AccountingItemName |
辅助核算项目名称 |
String |
AccountingDepartment |
辅助核算-项目的负责部门 |
String |
AccountingOwner |
辅助核算-项目的责任人 |
String |
MobilePhone |
联系电话 |
String |
AccountingStatus |
是否可用 |
Boolean |
StartDate |
辅助核算-项目的开始日期 |
String |
EndDate |
辅助核算-项目的验收日期 |
String |
Note |
辅助核算-项目的备注 |
String |
DepartmentId |
|
Int32 |
DepartmentNo |
|
String |
DepartmentName |
|
String |
UpperDepartmentName |
|
String |
IsCountRow |
是否合计行 |
Boolean |
VendId |
供应商ID(页面跳转使用) |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商编码/名称 |
String |
VendTypeName |
供应商类别 |
String |
Purchaser |
采购员id |
Int32 |
PurchaserName |
采购员名称 |
String |
ProdId |
商品ID(页面跳转使用) |
Int32 |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
CatName |
商品类别 |
String |
Spec |
规格型号(☆原字段:ProdSpec) |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
ApId |
属性Id |
Int32 |
ApName |
属性 |
String |
WhId |
仓库ID(页面跳转使用) |
Int32 |
WhNo |
仓库编码 |
String |
WhName |
仓库 |
String |
WhType |
仓库类别 |
String |
UnitName |
多单位 |
String |
WholeLooseQty |
整件散包 |
String |
UnitQTY |
多单位数量(☆原字段:UnitQty) |
String |
UnitBaseName |
单位 |
String |
QTY |
单位数量(☆原字段:Qty) |
Decimal |
Price |
单价 |
Decimal |
Amount |
采购金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
检索采购汇总表(按商品)
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/SearchByProd
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
ProdName |
商品名称 |
String |
QTY |
数量(☆原字段:Qty) |
Decimal |
Amount |
采购金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
WhType |
仓库类别 |
String |
返回示例
""
检索采购汇总表(按供应商)
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/SearchByVend
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
VendName |
供应商名称 |
String |
PurCount |
采购笔数 |
Int32 |
Amount |
采购金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
WhType |
仓库类别 |
String |
返回示例
""
检索采购汇总表(按采购员)
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/SearchByPurc
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
PurcName |
采购员名称 |
String |
PurCount |
采购笔数 |
Int32 |
Amount |
采购金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
WhType |
仓库类别 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/Export
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印——按商品
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/PrintByProd
请求头
请求参数
conditions |
|
PurchaseOrderSummaryByProdCondition |
BillStart |
|
String |
BillEnd |
|
String |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
|
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
|
Int32[] |
Keywords |
|
String |
WarehouseId |
|
Int32[] |
WhCat |
|
Int32[] |
ShowAP |
|
Boolean |
MaxRecCount |
|
Int32 |
Purchaser |
|
Int32[] |
Spec |
|
String |
ShowSubtotalRows |
|
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"Keywords": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"Spec": null,
"ShowSubtotalRows": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印——按供应商
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/PrintByVend
请求头
请求参数
conditions |
|
PurchaseOrderSummaryByVendCondition |
BillStart |
|
String |
BillEnd |
|
String |
SummaryType |
|
PurchaseSummaryType |
VendorIds |
|
Int32[] |
VendTypeId |
|
Int32[] |
ProductIds |
|
Int32[] |
CatId |
|
Int32[] |
Keywords |
|
String |
WarehouseId |
|
Int32[] |
WhCat |
|
Int32[] |
Spec |
|
String |
ShowAP |
|
Boolean |
MaxRecCount |
|
Int32 |
Purchaser |
|
Int32[] |
ShowSubtotalRows |
|
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"SummaryType": 0,
"VendorIds": null,
"VendTypeId": null,
"ProductIds": null,
"CatId": null,
"Keywords": null,
"WarehouseId": null,
"WhCat": null,
"Spec": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ShowSubtotalRows": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印——按采购员
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/PrintByPurc
请求头
请求参数
conditions |
|
PurchaseOrderSummaryCondition |
BillStart |
|
String |
BillEnd |
|
String |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
|
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
|
Int32[] |
Keywords |
|
String |
WarehouseId |
|
Int32[] |
WhCat |
|
Int32[] |
ShowAP |
|
Boolean |
MaxRecCount |
|
Int32 |
Purchaser |
|
Int32[] |
PurchaserName |
|
String |
ShowSubtotalRows |
|
Boolean |
ShowInactive |
|
Boolean |
DepartmentId |
|
Int32[] |
AccountingItemId |
|
Int32[] |
EmployeeID |
|
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"Keywords": null,
"WarehouseId": null,
"WhCat": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"PurchaserName": null,
"ShowSubtotalRows": false,
"ShowInactive": false,
"DepartmentId": null,
"AccountingItemId": null,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
分享链接(按商品)
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/ShareLinkByProd
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享链接(按供应商)
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/ShareLinkByVend
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/SharePdf
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderSummary/ShareExcel
请求头
请求参数
conditions |
|
PoSummarySearchCondition |
SummaryType |
|
PurchaseSummaryType |
ProductIds |
|
Int32[] |
CatId |
商品类别ID(针对App) |
Int32[] |
VendorIds |
|
Int32[] |
VendTypeId |
供应商类别ID(针对App) |
Int32[] |
DepartmentId |
部门ID |
Int32[] |
AccountingItemId |
项目id |
Int32[] |
Keywords |
|
String |
BillStart |
|
String |
BillEnd |
|
String |
WarehouseId |
|
Int32[] |
ShowAP |
是否显示属性 |
Boolean |
MaxRecCount |
最多返回的记录数(针对App,如果为0则返回全部) |
Int32 |
Purchaser |
|
Int32[] |
ApName |
|
String |
WhCat |
仓库类别 |
Int32[] |
Spec |
|
String |
ApIds |
|
Int32[] |
PurchaserName |
采购员 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ShowSubtotalRows |
是否展示小计行 |
Boolean |
ShowInactive |
是否显示停用项目 |
Boolean |
EmployeeID |
项目-职员 |
Int32[] |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SummaryType": 0,
"ProductIds": null,
"CatId": null,
"VendorIds": null,
"VendTypeId": null,
"DepartmentId": null,
"AccountingItemId": null,
"Keywords": null,
"BillStart": null,
"BillEnd": null,
"WarehouseId": null,
"ShowAP": false,
"MaxRecCount": 0,
"Purchaser": null,
"ApName": null,
"WhCat": null,
"Spec": null,
"ApIds": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ShowSubtotalRows": false,
"ShowInactive": false,
"EmployeeID": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
PurchaseOrderTrack
采购订单跟踪表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderTrack/Search
请求头
请求参数
conditions |
|
PoTrackSearchCondition |
Id |
订单Id |
Int32[] |
StartBillFmt |
单据日期起 |
String |
EndBillFmt |
单据日期至 |
String |
VendorId |
供应商ID |
Int32[] |
ProductIds |
商品ID |
Int32[] |
Status |
入库状态(1010,未入库。1020,部分入库。1030,全部入库) |
Int32[] |
PaymentStatus |
付款状态 |
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
VendType |
供应商类型 |
Int32[] |
Purchaser |
采购员 |
Int32[] |
ProdType |
商品类型 |
Int32[] |
CreatedBy |
下单人 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
IsShowProdDetail |
是否显示商品明细 |
Boolean |
IsAllFlowTrack |
是否全流程追踪 |
Boolean |
Keywords |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": null,
"StartBillFmt": null,
"EndBillFmt": null,
"VendorId": null,
"ProductIds": null,
"Status": null,
"PaymentStatus": null,
"InvoiceStatus": null,
"VendType": null,
"Purchaser": null,
"ProdType": null,
"CreatedBy": null,
"AccountingItemId": null,
"DepartmentId": null,
"IsShowProdDetail": true,
"IsAllFlowTrack": false,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
IsCountRow |
是否参与合计 |
Boolean |
IsIgnorePage |
为true时不参与分页 |
Boolean |
IsSummary |
是否是小计,给前端 |
Boolean |
Id |
单据ID(☆原字段:BillId) |
Int32 |
EntryId |
订单子条目类型 |
Int32 |
BType |
订单类型(入库或退货) |
BillType |
ProdNo |
商品编号 |
String |
ProdImage |
|
String |
WhName |
|
String |
ProdName |
商品名称 |
String |
ProdType |
商品类别 |
String |
Spec |
规格型号 |
String |
ApName |
属性 |
String |
UnitName |
单位 |
String |
BillDate |
单据日期 |
String |
VendName |
供应商 |
String |
VendNo |
供应商编码 |
String |
VendType |
供应商类别 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
WhsStatusStr |
入库状态(☆原字段:Status) |
String |
WhsStatus |
入库状态 |
Int32 |
PaymentStatusStr |
付款状态 |
String |
PaymentStatus |
|
Int32 |
InvoiceStatusStr |
开票状态 |
String |
InvoiceStatus |
|
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
|
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
WhsQTY |
已入库数量 |
Decimal |
RestQTY |
未入库数量(☆原字段:RestQty) |
Decimal |
Amount |
采购金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
WhsAmount |
已入库金额 |
Decimal |
RestAmount |
未入库金额 |
Decimal |
DeliveryDate |
预计交货日期 |
String |
WhsDate |
入库日期 |
String |
CreatedByName |
下单人 |
String |
Note |
备注 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
OfdAmount |
付款金额 |
Decimal |
OfuAmount |
未付款金额 |
Decimal |
BillDiscAfterAmount |
(整个单据的)优惠后金额 |
Decimal |
DISC_AMOUNT |
优惠金额 |
Decimal |
DISC_RATE |
优惠率 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
BillNote |
单据备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
Items |
|
array[object] |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
InvoiceAmount |
发票金额 |
Decimal |
NoInvoiceAmount |
未开发票金额 |
Decimal |
OfdAmount |
核销金额,收款金额 |
Decimal |
OfuAmount |
未核销金额,未收款金额 |
Decimal |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
TotalRow |
总计行 |
PoTrackModel |
IsCountRow |
是否参与合计 |
Boolean |
IsIgnorePage |
为true时不参与分页 |
Boolean |
IsSummary |
是否是小计,给前端 |
Boolean |
Id |
单据ID(☆原字段:BillId) |
Int32 |
EntryId |
订单子条目类型 |
Int32 |
BType |
订单类型(入库或退货) |
BillType |
ProdNo |
商品编号 |
String |
ProdImage |
|
String |
WhName |
|
String |
ProdName |
商品名称 |
String |
ProdType |
商品类别 |
String |
Spec |
规格型号 |
String |
ApName |
属性 |
String |
UnitName |
单位 |
String |
BillDate |
单据日期 |
String |
VendName |
供应商 |
String |
VendNo |
供应商编码 |
String |
VendType |
供应商类别 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
WhsStatusStr |
入库状态(☆原字段:Status) |
String |
WhsStatus |
入库状态 |
Int32 |
PaymentStatusStr |
付款状态 |
String |
PaymentStatus |
|
Int32 |
InvoiceStatusStr |
开票状态 |
String |
InvoiceStatus |
|
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
|
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
WhsQTY |
已入库数量 |
Decimal |
RestQTY |
未入库数量(☆原字段:RestQty) |
Decimal |
Amount |
采购金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
WhsAmount |
已入库金额 |
Decimal |
RestAmount |
未入库金额 |
Decimal |
DeliveryDate |
预计交货日期 |
String |
WhsDate |
入库日期 |
String |
CreatedByName |
下单人 |
String |
Note |
备注 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
OfdAmount |
付款金额 |
Decimal |
OfuAmount |
未付款金额 |
Decimal |
BillDiscAfterAmount |
(整个单据的)优惠后金额 |
Decimal |
DISC_AMOUNT |
优惠金额 |
Decimal |
DISC_RATE |
优惠率 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
BillNote |
单据备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
Items |
|
array[object] |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
InvoiceAmount |
发票金额 |
Decimal |
NoInvoiceAmount |
未开发票金额 |
Decimal |
OfdAmount |
核销金额,收款金额 |
Decimal |
OfuAmount |
未核销金额,未收款金额 |
Decimal |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
订单跟踪表跳转详情页 手机端用
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderTrack/Init
请求头
请求参数
condition |
|
PoTrackInitCondition |
Id |
订单Id |
Int32 |
EId |
订单条目Id |
Int32[] |
DetailType |
用于控制从订单跟踪表跳到不同的详情页 |
PoTrackDetailTypeEnum |
Keywords |
|
String |
请求示例
{
"Id": 0,
"EId": null,
"DetailType": 0,
"Keywords": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
IsCountRow |
是否参与合计 |
Boolean |
IsIgnorePage |
为true时不参与分页 |
Boolean |
IsSummary |
是否是小计,给前端 |
Boolean |
Id |
单据ID(☆原字段:BillId) |
Int32 |
EntryId |
订单子条目类型 |
Int32 |
BType |
订单类型(入库或退货) |
BillType |
ProdNo |
商品编号 |
String |
ProdImage |
|
String |
WhName |
|
String |
ProdName |
商品名称 |
String |
ProdType |
商品类别 |
String |
Spec |
规格型号 |
String |
ApName |
属性 |
String |
UnitName |
单位 |
String |
BillDate |
单据日期 |
String |
VendName |
供应商 |
String |
VendNo |
供应商编码 |
String |
VendType |
供应商类别 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
WhsStatusStr |
入库状态(☆原字段:Status) |
String |
WhsStatus |
入库状态 |
Int32 |
PaymentStatusStr |
付款状态 |
String |
PaymentStatus |
|
Int32 |
InvoiceStatusStr |
开票状态 |
String |
InvoiceStatus |
|
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
|
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
WhsQTY |
已入库数量 |
Decimal |
RestQTY |
未入库数量(☆原字段:RestQty) |
Decimal |
Amount |
采购金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
WhsAmount |
已入库金额 |
Decimal |
RestAmount |
未入库金额 |
Decimal |
DeliveryDate |
预计交货日期 |
String |
WhsDate |
入库日期 |
String |
CreatedByName |
下单人 |
String |
Note |
备注 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
OfdAmount |
付款金额 |
Decimal |
OfuAmount |
未付款金额 |
Decimal |
BillDiscAfterAmount |
(整个单据的)优惠后金额 |
Decimal |
DISC_AMOUNT |
优惠金额 |
Decimal |
DISC_RATE |
优惠率 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
BillNote |
单据备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
Items |
|
array[object] |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
InvoiceAmount |
发票金额 |
Decimal |
NoInvoiceAmount |
未开发票金额 |
Decimal |
OfdAmount |
核销金额,收款金额 |
Decimal |
OfuAmount |
未核销金额,未收款金额 |
Decimal |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
TotalRow |
总计行 |
PoTrackModel |
IsCountRow |
是否参与合计 |
Boolean |
IsIgnorePage |
为true时不参与分页 |
Boolean |
IsSummary |
是否是小计,给前端 |
Boolean |
Id |
单据ID(☆原字段:BillId) |
Int32 |
EntryId |
订单子条目类型 |
Int32 |
BType |
订单类型(入库或退货) |
BillType |
ProdNo |
商品编号 |
String |
ProdImage |
|
String |
WhName |
|
String |
ProdName |
商品名称 |
String |
ProdType |
商品类别 |
String |
Spec |
规格型号 |
String |
ApName |
属性 |
String |
UnitName |
单位 |
String |
BillDate |
单据日期 |
String |
VendName |
供应商 |
String |
VendNo |
供应商编码 |
String |
VendType |
供应商类别 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
WhsStatusStr |
入库状态(☆原字段:Status) |
String |
WhsStatus |
入库状态 |
Int32 |
PaymentStatusStr |
付款状态 |
String |
PaymentStatus |
|
Int32 |
InvoiceStatusStr |
开票状态 |
String |
InvoiceStatus |
|
Int32 |
QTY |
数量(☆原字段:Qty) |
Decimal |
WholeLooseQty |
|
String |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
WhsQTY |
已入库数量 |
Decimal |
RestQTY |
未入库数量(☆原字段:RestQty) |
Decimal |
Amount |
采购金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
WhsAmount |
已入库金额 |
Decimal |
RestAmount |
未入库金额 |
Decimal |
DeliveryDate |
预计交货日期 |
String |
WhsDate |
入库日期 |
String |
CreatedByName |
下单人 |
String |
Note |
备注 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
OfdAmount |
付款金额 |
Decimal |
OfuAmount |
未付款金额 |
Decimal |
BillDiscAfterAmount |
(整个单据的)优惠后金额 |
Decimal |
DISC_AMOUNT |
优惠金额 |
Decimal |
DISC_RATE |
优惠率 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
BillNote |
单据备注 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
Items |
|
array[object] |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
InvoiceAmount |
发票金额 |
Decimal |
NoInvoiceAmount |
未开发票金额 |
Decimal |
OfdAmount |
核销金额,收款金额 |
Decimal |
OfuAmount |
未核销金额,未收款金额 |
Decimal |
SourceId |
订单Id |
Int32 |
SourceEntityId |
订单条目Id |
Int32 |
No |
|
String |
NewNo |
|
String |
WhId |
|
Int32 |
RelationBillId |
关联单据id |
Int32 |
RelationBillEntryId |
关联单据明细ID |
Int32 |
RelationBillType |
单据类型 |
BillType |
RelationBillTypeStr |
单据类型 |
String |
RelationBillDate |
单据日期 |
DateTime |
RelationBillDateStr |
单据日期字符串类型 |
String |
RelationBillNo |
单据 |
String |
InvoiceType |
发票类型 |
String |
InvoiceDate |
发票日期 |
String |
InvoiceNo |
|
String |
InvoiceList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
InvoiceDate |
|
DateTime |
InvoiceType |
|
String |
InvoiceNo |
|
String |
InvoiceOfAmount |
|
Decimal |
JournalBankName |
|
String |
JournalRpTypeName |
日记账收支类别 |
String |
JournalDate |
日记账日期 |
String |
JournalBillNo |
日记交易流水号 |
String |
JournalAcId |
|
Int32 |
JournalAcType |
|
Int32 |
JournalBillType |
|
BillType |
JournalBillTypeStr |
|
String |
JournalList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
JournalBankName |
|
String |
JournalRpTypeName |
|
String |
JournalDate |
|
DateTime |
JournalBillNo |
|
String |
JournalBillType |
|
BillType |
JournalOfdAmount |
|
Decimal |
JournalAcId |
日记账银行账户Id |
Int32 |
OffsetBillNo |
核销单编号 |
String |
OffsetBillTypeStr |
核销单据类型 |
String |
OffsetBillType |
|
BillType |
OffsetBillId |
核销单据ID |
Int32 |
OffsetBillDate |
核销单据日期 |
String |
OffsetBillList |
|
array[object] |
RelationBillId |
|
Int32 |
RelationBillType |
|
BillType |
RelationBillEntryId |
|
Int32 |
OffsetBillType |
|
BillType |
OffsetBillDate |
|
DateTime |
OffsetBillNo |
|
String |
OffsetBillId |
|
Int32 |
OffsetOfdAmount |
|
Decimal |
ExAmount |
已出库/已入库金额 |
Decimal |
ExQTY |
已出库/已入库数量 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderTrack/Export
请求头
请求参数
conditions |
|
PoTrackSearchCondition |
Id |
订单Id |
Int32[] |
StartBillFmt |
单据日期起 |
String |
EndBillFmt |
单据日期至 |
String |
VendorId |
供应商ID |
Int32[] |
ProductIds |
商品ID |
Int32[] |
Status |
入库状态(1010,未入库。1020,部分入库。1030,全部入库) |
Int32[] |
PaymentStatus |
付款状态 |
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
VendType |
供应商类型 |
Int32[] |
Purchaser |
采购员 |
Int32[] |
ProdType |
商品类型 |
Int32[] |
CreatedBy |
下单人 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
IsShowProdDetail |
是否显示商品明细 |
Boolean |
IsAllFlowTrack |
是否全流程追踪 |
Boolean |
Keywords |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": null,
"StartBillFmt": null,
"EndBillFmt": null,
"VendorId": null,
"ProductIds": null,
"Status": null,
"PaymentStatus": null,
"InvoiceStatus": null,
"VendType": null,
"Purchaser": null,
"ProdType": null,
"CreatedBy": null,
"AccountingItemId": null,
"DepartmentId": null,
"IsShowProdDetail": true,
"IsAllFlowTrack": false,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/PurchaseOrderTrack/Print
请求头
请求参数
conditions |
|
PoTrackSearchCondition |
Id |
订单Id |
Int32[] |
StartBillFmt |
单据日期起 |
String |
EndBillFmt |
单据日期至 |
String |
VendorId |
供应商ID |
Int32[] |
ProductIds |
商品ID |
Int32[] |
Status |
入库状态(1010,未入库。1020,部分入库。1030,全部入库) |
Int32[] |
PaymentStatus |
付款状态 |
Int32[] |
InvoiceStatus |
开票状态 |
Int32[] |
VendType |
供应商类型 |
Int32[] |
Purchaser |
采购员 |
Int32[] |
ProdType |
商品类型 |
Int32[] |
CreatedBy |
下单人 |
Int32[] |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
IsShowProdDetail |
是否显示商品明细 |
Boolean |
IsAllFlowTrack |
是否全流程追踪 |
Boolean |
Keywords |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Id": null,
"StartBillFmt": null,
"EndBillFmt": null,
"VendorId": null,
"ProductIds": null,
"Status": null,
"PaymentStatus": null,
"InvoiceStatus": null,
"VendType": null,
"Purchaser": null,
"ProdType": null,
"CreatedBy": null,
"AccountingItemId": null,
"DepartmentId": null,
"IsShowProdDetail": true,
"IsAllFlowTrack": false,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
PurchasePayment
采购付款一览表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/PurchasePayment/Search
请求头
请求参数
conditions |
|
PPLSearchConditions |
BillStart |
单据日期起 |
Nullable`1 |
BillEnd |
单据日期至 |
Nullable`1 |
VendIds |
供应商ID |
Int32[] |
VendType |
供应商类型 |
Int32[] |
BillType |
单据类型 |
Int32[] |
Keyword |
关键字 |
String |
AsStartDate |
账套开启日期 |
DateTime |
Purchaser |
采购员ID |
Int32[] |
Status |
付款/退款状态(1010,未。1020,部分。1030,全部) [-1]也可能会被传过来,在构建数据查询条件的时候会去掉小于0的相当于没加搜索条件 |
Int32[] |
PurchaserName |
采购员名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"VendIds": null,
"VendType": null,
"BillType": null,
"Keyword": null,
"AsStartDate": "0001-01-01T00:00:00",
"Purchaser": null,
"Status": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
IsCountRow |
是否是合计行 |
Boolean |
VendTypeName |
供应商类别 |
String |
VendNo |
供应商编码 |
String |
VendName |
供应商 |
String |
VendId |
供应商ID |
Int32 |
Id |
单据ID(☆原字段:BillId) |
Int32 |
BType |
业务类型(☆原字段:BillType) |
Int32 |
BTypeName |
业务类型名称(☆原字段:BusinessType) |
String |
Date |
单据日期(☆原字段:BillDate) |
String |
No |
单据编号(☆原字段:BillNo) |
String |
OrpId |
核销单/收款单/付款单ID |
Int32 |
OrpNo |
核销单/收款单/付款单编号 |
String |
Amount |
采购金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Payable |
应付款 |
Decimal |
AmountFirst |
本次付款(☆原字段:Payment) |
Decimal |
Blance |
应付款余额 |
Decimal |
PaymentRate |
付款率 |
String |
Note |
备注 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
AcName |
付款账户 |
String |
StatusText |
采购费用状态 |
String |
TotalRow |
总计行 |
PPaymentModel |
IsCountRow |
是否是合计行 |
Boolean |
VendTypeName |
供应商类别 |
String |
VendNo |
供应商编码 |
String |
VendName |
供应商 |
String |
VendId |
供应商ID |
Int32 |
Id |
单据ID(☆原字段:BillId) |
Int32 |
BType |
业务类型(☆原字段:BillType) |
Int32 |
BTypeName |
业务类型名称(☆原字段:BusinessType) |
String |
Date |
单据日期(☆原字段:BillDate) |
String |
No |
单据编号(☆原字段:BillNo) |
String |
OrpId |
核销单/收款单/付款单ID |
Int32 |
OrpNo |
核销单/收款单/付款单编号 |
String |
Amount |
采购金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Payable |
应付款 |
Decimal |
AmountFirst |
本次付款(☆原字段:Payment) |
Decimal |
Blance |
应付款余额 |
Decimal |
PaymentRate |
付款率 |
String |
Note |
备注 |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
AcName |
付款账户 |
String |
StatusText |
采购费用状态 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/PurchasePayment/Export
请求头
请求参数
conditions |
|
PPLSearchConditions |
BillStart |
单据日期起 |
Nullable`1 |
BillEnd |
单据日期至 |
Nullable`1 |
VendIds |
供应商ID |
Int32[] |
VendType |
供应商类型 |
Int32[] |
BillType |
单据类型 |
Int32[] |
Keyword |
关键字 |
String |
AsStartDate |
账套开启日期 |
DateTime |
Purchaser |
采购员ID |
Int32[] |
Status |
付款/退款状态(1010,未。1020,部分。1030,全部) [-1]也可能会被传过来,在构建数据查询条件的时候会去掉小于0的相当于没加搜索条件 |
Int32[] |
PurchaserName |
采购员名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"VendIds": null,
"VendType": null,
"BillType": null,
"Keyword": null,
"AsStartDate": "0001-01-01T00:00:00",
"Purchaser": null,
"Status": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/PurchasePayment/Print
请求头
请求参数
conditions |
|
PPLSearchConditions |
BillStart |
单据日期起 |
Nullable`1 |
BillEnd |
单据日期至 |
Nullable`1 |
VendIds |
供应商ID |
Int32[] |
VendType |
供应商类型 |
Int32[] |
BillType |
单据类型 |
Int32[] |
Keyword |
关键字 |
String |
AsStartDate |
账套开启日期 |
DateTime |
Purchaser |
采购员ID |
Int32[] |
Status |
付款/退款状态(1010,未。1020,部分。1030,全部) [-1]也可能会被传过来,在构建数据查询条件的时候会去掉小于0的相当于没加搜索条件 |
Int32[] |
PurchaserName |
采购员名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"BillStart": null,
"BillEnd": null,
"VendIds": null,
"VendType": null,
"BillType": null,
"Keyword": null,
"AsStartDate": "0001-01-01T00:00:00",
"Purchaser": null,
"Status": null,
"PurchaserName": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Warehousing
采购入库单页面
采购入库单 - 预测试是否可以生成退货单
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/PreInitWhs
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
初始化单据信息
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/InitData
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
使用库存预警相关的商品初始化采购入库单信息
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/InitDataWithWarning
请求头
请求参数
request |
|
CreateWHSRequest2 |
Items |
|
array[object] |
ApId |
|
Int32 |
ProdId |
|
Int32 |
WhId |
|
Int32 |
Qty |
|
Decimal |
请求示例
{
"Items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
从一条采购订单信息初始化入库单据信息
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/InitDataFromPo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
从多条采购订单信息初始化入库单信息
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/InitDataFromPos
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:15:42.436574+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
批量入库
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/GenerateWhsFromPo
请求头
请求参数
request |
|
GenerateWhsRequest |
RIds |
源单ID |
Int32[] |
RDetails |
子单据 |
Int32[] |
请求示例
{
"RIds": null,
"RDetails": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
BatchWarehousingResult |
WhsBills |
生成的入库单信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
BillIds |
入库单ID |
String |
Errors |
如果只生成一条入库单信息,并且有错误的话,自动跳转到入库单详情页面,并且把错误信息展示给用户 |
array[object] |
Chars |
|
Char |
Length |
|
Int32 |
返回示例
""
合并入库
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/MergeGenerateWhsFromPo
请求头
请求参数
request |
|
GenerateWhsRequest |
RIds |
源单ID |
Int32[] |
RDetails |
子单据 |
Int32[] |
请求示例
{
"RIds": null,
"RDetails": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
BatchWarehousingResult |
WhsBills |
生成的入库单信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
BillIds |
入库单ID |
String |
Errors |
如果只生成一条入库单信息,并且有错误的话,自动跳转到入库单详情页面,并且把错误信息展示给用户 |
array[object] |
Chars |
|
Char |
Length |
|
Int32 |
返回示例
""
使用销售出库单生成采购入库单
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/InitDataFromSd
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
添加采购入库单
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/Add
请求头
请求参数
model |
提交信息 |
WarehousingEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款/本次退款 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
Note |
备注 |
String |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
IsNotRelated |
|
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目信息 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"Id": 0,
"No": null,
"PoNo": null,
"PoId": 0,
"WhsNo": null,
"WhsId": 0,
"BType": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Purchaser": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"QTY": 0.0,
"AmountFirst": 0.0,
"Expense": 0.0,
"AcId": 0,
"Note": null,
"ShareExpense": 0,
"IsNotRelated": false,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"RelatedBills": null,
"InvoiceType": 0,
"InvoiceTypeName": null,
"AutoGenerate": false,
"Items": [],
"ExpenseItems": [],
"PayInfoItems": [],
"NeedJudgePrice": false,
"BillOrigin": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
修改采购入库单
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/Update
请求头
请求参数
model |
提交信息 |
WarehousingEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款/本次退款 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
Note |
备注 |
String |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
IsNotRelated |
|
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目信息 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"Id": 0,
"No": null,
"PoNo": null,
"PoId": 0,
"WhsNo": null,
"WhsId": 0,
"BType": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Purchaser": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"QTY": 0.0,
"AmountFirst": 0.0,
"Expense": 0.0,
"AcId": 0,
"Note": null,
"ShareExpense": 0,
"IsNotRelated": false,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"RelatedBills": null,
"InvoiceType": 0,
"InvoiceTypeName": null,
"AutoGenerate": false,
"Items": [],
"ExpenseItems": [],
"PayInfoItems": [],
"NeedJudgePrice": false,
"BillOrigin": 0
}
返回值
返回示例
""
保存并审核
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/Check
请求头
请求参数
model |
提交信息 |
WarehousingEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款/本次退款 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
Note |
备注 |
String |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
IsNotRelated |
|
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目信息 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"Id": 0,
"No": null,
"PoNo": null,
"PoId": 0,
"WhsNo": null,
"WhsId": 0,
"BType": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Purchaser": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"QTY": 0.0,
"AmountFirst": 0.0,
"Expense": 0.0,
"AcId": 0,
"Note": null,
"ShareExpense": 0,
"IsNotRelated": false,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"RelatedBills": null,
"InvoiceType": 0,
"InvoiceTypeName": null,
"AutoGenerate": false,
"Items": [],
"ExpenseItems": [],
"PayInfoItems": [],
"NeedJudgePrice": false,
"BillOrigin": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
反审核
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/UnCheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除单条单据
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
查询未出库的序列号
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/SearchRemainingSerials
请求头
请求参数
condition |
|
RemainingSerialStatusCondition |
SerialNo |
序列号 |
String |
WhId |
仓库ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
SerialNos |
|
array[object] |
Chars |
|
Char |
Length |
|
Int32 |
请求示例
{
"SerialNo": null,
"WhId": 0,
"ProdId": 0,
"ApId": 0,
"PageIndex": 0,
"PageSize": 0,
"SerialNos": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
RowIndex |
索引,无特定意义,用于前端区分不同的行 |
Int32 |
SerialNo |
序列号 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
SerialNote |
序列号备注 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性 |
String |
BatchNo |
批次号 |
String |
ProductionTime |
生产日期 |
DateTime |
ProductionDate |
生产日期 |
String |
ExpirationDate |
到期日期 |
String |
ProdId |
商品ID |
Int32 |
BillType |
|
BillType |
BillId |
|
Int32 |
EntryId |
|
Int32 |
IsChecked |
|
Int32 |
SumModel |
合计行 |
RemainingSerialStatusModel |
RowIndex |
索引,无特定意义,用于前端区分不同的行 |
Int32 |
SerialNo |
序列号 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
SerialNote |
序列号备注 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性 |
String |
BatchNo |
批次号 |
String |
ProductionTime |
生产日期 |
DateTime |
ProductionDate |
生产日期 |
String |
ExpirationDate |
到期日期 |
String |
ProdId |
商品ID |
Int32 |
BillType |
|
BillType |
BillId |
|
Int32 |
EntryId |
|
Int32 |
IsChecked |
|
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
查找未出库的批次号
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/SearchRemainingBatches
请求头
请求参数
condition |
|
RemainingBatchStatusCondition |
BatchNo |
批次号 |
String |
WhId |
仓库ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
ShowZeroInventory |
是否显示零库存或负库存批次 |
Boolean |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
请求示例
{
"BatchNo": null,
"WhId": 0,
"ProdId": 0,
"ApId": 0,
"ShowZeroInventory": false,
"PageIndex": 0,
"PageSize": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
RowIndex |
索引,无特定意义,用于前端区分不同的行 |
Int32 |
BatchNo |
批次 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性 |
String |
UnitId |
库存单位 |
Int32 |
UnitName |
库存单位 |
String |
Rate |
单位比率 |
Decimal |
Qty |
库存单位数量 |
Decimal |
BillDirection |
|
ProductTransferAction |
ProductionDate |
生产日期 |
String |
ProductionTime |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
String |
BillType |
单据类型 |
BillType |
IsChecked |
|
Int32 |
IntValue |
一些其他信息 |
Int32 |
SumModel |
合计行 |
RemainingBatchStatusModel |
RowIndex |
索引,无特定意义,用于前端区分不同的行 |
Int32 |
BatchNo |
批次 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性 |
String |
UnitId |
库存单位 |
Int32 |
UnitName |
库存单位 |
String |
Rate |
单位比率 |
Decimal |
Qty |
库存单位数量 |
Decimal |
BillDirection |
|
ProductTransferAction |
ProductionDate |
生产日期 |
String |
ProductionTime |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
String |
BillType |
单据类型 |
BillType |
IsChecked |
|
Int32 |
IntValue |
一些其他信息 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
查找未出库的批次号
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/SearchRemainingLifeTime
请求头
请求参数
condition |
|
RemainingLifeTimeStatusCondition |
WhId |
仓库ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
BatchNo |
批次号 |
String |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
请求示例
{
"WhId": 0,
"ProdId": 0,
"ApId": 0,
"BatchNo": null,
"PageIndex": 0,
"PageSize": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
RowIndex |
索引,无特定意义,用于前端区分不同的行 |
Int32 |
BatchNo |
批次 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性 |
String |
UnitId |
库存单位 |
Int32 |
UnitName |
库存单位 |
String |
Rate |
单位比率 |
Decimal |
Qty |
库存单位数量 |
Decimal |
BillDirection |
|
ProductTransferAction |
ProductionDate |
生产日期 |
String |
ProductionTime |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
String |
BillType |
单据类型 |
BillType |
IsChecked |
|
Int32 |
IntValue |
一些其他信息 |
Int32 |
SumModel |
合计行 |
RemainingLifeTimeStatusModel |
RowIndex |
索引,无特定意义,用于前端区分不同的行 |
Int32 |
BatchNo |
批次 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性 |
String |
UnitId |
库存单位 |
Int32 |
UnitName |
库存单位 |
String |
Rate |
单位比率 |
Decimal |
Qty |
库存单位数量 |
Decimal |
BillDirection |
|
ProductTransferAction |
ProductionDate |
生产日期 |
String |
ProductionTime |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
String |
BillType |
单据类型 |
BillType |
IsChecked |
|
Int32 |
IntValue |
一些其他信息 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
获取费用改造数量或者金额发生变化时的数据(仅供前端使用,数据库不进行保存)
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/ShowExpShare
请求头
请求参数
model |
|
WarehousingEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款/本次退款 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
Note |
备注 |
String |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
IsNotRelated |
|
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目信息 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"Id": 0,
"No": null,
"PoNo": null,
"PoId": 0,
"WhsNo": null,
"WhsId": 0,
"BType": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Purchaser": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"QTY": 0.0,
"AmountFirst": 0.0,
"Expense": 0.0,
"AcId": 0,
"Note": null,
"ShareExpense": 0,
"IsNotRelated": false,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"RelatedBills": null,
"InvoiceType": 0,
"InvoiceTypeName": null,
"AutoGenerate": false,
"Items": [],
"ExpenseItems": [],
"PayInfoItems": [],
"NeedJudgePrice": false,
"BillOrigin": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/Warehousing/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
WarehousingList
采购入库单列表页面
检索
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/Search
请求头
请求参数
conditions |
检索条件 |
WhsSearchConditions |
Start |
单据日期起始时间 |
DateTime |
End |
订单日期至 |
DateTime |
VendorIds |
供应商ID |
Int32[] |
Ids |
前端手动指定要查找的单据 |
Int32[] |
WhsStatus |
收款/退款状态(1010,未。1020,部分。1030,全部) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,所有。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
|
Int32[] |
WhIds |
|
Int32[] |
CreatedBy |
|
Int32[] |
CheckedBy |
|
Int32[] |
InvoiceType |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"VendorIds": null,
"Ids": null,
"WhsStatus": null,
"InvoiceStatus": null,
"Checked": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
订单ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
PayStatus |
付款状态(PC端用)(☆原字段:RecStatus) |
BillStatus |
PayStatusStr |
收款状态(App端用)(☆原字段:FundStatus) |
String |
RpStatus |
收付款状态(为了统一采购、销售的收付款属性名称而添加的名称) |
BillStatus |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
VendId |
供应商ID |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商(☆原字段:Vendor) |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
RelaBill |
关联采购单号(最多可关联1条采购订单或者1条销售订单和N条采购退货单) |
IdNoPair[] |
RelaPo |
关联采购单号(采购订单,采购退货) |
IdNoPair[] |
RelaSos |
关联销售订单号 |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
购货金额 |
Decimal |
BillDiscRate |
优惠率 |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
AmountDebt |
本次欠款金额 |
Decimal |
AmountSum |
已付款(业财) |
Decimal |
OfdAmount |
已付款(进销存) |
Decimal |
OfuAmount |
未付款 |
Decimal |
AcName |
付款账户 |
String |
MultipleAccounts |
多账户付款 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
InvoiceNo |
发票编码 |
String |
ShareExpense |
是否分摊,1:已分摊,0:未分摊 |
Int32 |
Expense |
采购费用 |
Decimal |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型名称 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限Id |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
WarehousingListModel |
Id |
订单ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
PayStatus |
付款状态(PC端用)(☆原字段:RecStatus) |
BillStatus |
PayStatusStr |
收款状态(App端用)(☆原字段:FundStatus) |
String |
RpStatus |
收付款状态(为了统一采购、销售的收付款属性名称而添加的名称) |
BillStatus |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
No |
单据编号 |
String |
VendId |
供应商ID |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商(☆原字段:Vendor) |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
RelaBill |
关联采购单号(最多可关联1条采购订单或者1条销售订单和N条采购退货单) |
IdNoPair[] |
RelaPo |
关联采购单号(采购订单,采购退货) |
IdNoPair[] |
RelaSos |
关联销售订单号 |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
购货金额 |
Decimal |
BillDiscRate |
优惠率 |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
AmountDebt |
本次欠款金额 |
Decimal |
AmountSum |
已付款(业财) |
Decimal |
OfdAmount |
已付款(进销存) |
Decimal |
OfuAmount |
未付款 |
Decimal |
AcName |
付款账户 |
String |
MultipleAccounts |
多账户付款 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
InvoiceNo |
发票编码 |
String |
ShareExpense |
是否分摊,1:已分摊,0:未分摊 |
Int32 |
Expense |
采购费用 |
Decimal |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型名称 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限Id |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
检索明细
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SearchDetail
请求头
请求参数
conditions |
检索条件 |
WhsSearchConditions |
Start |
单据日期起始时间 |
DateTime |
End |
订单日期至 |
DateTime |
VendorIds |
供应商ID |
Int32[] |
Ids |
前端手动指定要查找的单据 |
Int32[] |
WhsStatus |
收款/退款状态(1010,未。1020,部分。1030,全部) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,所有。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
|
Int32[] |
WhIds |
|
Int32[] |
CreatedBy |
|
Int32[] |
CheckedBy |
|
Int32[] |
InvoiceType |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"VendorIds": null,
"Ids": null,
"WhsStatus": null,
"InvoiceStatus": null,
"Checked": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AmountFirst |
本次付款金额 |
Decimal |
AmountDebt |
本次欠款金额 |
Decimal |
AmountSum |
已付款 |
Decimal |
OfuAmount |
未付款 |
Decimal |
InvoiceNo |
发票编码 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
MultipleAccounts |
多账户 |
String |
PayStatus |
入库状态(PC端用) |
BillStatus |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
AmountTax |
采购费用 = 优惠金额 + 优惠后金额 |
Decimal |
Id |
订单ID |
Int32 |
WhsEId |
订单子条目ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Boolean |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsGoodsClosed |
子条目(商品)是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
DateFmt |
|
String |
No |
单据编号 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(☆原字段:BillType) |
String |
VendId |
供应商ID |
Int32 |
VendName |
供应商(☆原字段:Vendor) |
String |
VendNo |
供应商编码 |
String |
DeliveryDate |
交货日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
PurchaserId |
采购员Id |
Int32 |
PurchaserName |
采购员名称 |
String |
PrintCount |
打印次数 |
String |
ProdID |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApID |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
CatName |
商品类别 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
WhID |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitID |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
GoodsQTY |
商品数量 |
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
GoodsWHSQTY |
商品入库数量 |
Decimal |
GoodsWHSREALQTY |
商品实际入库数量 |
Decimal |
Price |
商品购货单价 |
Decimal |
PriceTax |
商品含税单价 |
Decimal |
PriceDis |
商品折后单价 |
Decimal |
DiscRate |
商品折扣率 |
Decimal |
DiscAmount |
商品折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
GoodsAmount |
商品金额 |
Decimal |
TaxRate |
商品税率 |
Decimal |
Tax |
商品税额 |
Decimal |
GoodsAmountTax |
商品价税合计 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
GoodsExpense |
|
Decimal |
MainExpense |
整单的采购费用 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
BillAmount |
优惠后金额(由于App需要而保留) |
Decimal |
GoodsNote |
商品备注 |
String |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodDate |
结算日期 |
String |
SettlePeriodName |
结算期限 |
String |
InvoiceType |
|
Int32 |
InvoiceTypeName |
发票类型 |
String |
RelaPo |
关联采购 |
IdNoPair[] |
RelaWhs |
关联采购 (应该是之前接口没对好,前端用的这个字段名) |
IdNoPair[] |
RelaSos |
关联销售订单 |
IdNoPair[] |
WhsStatus |
入库状态(PC端用) |
BillStatus |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
WarehousingDetailListModel |
AmountFirst |
本次付款金额 |
Decimal |
AmountDebt |
本次欠款金额 |
Decimal |
AmountSum |
已付款 |
Decimal |
OfuAmount |
未付款 |
Decimal |
InvoiceNo |
发票编码 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
MultipleAccounts |
多账户 |
String |
PayStatus |
入库状态(PC端用) |
BillStatus |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
AmountTax |
采购费用 = 优惠金额 + 优惠后金额 |
Decimal |
Id |
订单ID |
Int32 |
WhsEId |
订单子条目ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Boolean |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsGoodsClosed |
子条目(商品)是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
DateFmt |
|
String |
No |
单据编号 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(☆原字段:BillType) |
String |
VendId |
供应商ID |
Int32 |
VendName |
供应商(☆原字段:Vendor) |
String |
VendNo |
供应商编码 |
String |
DeliveryDate |
交货日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
PurchaserId |
采购员Id |
Int32 |
PurchaserName |
采购员名称 |
String |
PrintCount |
打印次数 |
String |
ProdID |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApID |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
CatName |
商品类别 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
WhID |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitID |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
GoodsQTY |
商品数量 |
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
GoodsWHSQTY |
商品入库数量 |
Decimal |
GoodsWHSREALQTY |
商品实际入库数量 |
Decimal |
Price |
商品购货单价 |
Decimal |
PriceTax |
商品含税单价 |
Decimal |
PriceDis |
商品折后单价 |
Decimal |
DiscRate |
商品折扣率 |
Decimal |
DiscAmount |
商品折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
GoodsAmount |
商品金额 |
Decimal |
TaxRate |
商品税率 |
Decimal |
Tax |
商品税额 |
Decimal |
GoodsAmountTax |
商品价税合计 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
GoodsExpense |
|
Decimal |
MainExpense |
整单的采购费用 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
BillAmount |
优惠后金额(由于App需要而保留) |
Decimal |
GoodsNote |
商品备注 |
String |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodDate |
结算日期 |
String |
SettlePeriodName |
结算期限 |
String |
InvoiceType |
|
Int32 |
InvoiceTypeName |
发票类型 |
String |
RelaPo |
关联采购 |
IdNoPair[] |
RelaWhs |
关联采购 (应该是之前接口没对好,前端用的这个字段名) |
IdNoPair[] |
RelaSos |
关联销售订单 |
IdNoPair[] |
WhsStatus |
入库状态(PC端用) |
BillStatus |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/Export
请求头
请求参数
conditions |
|
WhsSearchConditions |
Start |
单据日期起始时间 |
DateTime |
End |
订单日期至 |
DateTime |
VendorIds |
供应商ID |
Int32[] |
Ids |
前端手动指定要查找的单据 |
Int32[] |
WhsStatus |
收款/退款状态(1010,未。1020,部分。1030,全部) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,所有。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
|
Int32[] |
WhIds |
|
Int32[] |
CreatedBy |
|
Int32[] |
CheckedBy |
|
Int32[] |
InvoiceType |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"VendorIds": null,
"Ids": null,
"WhsStatus": null,
"InvoiceStatus": null,
"Checked": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
批量审核
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/Check
请求头
请求参数
whsIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量反审核
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/UnCheck
请求头
请求参数
whsIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量删除
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/Delete
请求头
请求参数
whsIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
采购入库单列表 - 打印采购入库单
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/Print
请求头
请求参数
guid |
|
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
采购入库单列表 - 打印采购入库单
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SeniorPrint
请求头
请求参数
guid |
|
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载采购入库单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/DownloadErrorData
请求头
请求参数
guId |
标识码 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入采购入库单
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取用于生成退货单的入库单信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SearchSourceBills
请求头
请求参数
conditions |
|
BillSearchConditions |
isDetail |
选择源单时是否显示商品明细 |
Boolean |
VcId |
往来单位ID |
Int32 |
SourceBillType |
源单单据类型(采购入库订单/采购退货订单/采购入库单/销售出库订单/销售退货订单/销售出库单) |
BillType |
BillType |
生成的单据类型(采购入库订单/采购退货订单/采购入库单/销售出库订单/销售退货订单/销售出库单) |
BillType |
Keyword |
关键字(单据编号) |
String |
DateStart |
单据日期起 |
Nullable`1 |
DateEnd |
单据日期至 |
Nullable`1 |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"isDetail": false,
"VcId": 0,
"SourceBillType": 0,
"BillType": 0,
"Keyword": null,
"DateStart": null,
"DateEnd": null,
"PageIndex": 0,
"PageSize": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
单据ID |
Int32 |
EntryId |
子条目ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
String |
DeliveryDate |
交货日期 |
String |
VcName |
往来单位名称 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
商品规格 |
String |
UnitName |
单位名称 |
String |
QTY |
数量 |
Decimal |
UsedQTY |
已入库/出库数量 |
Decimal |
RestQTY |
剩余数量 |
Decimal |
ApName |
辅助属性名称 |
String |
SumModel |
合计行 |
SelectBillListModel |
Id |
单据ID |
Int32 |
EntryId |
子条目ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
String |
DeliveryDate |
交货日期 |
String |
VcName |
往来单位名称 |
String |
ProdNo |
商品编码 |
String |
ProdName |
商品名称 |
String |
Spec |
商品规格 |
String |
UnitName |
单位名称 |
String |
QTY |
数量 |
Decimal |
UsedQTY |
已入库/出库数量 |
Decimal |
RestQTY |
剩余数量 |
Decimal |
ApName |
辅助属性名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
搜索发票信息(用于向单据登记发票)
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SearchInvoices
请求头
请求参数
para |
|
SearchInvoicesPara |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
InvoiceType |
发票类型 |
InvoiceType |
VcId |
客户、供应商ID,职员 |
Int32 |
PayeeType |
收款人类型 |
ContactType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": "",
"Start": null,
"End": null,
"InvoiceType": 0,
"VcId": 0,
"PayeeType": 0,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
SumModel |
合计行 |
InvoiceEnrollListModel |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/Enroll
请求头
请求参数
para |
|
EnrollPara |
BillType |
源单类型 |
BillType |
Ids |
单据ID(EntryIds非空时该条目无效) |
Int32[] |
EntryIds |
子条目ID |
Int32[] |
Invoices |
登记的发票ID |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
IsBillId |
true:根据整单关联,false:根据子条目关联 |
Boolean |
请求示例
{
"BillType": 0,
"Ids": null,
"EntryIds": null,
"Invoices": null,
"IsBillId": true
}
返回值
返回示例
""
取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/UnEnroll
请求头
请求参数
para |
|
UnEnrollPara |
BillType |
源单类型 |
BillType |
Id |
单据ID |
Int32 |
EntityId |
子单据Id |
Nullable`1 |
InvoiceIds |
发票ID |
array[object] |
EntryIds |
子条目ID |
Int32[] |
请求示例
{
"BillType": 0,
"Id": 0,
"EntityId": null,
"InvoiceIds": null,
"EntryIds": null
}
返回值
返回示例
""
批量取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/UnEnrollBatch
请求头
请求参数
请求示例
返回值
返回示例
""
根据单据ID查询关联的发票ID
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SearchInvoiceIds
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID查询发票信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SearchInvoiceMaps
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
返回示例
""
搜索日记账
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SearchJournal
请求头
请求参数
condition |
|
JournalSearchCondition |
VcId |
往来单位 |
Int32 |
ContactType |
往来单位类型 |
ContactType |
BillType |
单据类型 |
BillType |
SearchText |
关键字 |
String |
AmountSign |
正数:1,负数:-1 |
Int32 |
Start |
开始时间 |
String |
End |
结束时间 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VcId": 0,
"ContactType": 0,
"BillType": 0,
"SearchText": "",
"AmountSign": 0,
"Start": null,
"End": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
SumModel |
合计行 |
ScmJournalModel |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
核销
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/Offset
请求头
请求参数
model |
|
JofEditModel |
OfMode |
核销模式,1010:手动核销,1020:自动核销 |
Int32 |
Items |
日记账核销条目 |
array[object] |
Id |
日记账ID |
Int32 |
BillNo |
日记账编码 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BType |
日记账类型 |
BillType |
BillAmount |
日记账总金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
BillOFUAmount |
日记未核销金额 |
Decimal |
VcId |
客户、供应商 |
Int32 |
AcId |
账号ID |
Int32 |
LineSn |
日记账Sn |
Int32 |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"OfMode": 0,
"Items": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
手动核销
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/ManualOffset
请求头
请求参数
model |
|
ManualJofEditModel |
Journal |
日记账核销条目 |
JournalEditModel |
VcId |
客户/供应商ID |
Int32 |
BillDate |
日记账日期 |
DateTime |
AcId |
付款账户 |
Int32 |
RpType |
收支类别 |
Int32 |
PaymentMethod |
结算方式 |
Int32 |
Note |
摘要 |
String |
OfAmount |
交易金额 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"Journal": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
取消核销
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/CancelOffset
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
根据单据ID查询核销记录ID
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SearchJofIds
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID核销记录信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingList/SearchJofInfo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
OfDate |
核销日期 |
String |
OfId |
核销记录ID |
Int32 |
OfNo |
核销记录编码 |
String |
OfAmount |
核销金额 |
Decimal |
BType |
日记账类型 |
BillType |
BillDate |
日记账日期 |
DateTime |
BillDateFmt |
日记账日期 |
String |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillNo |
交易流水号 |
String |
Note |
摘要 |
String |
BillAmount |
支出/收入 |
Decimal |
RpTypeName |
收支类别名称 |
String |
返回示例
""
WarehousingReturn
采购退货单页面
初始化单据信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/InitData
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
获取上一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
从一条采购订单信息初始化退货单信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/InitDataFromPo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
从多条采购订单信息初始化退货单信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/InitDataFromPos
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:16:06.1311519+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
从一条采购入库单信息初始化退货单信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/InitDataFromWhs
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
从多条采购入库单信息初始化退货单信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/InitDataFromWhses
请求头
请求参数
request |
|
CreateBillRequest |
RIds |
源单ID |
Int32[] |
RDetails |
源单条目ID |
Int32[] |
RBType |
|
Int32[] |
VcId |
往来单位ID |
Int32 |
Salesman |
以下情况需要这个字段(其他情况不用管) 1,单条销售订单生成销售出库单或退货单 2,单条销售出库单生成销售退货单 |
Int32 |
Recvr |
|
String |
RecvMobile |
|
String |
RecvAddress |
|
String |
Purchaser |
采购员id 入库单生成出库单 出库单生成退货单 |
Int32 |
ForcePassCredit |
|
Boolean |
BillDate |
|
DateTime |
请求示例
{
"RIds": null,
"RDetails": null,
"RBType": null,
"VcId": 0,
"Salesman": 0,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"Purchaser": 0,
"ForcePassCredit": false,
"BillDate": "2025-02-19T18:16:10.3209471+08:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
添加
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/Add
请求头
请求参数
model |
提交信息 |
WarehousingEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款/本次退款 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
Note |
备注 |
String |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
IsNotRelated |
|
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目信息 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"Id": 0,
"No": null,
"PoNo": null,
"PoId": 0,
"WhsNo": null,
"WhsId": 0,
"BType": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Purchaser": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"QTY": 0.0,
"AmountFirst": 0.0,
"Expense": 0.0,
"AcId": 0,
"Note": null,
"ShareExpense": 0,
"IsNotRelated": false,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"RelatedBills": null,
"InvoiceType": 0,
"InvoiceTypeName": null,
"AutoGenerate": false,
"Items": [],
"ExpenseItems": [],
"PayInfoItems": [],
"NeedJudgePrice": false,
"BillOrigin": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
修改
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/Update
请求头
请求参数
model |
提交信息 |
WarehousingEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款/本次退款 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
Note |
备注 |
String |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
IsNotRelated |
|
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目信息 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"Id": 0,
"No": null,
"PoNo": null,
"PoId": 0,
"WhsNo": null,
"WhsId": 0,
"BType": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Purchaser": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"QTY": 0.0,
"AmountFirst": 0.0,
"Expense": 0.0,
"AcId": 0,
"Note": null,
"ShareExpense": 0,
"IsNotRelated": false,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"RelatedBills": null,
"InvoiceType": 0,
"InvoiceTypeName": null,
"AutoGenerate": false,
"Items": [],
"ExpenseItems": [],
"PayInfoItems": [],
"NeedJudgePrice": false,
"BillOrigin": 0
}
返回值
返回示例
""
保存并审核
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/Check
请求头
请求参数
model |
提交信息 |
WarehousingEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款/本次退款 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
Note |
备注 |
String |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
IsNotRelated |
|
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目信息 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"Id": 0,
"No": null,
"PoNo": null,
"PoId": 0,
"WhsNo": null,
"WhsId": 0,
"BType": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Purchaser": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"QTY": 0.0,
"AmountFirst": 0.0,
"Expense": 0.0,
"AcId": 0,
"Note": null,
"ShareExpense": 0,
"IsNotRelated": false,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"RelatedBills": null,
"InvoiceType": 0,
"InvoiceTypeName": null,
"AutoGenerate": false,
"Items": [],
"ExpenseItems": [],
"PayInfoItems": [],
"NeedJudgePrice": false,
"BillOrigin": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
反审核
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/UnCheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除单条记录
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
获取费用改造数量或者金额发生变化时的数据(仅供前端使用,数据库不进行保存)
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/ShowExpShare
请求头
请求参数
model |
|
WarehousingEditModel |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
Purchaser |
采购员ID |
Int32 |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款/本次退款 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
Note |
备注 |
String |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
IsNotRelated |
|
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
DepartmentId |
辅助核算部门ID |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
DateTime |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
InvoiceType |
|
Int32 |
InvoiceTypeName |
|
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
Items |
子条目信息 |
array[object] |
Id |
入库单条目ID |
Int32 |
RId |
当前是退货单,关联入库单的条目ID |
Int32 |
WhsRId |
当前是退货单,关联入库单的单据ID |
Int32 |
WhsRNo |
当前是退货单,关联入库单的单据编码 |
String |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
WhId |
仓库ID |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
IsNotRelated |
|
Boolean |
PoId |
关联订单ID(2.7新增) |
Int32 |
PoNo |
关联订单编号(2.7新增) |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联销售订单ID |
Int32 |
SoNo |
关联销售订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
DateTime |
ExpirationDate |
到期日期 |
DateTime |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
VendId |
供应商ID |
Int32 |
ExpType |
支出类别 |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
Id |
费用ID |
Int32 |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
SumCustAmount |
分配的总客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额 |
Decimal |
ExpPid |
父级id |
Int32 |
IsCustPayment |
|
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
AcId |
结算账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
NeedJudgePrice |
是否进行价格限制判断 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"Id": 0,
"No": null,
"PoNo": null,
"PoId": 0,
"WhsNo": null,
"WhsId": 0,
"BType": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Purchaser": 0,
"DiscRate": 0.0,
"DiscAmount": 0.0,
"Amount": 0.0,
"QTY": 0.0,
"AmountFirst": 0.0,
"Expense": 0.0,
"AcId": 0,
"Note": null,
"ShareExpense": 0,
"IsNotRelated": false,
"AccountingItemId": 0,
"DepartmentId": 0,
"SettlePeriodId": 0,
"SettlePeriodName": null,
"SettlePeriodDate": "0001-01-01T00:00:00",
"RelatedBills": null,
"InvoiceType": 0,
"InvoiceTypeName": null,
"AutoGenerate": false,
"Items": [],
"ExpenseItems": [],
"PayInfoItems": [],
"NeedJudgePrice": false,
"BillOrigin": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
WarehousingModel |
AsId |
账套ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
PoNo |
关联采购单据编号 |
String |
PoId |
关联采购订单ID |
Int32 |
WhsNo |
退货关联入库单据编号 |
String |
WhsId |
退货关联入库单据ID |
Int32 |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
DateFmt |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodValue |
结算期限值 |
Int32 |
SettlePeriodType |
结算期限类型 |
Int32 |
SettlePeriodDate |
结算日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
VendId |
供货商ID |
Int32 |
VendName |
供货商名称 |
String |
VendTaxRate |
|
Decimal |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
DiscRate |
优惠率 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Amount |
优惠后金额 |
Decimal |
QTY |
商品总数量 |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
OfAmount |
核销金额(☆原字段:OFAmount) |
Decimal |
OfStatus |
核销状态(☆原字段:OFStatus) |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CreatedDate |
创建日期 |
DateTime |
ModifiedByName |
修改人(☆原字段:ModifiedBy) |
String |
ModifiedDate |
修改日期 |
DateTime |
PayStatus |
付款状态(☆原字段:Status) |
BillStatus |
IsChecked |
是否已审核 |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
CheckedDate |
审核日期 |
DateTime |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
InvoiceTypeName |
发票类型 |
String |
InvoiceType |
|
Int32 |
BillOriginDesc |
|
String |
Items |
子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
入库单条目ID |
Int32 |
RId |
关联退货单条目ID |
Int32 |
WhsId |
入库单ID |
Int32 |
WhsRId |
关联退货单ID |
Int32 |
ProdId |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
ProdTaxRate |
商品税率 |
Nullable`1 |
UseMultiUnits |
是否使用多单位 |
Boolean |
UseAp |
是否使用辅助属性 |
Boolean |
Spec |
商品规格 |
String |
ApId |
辅助属性ID |
Int32 |
ApName |
辅助属性名称 |
String |
CatName |
类别 |
String |
Brand |
品牌 |
String |
ProdLocation |
产地 |
String |
WhId |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
RegNo |
注册证号 |
String |
LicenseNo |
生产许可证 |
String |
UnitId |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
Rate |
和基本单位的换算比例 |
Decimal |
QTY |
数量 |
Decimal |
AvailableQTY |
|
Nullable`1 |
BaseUnitId |
基础单位 |
Int32 |
BaseUnitName |
|
String |
MultiUnits |
|
array[object] |
AsId |
|
Int32 |
IsMul |
是否多单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
UnitId |
单位ID |
Int32 |
UnitNo |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
换算率 |
Decimal |
ProdId |
|
Int32 |
BaseUnitQty |
|
Decimal |
WholeLooseQty |
整件散包 |
String |
StandardQTY |
标准数量(如果是关联生成的入库单,超过此数量可以给用户信息提示,仅在编辑模式下使用) |
Decimal |
Price |
购货单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DiscRate |
折扣率 |
Decimal |
DiscAmount |
折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Expense |
采购费用 |
Decimal |
Note |
备注 |
String |
WhsQTY |
出入库数量 |
Decimal |
PoId |
关联采购订单ID |
Int32 |
PoNo |
关联采购单据编号 |
String |
PoeId |
关联采购订单子条目ID |
Int32 |
IsNotRelated |
|
Boolean |
WhsNo |
入库单编号 |
String |
BType |
单据类型(☆原字段:BillType) |
BillType |
Date |
单据日期 |
DateTime |
VendId |
供货商ID |
Int32 |
WhsRNo |
退货: 关联入库单编号 |
String |
QTYR |
退货: 关联入库单条目数量 |
Decimal |
IsChecked |
是否已审核 |
Int32 |
Image |
商品图片 |
String |
StrValue1 |
自定义列一 |
String |
StrValue2 |
自定义列二 |
String |
StrValue3 |
自定义列三 |
String |
StrValue4 |
自定义列一 |
String |
StrValue5 |
自定义列二 |
String |
StrValue6 |
自定义列三 |
String |
StrValue7 |
自定义列一 |
String |
StrValue8 |
自定义列二 |
String |
SoId |
关联订单ID |
Int32 |
SoNo |
关联订单编号 |
String |
SoeId |
关联销售订单子条目ID |
Int32 |
BatchNo |
批次号 |
String |
SerialNoItems |
序列号明细 |
array[object] |
FlowId |
记录ID |
String |
SerialNo |
序列号 |
String |
SerialNote |
序列号备注 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
ExpDateCalMethodType |
保质期到期日计算方式,1010:生产日期+保质期,1020:生产日期+保质期-1天 |
ExpDateCalMethodTypeEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
SerialEnabled |
商品是否开启序列号(含系统设置) |
Boolean |
BatchEnabled |
商品是否开启批次(含系统设置) |
Boolean |
LifeTimeEnabled |
商品是否开启保质期(含系统设置) |
Boolean |
ExpenseItems |
单据包含的费用条目信息 |
array[object] |
ExpId |
费用条目ID |
Int32 |
VendId |
供应商ID |
Int32 |
VendName |
供应商名称 |
String |
ExpType |
支出类别 |
Int32 |
ExpTypeName |
支出类别名称 |
String |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
PayeeTypeName |
收款人类型 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Id |
费用ID |
Int32 |
OrpNo |
其他支出单编码 |
String |
PayeeId |
往来单位Id |
Int32 |
PayeeName |
往来单位Name |
String |
ExpPid |
父级id |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
SumAmount |
分配的总金额 |
Decimal |
IsCustPayment |
是否客户承担费 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
PId |
关联记账系统期间 |
Int32 |
VId |
关联记账系统凭证 |
Int32 |
RelaBills |
相关退货单(如果当前单据是入库类型) |
IdNoPair[] |
CanCreateRelaBills |
是否还能关联生成退货单(如果当前单据是入库类型) |
Boolean |
RelaPo |
相关入库订单 |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
相关的入库订单(2.7) |
IdNoPair[] |
RelaWhs |
相关入库单(如果当前单据是退货类型) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
相关的采购入库单 |
IdNoPair[] |
RelatedBills |
采购入库单关联的销售出库单id 和 No |
IdNoPair[] |
ShareExpense |
是否分摊成本,0:不分摊,1:分摊 |
Int32 |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturn/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
WarehousingReturnList
采购退货单列表页面
检索
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/Search
请求头
请求参数
conditions |
检索条件 |
WhsSearchConditions |
Start |
单据日期起始时间 |
DateTime |
End |
订单日期至 |
DateTime |
VendorIds |
供应商ID |
Int32[] |
Ids |
前端手动指定要查找的单据 |
Int32[] |
WhsStatus |
收款/退款状态(1010,未。1020,部分。1030,全部) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,所有。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
|
Int32[] |
WhIds |
|
Int32[] |
CreatedBy |
|
Int32[] |
CheckedBy |
|
Int32[] |
InvoiceType |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"VendorIds": null,
"Ids": null,
"WhsStatus": null,
"InvoiceStatus": null,
"Checked": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
订单ID |
Int32 |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
BackStatus |
退款状态(PC端用) |
BillStatus |
BackStatusStr |
退款状态(App端用)(☆原字段:RefundStatus) |
String |
RpStatus |
收付款状态(为了统一采购、销售的收付款属性名称而添加的名称) |
BillStatus |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
单据日期 |
String |
No |
单据编号 |
String |
VendId |
供应商ID |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商(☆原字段:Vendor) |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
RelaPo |
关联采购订单号(2.7弃用) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
关联采购订单号(2.7新增) |
IdNoPair[] |
RelaWhs |
关联采购入库单号(2.7弃用) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
关联采购入库单号(2.7新增) |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
购货金额 |
Decimal |
BillDiscRate |
优惠率 |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
AmountDebt |
本次欠款金额 |
Decimal |
AmountSum |
已退款(业财) |
Decimal |
OfdAmount |
已退款(☆原字段:AmountReturn)进销存 |
Decimal |
OfuAmount |
未退款 |
Decimal |
AcName |
付款账户 |
String |
MultipleAccounts |
多账户付款 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限Id |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
String |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型 |
String |
Expense |
采购费用 |
Decimal |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
WarehousingReturnListModel |
Id |
订单ID |
Int32 |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Int32 |
BackStatus |
退款状态(PC端用) |
BillStatus |
BackStatusStr |
退款状态(App端用)(☆原字段:RefundStatus) |
String |
RpStatus |
收付款状态(为了统一采购、销售的收付款属性名称而添加的名称) |
BillStatus |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
单据日期 |
String |
No |
单据编号 |
String |
VendId |
供应商ID |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商(☆原字段:Vendor) |
String |
Purchaser |
采购员ID |
Int32 |
PurchaserName |
采购员名称 |
String |
RelaPo |
关联采购订单号(2.7弃用) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaPos |
关联采购订单号(2.7新增) |
IdNoPair[] |
RelaWhs |
关联采购入库单号(2.7弃用) |
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
BType |
单据类别 |
BillType |
RelaWhses |
关联采购入库单号(2.7新增) |
IdNoPair[] |
QTY |
数量(☆原字段:Qty) |
Decimal |
AmountTax |
购货金额 |
Decimal |
BillDiscRate |
优惠率 |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
AmountAfterDisc |
优惠后金额 |
Decimal |
Amount |
优惠后金额(由于App需要而保留) |
Decimal |
AmountFirst |
本次付款金额 |
Decimal |
AmountDebt |
本次欠款金额 |
Decimal |
AmountSum |
已退款(业财) |
Decimal |
OfdAmount |
已退款(☆原字段:AmountReturn)进销存 |
Decimal |
OfuAmount |
未退款 |
Decimal |
AcName |
付款账户 |
String |
MultipleAccounts |
多账户付款 |
String |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
InvoiceNo |
发票编码 |
String |
RelatedToOrp |
是否关联了其他支出单,1:已关联,0:未关联 |
Int32 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
InvoiceNos |
登记的发票号码 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限Id |
Int32 |
SettlePeriodName |
结算期限 |
String |
SettlePeriodDate |
结算日期 |
String |
InvoiceType |
发票类型 |
Int32 |
InvoiceTypeName |
发票类型 |
String |
Expense |
采购费用 |
Decimal |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
检索商品明细
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/SearchDetail
请求头
请求参数
conditions |
检索条件 |
WhsSearchConditions |
Start |
单据日期起始时间 |
DateTime |
End |
订单日期至 |
DateTime |
VendorIds |
供应商ID |
Int32[] |
Ids |
前端手动指定要查找的单据 |
Int32[] |
WhsStatus |
收款/退款状态(1010,未。1020,部分。1030,全部) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,所有。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
|
Int32[] |
WhIds |
|
Int32[] |
CreatedBy |
|
Int32[] |
CheckedBy |
|
Int32[] |
InvoiceType |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"VendorIds": null,
"Ids": null,
"WhsStatus": null,
"InvoiceStatus": null,
"Checked": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
RelaWh |
关联采购入库单号(2.7弃用) |
IdNoPair[] |
AmountFirst |
本次付款金额 |
Decimal |
AmountDebt |
本次欠款金额 |
Decimal |
AmountSum |
已付款 |
Decimal |
OfuAmount |
未付款 |
Decimal |
InvoiceNo |
发票编码 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
MultipleAccounts |
多账户 |
String |
PayStatus |
入库状态(PC端用) |
BillStatus |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
AmountTax |
采购费用 = 优惠金额 + 优惠后金额 |
Decimal |
Id |
订单ID |
Int32 |
WhsEId |
订单子条目ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Boolean |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsGoodsClosed |
子条目(商品)是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
DateFmt |
|
String |
No |
单据编号 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(☆原字段:BillType) |
String |
VendId |
供应商ID |
Int32 |
VendName |
供应商(☆原字段:Vendor) |
String |
VendNo |
供应商编码 |
String |
DeliveryDate |
交货日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
PurchaserId |
采购员Id |
Int32 |
PurchaserName |
采购员名称 |
String |
PrintCount |
打印次数 |
String |
ProdID |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApID |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
CatName |
商品类别 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
WhID |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitID |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
GoodsQTY |
商品数量 |
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
GoodsWHSQTY |
商品入库数量 |
Decimal |
GoodsWHSREALQTY |
商品实际入库数量 |
Decimal |
Price |
商品购货单价 |
Decimal |
PriceTax |
商品含税单价 |
Decimal |
PriceDis |
商品折后单价 |
Decimal |
DiscRate |
商品折扣率 |
Decimal |
DiscAmount |
商品折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
GoodsAmount |
商品金额 |
Decimal |
TaxRate |
商品税率 |
Decimal |
Tax |
商品税额 |
Decimal |
GoodsAmountTax |
商品价税合计 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
GoodsExpense |
|
Decimal |
MainExpense |
整单的采购费用 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
BillAmount |
优惠后金额(由于App需要而保留) |
Decimal |
GoodsNote |
商品备注 |
String |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodDate |
结算日期 |
String |
SettlePeriodName |
结算期限 |
String |
InvoiceType |
|
Int32 |
InvoiceTypeName |
发票类型 |
String |
RelaPo |
关联采购 |
IdNoPair[] |
RelaWhs |
关联采购 (应该是之前接口没对好,前端用的这个字段名) |
IdNoPair[] |
RelaSos |
关联销售订单 |
IdNoPair[] |
WhsStatus |
入库状态(PC端用) |
BillStatus |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
WarehousingReturnDetailListModel |
RelaWh |
关联采购入库单号(2.7弃用) |
IdNoPair[] |
AmountFirst |
本次付款金额 |
Decimal |
AmountDebt |
本次欠款金额 |
Decimal |
AmountSum |
已付款 |
Decimal |
OfuAmount |
未付款 |
Decimal |
InvoiceNo |
发票编码 |
String |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceStatusStr |
|
String |
Expense |
采购费用 |
Decimal |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
MultipleAccounts |
多账户 |
String |
PayStatus |
入库状态(PC端用) |
BillStatus |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
AmountTax |
采购费用 = 优惠金额 + 优惠后金额 |
Decimal |
Id |
订单ID |
Int32 |
WhsEId |
订单子条目ID |
Int32 |
IsChecked |
审核状态(PC端用)(☆原字段:Checked) |
Boolean |
CheckedStatus |
审核状态(App端用)(☆原字段:Status) |
String |
IsClosed |
是否已关闭 |
Boolean |
IsGoodsClosed |
子条目(商品)是否已关闭 |
Boolean |
DisplayStatus |
页面上显示的状态,类似“已审核 > 已关闭” |
String |
Date |
订单日期 |
String |
DateFmt |
|
String |
No |
单据编号 |
String |
BillType |
单据类型 |
BillType |
BTypeName |
业务类型(☆原字段:BillType) |
String |
VendId |
供应商ID |
Int32 |
VendName |
供应商(☆原字段:Vendor) |
String |
VendNo |
供应商编码 |
String |
DeliveryDate |
交货日期 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedByName |
制单人(☆原字段:CreatedBy) |
String |
CheckedBy |
审核人ID |
Int32 |
CheckedByName |
审核人(☆原字段:CheckedBy) |
String |
Note |
备注 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
PurchaserId |
采购员Id |
Int32 |
PurchaserName |
采购员名称 |
String |
PrintCount |
打印次数 |
String |
ProdID |
商品ID |
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编码 |
String |
Spec |
商品规格 |
String |
ApID |
商品辅助属性ID |
Int32 |
ApName |
商品辅助属性名称 |
String |
CatName |
商品类别 |
String |
Brand |
商品品牌 |
String |
ProdLocation |
商品产地 |
String |
WhID |
仓库ID |
Int32 |
WhName |
仓库名称 |
String |
UnitID |
单位ID |
Int32 |
UnitName |
单位名称 |
String |
BaseUnitId |
|
Int32 |
BaseUnitName |
|
String |
BaseUnitQty |
|
Decimal |
GoodsQTY |
商品数量 |
Decimal |
AvailableQty |
|
Nullable`1 |
WholeLooseQty |
|
String |
GoodsWHSQTY |
商品入库数量 |
Decimal |
GoodsWHSREALQTY |
商品实际入库数量 |
Decimal |
Price |
商品购货单价 |
Decimal |
PriceTax |
商品含税单价 |
Decimal |
PriceDis |
商品折后单价 |
Decimal |
DiscRate |
商品折扣率 |
Decimal |
DiscAmount |
商品折扣额 |
Decimal |
DiscAllocation |
总单来的优惠金额分配额 |
Decimal |
GoodsAmount |
商品金额 |
Decimal |
TaxRate |
商品税率 |
Decimal |
Tax |
商品税额 |
Decimal |
GoodsAmountTax |
商品价税合计 |
Decimal |
BillDiscRate |
优惠率(%) |
Decimal |
BillDiscAmount |
优惠金额 |
Decimal |
GoodsExpense |
|
Decimal |
MainExpense |
整单的采购费用 |
Decimal |
BillDiscAfterAmount |
优惠后金额 |
Decimal |
BillAmount |
优惠后金额(由于App需要而保留) |
Decimal |
GoodsNote |
商品备注 |
String |
Image |
商品图片 |
String |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列2 |
String |
StrValue3 |
自定义列3 |
String |
StrValue4 |
自定义列4 |
String |
StrValue5 |
自定义列5 |
String |
StrValue6 |
自定义列6 |
String |
StrValue7 |
自定义列7 |
String |
StrValue8 |
自定义列8 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodDate |
结算日期 |
String |
SettlePeriodName |
结算期限 |
String |
InvoiceType |
|
Int32 |
InvoiceTypeName |
发票类型 |
String |
RelaPo |
关联采购 |
IdNoPair[] |
RelaWhs |
关联采购 (应该是之前接口没对好,前端用的这个字段名) |
IdNoPair[] |
RelaSos |
关联销售订单 |
IdNoPair[] |
WhsStatus |
入库状态(PC端用) |
BillStatus |
BatchNo |
批次 |
String |
ProductionDate |
生产日期 |
String |
LifeTime |
保质期 |
Int32 |
LifeTimeUnit |
保质期单位 |
LifeTimeUnitEnum |
LifeTimeUnitName |
保质期单位名称 |
String |
ExpirationDate |
到期日期 |
String |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/Export
请求头
请求参数
conditions |
|
WhsSearchConditions |
Start |
单据日期起始时间 |
DateTime |
End |
订单日期至 |
DateTime |
VendorIds |
供应商ID |
Int32[] |
Ids |
前端手动指定要查找的单据 |
Int32[] |
WhsStatus |
收款/退款状态(1010,未。1020,部分。1030,全部) |
Int32[] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
Checked |
审核状态(-1,所有。0,未审核。1,已审核) |
Int32[] |
Keywords |
搜索关键词 |
String |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
PageIndex |
页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
Purchaser |
采购员ID |
Int32[] |
ProdIds |
|
Int32[] |
WhIds |
|
Int32[] |
CreatedBy |
|
Int32[] |
CheckedBy |
|
Int32[] |
InvoiceType |
|
Int32[] |
ExportType |
|
ThreeSheetExportType |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Start": "0001-01-01T00:00:00",
"End": "0001-01-01T00:00:00",
"VendorIds": null,
"Ids": null,
"WhsStatus": null,
"InvoiceStatus": null,
"Checked": null,
"Keywords": null,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"ExportDetails": false,
"Purchaser": null,
"ProdIds": null,
"WhIds": null,
"CreatedBy": null,
"CheckedBy": null,
"InvoiceType": null,
"ExportType": 7,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
批量审核
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/Check
请求头
请求参数
whsIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量反审核
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/UnCheck
请求头
请求参数
whsIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
批量删除
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/Delete
请求头
请求参数
whsIds |
选中的单据ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
采购退货单列表 - 打印采购退货单
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/Print
请求头
请求参数
guid |
|
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
采购退货单列表 - 打印采购退货单
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/SeniorPrint
请求头
请求参数
guid |
|
String |
isPre |
1表示预览调用的接口(第一次调用接口) |
Int32 |
isPrePrint |
1表示预览打开新tab标记,用于取消异步文件处理(第二次调用接口) |
Int32 |
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载采购退货单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/DownloadErrorData
请求头
请求参数
guId |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入采购退货单
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
搜索发票信息(用于向单据登记发票)
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/SearchInvoices
请求头
请求参数
para |
|
SearchInvoicesPara |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
InvoiceType |
发票类型 |
InvoiceType |
VcId |
客户、供应商ID,职员 |
Int32 |
PayeeType |
收款人类型 |
ContactType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": "",
"Start": null,
"End": null,
"InvoiceType": 0,
"VcId": 0,
"PayeeType": 0,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
SumModel |
合计行 |
InvoiceEnrollListModel |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/Enroll
请求头
请求参数
para |
|
EnrollPara |
BillType |
源单类型 |
BillType |
Ids |
单据ID(EntryIds非空时该条目无效) |
Int32[] |
EntryIds |
子条目ID |
Int32[] |
Invoices |
登记的发票ID |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
IsBillId |
true:根据整单关联,false:根据子条目关联 |
Boolean |
请求示例
{
"BillType": 0,
"Ids": null,
"EntryIds": null,
"Invoices": null,
"IsBillId": true
}
返回值
返回示例
""
取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/UnEnroll
请求头
请求参数
para |
|
UnEnrollPara |
BillType |
源单类型 |
BillType |
Id |
单据ID |
Int32 |
EntityId |
子单据Id |
Nullable`1 |
InvoiceIds |
发票ID |
array[object] |
EntryIds |
子条目ID |
Int32[] |
请求示例
{
"BillType": 0,
"Id": 0,
"EntityId": null,
"InvoiceIds": null,
"EntryIds": null
}
返回值
返回示例
""
批量取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/UnEnrollBatch
请求头
请求参数
请求示例
返回值
返回示例
""
根据单据ID查询关联的发票ID
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/SearchInvoiceIds
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID查询发票信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/SearchInvoiceMaps
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
返回示例
""
搜索日记账
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/SearchJournal
请求头
请求参数
condition |
|
JournalSearchCondition |
VcId |
往来单位 |
Int32 |
ContactType |
往来单位类型 |
ContactType |
BillType |
单据类型 |
BillType |
SearchText |
关键字 |
String |
AmountSign |
正数:1,负数:-1 |
Int32 |
Start |
开始时间 |
String |
End |
结束时间 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VcId": 0,
"ContactType": 0,
"BillType": 0,
"SearchText": "",
"AmountSign": 0,
"Start": null,
"End": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
SumModel |
合计行 |
ScmJournalModel |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
核销
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/Offset
请求头
请求参数
model |
|
JofEditModel |
OfMode |
核销模式,1010:手动核销,1020:自动核销 |
Int32 |
Items |
日记账核销条目 |
array[object] |
Id |
日记账ID |
Int32 |
BillNo |
日记账编码 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BType |
日记账类型 |
BillType |
BillAmount |
日记账总金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
BillOFUAmount |
日记未核销金额 |
Decimal |
VcId |
客户、供应商 |
Int32 |
AcId |
账号ID |
Int32 |
LineSn |
日记账Sn |
Int32 |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"OfMode": 0,
"Items": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
手动核销
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/ManualOffset
请求头
请求参数
model |
|
ManualJofEditModel |
Journal |
日记账核销条目 |
JournalEditModel |
VcId |
客户/供应商ID |
Int32 |
BillDate |
日记账日期 |
DateTime |
AcId |
付款账户 |
Int32 |
RpType |
收支类别 |
Int32 |
PaymentMethod |
结算方式 |
Int32 |
Note |
摘要 |
String |
OfAmount |
交易金额 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"Journal": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
取消核销
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/CancelOffset
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
根据单据ID查询核销记录ID
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/SearchJofIds
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID核销记录信息
请求地址
POST $SCMAPI_HOST/jxc_api/WarehousingReturnList/SearchJofInfo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
OfDate |
核销日期 |
String |
OfId |
核销记录ID |
Int32 |
OfNo |
核销记录编码 |
String |
OfAmount |
核销金额 |
Decimal |
BType |
日记账类型 |
BillType |
BillDate |
日记账日期 |
DateTime |
BillDateFmt |
日记账日期 |
String |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillNo |
交易流水号 |
String |
Note |
摘要 |
String |
BillAmount |
支出/收入 |
Decimal |
RpTypeName |
收支类别名称 |
String |
返回示例
""
AccountTransfer
转账单的添加,更新,审核,打印等
获得空白的转账单对象,或者根据传入的ID获得转账单对象
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/InitData
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
AccountTransferEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
|
String |
CheckedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
Items |
转账单子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
AtDate |
单据日期 |
DateTime |
AtId |
单据ID |
Int32 |
AtNo |
单据编号 |
String |
Id |
转账单子条目ID |
Int32 |
PayAt |
付款账户 |
Int32 |
RecAt |
收款账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
PayAtName |
自定义列 |
String |
RecAtName |
自定义列 |
String |
PayMethodName |
自定义列 |
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
返回示例
""
新增转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/Add
请求头
请求参数
model |
转账单信息 |
AccountTransferEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
|
String |
CheckedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
Items |
转账单子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
AtDate |
单据日期 |
DateTime |
AtId |
单据ID |
Int32 |
AtNo |
单据编号 |
String |
Id |
转账单子条目ID |
Int32 |
PayAt |
付款账户 |
Int32 |
RecAt |
收款账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
PayAtName |
自定义列 |
String |
RecAtName |
自定义列 |
String |
PayMethodName |
自定义列 |
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"Id": 0,
"No": null,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"Items": null,
"PrintCount": 0,
"AutoGenerate": false,
"BillOrigin": 0
}
返回值
返回示例
""
修改转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/Update
请求头
请求参数
model |
转账单信息 |
AccountTransferEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
|
String |
CheckedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
Items |
转账单子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
AtDate |
单据日期 |
DateTime |
AtId |
单据ID |
Int32 |
AtNo |
单据编号 |
String |
Id |
转账单子条目ID |
Int32 |
PayAt |
付款账户 |
Int32 |
RecAt |
收款账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
PayAtName |
自定义列 |
String |
RecAtName |
自定义列 |
String |
PayMethodName |
自定义列 |
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"Id": 0,
"No": null,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"Items": null,
"PrintCount": 0,
"AutoGenerate": false,
"BillOrigin": 0
}
返回值
返回示例
""
审核转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/Check
请求头
请求参数
model |
转账单信息 |
AccountTransferEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CreatedByName |
|
String |
CheckedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
Items |
转账单子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
AtDate |
单据日期 |
DateTime |
AtId |
单据ID |
Int32 |
AtNo |
单据编号 |
String |
Id |
转账单子条目ID |
Int32 |
PayAt |
付款账户 |
Int32 |
RecAt |
收款账户 |
Int32 |
Amount |
金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
PayAtName |
自定义列 |
String |
RecAtName |
自定义列 |
String |
PayMethodName |
自定义列 |
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"Id": 0,
"No": null,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"Items": null,
"PrintCount": 0,
"AutoGenerate": false,
"BillOrigin": 0
}
返回值
返回示例
""
反审核转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/Uncheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
下一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
上一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransfer/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
AccountTransferList
转账单列表,转账单批量审核,删除,导入,导出,打印等
删除转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/Delete
请求头
请求参数
arrayModel |
转账单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
审核转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/CheckList
请求头
请求参数
arrayModel |
转账单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
反审核转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/UncheckList
请求头
请求参数
arrayModel |
转账单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
搜索转账单列表
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/Search
请求头
请求参数
condition |
|
AccountTransferCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0 |
Int32 |
RecAt |
转入账户 |
Int32 |
PayAt |
转出账户 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": 0,
"RecAt": 0,
"PayAt": 0,
"ExportDetails": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
|
Int32 |
Date |
|
DateTime |
Id |
|
Int32 |
No |
|
String |
Note |
|
String |
IsChecked |
|
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
ModifiedDate |
|
DateTime |
CheckedBy |
|
Int32 |
CheckedDate |
|
DateTime |
Amount |
|
Decimal |
PayAt |
子条目中的第一个付款账户 |
Int32 |
PayAtName |
|
String |
RecAt |
子条目中的第一个收款账户 |
Int32 |
RecAtName |
|
String |
CreatedByName |
|
String |
CheckedByName |
|
String |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
DateFmt |
|
String |
Checked |
|
Boolean |
PrintCount |
打印次数 |
String |
SumModel |
合计行 |
AccountTransferListModel |
AsId |
|
Int32 |
Date |
|
DateTime |
Id |
|
Int32 |
No |
|
String |
Note |
|
String |
IsChecked |
|
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
ModifiedDate |
|
DateTime |
CheckedBy |
|
Int32 |
CheckedDate |
|
DateTime |
Amount |
|
Decimal |
PayAt |
子条目中的第一个付款账户 |
Int32 |
PayAtName |
|
String |
RecAt |
子条目中的第一个收款账户 |
Int32 |
RecAtName |
|
String |
CreatedByName |
|
String |
CheckedByName |
|
String |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
DateFmt |
|
String |
Checked |
|
Boolean |
PrintCount |
打印次数 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
转账单列表-导出转账单数据
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/Export
请求头
请求参数
conditions |
过滤条件 |
AccountTransferCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0 |
Int32 |
RecAt |
转入账户 |
Int32 |
PayAt |
转出账户 |
Int32 |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": 0,
"RecAt": 0,
"PayAt": 0,
"ExportDetails": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
转账单列表-下载转账单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
转账单列表-下载导入转账单失败后的错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/DownloadErrorData
请求头
请求参数
guId |
错误数据标识 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
转账单列表-导入转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
转账单列表-打印转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
转账单列表-打印转账单
请求地址
POST $SCMAPI_HOST/jxc_api/AccountTransferList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
CashBank
现金银行报表
现金银行报表-获取账户收支明细数据
请求地址
POST $SCMAPI_HOST/jxc_api/CashBank/Search
请求头
请求参数
conditions |
搜索条件 |
CashBankSearchConditions |
StartDate |
起始日期(单据) |
Nullable`1 |
EndDate |
结束日期(单据) |
Nullable`1 |
CustIds |
客户ID |
Int32[] |
VendIds |
供应商ID |
Int32[] |
AcIds |
|
Int32[] |
EmpIds |
收付款人ID |
Int32[] |
AcId |
账户ID |
Int32 |
Keywords |
关键字 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"VendIds": null,
"AcIds": null,
"EmpIds": null,
"AcId": 0,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
RowType |
行类型 0,内容行。 1,期初行。 2,合计行 |
Int32 |
IsInit |
是否是期初记录 |
Int32 |
AcId |
账户ID |
Int32 |
AcNo |
账户编号 |
String |
AcName |
账户名称 |
String |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
DateTime |
FmtDate |
日期 |
String |
BType |
业务类型 |
BillType |
BillName |
业务类别 |
String |
InAmount |
收入 |
Decimal |
OutAmount |
支出 |
Decimal |
RestAmount |
结余金额 |
Decimal |
CustId |
客户ID |
Int32 |
VendId |
供应商ID |
Int32 |
PayeeType |
往来单位类型 |
ContactType |
PayeeId |
往来单位ID |
Int32 |
VCName |
往来单位 |
String |
EmpId |
收款人/付款人ID |
Int32 |
RPName |
收/付款人 |
String |
CheckedDate |
|
DateTime |
Note |
备注 |
String |
返回示例
""
现金银行报表-获取账户收支明细数据
请求地址
POST $SCMAPI_HOST/jxc_api/CashBank/SearchPage
请求头
请求参数
conditions |
搜索条件 |
CashBankSearchConditions |
StartDate |
起始日期(单据) |
Nullable`1 |
EndDate |
结束日期(单据) |
Nullable`1 |
CustIds |
客户ID |
Int32[] |
VendIds |
供应商ID |
Int32[] |
AcIds |
|
Int32[] |
EmpIds |
收付款人ID |
Int32[] |
AcId |
账户ID |
Int32 |
Keywords |
关键字 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"VendIds": null,
"AcIds": null,
"EmpIds": null,
"AcId": 0,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
RowType |
行类型 0,内容行。 1,期初行。 2,合计行 |
Int32 |
IsInit |
是否是期初记录 |
Int32 |
AcId |
账户ID |
Int32 |
AcNo |
账户编号 |
String |
AcName |
账户名称 |
String |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
DateTime |
FmtDate |
日期 |
String |
BType |
业务类型 |
BillType |
BillName |
业务类别 |
String |
InAmount |
收入 |
Decimal |
OutAmount |
支出 |
Decimal |
RestAmount |
结余金额 |
Decimal |
CustId |
客户ID |
Int32 |
VendId |
供应商ID |
Int32 |
PayeeType |
往来单位类型 |
ContactType |
PayeeId |
往来单位ID |
Int32 |
VCName |
往来单位 |
String |
EmpId |
收款人/付款人ID |
Int32 |
RPName |
收/付款人 |
String |
CheckedDate |
|
DateTime |
Note |
备注 |
String |
TotalRow |
总计行 |
CashBankInfo |
RowType |
行类型 0,内容行。 1,期初行。 2,合计行 |
Int32 |
IsInit |
是否是期初记录 |
Int32 |
AcId |
账户ID |
Int32 |
AcNo |
账户编号 |
String |
AcName |
账户名称 |
String |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Date |
单据日期 |
DateTime |
FmtDate |
日期 |
String |
BType |
业务类型 |
BillType |
BillName |
业务类别 |
String |
InAmount |
收入 |
Decimal |
OutAmount |
支出 |
Decimal |
RestAmount |
结余金额 |
Decimal |
CustId |
客户ID |
Int32 |
VendId |
供应商ID |
Int32 |
PayeeType |
往来单位类型 |
ContactType |
PayeeId |
往来单位ID |
Int32 |
VCName |
往来单位 |
String |
EmpId |
收款人/付款人ID |
Int32 |
RPName |
收/付款人 |
String |
CheckedDate |
|
DateTime |
Note |
备注 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
资金流水
请求地址
POST $SCMAPI_HOST/jxc_api/CashBank/AppSearch
请求头
请求参数
conditions |
搜索条件 |
MoneyFlowCondition |
AcId |
结算账户 |
Int32 |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
Start |
开始时间 |
String |
End |
结束时间 |
String |
DateRange |
时间区间 |
DateRange |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AcId": 0,
"PageIndex": 0,
"PageSize": 20,
"Start": null,
"End": null,
"DateRange": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MoneyFlowModel |
InAmount |
收入 |
Decimal |
OutAmount |
支出 |
Decimal |
返回示例
""
分享资金流水
请求地址
POST $SCMAPI_HOST/jxc_api/CashBank/ShareLink
请求头
请求参数
conditions |
搜索条件 |
MoneyFlowCondition |
AcId |
结算账户 |
Int32 |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
Start |
开始时间 |
String |
End |
结束时间 |
String |
DateRange |
时间区间 |
DateRange |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AcId": 0,
"PageIndex": 0,
"PageSize": 20,
"Start": null,
"End": null,
"DateRange": 0,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
现金银行报表-导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/CashBank/Export
请求头
请求参数
conditions |
搜索条件 |
CashBankSearchConditions |
StartDate |
起始日期(单据) |
Nullable`1 |
EndDate |
结束日期(单据) |
Nullable`1 |
CustIds |
客户ID |
Int32[] |
VendIds |
供应商ID |
Int32[] |
AcIds |
|
Int32[] |
EmpIds |
收付款人ID |
Int32[] |
AcId |
账户ID |
Int32 |
Keywords |
关键字 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"VendIds": null,
"AcIds": null,
"EmpIds": null,
"AcId": 0,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/CashBank/Print
请求头
请求参数
conditions |
|
CashBankSearchConditions |
StartDate |
起始日期(单据) |
Nullable`1 |
EndDate |
结束日期(单据) |
Nullable`1 |
CustIds |
客户ID |
Int32[] |
VendIds |
供应商ID |
Int32[] |
AcIds |
|
Int32[] |
EmpIds |
收付款人ID |
Int32[] |
AcId |
账户ID |
Int32 |
Keywords |
关键字 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"VendIds": null,
"AcIds": null,
"EmpIds": null,
"AcId": 0,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
CustomerBrief
往来客户一览表
往来客户一览表-获取客户应收汇总数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerBrief/SearchPage
请求头
请求参数
conditions |
搜索条件 |
CustListSearchConditions |
CustIds |
客户ID数组 |
Int32[] |
CustCat |
客户类别 |
Int32 |
AsStartDate |
账套开启日期 |
DateTime |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
HideZeroCust |
余额为0不显示 |
Boolean |
HideZeroAndNoBusiness |
无发生额且余额为0不显示 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
StartDate |
查询起始日期 |
Nullable`1 |
EndDate |
查询结束日期 |
Nullable`1 |
ShowAgeList |
是否显示账龄 |
Boolean |
Keywords |
关键字 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"CustIds": null,
"CustCat": 0,
"AsStartDate": "0001-01-01T00:00:00",
"AppAsId": null,
"AccAsId": 0,
"HideZeroCust": false,
"HideZeroAndNoBusiness": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"StartDate": "2000-01-03T00:00:00",
"EndDate": "2025-02-19T00:00:00+08:00",
"ShowAgeList": false,
"Keywords": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
CustId |
客户ID |
Int32 |
CustCat |
客户类别 |
String |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
BillDate |
单据日期(为获取后筛选) |
DateTime |
IsInitRec |
是否是客户期初记录 |
Int32 |
InitBlance |
期初余额 |
Decimal |
Amount |
销售金额 |
Decimal |
DisAmount |
优惠金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
Receivable |
应收金额 |
Decimal |
Received |
实际收款金额 |
Decimal |
RestAmount |
应收款余额 |
Decimal |
AgeList |
账龄列表 |
array[object] |
TotalRow |
总计行 |
CustomerBriefListModel |
CustId |
客户ID |
Int32 |
CustCat |
客户类别 |
String |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
BillDate |
单据日期(为获取后筛选) |
DateTime |
IsInitRec |
是否是客户期初记录 |
Int32 |
InitBlance |
期初余额 |
Decimal |
Amount |
销售金额 |
Decimal |
DisAmount |
优惠金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
Receivable |
应收金额 |
Decimal |
Received |
实际收款金额 |
Decimal |
RestAmount |
应收款余额 |
Decimal |
AgeList |
账龄列表 |
array[object] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
往来客户一览表-获取客户应收汇总数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerBrief/Search
请求头
请求参数
conditions |
搜索条件 |
CustListSearchConditions |
CustIds |
客户ID数组 |
Int32[] |
CustCat |
客户类别 |
Int32 |
AsStartDate |
账套开启日期 |
DateTime |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
HideZeroCust |
余额为0不显示 |
Boolean |
HideZeroAndNoBusiness |
无发生额且余额为0不显示 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
StartDate |
查询起始日期 |
Nullable`1 |
EndDate |
查询结束日期 |
Nullable`1 |
ShowAgeList |
是否显示账龄 |
Boolean |
Keywords |
关键字 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"CustIds": null,
"CustCat": 0,
"AsStartDate": "0001-01-01T00:00:00",
"AppAsId": null,
"AccAsId": 0,
"HideZeroCust": false,
"HideZeroAndNoBusiness": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"StartDate": "2000-01-03T00:00:00",
"EndDate": "2025-02-19T00:00:00+08:00",
"ShowAgeList": false,
"Keywords": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
CustId |
客户ID |
Int32 |
CustCat |
客户类别 |
String |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
BillDate |
单据日期(为获取后筛选) |
DateTime |
IsInitRec |
是否是客户期初记录 |
Int32 |
InitBlance |
期初余额 |
Decimal |
Amount |
销售金额 |
Decimal |
DisAmount |
优惠金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
Receivable |
应收金额 |
Decimal |
Received |
实际收款金额 |
Decimal |
RestAmount |
应收款余额 |
Decimal |
AgeList |
账龄列表 |
array[object] |
返回示例
""
往来客户一览表-导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerBrief/Export
请求头
请求参数
conditions |
搜索条件 |
CustListSearchConditions |
CustIds |
客户ID数组 |
Int32[] |
CustCat |
客户类别 |
Int32 |
AsStartDate |
账套开启日期 |
DateTime |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
HideZeroCust |
余额为0不显示 |
Boolean |
HideZeroAndNoBusiness |
无发生额且余额为0不显示 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
StartDate |
查询起始日期 |
Nullable`1 |
EndDate |
查询结束日期 |
Nullable`1 |
ShowAgeList |
是否显示账龄 |
Boolean |
Keywords |
关键字 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"CustIds": null,
"CustCat": 0,
"AsStartDate": "0001-01-01T00:00:00",
"AppAsId": null,
"AccAsId": 0,
"HideZeroCust": false,
"HideZeroAndNoBusiness": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"StartDate": "2000-01-03T00:00:00",
"EndDate": "2025-02-19T00:00:00+08:00",
"ShowAgeList": false,
"Keywords": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerBrief/Print
请求头
请求参数
conditions |
|
CustomerBriefByCustCondition |
StartDate |
|
Nullable`1 |
EndDate |
|
Nullable`1 |
ShowAgeList |
|
Boolean |
Keywords |
|
String |
CustIds |
|
Int32[] |
CustCat |
|
Int32 |
AsStartDate |
|
DateTime |
AppAsId |
|
String |
AccAsId |
|
Int32 |
HideZeroCust |
|
Boolean |
HideZeroAndNoBusiness |
|
Boolean |
请求示例
{
"StartDate": "2000-01-03T00:00:00",
"EndDate": "2025-02-19T00:00:00+08:00",
"ShowAgeList": false,
"Keywords": null,
"CustIds": null,
"CustCat": 0,
"AsStartDate": "0001-01-01T00:00:00",
"AppAsId": null,
"AccAsId": 0,
"HideZeroCust": false,
"HideZeroAndNoBusiness": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
CustomerStatement
客户对账单
客户对账单-获得列表过滤的初始条件
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/InitData
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
返回示例
""
客户对账单-查询客户收款记录数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/Search
请求头
请求参数
conditions |
搜索条件 |
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"CustId": null,
"CustType": null,
"ProdIds": null,
"ProdCat": null,
"BillType": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"CustName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SearchCustStatementResult |
CustId |
第三方使用 |
Int32 |
CustIds |
pc回显使用 |
Int32[] |
CustName |
|
String |
CustomerStatements |
|
array[object] |
RowType |
记录类型(1:期初余额,0:一般记录) |
Int32 |
BillId |
单据ID |
Int32 |
BillDate |
单据日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类别 |
Int32 |
OfType |
核销类型 |
Int32 |
BillName |
单据类型名称 |
String |
Amount |
销售金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
Receivable |
应收金额 |
Decimal |
Received |
实际收款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
Note |
备注 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
ACId |
银行账户ID |
Int32 |
AcName |
|
String |
DateFmt |
|
String |
ProdList |
单据子条目信息 |
array[object] |
Id |
单据ID |
Int32 |
IsReturn |
是否退货类型(0,不是。 1,是) |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
属性 |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
销售金额 |
Decimal |
ProdNo |
商品编号 |
String |
ProdName |
商品名称 |
String |
ProdCat |
商品类别 |
String |
Spec |
商品规格 |
String |
AP |
商品属性 |
String |
UnitName |
商品单位 |
String |
Brand |
品牌 |
String |
Location |
产地 |
String |
Note |
商品行备注 |
String |
AccList |
收款单、付款单子条目信息 app分享对账单会用这个 |
array[object] |
RecId |
收款单ID |
Int32 |
PayId |
收款单ID |
Int32 |
AcId |
账户ID |
Int32 |
AcName |
账户名称 |
String |
Amount |
金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
CustId |
|
Int32 |
CustName |
|
String |
CustNo |
|
String |
Total |
|
Int32 |
SumModel |
|
CustomerStatementInfo |
RowType |
记录类型(1:期初余额,0:一般记录) |
Int32 |
BillId |
单据ID |
Int32 |
BillDate |
单据日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类别 |
Int32 |
OfType |
核销类型 |
Int32 |
BillName |
单据类型名称 |
String |
Amount |
销售金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
Receivable |
应收金额 |
Decimal |
Received |
实际收款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
Note |
备注 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
ACId |
银行账户ID |
Int32 |
AcName |
|
String |
DateFmt |
|
String |
ProdList |
单据子条目信息 |
array[object] |
Id |
单据ID |
Int32 |
IsReturn |
是否退货类型(0,不是。 1,是) |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
属性 |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
销售金额 |
Decimal |
ProdNo |
商品编号 |
String |
ProdName |
商品名称 |
String |
ProdCat |
商品类别 |
String |
Spec |
商品规格 |
String |
AP |
商品属性 |
String |
UnitName |
商品单位 |
String |
Brand |
品牌 |
String |
Location |
产地 |
String |
Note |
商品行备注 |
String |
AccList |
收款单、付款单子条目信息 app分享对账单会用这个 |
array[object] |
RecId |
收款单ID |
Int32 |
PayId |
收款单ID |
Int32 |
AcId |
账户ID |
Int32 |
AcName |
账户名称 |
String |
Amount |
金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
CustId |
|
Int32 |
CustName |
|
String |
CustNo |
|
String |
返回示例
""
客户对账单-查询客户收款记录数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/AppSearch
请求头
请求参数
conditions |
搜索条件 |
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"CustId": null,
"CustType": null,
"ProdIds": null,
"ProdCat": null,
"BillType": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"CustName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
RowType |
记录类型(1:期初余额,0:一般记录) |
Int32 |
BillId |
单据ID |
Int32 |
BillDate |
单据日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类别 |
Int32 |
OfType |
核销类型 |
Int32 |
BillName |
单据类型名称 |
String |
Amount |
销售金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
CustPayment |
客户承担费用 |
Decimal |
Receivable |
应收金额 |
Decimal |
Received |
实际收款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
Note |
备注 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
ACId |
银行账户ID |
Int32 |
AcName |
|
String |
DateFmt |
|
String |
ProdList |
单据子条目信息 |
array[object] |
Id |
单据ID |
Int32 |
IsReturn |
是否退货类型(0,不是。 1,是) |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
属性 |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
销售金额 |
Decimal |
ProdNo |
商品编号 |
String |
ProdName |
商品名称 |
String |
ProdCat |
商品类别 |
String |
Spec |
商品规格 |
String |
AP |
商品属性 |
String |
UnitName |
商品单位 |
String |
Brand |
品牌 |
String |
Location |
产地 |
String |
Note |
商品行备注 |
String |
AccList |
收款单、付款单子条目信息 app分享对账单会用这个 |
array[object] |
RecId |
收款单ID |
Int32 |
PayId |
收款单ID |
Int32 |
AcId |
账户ID |
Int32 |
AcName |
账户名称 |
String |
Amount |
金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
CustId |
|
Int32 |
CustName |
|
String |
CustNo |
|
String |
返回示例
""
客户对账单-分享客户收款记录数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/ShareLink
请求头
请求参数
conditions |
搜索条件 |
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"CustId": null,
"CustType": null,
"ProdIds": null,
"ProdCat": null,
"BillType": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"CustName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
客户对账单-导出客户对账单信息到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/Export
请求头
请求参数
conditions |
搜索条件 |
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"CustId": null,
"CustType": null,
"ProdIds": null,
"ProdCat": null,
"BillType": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"CustName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/SharePdf
请求头
请求参数
conditions |
|
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"CustId": null,
"CustType": null,
"ProdIds": null,
"ProdCat": null,
"BillType": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"CustName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/ShareExcel
请求头
请求参数
conditions |
|
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"CustId": null,
"CustType": null,
"ProdIds": null,
"ProdCat": null,
"BillType": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"CustName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
打印支持显示商品明细
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/Print
请求头
请求参数
conditions |
|
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"CustId": null,
"CustType": null,
"ProdIds": null,
"ProdCat": null,
"BillType": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"CustName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
分享微信二维码
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerStatement/ShareQrCode
请求头
请求参数
conditions |
|
CustStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
CustId |
客户ID |
Int32[] |
CustType |
客户类别 |
Int32[] |
ProdIds |
商品id |
Int32[] |
ProdCat |
商品类型 |
Int32[] |
BillType |
业务类型 |
Int32[] |
SearchAllVcs |
是否查找所有客户的数据,当为True时,属性CustId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
CustName |
客户名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"CustId": null,
"CustType": null,
"ProdIds": null,
"ProdCat": null,
"BillType": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"CustName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
PurSellExpense
采购销售费用表
采购销售费用表-查询
请求地址
POST $SCMAPI_HOST/jxc_api/PurSellExpense/Search
请求头
请求参数
conditions |
搜索条件 |
PurSellExpenseSearchConditions |
StartDateFmt |
|
String |
EndDateFmt |
|
String |
ExpenseType |
采购费用 1001,销售费用 1002,管理费用 1003,代收代付 1004,其他费用 1005 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDateFmt": null,
"EndDateFmt": null,
"ExpenseType": 0,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
ExpenseType |
|
Int32 |
ExpenseTypeName |
费用类型--其他支出单表头的费用类型 |
String |
ExpenseDetailId |
|
Int32 |
ExpenseDetailName |
费用明细--其他支出单表体的支出类型 |
String |
Amount |
金额--按费用类型+支出类型汇总其他支出单分录行的金额 |
Decimal |
Tax |
税额--按费用类型+支出类型汇总其他支出单分录行的税额 |
Decimal |
AmountTax |
价税合计--按费用类型+支出类型汇总其他支出单分录行的价税合计 |
Decimal |
UnShareAmount |
未分摊 |
Decimal |
ShareAmount |
已分摊--按费用类型+支出类型汇总已关联、已分摊到采购、销售单据上的其他支出单分录行的金额 费用类型为采购费用时,只计入分摊到商品成本的单据,关联的计入到未分摊 |
Decimal |
UnInvoiceAmount |
未开票 |
Decimal |
InvoiceAmount |
已开票--按费用类型+支出类型汇总已关联发票的其他支出单分录行的价税合计 |
Decimal |
UnPaidAmount |
未支付 |
Decimal |
PaidAmount |
已支付--按费用类型+支出类型汇总已采购付款核销的其他支出单分录行的价税合计 |
Decimal |
TotalRow |
总计行 |
PurSellExpenseModel |
ExpenseType |
|
Int32 |
ExpenseTypeName |
费用类型--其他支出单表头的费用类型 |
String |
ExpenseDetailId |
|
Int32 |
ExpenseDetailName |
费用明细--其他支出单表体的支出类型 |
String |
Amount |
金额--按费用类型+支出类型汇总其他支出单分录行的金额 |
Decimal |
Tax |
税额--按费用类型+支出类型汇总其他支出单分录行的税额 |
Decimal |
AmountTax |
价税合计--按费用类型+支出类型汇总其他支出单分录行的价税合计 |
Decimal |
UnShareAmount |
未分摊 |
Decimal |
ShareAmount |
已分摊--按费用类型+支出类型汇总已关联、已分摊到采购、销售单据上的其他支出单分录行的金额 费用类型为采购费用时,只计入分摊到商品成本的单据,关联的计入到未分摊 |
Decimal |
UnInvoiceAmount |
未开票 |
Decimal |
InvoiceAmount |
已开票--按费用类型+支出类型汇总已关联发票的其他支出单分录行的价税合计 |
Decimal |
UnPaidAmount |
未支付 |
Decimal |
PaidAmount |
已支付--按费用类型+支出类型汇总已采购付款核销的其他支出单分录行的价税合计 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
采购销售费用表-导出到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/PurSellExpense/Export
请求头
请求参数
conditions |
|
PurSellExpenseSearchConditions |
StartDateFmt |
|
String |
EndDateFmt |
|
String |
ExpenseType |
采购费用 1001,销售费用 1002,管理费用 1003,代收代付 1004,其他费用 1005 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDateFmt": null,
"EndDateFmt": null,
"ExpenseType": 0,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Offset
核销单的添加,更新等
根据ID获得核销单
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/InitData
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
OffsetEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Org1 |
客户或供应商ID |
Int32 |
Org2 |
客户或供应商ID |
Int32 |
PrintCount |
打印次数 |
Nullable`1 |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Org1Name |
客户或供应商名称 |
String |
Org2Name |
客户或供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
IsChecked |
|
Int32 |
CheckedBy |
|
Int32 |
CheckedByName |
|
String |
CheckedDate |
|
Nullable`1 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
核销单条目 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
OFId |
单据ID |
Int32 |
OFNo |
单据编号 |
String |
Id |
条目ID |
Int32 |
Flag |
核销区域,0或者1 |
Int32 |
BillId |
源单ID |
Int32 |
BillNo |
源单编码 |
String |
BillBType |
源单类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillAmount |
源单金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
Org1 |
客户或供应商 |
Int32 |
Org2 |
客户或供应商 |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
返回示例
""
新增核销单
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/Add
请求头
请求参数
model |
核销单信息 |
OffsetEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Org1 |
客户或供应商ID |
Int32 |
Org2 |
客户或供应商ID |
Int32 |
PrintCount |
打印次数 |
Nullable`1 |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Org1Name |
客户或供应商名称 |
String |
Org2Name |
客户或供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
IsChecked |
|
Int32 |
CheckedBy |
|
Int32 |
CheckedByName |
|
String |
CheckedDate |
|
Nullable`1 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
核销单条目 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
OFId |
单据ID |
Int32 |
OFNo |
单据编号 |
String |
Id |
条目ID |
Int32 |
Flag |
核销区域,0或者1 |
Int32 |
BillId |
源单ID |
Int32 |
BillNo |
源单编码 |
String |
BillBType |
源单类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillAmount |
源单金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
Org1 |
客户或供应商 |
Int32 |
Org2 |
客户或供应商 |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"Id": 0,
"No": null,
"Org1": 0,
"Org2": 0,
"PrintCount": null,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"Org1Name": null,
"Org2Name": null,
"CreatedByName": null,
"ModifiedByName": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedByName": null,
"CheckedDate": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
修改核销单
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/Update
请求头
请求参数
model |
核销单信息 |
OffsetEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Org1 |
客户或供应商ID |
Int32 |
Org2 |
客户或供应商ID |
Int32 |
PrintCount |
打印次数 |
Nullable`1 |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Org1Name |
客户或供应商名称 |
String |
Org2Name |
客户或供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
IsChecked |
|
Int32 |
CheckedBy |
|
Int32 |
CheckedByName |
|
String |
CheckedDate |
|
Nullable`1 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
核销单条目 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
OFId |
单据ID |
Int32 |
OFNo |
单据编号 |
String |
Id |
条目ID |
Int32 |
Flag |
核销区域,0或者1 |
Int32 |
BillId |
源单ID |
Int32 |
BillNo |
源单编码 |
String |
BillBType |
源单类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillAmount |
源单金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
Org1 |
客户或供应商 |
Int32 |
Org2 |
客户或供应商 |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"Id": 0,
"No": null,
"Org1": 0,
"Org2": 0,
"PrintCount": null,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"Org1Name": null,
"Org2Name": null,
"CreatedByName": null,
"ModifiedByName": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedByName": null,
"CheckedDate": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": null
}
返回值
返回示例
""
审核
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/Check
请求头
请求参数
model |
|
OffsetEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Org1 |
客户或供应商ID |
Int32 |
Org2 |
客户或供应商ID |
Int32 |
PrintCount |
打印次数 |
Nullable`1 |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Org1Name |
客户或供应商名称 |
String |
Org2Name |
客户或供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
IsChecked |
|
Int32 |
CheckedBy |
|
Int32 |
CheckedByName |
|
String |
CheckedDate |
|
Nullable`1 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
核销单条目 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
OFId |
单据ID |
Int32 |
OFNo |
单据编号 |
String |
Id |
条目ID |
Int32 |
Flag |
核销区域,0或者1 |
Int32 |
BillId |
源单ID |
Int32 |
BillNo |
源单编码 |
String |
BillBType |
源单类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillAmount |
源单金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
Org1 |
客户或供应商 |
Int32 |
Org2 |
客户或供应商 |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"Id": 0,
"No": null,
"Org1": 0,
"Org2": 0,
"PrintCount": null,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"Org1Name": null,
"Org2Name": null,
"CreatedByName": null,
"ModifiedByName": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedByName": null,
"CheckedDate": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IdNoPair |
Id |
ID |
Int32 |
No |
NO |
String |
Message |
|
String |
返回示例
""
反审核
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/Uncheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除核销单
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
下一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
上一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
刷新核销单数据
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/InitDataFromOffseted
请求头
请求参数
model |
核销单信息 |
OffsetEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Org1 |
客户或供应商ID |
Int32 |
Org2 |
客户或供应商ID |
Int32 |
PrintCount |
打印次数 |
Nullable`1 |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Org1Name |
客户或供应商名称 |
String |
Org2Name |
客户或供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
IsChecked |
|
Int32 |
CheckedBy |
|
Int32 |
CheckedByName |
|
String |
CheckedDate |
|
Nullable`1 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
核销单条目 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
OFId |
单据ID |
Int32 |
OFNo |
单据编号 |
String |
Id |
条目ID |
Int32 |
Flag |
核销区域,0或者1 |
Int32 |
BillId |
源单ID |
Int32 |
BillNo |
源单编码 |
String |
BillBType |
源单类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillAmount |
源单金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
Org1 |
客户或供应商 |
Int32 |
Org2 |
客户或供应商 |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"BType": 0,
"Id": 0,
"No": null,
"Org1": 0,
"Org2": 0,
"PrintCount": null,
"Note": null,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"Org1Name": null,
"Org2Name": null,
"CreatedByName": null,
"ModifiedByName": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedByName": null,
"CheckedDate": null,
"AutoGenerate": false,
"BillOrigin": 0,
"Items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
OffsetEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Org1 |
客户或供应商ID |
Int32 |
Org2 |
客户或供应商ID |
Int32 |
PrintCount |
打印次数 |
Nullable`1 |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Org1Name |
客户或供应商名称 |
String |
Org2Name |
客户或供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
ModifiedByName |
修改人名称 |
String |
IsChecked |
|
Int32 |
CheckedBy |
|
Int32 |
CheckedByName |
|
String |
CheckedDate |
|
Nullable`1 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
核销单条目 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
BType |
核销类型 |
OFType |
OFId |
单据ID |
Int32 |
OFNo |
单据编号 |
String |
Id |
条目ID |
Int32 |
Flag |
核销区域,0或者1 |
Int32 |
BillId |
源单ID |
Int32 |
BillNo |
源单编码 |
String |
BillBType |
源单类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillAmount |
源单金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
Org1 |
客户或供应商 |
Int32 |
Org2 |
客户或供应商 |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
返回示例
""
获得源单列表数据
请求地址
POST $SCMAPI_HOST/jxc_api/Offset/Search
请求头
请求参数
conditions |
单据搜索条件1 |
OffsetBillSearchConditions |
OfId |
当前核销单ID(仅在编辑核销单时需要输入此项) |
Int32 |
BType |
业务类型 |
OFType |
OrgId |
供应商、客户ID(查询所有客户、供应商数据请传-1) |
Int32 |
Flag |
表单区域 |
Int32 |
VcIds |
供应商、客户ID |
array[object] |
SearchText |
|
String |
Start |
订单日期起始时间,默认为本月第一天 |
String |
End |
订单日期结束时间,默认为今天 |
String |
Keywords |
查询关键字 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OfId": 0,
"BType": 0,
"OrgId": 0,
"Flag": 0,
"VcIds": null,
"SearchText": null,
"Start": null,
"End": null,
"Keywords": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
AsId |
账套ID |
Int32 |
BType |
业务类型 |
OFType |
Id |
核销记录ID |
Int32 |
Date |
核销记录日期 |
DateTime |
VcId |
客户或供应商 |
Int32 |
OFId |
核销单ID或收付款单ID |
Int32 |
OFNo |
核销单编码或收付款单编码 |
String |
OFEId |
核销单或收付款单子条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
PayeeType |
|
ContactType |
BillDate |
单据日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Flag |
表单显示区块类别 |
Int32 |
BillOFUAmount |
未核销金额 |
Decimal |
ORDateFmt |
核销记录日期 |
String |
BillDateFmt |
单据日期 |
String |
返回示例
""
OffsetList
核销单列表,核销单批量删除,导出,打印等
搜索核销单列表
请求地址
POST $SCMAPI_HOST/jxc_api/OffsetList/Search
请求头
请求参数
condition |
|
OffsetCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
Checked |
审核状态(-1,所有状态。0,未审核。1,已审核) |
Int32[] |
BType |
核销类型 |
OFType[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CustIds |
客户 |
Int32[] |
VendorIds |
供应商 |
Int32[] |
CreatedBy |
创建人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"Checked": [
-1
],
"BType": [],
"ExportDetails": false,
"CustIds": null,
"VendorIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
Status |
单据状态(YC1.1,SCM3.2) |
String |
IsChecked |
是否审核 |
Int32 |
Date |
|
DateTime |
BType |
核销业务类型 |
OFType |
Id |
核销单ID |
Int32 |
No |
核销单号 |
String |
Org1 |
往来单位1 |
Int32 |
Org2 |
往来单位2 |
Int32 |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改时间 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
Nullable`1 |
OFAmount |
核销金额 |
Decimal |
OFTypeName |
核销类型名称 |
String |
CustName |
客户名称 |
String |
CustNo |
客户编号 |
String |
VendName |
供应商名称 |
String |
VendNo |
供应商编号 |
String |
CreatedByName |
创建人名称 |
String |
CheckedByName |
审核人名称 |
String |
CustId |
客户ID |
Int32 |
VendId |
供应商ID |
Int32 |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
DateFmt |
|
String |
SumModel |
合计行 |
OffsetListModel |
AsId |
账套ID |
Int32 |
Status |
单据状态(YC1.1,SCM3.2) |
String |
IsChecked |
是否审核 |
Int32 |
Date |
|
DateTime |
BType |
核销业务类型 |
OFType |
Id |
核销单ID |
Int32 |
No |
核销单号 |
String |
Org1 |
往来单位1 |
Int32 |
Org2 |
往来单位2 |
Int32 |
PrintCount |
打印次数 |
String |
Note |
备注 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改时间 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核时间 |
Nullable`1 |
OFAmount |
核销金额 |
Decimal |
OFTypeName |
核销类型名称 |
String |
CustName |
客户名称 |
String |
CustNo |
客户编号 |
String |
VendName |
供应商名称 |
String |
VendNo |
供应商编号 |
String |
CreatedByName |
创建人名称 |
String |
CheckedByName |
审核人名称 |
String |
CustId |
客户ID |
Int32 |
VendId |
供应商ID |
Int32 |
BillOrigin |
单据来源 |
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
DateFmt |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
审核
请求地址
POST $SCMAPI_HOST/jxc_api/OffsetList/CheckList
请求头
请求参数
arrayModel |
核销单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
反审核
请求地址
POST $SCMAPI_HOST/jxc_api/OffsetList/UncheckList
请求头
请求参数
arrayModel |
核销单ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
删除核销单
请求地址
POST $SCMAPI_HOST/jxc_api/OffsetList/Delete
请求头
请求参数
arrayModel |
核销单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
核销单列表-导出核销单数据
请求地址
POST $SCMAPI_HOST/jxc_api/OffsetList/Export
请求头
请求参数
conditions |
过滤条件 |
OffsetCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
Checked |
审核状态(-1,所有状态。0,未审核。1,已审核) |
Int32[] |
BType |
核销类型 |
OFType[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CustIds |
客户 |
Int32[] |
VendorIds |
供应商 |
Int32[] |
CreatedBy |
创建人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"Checked": [
-1
],
"BType": [],
"ExportDetails": false,
"CustIds": null,
"VendorIds": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
核销单列表-打印核销单
请求地址
POST $SCMAPI_HOST/jxc_api/OffsetList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
核销单列表-打印核销单
请求地址
POST $SCMAPI_HOST/jxc_api/OffsetList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
OperatingProfit
利润表
经营利润表-查询利润数据
请求地址
POST $SCMAPI_HOST/jxc_api/OperatingProfit/Search
请求头
请求参数
conditions |
搜索条件 |
OperatingProfitSearchConditions |
StartDate |
|
DateTime |
EndDate |
|
DateTime |
ShowTotal |
是否展示合计 |
Boolean |
ShowQoQ |
是否展示环比 |
Boolean |
ShowYoY |
是否展示同比 |
Boolean |
ShowQuarterly |
按季度展示 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"ShowTotal": false,
"ShowQoQ": false,
"ShowYoY": false,
"ShowQuarterly": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
OperatingProfitModel |
Datas |
|
array[object] |
OtherPayments |
|
array[object] |
OtherReceipts |
|
array[object] |
ColumnName |
|
String |
Date |
|
DateTime |
SumDoAmount |
销售收入 |
Nullable`1 |
SumDoRetAmount |
销售退货 |
Nullable`1 |
SumSellCostAmount |
销售成本 |
Nullable`1 |
MainBusinessProfit |
主营业务利润 = 销售收入 — 销售成本 — 销售退货 |
Nullable`1 |
SumOtherReceiptAmount |
其他收入 |
Nullable`1 |
SumOtherPaymentAmount |
其他支出 |
Nullable`1 |
SumPankui |
盘亏损失 |
Nullable`1 |
Profit |
净利润:主营业务利润+其他收入-其他支出-盘亏损失 |
Nullable`1 |
SumRecieveAmount |
收款金额 |
Nullable`1 |
SumReceivable |
应收款 |
Nullable`1 |
SumPayable |
应付款 |
Nullable`1 |
返回示例
""
经营利润表-查询利润数据-应收应付和收款信息
请求地址
POST $SCMAPI_HOST/jxc_api/OperatingProfit/SearchForExInfo
请求头
请求参数
conditions |
搜索条件 |
OperatingProfitSearchConditions |
StartDate |
|
DateTime |
EndDate |
|
DateTime |
ShowTotal |
是否展示合计 |
Boolean |
ShowQoQ |
是否展示环比 |
Boolean |
ShowYoY |
是否展示同比 |
Boolean |
ShowQuarterly |
按季度展示 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"ShowTotal": false,
"ShowQoQ": false,
"ShowYoY": false,
"ShowQuarterly": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
OperatingProfitModel |
Datas |
|
array[object] |
OtherPayments |
|
array[object] |
OtherReceipts |
|
array[object] |
ColumnName |
|
String |
Date |
|
DateTime |
SumDoAmount |
销售收入 |
Nullable`1 |
SumDoRetAmount |
销售退货 |
Nullable`1 |
SumSellCostAmount |
销售成本 |
Nullable`1 |
MainBusinessProfit |
主营业务利润 = 销售收入 — 销售成本 — 销售退货 |
Nullable`1 |
SumOtherReceiptAmount |
其他收入 |
Nullable`1 |
SumOtherPaymentAmount |
其他支出 |
Nullable`1 |
SumPankui |
盘亏损失 |
Nullable`1 |
Profit |
净利润:主营业务利润+其他收入-其他支出-盘亏损失 |
Nullable`1 |
SumRecieveAmount |
收款金额 |
Nullable`1 |
SumReceivable |
应收款 |
Nullable`1 |
SumPayable |
应付款 |
Nullable`1 |
返回示例
""
经营利润表-查询利润数据-全部
请求地址
POST $SCMAPI_HOST/jxc_api/OperatingProfit/SearchForAll
请求头
请求参数
conditions |
搜索条件 |
OperatingProfitSearchConditions |
StartDate |
|
DateTime |
EndDate |
|
DateTime |
ShowTotal |
是否展示合计 |
Boolean |
ShowQoQ |
是否展示环比 |
Boolean |
ShowYoY |
是否展示同比 |
Boolean |
ShowQuarterly |
按季度展示 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"ShowTotal": false,
"ShowQoQ": false,
"ShowYoY": false,
"ShowQuarterly": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
OperatingProfitModel |
Datas |
|
array[object] |
OtherPayments |
|
array[object] |
OtherReceipts |
|
array[object] |
ColumnName |
|
String |
Date |
|
DateTime |
SumDoAmount |
销售收入 |
Nullable`1 |
SumDoRetAmount |
销售退货 |
Nullable`1 |
SumSellCostAmount |
销售成本 |
Nullable`1 |
MainBusinessProfit |
主营业务利润 = 销售收入 — 销售成本 — 销售退货 |
Nullable`1 |
SumOtherReceiptAmount |
其他收入 |
Nullable`1 |
SumOtherPaymentAmount |
其他支出 |
Nullable`1 |
SumPankui |
盘亏损失 |
Nullable`1 |
Profit |
净利润:主营业务利润+其他收入-其他支出-盘亏损失 |
Nullable`1 |
SumRecieveAmount |
收款金额 |
Nullable`1 |
SumReceivable |
应收款 |
Nullable`1 |
SumPayable |
应付款 |
Nullable`1 |
返回示例
""
利润表-导出利润表到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/OperatingProfit/Export
请求头
请求参数
conditions |
|
OperatingProfitSearchConditions |
StartDate |
|
DateTime |
EndDate |
|
DateTime |
ShowTotal |
是否展示合计 |
Boolean |
ShowQoQ |
是否展示环比 |
Boolean |
ShowYoY |
是否展示同比 |
Boolean |
ShowQuarterly |
按季度展示 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"ShowTotal": false,
"ShowQoQ": false,
"ShowYoY": false,
"ShowQuarterly": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
OrpDetails
其他收支明细表
其他收支明细表-查询其他收支记录
请求地址
POST $SCMAPI_HOST/jxc_api/OrpDetails/Search
请求头
请求参数
conditions |
搜索条件 |
ORPDetailsSearchConditions |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
BillType |
单据类别 |
Int32 |
Keywords |
关键字 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"BillType": 0,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
BillId |
单据ID |
Int32 |
BillDate |
日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类型 |
Int32 |
ItemType |
收支项目 |
Int32 |
Amount |
收付款金额 |
Decimal |
PayeeType |
往来单位类型 |
ContactType |
VcId |
往来单位ID |
Int32 |
Note |
备注 |
String |
FmtDate |
单据日期 |
String |
BillName |
业务类型 |
String |
ItemName |
业务类型 |
String |
VCName |
供应商或者客户名称 |
String |
InAmount |
收入 |
Decimal |
OutAmount |
支出 |
Decimal |
返回示例
""
其他收支明细表-查询其他收支记录
请求地址
POST $SCMAPI_HOST/jxc_api/OrpDetails/SearchPage
请求头
请求参数
conditions |
搜索条件 |
ORPDetailsSearchConditions |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
BillType |
单据类别 |
Int32 |
Keywords |
关键字 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"BillType": 0,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
BillId |
单据ID |
Int32 |
BillDate |
日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类型 |
Int32 |
ItemType |
收支项目 |
Int32 |
Amount |
收付款金额 |
Decimal |
PayeeType |
往来单位类型 |
ContactType |
VcId |
往来单位ID |
Int32 |
Note |
备注 |
String |
FmtDate |
单据日期 |
String |
BillName |
业务类型 |
String |
ItemName |
业务类型 |
String |
VCName |
供应商或者客户名称 |
String |
InAmount |
收入 |
Decimal |
OutAmount |
支出 |
Decimal |
TotalRow |
总计行 |
ORPDetailsInfo |
BillId |
单据ID |
Int32 |
BillDate |
日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类型 |
Int32 |
ItemType |
收支项目 |
Int32 |
Amount |
收付款金额 |
Decimal |
PayeeType |
往来单位类型 |
ContactType |
VcId |
往来单位ID |
Int32 |
Note |
备注 |
String |
FmtDate |
单据日期 |
String |
BillName |
业务类型 |
String |
ItemName |
业务类型 |
String |
VCName |
供应商或者客户名称 |
String |
InAmount |
收入 |
Decimal |
OutAmount |
支出 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
其他收支明细表-导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/OrpDetails/Export
请求头
请求参数
conditions |
搜索条件对象 |
ORPDetailsSearchConditions |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
BillType |
单据类别 |
Int32 |
Keywords |
关键字 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"BillType": 0,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/OrpDetails/Print
请求头
请求参数
conditions |
|
ORPDetailsSearchConditions |
StartDate |
单据日期起 |
Nullable`1 |
EndDate |
单据日期至 |
Nullable`1 |
BillType |
单据类别 |
Int32 |
Keywords |
关键字 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"BillType": 0,
"Keywords": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
OtherPayment
其他支出单的添加,更新,审核等
根据ID获得付款单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/InitData
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
OtherPaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
付款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
HasSourceBill |
是否已经关联了采购、销售单据 |
Boolean |
ShareExpense |
是否分摊成本,0:未分摊,1:已分摊 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
付款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目ID |
Int32 |
Type |
支出类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
支出类别名称 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
SettlePeriodName |
结算期限 |
String |
ExpenseType |
费用类型 |
ExpenseType |
PayeeType |
收款人类型 |
ContactType |
CustomerName |
客户name |
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustId |
客户id,代收代付类型、或销售费用录入客户承担金额时,该字段必填 |
Int32 |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
BillOrigin |
单据来源 |
BillOriginEnum |
PayeeName |
往来单位name |
String |
返回示例
""
从费用清单生成其他支出单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/InitFromExp
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
OtherPaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
付款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
HasSourceBill |
是否已经关联了采购、销售单据 |
Boolean |
ShareExpense |
是否分摊成本,0:未分摊,1:已分摊 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
付款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目ID |
Int32 |
Type |
支出类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
支出类别名称 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
SettlePeriodName |
结算期限 |
String |
ExpenseType |
费用类型 |
ExpenseType |
PayeeType |
收款人类型 |
ContactType |
CustomerName |
客户name |
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustId |
客户id,代收代付类型、或销售费用录入客户承担金额时,该字段必填 |
Int32 |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
BillOrigin |
单据来源 |
BillOriginEnum |
PayeeName |
往来单位name |
String |
返回示例
""
新增付款单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/Add
请求头
请求参数
model |
其他支出单信息 |
OtherPaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
付款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
HasSourceBill |
是否已经关联了采购、销售单据 |
Boolean |
ShareExpense |
是否分摊成本,0:未分摊,1:已分摊 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
付款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目ID |
Int32 |
Type |
支出类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
支出类别名称 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
SettlePeriodName |
结算期限 |
String |
ExpenseType |
费用类型 |
ExpenseType |
PayeeType |
收款人类型 |
ContactType |
CustomerName |
客户name |
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustId |
客户id,代收代付类型、或销售费用录入客户承担金额时,该字段必填 |
Int32 |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
BillOrigin |
单据来源 |
BillOriginEnum |
PayeeName |
往来单位name |
String |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"Amount": 0.0,
"DiscAmount": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"HasSourceBill": false,
"ShareExpense": 0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"OrpType": 0,
"VendName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"AcName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"AutoGenerate": false,
"PayInfoItems": null,
"Items": null,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"SettlePeriodDateFmt": "",
"SettlePeriodName": null,
"ExpenseType": 0,
"PayeeType": 0,
"CustomerName": null,
"Tax": 0.0,
"AmountTax": 0.0,
"CustId": 0,
"CustPayment": 0.0,
"PayeeId": 0,
"BillOrigin": 0,
"PayeeName": null
}
返回值
返回示例
""
兼容旧版本
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/CompatibleToOld
请求头
请求参数
model |
|
OtherPaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
付款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
HasSourceBill |
是否已经关联了采购、销售单据 |
Boolean |
ShareExpense |
是否分摊成本,0:未分摊,1:已分摊 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
付款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目ID |
Int32 |
Type |
支出类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
支出类别名称 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
SettlePeriodName |
结算期限 |
String |
ExpenseType |
费用类型 |
ExpenseType |
PayeeType |
收款人类型 |
ContactType |
CustomerName |
客户name |
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustId |
客户id,代收代付类型、或销售费用录入客户承担金额时,该字段必填 |
Int32 |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
BillOrigin |
单据来源 |
BillOriginEnum |
PayeeName |
往来单位name |
String |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"Amount": 0.0,
"DiscAmount": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"HasSourceBill": false,
"ShareExpense": 0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"OrpType": 0,
"VendName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"AcName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"AutoGenerate": false,
"PayInfoItems": null,
"Items": null,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"SettlePeriodDateFmt": "",
"SettlePeriodName": null,
"ExpenseType": 0,
"PayeeType": 0,
"CustomerName": null,
"Tax": 0.0,
"AmountTax": 0.0,
"CustId": 0,
"CustPayment": 0.0,
"PayeeId": 0,
"BillOrigin": 0,
"PayeeName": null
}
返回值
返回示例
""
修改付款单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/Update
请求头
请求参数
model |
其他支出单信息 |
OtherPaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
付款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
HasSourceBill |
是否已经关联了采购、销售单据 |
Boolean |
ShareExpense |
是否分摊成本,0:未分摊,1:已分摊 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
付款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目ID |
Int32 |
Type |
支出类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
支出类别名称 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
SettlePeriodName |
结算期限 |
String |
ExpenseType |
费用类型 |
ExpenseType |
PayeeType |
收款人类型 |
ContactType |
CustomerName |
客户name |
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustId |
客户id,代收代付类型、或销售费用录入客户承担金额时,该字段必填 |
Int32 |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
BillOrigin |
单据来源 |
BillOriginEnum |
PayeeName |
往来单位name |
String |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"Amount": 0.0,
"DiscAmount": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"HasSourceBill": false,
"ShareExpense": 0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"OrpType": 0,
"VendName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"AcName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"AutoGenerate": false,
"PayInfoItems": null,
"Items": null,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"SettlePeriodDateFmt": "",
"SettlePeriodName": null,
"ExpenseType": 0,
"PayeeType": 0,
"CustomerName": null,
"Tax": 0.0,
"AmountTax": 0.0,
"CustId": 0,
"CustPayment": 0.0,
"PayeeId": 0,
"BillOrigin": 0,
"PayeeName": null
}
返回值
返回示例
""
审核付款单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/Check
请求头
请求参数
model |
其他支出单信息 |
OtherPaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
付款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
HasSourceBill |
是否已经关联了采购、销售单据 |
Boolean |
ShareExpense |
是否分摊成本,0:未分摊,1:已分摊 |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
付款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目ID |
Int32 |
Type |
支出类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
支出类别名称 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodDateFmt |
|
String |
SettlePeriodName |
结算期限 |
String |
ExpenseType |
费用类型 |
ExpenseType |
PayeeType |
收款人类型 |
ContactType |
CustomerName |
客户name |
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustId |
客户id,代收代付类型、或销售费用录入客户承担金额时,该字段必填 |
Int32 |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位id |
Int32 |
BillOrigin |
单据来源 |
BillOriginEnum |
PayeeName |
往来单位name |
String |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"Amount": 0.0,
"DiscAmount": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"HasSourceBill": false,
"ShareExpense": 0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"OrpType": 0,
"VendName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"AcName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"AutoGenerate": false,
"PayInfoItems": null,
"Items": null,
"SettlePeriodId": 0,
"SettlePeriodDate": "0001-01-01T00:00:00",
"SettlePeriodDateFmt": "",
"SettlePeriodName": null,
"ExpenseType": 0,
"PayeeType": 0,
"CustomerName": null,
"Tax": 0.0,
"AmountTax": 0.0,
"CustId": 0,
"CustPayment": 0.0,
"PayeeId": 0,
"BillOrigin": 0,
"PayeeName": null
}
返回值
返回示例
""
反审核付款单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/Uncheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除其它支出单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
下一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
上一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPayment/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
OtherPaymentList
其它支出单列表,其它支出单批量审核,删除,导入,导出,打印等
删除其它支出单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/Delete
请求头
请求参数
arrayModel |
其它支出单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
审核其它支出单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/CheckList
请求头
请求参数
arrayModel |
其它支出单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
反审核其它支出单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/UncheckList
请求头
请求参数
arrayModel |
其它支出单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
搜索其它支出单列表
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/Search
请求头
请求参数
condition |
|
OtherRpCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0 2 |
Int32[] |
VcIds |
供应商ID或者客户ID |
Int32[] |
DateRange |
|
DateRange |
OrpStatus |
付款状态,0:所有,1010:未付款,1020:部分付款,1030:全部付款 |
array[object] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
ShareStatus |
费用是否分摊,-1:所有,0:未分摊,1:已分摊 |
Nullable`1 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
AcIds |
账户,99999999表示多账户 |
Int32[] |
Type |
收入类型 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"VcIds": [],
"DateRange": 0,
"OrpStatus": null,
"InvoiceStatus": null,
"ShareStatus": null,
"AccountingItemId": null,
"DepartmentId": null,
"ExportDetails": false,
"AcIds": null,
"Type": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
VendId |
旧的供应商id,为了兼容而保留 |
Int32 |
ExpenseTypeName |
费用类型名称 |
String |
ExpenseType |
费用类型 |
Int32 |
PayeeTypeName |
收款人类型名称 |
String |
PayeeType |
收款人类型 |
Int32 |
CustomerNo |
客户编号 |
String |
CustomerName |
客户名称 |
String |
PayeeId |
往来单位Id |
Nullable`1 |
PayeeName |
往来单位名称 |
String |
PayeeNo |
往来单位编码 |
String |
VendName |
旧的供应商名称,为了兼容而保留 |
String |
VendNo |
旧的供应商编码,为了兼容而保留 |
String |
SourceBillList |
|
array[object] |
SourceBillType |
产生费用的单据类型 |
BillType |
SourceBillId |
产生费用的单据ID |
Int32 |
SourceBillNo |
产生费用的单据编码 |
String |
ShareExpense |
是否分摊 |
Int32 |
ShareStatus |
是否分摊 |
String |
RpStatusStr |
|
String |
PrintCount |
打印次数 |
Int32 |
AsId |
AsId |
Int32 |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
VcId |
客户/供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
收款人/付款人 |
Int32 |
DiscAmount |
优惠金额 |
Decimal |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型(其他收入单、其他支出单) |
Int32 |
CreatedByName |
创建人 |
String |
CheckedByName |
审核人 |
String |
Amount |
收入总额 |
Decimal |
Tax |
税额 |
Decimal |
TaxRate |
税率 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AmountFirst |
首次收款 |
Decimal |
OfdAmount |
已收款 |
Decimal |
OfuAmount |
未收款 |
Decimal |
AcId |
单账户收款时账户ID |
Int32 |
AcName |
单账户收款时账户名称 |
String |
MultipleAccounts |
多账户 |
String |
RpStatus |
收付款状态 |
BillStatus |
Checked |
是否审核 |
Boolean |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
SettlePeriodDateFmt |
结算期限日期 |
DateTime |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
SettlePeriodDate |
结算日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
SumModel |
合计行 |
OtherPaymentListModel |
VendId |
旧的供应商id,为了兼容而保留 |
Int32 |
ExpenseTypeName |
费用类型名称 |
String |
ExpenseType |
费用类型 |
Int32 |
PayeeTypeName |
收款人类型名称 |
String |
PayeeType |
收款人类型 |
Int32 |
CustomerNo |
客户编号 |
String |
CustomerName |
客户名称 |
String |
PayeeId |
往来单位Id |
Nullable`1 |
PayeeName |
往来单位名称 |
String |
PayeeNo |
往来单位编码 |
String |
VendName |
旧的供应商名称,为了兼容而保留 |
String |
VendNo |
旧的供应商编码,为了兼容而保留 |
String |
SourceBillList |
|
array[object] |
SourceBillType |
产生费用的单据类型 |
BillType |
SourceBillId |
产生费用的单据ID |
Int32 |
SourceBillNo |
产生费用的单据编码 |
String |
ShareExpense |
是否分摊 |
Int32 |
ShareStatus |
是否分摊 |
String |
RpStatusStr |
|
String |
PrintCount |
打印次数 |
Int32 |
AsId |
AsId |
Int32 |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
VcId |
客户/供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
收款人/付款人 |
Int32 |
DiscAmount |
优惠金额 |
Decimal |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型(其他收入单、其他支出单) |
Int32 |
CreatedByName |
创建人 |
String |
CheckedByName |
审核人 |
String |
Amount |
收入总额 |
Decimal |
Tax |
税额 |
Decimal |
TaxRate |
税率 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AmountFirst |
首次收款 |
Decimal |
OfdAmount |
已收款 |
Decimal |
OfuAmount |
未收款 |
Decimal |
AcId |
单账户收款时账户ID |
Int32 |
AcName |
单账户收款时账户名称 |
String |
MultipleAccounts |
多账户 |
String |
RpStatus |
收付款状态 |
BillStatus |
Checked |
是否审核 |
Boolean |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
SettlePeriodDateFmt |
结算期限日期 |
DateTime |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
SettlePeriodDate |
结算日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
搜索其它支出单列表 SearchDetails
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SearchDetails
请求头
请求参数
condition |
|
OtherRpCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0 2 |
Int32[] |
VcIds |
供应商ID或者客户ID |
Int32[] |
DateRange |
|
DateRange |
OrpStatus |
付款状态,0:所有,1010:未付款,1020:部分付款,1030:全部付款 |
array[object] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
ShareStatus |
费用是否分摊,-1:所有,0:未分摊,1:已分摊 |
Nullable`1 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
AcIds |
账户,99999999表示多账户 |
Int32[] |
Type |
收入类型 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"VcIds": [],
"DateRange": 0,
"OrpStatus": null,
"InvoiceStatus": null,
"ShareStatus": null,
"AccountingItemId": null,
"DepartmentId": null,
"ExportDetails": false,
"AcIds": null,
"Type": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
AsId |
Int32 |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
VcId |
客户/供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
收款人/付款人 |
Int32 |
DiscAmount |
优惠金额 |
Decimal |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型(其他收入单、其他支出单) |
Int32 |
CreatedByName |
创建人 |
String |
CheckedByName |
审核人 |
String |
Amount |
收入总额 |
Decimal |
Tax |
|
Decimal |
TaxRate |
税额 |
Decimal |
AccInvoices |
|
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AmountFirst |
首次收款 |
Decimal |
OfdAmount |
已收款 |
Decimal |
OfuAmount |
未收款 |
Decimal |
AcId |
单账户收款时账户ID |
Int32 |
AcName |
单账户收款时账户名称 |
String |
MultipleAccounts |
多账户付款 |
String |
RpStatus |
收付款状态 |
BillStatus |
Checked |
是否审核 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SourceBillType |
产生费用的单据类型 |
BillType |
SourceBillId |
产生费用的单据ID |
Int32 |
SourceBillNo |
产生费用的单据编码 |
String |
ShareExpense |
是否分摊 |
Int32 |
ShareStatus |
是否分摊 |
String |
VendId |
|
Int32 |
VendName |
|
String |
VendNo |
|
String |
ExpenseTypeName |
费用类型名称 |
String |
ExpenseType |
费用类型 |
Int32 |
PayeeTypeName |
收款人类型名称 |
String |
PayeeType |
收款人类型 |
Int32 |
CustomerNo |
客户编号 |
String |
CustomerName |
客户名称 |
String |
PayeeName |
往来单位名称 |
String |
PayeeId |
往来单位Id |
Nullable`1 |
PayeeNo |
往来单位编码 |
String |
PrintCount |
打印次数 |
Nullable`1 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
OrpeID |
子条目ID |
Int32 |
OrpeType |
收入类型 |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
SettlePeriodDateFmt |
结算期限日期 |
DateTime |
SettlePeriodDate |
结算日期 |
String |
OrpeTypeName |
收入类型名称 |
String |
OrpeAmount |
子条目金额 |
Decimal |
OrpeTaxRate |
子条目税率 |
Decimal |
OrpeTax |
子条目税额 |
Decimal |
OrpeAmountTax |
子条目价税合计 |
Decimal |
OrpeCustBearAmount |
子条目客户承担金额 |
Decimal |
ItemNote |
子条目备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOriginDesc |
单据来源 |
String |
SourceBillList |
|
array[object] |
SourceBillType |
产生费用的单据类型 |
BillType |
SourceBillId |
产生费用的单据ID |
Int32 |
SourceBillNo |
产生费用的单据编码 |
String |
SumModel |
合计行 |
OtherPaymentDetailListModel |
AsId |
AsId |
Int32 |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
VcId |
客户/供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
收款人/付款人 |
Int32 |
DiscAmount |
优惠金额 |
Decimal |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型(其他收入单、其他支出单) |
Int32 |
CreatedByName |
创建人 |
String |
CheckedByName |
审核人 |
String |
Amount |
收入总额 |
Decimal |
Tax |
|
Decimal |
TaxRate |
税额 |
Decimal |
AccInvoices |
|
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AmountFirst |
首次收款 |
Decimal |
OfdAmount |
已收款 |
Decimal |
OfuAmount |
未收款 |
Decimal |
AcId |
单账户收款时账户ID |
Int32 |
AcName |
单账户收款时账户名称 |
String |
MultipleAccounts |
多账户付款 |
String |
RpStatus |
收付款状态 |
BillStatus |
Checked |
是否审核 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SourceBillType |
产生费用的单据类型 |
BillType |
SourceBillId |
产生费用的单据ID |
Int32 |
SourceBillNo |
产生费用的单据编码 |
String |
ShareExpense |
是否分摊 |
Int32 |
ShareStatus |
是否分摊 |
String |
VendId |
|
Int32 |
VendName |
|
String |
VendNo |
|
String |
ExpenseTypeName |
费用类型名称 |
String |
ExpenseType |
费用类型 |
Int32 |
PayeeTypeName |
收款人类型名称 |
String |
PayeeType |
收款人类型 |
Int32 |
CustomerNo |
客户编号 |
String |
CustomerName |
客户名称 |
String |
PayeeName |
往来单位名称 |
String |
PayeeId |
往来单位Id |
Nullable`1 |
PayeeNo |
往来单位编码 |
String |
PrintCount |
打印次数 |
Nullable`1 |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
OrpeID |
子条目ID |
Int32 |
OrpeType |
收入类型 |
Int32 |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
SettlePeriodDateFmt |
结算期限日期 |
DateTime |
SettlePeriodDate |
结算日期 |
String |
OrpeTypeName |
收入类型名称 |
String |
OrpeAmount |
子条目金额 |
Decimal |
OrpeTaxRate |
子条目税率 |
Decimal |
OrpeTax |
子条目税额 |
Decimal |
OrpeAmountTax |
子条目价税合计 |
Decimal |
OrpeCustBearAmount |
子条目客户承担金额 |
Decimal |
ItemNote |
子条目备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOriginDesc |
单据来源 |
String |
SourceBillList |
|
array[object] |
SourceBillType |
产生费用的单据类型 |
BillType |
SourceBillId |
产生费用的单据ID |
Int32 |
SourceBillNo |
产生费用的单据编码 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
其它支出单列表-导出其它支出单数据
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/Export
请求头
请求参数
conditions |
过滤条件 |
OtherRpCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0 2 |
Int32[] |
VcIds |
供应商ID或者客户ID |
Int32[] |
DateRange |
|
DateRange |
OrpStatus |
付款状态,0:所有,1010:未付款,1020:部分付款,1030:全部付款 |
array[object] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
ShareStatus |
费用是否分摊,-1:所有,0:未分摊,1:已分摊 |
Nullable`1 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
AcIds |
账户,99999999表示多账户 |
Int32[] |
Type |
收入类型 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"VcIds": [],
"DateRange": 0,
"OrpStatus": null,
"InvoiceStatus": null,
"ShareStatus": null,
"AccountingItemId": null,
"DepartmentId": null,
"ExportDetails": false,
"AcIds": null,
"Type": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其它支出单列表-下载其它支出单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其它支出单列表-下载导入其它支出单失败后的错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/DownloadErrorData
请求头
请求参数
guId |
错误数据标识 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其它支出单列表-导入其它支出单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
其它支出单列表-打印其它支出单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其它支出单列表-打印其它支出单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其它支出单列表-下载导入其它支出单失败后的错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/downErrorData
请求头
请求参数
guId |
错误数据标识 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
关联单据
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/RelateBill
请求头
请求参数
arrayModel |
其它支出单id集合和要关联的单据ID和类型 |
ArrayRelationModel |
items |
|
array[object] |
InvoiceAmount |
开票金额 |
Decimal |
InvoiceNos |
登记的发票号码 |
String |
PrintCount |
打印次数 |
Int32 |
OfdAmount |
已核销金额 |
Decimal |
AsId |
|
Int32 |
Date |
|
DateTime |
DateFmt |
|
String |
VendId |
|
Int32 |
Id |
|
Int32 |
No |
|
String |
Operator |
|
Int32 |
Amount |
|
Decimal |
Tax |
|
Decimal |
AmountTax |
|
Decimal |
DiscAmount |
|
Decimal |
AmountFirst |
|
Decimal |
CustPayment |
|
Decimal |
AcId |
|
Int32 |
Note |
|
String |
IsChecked |
|
Int32 |
Checked |
|
Boolean |
ShareExpense |
|
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
ModifiedDate |
|
DateTime |
CheckedBy |
|
Int32 |
CheckedDate |
|
DateTime |
Items |
|
array[object] |
AsId |
|
Int32 |
OrpType |
|
Int32 |
PayDate |
|
DateTime |
VendId |
|
Int32 |
OrpId |
|
Int32 |
OrpNo |
|
String |
Id |
|
Int32 |
Type |
|
Int32 |
AcId |
|
Int32 |
Amount |
|
Decimal |
Note |
|
String |
ExpId |
|
Int32 |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列1 |
String |
StrValue3 |
自定义列1 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Item |
|
array[object] |
Id |
费用条目ID |
Int32 |
BillId |
源单据ID |
Int32 |
BillType |
源单据类别 |
BillType |
VendId |
供应商ID |
Int32 |
ExpType |
费用类别ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
UnpayedAmount |
未付金额 |
Decimal |
BillNo |
源单据编号 |
String |
UnitId |
源单据往来单位 |
Int32 |
ORPNo |
其他支出单编号 |
String |
ORPId |
其他支出单Id |
String |
BillDate |
源单日期 |
DateTime |
BillDateFmt |
|
String |
PayedStatus |
付款状态 |
Int32 |
ExpSum |
采购入库单采购费用合计 |
Decimal |
VendName |
供应商名称 |
String |
ExpenseType |
费用名称 |
String |
Unit |
往来单位名称 |
String |
OrpType |
|
Int32 |
index |
|
Int32 |
ExpenseType |
|
Int32 |
PayeeType |
|
Int32 |
PayeeId |
|
Int32 |
CustId |
|
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentName |
辅助核算部门名称 |
String |
PayeeTypeName |
收款人类型 |
String |
ExpenseTypeName |
费用类型 |
String |
CustomerName |
客户 |
String |
BillOrigin |
|
BillOriginEnum |
BillItems |
|
array[object] |
RelationId |
关联的采购入库单ID |
Int32 |
RelationNo |
关联的单据编号 |
String |
Btype |
单据类型 |
BillType |
ExpItems |
|
array[object] |
Id |
费用条目ID |
Int32 |
BillId |
源单据ID |
Int32 |
BillNo |
源单据编号 |
String |
BillType |
源单据类别 |
BillType |
VendId |
供应商ID |
Int32 |
ExpType |
费用类别ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额,客户承担费用时为总的价税合计 |
Decimal |
ExpPid |
父级id |
Int32 |
BillDate |
源单日期 |
DateTime |
PayedStatus |
付款状态 |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
IsCustPayment |
是否客户承担费用 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
ShareRule |
关联和分摊方式(金额,数量) |
ShareRule |
IsRelate |
是否关联 |
Boolean |
IsCustPayment |
是否客户承担费用 |
Boolean |
RelationId |
关联的采购入库单ID |
Int32 |
RelationNo |
关联的单据编号 |
String |
Btype |
|
BillType |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"items": null,
"BillItems": [],
"ExpItems": [],
"ShareRule": 0,
"IsRelate": true,
"IsCustPayment": false,
"RelationId": 0,
"RelationNo": null,
"Btype": 0,
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
兼容旧版本
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/CompatibleToOld
请求头
请求参数
model |
|
ArrayRelationModel |
items |
|
array[object] |
InvoiceAmount |
开票金额 |
Decimal |
InvoiceNos |
登记的发票号码 |
String |
PrintCount |
打印次数 |
Int32 |
OfdAmount |
已核销金额 |
Decimal |
AsId |
|
Int32 |
Date |
|
DateTime |
DateFmt |
|
String |
VendId |
|
Int32 |
Id |
|
Int32 |
No |
|
String |
Operator |
|
Int32 |
Amount |
|
Decimal |
Tax |
|
Decimal |
AmountTax |
|
Decimal |
DiscAmount |
|
Decimal |
AmountFirst |
|
Decimal |
CustPayment |
|
Decimal |
AcId |
|
Int32 |
Note |
|
String |
IsChecked |
|
Int32 |
Checked |
|
Boolean |
ShareExpense |
|
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
ModifiedDate |
|
DateTime |
CheckedBy |
|
Int32 |
CheckedDate |
|
DateTime |
Items |
|
array[object] |
AsId |
|
Int32 |
OrpType |
|
Int32 |
PayDate |
|
DateTime |
VendId |
|
Int32 |
OrpId |
|
Int32 |
OrpNo |
|
String |
Id |
|
Int32 |
Type |
|
Int32 |
AcId |
|
Int32 |
Amount |
|
Decimal |
Note |
|
String |
ExpId |
|
Int32 |
StrValue1 |
自定义列1 |
String |
StrValue2 |
自定义列1 |
String |
StrValue3 |
自定义列1 |
String |
StrValue4 |
自定义列四 |
String |
StrValue5 |
自定义列五 |
String |
StrValue6 |
自定义列六 |
String |
StrValue7 |
自定义列七 |
String |
StrValue8 |
自定义列八 |
String |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
Item |
|
array[object] |
Id |
费用条目ID |
Int32 |
BillId |
源单据ID |
Int32 |
BillType |
源单据类别 |
BillType |
VendId |
供应商ID |
Int32 |
ExpType |
费用类别ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
UnpayedAmount |
未付金额 |
Decimal |
BillNo |
源单据编号 |
String |
UnitId |
源单据往来单位 |
Int32 |
ORPNo |
其他支出单编号 |
String |
ORPId |
其他支出单Id |
String |
BillDate |
源单日期 |
DateTime |
BillDateFmt |
|
String |
PayedStatus |
付款状态 |
Int32 |
ExpSum |
采购入库单采购费用合计 |
Decimal |
VendName |
供应商名称 |
String |
ExpenseType |
费用名称 |
String |
Unit |
往来单位名称 |
String |
OrpType |
|
Int32 |
index |
|
Int32 |
ExpenseType |
|
Int32 |
PayeeType |
|
Int32 |
PayeeId |
|
Int32 |
CustId |
|
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentName |
辅助核算部门名称 |
String |
PayeeTypeName |
收款人类型 |
String |
ExpenseTypeName |
费用类型 |
String |
CustomerName |
客户 |
String |
BillOrigin |
|
BillOriginEnum |
BillItems |
|
array[object] |
RelationId |
关联的采购入库单ID |
Int32 |
RelationNo |
关联的单据编号 |
String |
Btype |
单据类型 |
BillType |
ExpItems |
|
array[object] |
Id |
费用条目ID |
Int32 |
BillId |
源单据ID |
Int32 |
BillNo |
源单据编号 |
String |
BillType |
源单据类别 |
BillType |
VendId |
供应商ID |
Int32 |
ExpType |
费用类别ID |
Int32 |
Amount |
金额 |
Decimal |
Note |
备注 |
String |
ShareRule |
分摊规则 |
ShareRule |
PayeeType |
收款人类型 |
ContactType |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
PayeeId |
往来单位Id |
Int32 |
SumAmount |
分配的总金额,客户承担费用时为总的价税合计 |
Decimal |
ExpPid |
父级id |
Int32 |
BillDate |
源单日期 |
DateTime |
PayedStatus |
付款状态 |
Int32 |
SumCustAmount |
分配的客户承担总金额 |
Decimal |
IsCustPayment |
是否客户承担费用 |
Boolean |
OrpeId |
其他支出单子表Id |
Int32 |
ShareRule |
关联和分摊方式(金额,数量) |
ShareRule |
IsRelate |
是否关联 |
Boolean |
IsCustPayment |
是否客户承担费用 |
Boolean |
RelationId |
关联的采购入库单ID |
Int32 |
RelationNo |
关联的单据编号 |
String |
Btype |
|
BillType |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"items": null,
"BillItems": [],
"ExpItems": [],
"ShareRule": 0,
"IsRelate": true,
"IsCustPayment": false,
"RelationId": 0,
"RelationNo": null,
"Btype": 0,
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
取消关联
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/UnRelateBill
请求头
请求参数
arrayModel |
其它支出单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获得未结账的单据
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SearchSourceBills
请求头
请求参数
para |
|
SearchBillsPara |
BillType |
单据类型(采购入库单、采购退货单、销售出库单、销售退货单) |
Int32 |
StartDate |
开始时间 |
DateTime |
EndDate |
结束时间 |
DateTime |
Vcid |
客户供应商Id |
Int32 |
BillNo |
单据编码 |
String |
Keyword |
关键字 |
String |
请求示例
{
"BillType": 0,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Vcid": 0,
"BillNo": null,
"Keyword": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
BType |
单据类型 |
Int32 |
Id |
单据ID |
Int32 |
Date |
单据日期 |
DateTime |
DateFmt |
单据日期 |
String |
No |
单据编码 |
String |
VcId |
客户、供应商 |
Int32 |
VcName |
客户、供应商 |
String |
Qty |
单据数量 |
Decimal |
Amount |
单据金额 |
Decimal |
CustPayment |
客户承担费 |
Decimal |
InvoiceNo |
单据编号 |
String |
RelatedToOrp |
是否关联, 1:关联,0:不关联 |
Int32 |
ShareExpense |
是否分摊,1:分摊,0:不分摊 |
Int32 |
Orps |
|
array[object] |
Type |
类型 |
BillType |
Id |
Id |
Int32 |
No |
编码 |
String |
ShareExpense |
是否分摊成本 |
Int32 |
返回示例
""
搜索发票信息(用于向单据登记发票)
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SearchInvoices
请求头
请求参数
para |
|
RpSearchInvoicesPara |
AmountSign |
金额为正:1;金额为负:-1 |
Int32 |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
InvoiceType |
发票类型 |
InvoiceType |
VcId |
客户、供应商ID,职员 |
Int32 |
PayeeType |
收款人类型 |
ContactType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AmountSign": 0,
"SearchText": "",
"Start": null,
"End": null,
"InvoiceType": 0,
"VcId": 0,
"PayeeType": 0,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
SumModel |
合计行 |
InvoiceEnrollListModel |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/Enroll
请求头
请求参数
para |
|
EnrollPara |
BillType |
源单类型 |
BillType |
Ids |
单据ID(EntryIds非空时该条目无效) |
Int32[] |
EntryIds |
子条目ID |
Int32[] |
Invoices |
登记的发票ID |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
IsBillId |
true:根据整单关联,false:根据子条目关联 |
Boolean |
请求示例
{
"BillType": 0,
"Ids": null,
"EntryIds": null,
"Invoices": null,
"IsBillId": true
}
返回值
返回示例
""
取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/UnEnroll
请求头
请求参数
para |
|
UnEnrollPara |
BillType |
源单类型 |
BillType |
Id |
单据ID |
Int32 |
EntityId |
子单据Id |
Nullable`1 |
InvoiceIds |
发票ID |
array[object] |
EntryIds |
子条目ID |
Int32[] |
请求示例
{
"BillType": 0,
"Id": 0,
"EntityId": null,
"InvoiceIds": null,
"EntryIds": null
}
返回值
返回示例
""
批量取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/UnEnrollBatch
请求头
请求参数
请求示例
返回值
返回示例
""
根据单据ID查询关联的发票ID
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SearchInvoiceIds
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID查询发票信息
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SearchInvoiceMaps
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
返回示例
""
搜索日记账
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SearchJournal
请求头
请求参数
condition |
|
JournalSearchCondition |
VcId |
往来单位 |
Int32 |
ContactType |
往来单位类型 |
ContactType |
BillType |
单据类型 |
BillType |
SearchText |
关键字 |
String |
AmountSign |
正数:1,负数:-1 |
Int32 |
Start |
开始时间 |
String |
End |
结束时间 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VcId": 0,
"ContactType": 0,
"BillType": 0,
"SearchText": "",
"AmountSign": 0,
"Start": null,
"End": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
SumModel |
合计行 |
ScmJournalModel |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
核销
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/Offset
请求头
请求参数
model |
|
JofEditModel |
OfMode |
核销模式,1010:手动核销,1020:自动核销 |
Int32 |
Items |
日记账核销条目 |
array[object] |
Id |
日记账ID |
Int32 |
BillNo |
日记账编码 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BType |
日记账类型 |
BillType |
BillAmount |
日记账总金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
BillOFUAmount |
日记未核销金额 |
Decimal |
VcId |
客户、供应商 |
Int32 |
AcId |
账号ID |
Int32 |
LineSn |
日记账Sn |
Int32 |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"OfMode": 0,
"Items": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
手动核销
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/ManualOffset
请求头
请求参数
model |
|
ManualJofEditModel |
Journal |
日记账核销条目 |
JournalEditModel |
VcId |
客户/供应商ID |
Int32 |
BillDate |
日记账日期 |
DateTime |
AcId |
付款账户 |
Int32 |
RpType |
收支类别 |
Int32 |
PaymentMethod |
结算方式 |
Int32 |
Note |
摘要 |
String |
OfAmount |
交易金额 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"Journal": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
取消核销
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/CancelOffset
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
根据单据ID查询核销记录ID
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SearchJofIds
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID核销记录信息
请求地址
POST $SCMAPI_HOST/jxc_api/OtherPaymentList/SearchJofInfo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
OfDate |
核销日期 |
String |
OfId |
核销记录ID |
Int32 |
OfNo |
核销记录编码 |
String |
OfAmount |
核销金额 |
Decimal |
BType |
日记账类型 |
BillType |
BillDate |
日记账日期 |
DateTime |
BillDateFmt |
日记账日期 |
String |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillNo |
交易流水号 |
String |
Note |
摘要 |
String |
BillAmount |
支出/收入 |
Decimal |
RpTypeName |
收支类别名称 |
String |
返回示例
""
OtherReceipt
其他收入单的添加,更新,审核等
根据ID获得其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/InitData
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
OtherReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodType |
|
Int32 |
SettlePeriodValue |
|
Int32 |
SettlePeriodName |
|
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
收款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目 |
Int32 |
Type |
收入类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
收入类别名称 |
String |
ForcePassCredit |
是否强制通过客户信用管理 |
Boolean |
返回示例
""
新增其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/Add
请求头
请求参数
model |
其他收入单信息 |
OtherReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodType |
|
Int32 |
SettlePeriodValue |
|
Int32 |
SettlePeriodName |
|
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
收款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目 |
Int32 |
Type |
收入类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
收入类别名称 |
String |
ForcePassCredit |
是否强制通过客户信用管理 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"CustId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"Amount": 0.0,
"DiscAmount": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"OrpType": 0,
"CustName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"AcName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"SettlePeriodId": 0,
"AutoGenerate": false,
"SettlePeriodDate": "0001-01-01T00:00:00",
"SettlePeriodType": 0,
"SettlePeriodValue": 0,
"SettlePeriodName": null,
"Tax": 0.0,
"AmountTax": 0.0,
"BillOrigin": 0,
"PayInfoItems": null,
"Items": null,
"ForcePassCredit": false
}
返回值
返回示例
""
兼容旧版本
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/CompatibleToOld
请求头
请求参数
model |
|
OtherReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodType |
|
Int32 |
SettlePeriodValue |
|
Int32 |
SettlePeriodName |
|
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
收款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目 |
Int32 |
Type |
收入类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
收入类别名称 |
String |
ForcePassCredit |
是否强制通过客户信用管理 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"CustId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"Amount": 0.0,
"DiscAmount": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"OrpType": 0,
"CustName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"AcName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"SettlePeriodId": 0,
"AutoGenerate": false,
"SettlePeriodDate": "0001-01-01T00:00:00",
"SettlePeriodType": 0,
"SettlePeriodValue": 0,
"SettlePeriodName": null,
"Tax": 0.0,
"AmountTax": 0.0,
"BillOrigin": 0,
"PayInfoItems": null,
"Items": null,
"ForcePassCredit": false
}
返回值
返回示例
""
修改其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/Update
请求头
请求参数
model |
其它收入单信息 |
OtherReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodType |
|
Int32 |
SettlePeriodValue |
|
Int32 |
SettlePeriodName |
|
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
收款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目 |
Int32 |
Type |
收入类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
收入类别名称 |
String |
ForcePassCredit |
是否强制通过客户信用管理 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"CustId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"Amount": 0.0,
"DiscAmount": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"OrpType": 0,
"CustName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"AcName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"SettlePeriodId": 0,
"AutoGenerate": false,
"SettlePeriodDate": "0001-01-01T00:00:00",
"SettlePeriodType": 0,
"SettlePeriodValue": 0,
"SettlePeriodName": null,
"Tax": 0.0,
"AmountTax": 0.0,
"BillOrigin": 0,
"PayInfoItems": null,
"Items": null,
"ForcePassCredit": false
}
返回值
返回示例
""
审核其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/Check
请求头
请求参数
model |
其他收入单信息 |
OtherReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
Amount |
金额 |
Decimal |
DiscAmount |
整单折扣 |
Decimal |
AmountFirst |
首次付款 |
Decimal |
AcId |
账户ID |
Int32 |
PrintCount |
打印次数 |
Int32 |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型 |
Int32 |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
AcName |
账户名称 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
SettlePeriodDate |
结算期限日期 |
DateTime |
SettlePeriodType |
|
Int32 |
SettlePeriodValue |
|
Int32 |
SettlePeriodName |
|
String |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
BillOrigin |
单据来源 |
BillOriginEnum |
PayInfoItems |
单据包含的多账户结算信息 |
array[object] |
Id |
结算信息条目ID |
Int32 |
AcId |
结算账户ID |
Int32 |
AcName |
结算账户名称 |
String |
Amount |
金额 |
Decimal |
PayMethod |
结算方式ID |
Int32 |
PayMethodName |
结算方式名称 |
String |
RefNo |
结算号 |
String |
Items |
收款子条目信息 |
array[object] |
AsId |
账套ID |
Int32 |
OrpType |
单据类型 |
Int32 |
OrpDate |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
OrpId |
单据ID |
Int32 |
OrpNo |
单据编号 |
String |
Id |
子条目 |
Int32 |
Type |
收入类型 |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
金额 |
Decimal |
TaxRate |
税率 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
Note |
备注 |
String |
ExpId |
费用ID |
Int32 |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
TypeName |
收入类别名称 |
String |
ForcePassCredit |
是否强制通过客户信用管理 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"CustId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"Amount": 0.0,
"DiscAmount": 0.0,
"AmountFirst": 0.0,
"AcId": 0,
"PrintCount": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"OrpType": 0,
"CustName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"AcName": null,
"AccountingItemId": 0,
"AccountingItemName": null,
"DepartmentId": 0,
"DepartmentName": null,
"SettlePeriodId": 0,
"AutoGenerate": false,
"SettlePeriodDate": "0001-01-01T00:00:00",
"SettlePeriodType": 0,
"SettlePeriodValue": 0,
"SettlePeriodName": null,
"Tax": 0.0,
"AmountTax": 0.0,
"BillOrigin": 0,
"PayInfoItems": null,
"Items": null,
"ForcePassCredit": false
}
返回值
返回示例
""
反审核其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/Uncheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
下一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
上一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceipt/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
OtherReceiptList
其他收入单列表,其他收入单批量审核,删除,导入,导出,打印等
删除其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/Delete
请求头
请求参数
arrayModel |
其它收入单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
审核其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/CheckList
请求头
请求参数
arrayModel |
其它收入单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
反审核其它收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/UncheckList
请求头
请求参数
arrayModel |
其它收入单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
搜索其他收入单列表
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/Search
请求头
请求参数
condition |
|
OtherRpCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0 2 |
Int32[] |
VcIds |
供应商ID或者客户ID |
Int32[] |
DateRange |
|
DateRange |
OrpStatus |
付款状态,0:所有,1010:未付款,1020:部分付款,1030:全部付款 |
array[object] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
ShareStatus |
费用是否分摊,-1:所有,0:未分摊,1:已分摊 |
Nullable`1 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
AcIds |
账户,99999999表示多账户 |
Int32[] |
Type |
收入类型 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"VcIds": [],
"DateRange": 0,
"OrpStatus": null,
"InvoiceStatus": null,
"ShareStatus": null,
"AccountingItemId": null,
"DepartmentId": null,
"ExportDetails": false,
"AcIds": null,
"Type": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
CustNo |
客户编码 |
String |
PrintCount |
打印次数 |
Int32 |
RpStatusStr |
|
String |
AsId |
AsId |
Int32 |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
VcId |
客户/供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
收款人/付款人 |
Int32 |
DiscAmount |
优惠金额 |
Decimal |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型(其他收入单、其他支出单) |
Int32 |
CreatedByName |
创建人 |
String |
CheckedByName |
审核人 |
String |
Amount |
收入总额 |
Decimal |
Tax |
税额 |
Decimal |
TaxRate |
税率 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AmountFirst |
首次收款 |
Decimal |
OfdAmount |
已收款 |
Decimal |
OfuAmount |
未收款 |
Decimal |
AcId |
单账户收款时账户ID |
Int32 |
AcName |
单账户收款时账户名称 |
String |
MultipleAccounts |
多账户 |
String |
RpStatus |
收付款状态 |
BillStatus |
Checked |
是否审核 |
Boolean |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
SettlePeriodDateFmt |
结算期限日期 |
DateTime |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
SettlePeriodDate |
结算日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
SumModel |
合计行 |
OtherReceiptListModel |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
CustNo |
客户编码 |
String |
PrintCount |
打印次数 |
Int32 |
RpStatusStr |
|
String |
AsId |
AsId |
Int32 |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
VcId |
客户/供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
收款人/付款人 |
Int32 |
DiscAmount |
优惠金额 |
Decimal |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型(其他收入单、其他支出单) |
Int32 |
CreatedByName |
创建人 |
String |
CheckedByName |
审核人 |
String |
Amount |
收入总额 |
Decimal |
Tax |
税额 |
Decimal |
TaxRate |
税率 |
Decimal |
AmountTax |
价税合计 |
Decimal |
CustPayment |
客户承担金额 |
Decimal |
AmountFirst |
首次收款 |
Decimal |
OfdAmount |
已收款 |
Decimal |
OfuAmount |
未收款 |
Decimal |
AcId |
单账户收款时账户ID |
Int32 |
AcName |
单账户收款时账户名称 |
String |
MultipleAccounts |
多账户 |
String |
RpStatus |
收付款状态 |
BillStatus |
Checked |
是否审核 |
Boolean |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
SettlePeriodId |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
SettlePeriodDateFmt |
结算期限日期 |
DateTime |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
SettlePeriodDate |
结算日期 |
String |
AccInvoices |
关联的发票 |
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
搜索其他收入单列表 SearchDetails
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/SearchDetails
请求头
请求参数
condition |
|
OtherRpCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0 2 |
Int32[] |
VcIds |
供应商ID或者客户ID |
Int32[] |
DateRange |
|
DateRange |
OrpStatus |
付款状态,0:所有,1010:未付款,1020:部分付款,1030:全部付款 |
array[object] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
ShareStatus |
费用是否分摊,-1:所有,0:未分摊,1:已分摊 |
Nullable`1 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
AcIds |
账户,99999999表示多账户 |
Int32[] |
Type |
收入类型 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"VcIds": [],
"DateRange": 0,
"OrpStatus": null,
"InvoiceStatus": null,
"ShareStatus": null,
"AccountingItemId": null,
"DepartmentId": null,
"ExportDetails": false,
"AcIds": null,
"Type": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
AsId |
Int32 |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
VcId |
客户/供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
收款人/付款人 |
Int32 |
DiscAmount |
优惠金额 |
Decimal |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型(其他收入单、其他支出单) |
Int32 |
CreatedByName |
创建人 |
String |
CheckedByName |
审核人 |
String |
Amount |
收入总额 |
Decimal |
Tax |
|
Decimal |
AmountTax |
价税合计 |
Decimal |
AmountFirst |
首次收款 |
Decimal |
OfdAmount |
已收款 |
Decimal |
OfuAmount |
未收款 |
Decimal |
AcId |
单账户收款时账户ID |
Int32 |
AcName |
单账户收款时账户名称 |
String |
MultipleAccounts |
多账户收款 |
String |
RpStatus |
收付款状态 |
BillStatus |
Checked |
是否审核 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
CustNo |
客户编码 |
String |
SettlePeriodId |
|
Int32 |
SettlePeriodName |
|
String |
SettlePeriodDate |
|
String |
SettlePeriodDateTime |
|
DateTime |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
AccInvoices |
|
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
PrintCount |
打印次数 |
Nullable`1 |
OrpeID |
子条目ID |
Int32 |
OrpeType |
收入类型 |
Int32 |
OrpeTypeName |
收入类型名称 |
String |
OrpeAmount |
子条目金额 |
Decimal |
OrpeTaxRate |
子条目税率 |
Decimal |
OrpeTax |
子条目税额 |
Decimal |
OrpeAmountTax |
子条目价税合计 |
Decimal |
ItemNote |
子条目备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOriginDesc |
单据来源 |
String |
SumModel |
合计行 |
OtherReceiptDetailListModel |
AsId |
AsId |
Int32 |
Date |
单据日期 |
String |
DateFmt |
单据日期 |
String |
VcId |
客户/供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
收款人/付款人 |
Int32 |
DiscAmount |
优惠金额 |
Decimal |
Note |
备注 |
String |
IsChecked |
是否审核 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
OrpType |
单据类型(其他收入单、其他支出单) |
Int32 |
CreatedByName |
创建人 |
String |
CheckedByName |
审核人 |
String |
Amount |
收入总额 |
Decimal |
Tax |
|
Decimal |
AmountTax |
价税合计 |
Decimal |
AmountFirst |
首次收款 |
Decimal |
OfdAmount |
已收款 |
Decimal |
OfuAmount |
未收款 |
Decimal |
AcId |
单账户收款时账户ID |
Int32 |
AcName |
单账户收款时账户名称 |
String |
MultipleAccounts |
多账户收款 |
String |
RpStatus |
收付款状态 |
BillStatus |
Checked |
是否审核 |
Boolean |
AccountingItemId |
辅助核算项目ID |
Int32 |
AccountingItemName |
辅助核算项目名称 |
String |
DepartmentId |
辅助核算部门ID |
Int32 |
DepartmentName |
辅助核算部门名称 |
String |
CustId |
客户ID |
Int32 |
CustName |
客户名称 |
String |
CustNo |
客户编码 |
String |
SettlePeriodId |
|
Int32 |
SettlePeriodName |
|
String |
SettlePeriodDate |
|
String |
SettlePeriodDateTime |
|
DateTime |
InvoiceAmount |
开票金额 |
Decimal |
NoInvoiceAmount |
未开票金额 |
Decimal |
AccInvoices |
|
array[object] |
InvoiceType |
发票类型 |
InvoiceType |
InvoiceTypeName |
发票类型 |
String |
InvoiceDate |
发票日期 |
DateTime |
InvoiceNo |
发票号 |
String |
InvoiceAmount |
开票金额 |
Decimal |
InvoiceStatus |
开票状态 |
BillStatus |
InvoiceNos |
登记的发票号码 |
String |
PrintCount |
打印次数 |
Nullable`1 |
OrpeID |
子条目ID |
Int32 |
OrpeType |
收入类型 |
Int32 |
OrpeTypeName |
收入类型名称 |
String |
OrpeAmount |
子条目金额 |
Decimal |
OrpeTaxRate |
子条目税率 |
Decimal |
OrpeTax |
子条目税额 |
Decimal |
OrpeAmountTax |
子条目价税合计 |
Decimal |
ItemNote |
子条目备注 |
String |
StrValue1 |
自定义字段一 |
String |
StrValue2 |
自定义字段二 |
String |
StrValue3 |
自定义字段三 |
String |
StrValue4 |
自定义字段四 |
String |
StrValue5 |
自定义字段五 |
String |
StrValue6 |
自定义字段六 |
String |
StrValue7 |
自定义字段七 |
String |
StrValue8 |
自定义字段八 |
String |
BillOriginDesc |
单据来源 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
其他收入单列表-导出其他收入单数据
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/Export
请求头
请求参数
conditions |
过滤条件 |
OtherRpCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0 2 |
Int32[] |
VcIds |
供应商ID或者客户ID |
Int32[] |
DateRange |
|
DateRange |
OrpStatus |
付款状态,0:所有,1010:未付款,1020:部分付款,1030:全部付款 |
array[object] |
InvoiceStatus |
开票金额(1010:未开票,1020:部分开票,1030:全部开票) |
Int32[] |
ShareStatus |
费用是否分摊,-1:所有,0:未分摊,1:已分摊 |
Nullable`1 |
AccountingItemId |
辅助核算项目ID |
Int32[] |
DepartmentId |
辅助核算部门ID |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
AcIds |
账户,99999999表示多账户 |
Int32[] |
Type |
收入类型 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"VcIds": [],
"DateRange": 0,
"OrpStatus": null,
"InvoiceStatus": null,
"ShareStatus": null,
"AccountingItemId": null,
"DepartmentId": null,
"ExportDetails": false,
"AcIds": null,
"Type": null,
"CreatedBy": null,
"CheckedBy": null,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其他收入单列表-下载其他收入单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其他收入单列表-下载导入其他收入单失败后的错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/DownloadErrorData
请求头
请求参数
guId |
错误数据标识 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其他收入单列表-导入其他收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
其他收入单列表-打印其他收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其他收入单列表-打印其他收入单
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
其他收入单列表-下载导入其他收入单失败后的错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/downErrorData
请求头
请求参数
guId |
错误数据标识 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
搜索发票信息(用于向单据登记发票)
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/SearchInvoices
请求头
请求参数
para |
|
RpSearchInvoicesPara |
AmountSign |
金额为正:1;金额为负:-1 |
Int32 |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
InvoiceType |
发票类型 |
InvoiceType |
VcId |
客户、供应商ID,职员 |
Int32 |
PayeeType |
收款人类型 |
ContactType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AmountSign": 0,
"SearchText": "",
"Start": null,
"End": null,
"InvoiceType": 0,
"VcId": 0,
"PayeeType": 0,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
SumModel |
合计行 |
InvoiceEnrollListModel |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/Enroll
请求头
请求参数
para |
|
EnrollPara |
BillType |
源单类型 |
BillType |
Ids |
单据ID(EntryIds非空时该条目无效) |
Int32[] |
EntryIds |
子条目ID |
Int32[] |
Invoices |
登记的发票ID |
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
IsBillId |
true:根据整单关联,false:根据子条目关联 |
Boolean |
请求示例
{
"BillType": 0,
"Ids": null,
"EntryIds": null,
"Invoices": null,
"IsBillId": true
}
返回值
返回示例
""
取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/UnEnroll
请求头
请求参数
para |
|
UnEnrollPara |
BillType |
源单类型 |
BillType |
Id |
单据ID |
Int32 |
EntityId |
子单据Id |
Nullable`1 |
InvoiceIds |
发票ID |
array[object] |
EntryIds |
子条目ID |
Int32[] |
请求示例
{
"BillType": 0,
"Id": 0,
"EntityId": null,
"InvoiceIds": null,
"EntryIds": null
}
返回值
返回示例
""
批量取消登记发票
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/UnEnrollBatch
请求头
请求参数
请求示例
返回值
返回示例
""
根据单据ID查询关联的发票ID
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/SearchInvoiceIds
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID查询发票信息
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/SearchInvoiceMaps
请求头
请求参数
billId |
|
Int32 |
entryId |
|
String |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
发票ID |
Int32 |
VcId |
客户、供应商ID |
Int32 |
Date |
发票日期 |
DateTime |
DateFmt |
发票日期 |
String |
No |
发票编码 |
String |
Type |
发票类型 |
InvoiceType |
TypeName |
发票类型 |
String |
Amount |
发票金额 |
Decimal |
Tax |
发票税额 |
Decimal |
AmountTax |
价税合计 |
Decimal |
OfdAmount |
发票已登记金额 |
Decimal |
OfuAmount |
发票未登记金额 |
Decimal |
OfAmount |
登记金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
PayeeId |
往来的单位Id |
Int32 |
返回示例
""
搜索日记账
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/SearchJournal
请求头
请求参数
condition |
|
JournalSearchCondition |
VcId |
往来单位 |
Int32 |
ContactType |
往来单位类型 |
ContactType |
BillType |
单据类型 |
BillType |
SearchText |
关键字 |
String |
AmountSign |
正数:1,负数:-1 |
Int32 |
Start |
开始时间 |
String |
End |
结束时间 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VcId": 0,
"ContactType": 0,
"BillType": 0,
"SearchText": "",
"AmountSign": 0,
"Start": null,
"End": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
SumModel |
合计行 |
ScmJournalModel |
BType |
日记账类型 |
BillType |
PayeeType |
联系人 |
ContactType |
VcId |
客户/供应商ID |
Int32 |
Project |
项目 |
String |
Department |
部门 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BillNo |
交易流水号 |
String |
AcId |
账户ID |
Int32 |
BankName |
账户名称(开户行) |
String |
BankAccountName |
银行账号 |
String |
CustReceiptOrVendPayment |
客户收款或者供应商付款 与日记账的收入或支出类型无关,对于客户,收入是正的,支出是负的;对于供应商同理 |
Decimal |
BillAmount |
金额,类型为收入时:income-expenditure;类型为支出时:expenditure-income |
Decimal |
Note |
摘要 |
String |
Note2 |
备注 |
String |
JnCreatedBy |
日记账创建人 |
Int32 |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillOFUAmount |
日记未核销金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
VcName |
客户/供应商 |
String |
BillDateFmt |
日记账日期 |
String |
JnType |
1010:现金日记账,1020:银行日记账 |
Int32 |
LineSn |
|
Int32 |
RpType |
收支类别 |
Int32 |
RpCategory |
收付款类型(1010:收入,1020:支出) |
RpCatetory |
RpTypeName |
收支类别名称 |
String |
PaymentMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
ProjectId |
项目 |
Int32 |
DepartmentId |
部门 |
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
核销
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/Offset
请求头
请求参数
model |
|
JofEditModel |
OfMode |
核销模式,1010:手动核销,1020:自动核销 |
Int32 |
Items |
日记账核销条目 |
array[object] |
Id |
日记账ID |
Int32 |
BillNo |
日记账编码 |
String |
JnCreatedDateFmt |
日记账创建时间 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
BillDate |
日记账日期 |
DateTime |
BType |
日记账类型 |
BillType |
BillAmount |
日记账总金额 |
Decimal |
OfAmount |
本次收款、本次付款 |
Decimal |
BillOFUAmount |
日记未核销金额 |
Decimal |
VcId |
客户、供应商 |
Int32 |
AcId |
账号ID |
Int32 |
LineSn |
日记账Sn |
Int32 |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"OfMode": 0,
"Items": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
手动核销
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/ManualOffset
请求头
请求参数
model |
|
ManualJofEditModel |
Journal |
日记账核销条目 |
JournalEditModel |
VcId |
客户/供应商ID |
Int32 |
BillDate |
日记账日期 |
DateTime |
AcId |
付款账户 |
Int32 |
RpType |
收支类别 |
Int32 |
PaymentMethod |
结算方式 |
Int32 |
Note |
摘要 |
String |
OfAmount |
交易金额 |
Decimal |
ExchangeRate |
汇率 |
Decimal |
OriginalAmount |
原币金额 |
Decimal |
BillItems |
源单子条目 |
array[object] |
PayeeType |
往来单位类型 |
ContactType |
VcId |
客户或者供应商ID |
Int32 |
BillDate |
源单单据日期 |
DateTime |
BillBType |
源单单据类型 |
BillType |
Id |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
InitBillOFUAmount |
初始未核销金额 |
Decimal |
PayeeType |
收款人类型 |
ContactType |
请求示例
{
"Journal": null,
"BillItems": null,
"PayeeType": 0
}
返回值
返回示例
""
取消核销
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/CancelOffset
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
根据单据ID查询核销记录ID
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/SearchJofIds
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
返回示例
""
根据单据ID核销记录信息
请求地址
POST $SCMAPI_HOST/jxc_api/OtherReceiptList/SearchJofInfo
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
OfDate |
核销日期 |
String |
OfId |
核销记录ID |
Int32 |
OfNo |
核销记录编码 |
String |
OfAmount |
核销金额 |
Decimal |
BType |
日记账类型 |
BillType |
BillDate |
日记账日期 |
DateTime |
BillDateFmt |
日记账日期 |
String |
Id |
日记账在进销存中的ID(在未核销之前,该值为0) |
Int32 |
BillNo |
交易流水号 |
String |
Note |
摘要 |
String |
BillAmount |
支出/收入 |
Decimal |
RpTypeName |
收支类别名称 |
String |
返回示例
""
PayableDetails
应付账款明细表
应付账款明细表-获取应付账款明细表数据
请求地址
POST $SCMAPI_HOST/jxc_api/PayableDetails/Search
请求头
请求参数
conditions |
搜索条件 |
APDetailedSearchConditions |
StartDate |
日期开始时间 |
Nullable`1 |
EndDate |
日期结束时间 |
Nullable`1 |
VendIds |
供应商 |
Int32[] |
VendCat |
供应商类别 |
Int32[] |
BillType |
业务类型 |
Int32[] |
Purchaser |
采购员 |
Int32[] |
NoDebitVend |
不显示无欠款供应商 |
Boolean |
Keywords |
关键字 |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"VendIds": null,
"VendCat": null,
"BillType": null,
"Purchaser": null,
"NoDebitVend": false,
"Keywords": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
RowType |
信息类型(0,普通信息,1,期初信息,2,合计信息) |
Int32 |
VendId |
供应商ID |
Int32 |
BillDate |
单据日期 |
DateTime |
CheckedDate |
审核日期 |
DateTime |
BillId |
单据ID |
Int32 |
BillNo |
单据编号 |
String |
BillType |
单据类型 |
Int32 |
OfType |
核销单类型 |
Int32 |
Payables |
增加应付款 |
Decimal |
PayAdvance |
增加预付款 |
Decimal |
PayBlance |
应付款余额 |
Decimal |
Note |
备注 |
String |
Purchaser |
|
Int32 |
PurchaserName |
|
String |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
VendType |
供应商类别 |
String |
BillName |
业务类型 |
String |
FmtDate |
单据日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
返回示例
""
应付账款明细表-获取应付账款明细表数据
请求地址
POST $SCMAPI_HOST/jxc_api/PayableDetails/SearchPage
请求头
请求参数
conditions |
搜索条件 |
APDetailedSearchConditions |
StartDate |
日期开始时间 |
Nullable`1 |
EndDate |
日期结束时间 |
Nullable`1 |
VendIds |
供应商 |
Int32[] |
VendCat |
供应商类别 |
Int32[] |
BillType |
业务类型 |
Int32[] |
Purchaser |
采购员 |
Int32[] |
NoDebitVend |
不显示无欠款供应商 |
Boolean |
Keywords |
关键字 |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"VendIds": null,
"VendCat": null,
"BillType": null,
"Purchaser": null,
"NoDebitVend": false,
"Keywords": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
RowType |
信息类型(0,普通信息,1,期初信息,2,合计信息) |
Int32 |
VendId |
供应商ID |
Int32 |
BillDate |
单据日期 |
DateTime |
CheckedDate |
审核日期 |
DateTime |
BillId |
单据ID |
Int32 |
BillNo |
单据编号 |
String |
BillType |
单据类型 |
Int32 |
OfType |
核销单类型 |
Int32 |
Payables |
增加应付款 |
Decimal |
PayAdvance |
增加预付款 |
Decimal |
PayBlance |
应付款余额 |
Decimal |
Note |
备注 |
String |
Purchaser |
|
Int32 |
PurchaserName |
|
String |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
VendType |
供应商类别 |
String |
BillName |
业务类型 |
String |
FmtDate |
单据日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
TotalRow |
总计行 |
AccPayableDetailedInfo |
RowType |
信息类型(0,普通信息,1,期初信息,2,合计信息) |
Int32 |
VendId |
供应商ID |
Int32 |
BillDate |
单据日期 |
DateTime |
CheckedDate |
审核日期 |
DateTime |
BillId |
单据ID |
Int32 |
BillNo |
单据编号 |
String |
BillType |
单据类型 |
Int32 |
OfType |
核销单类型 |
Int32 |
Payables |
增加应付款 |
Decimal |
PayAdvance |
增加预付款 |
Decimal |
PayBlance |
应付款余额 |
Decimal |
Note |
备注 |
String |
Purchaser |
|
Int32 |
PurchaserName |
|
String |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
VendType |
供应商类别 |
String |
BillName |
业务类型 |
String |
FmtDate |
单据日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/PayableDetails/Print
请求头
请求参数
conditions |
|
APDetailedSearchConditions |
StartDate |
日期开始时间 |
Nullable`1 |
EndDate |
日期结束时间 |
Nullable`1 |
VendIds |
供应商 |
Int32[] |
VendCat |
供应商类别 |
Int32[] |
BillType |
业务类型 |
Int32[] |
Purchaser |
采购员 |
Int32[] |
NoDebitVend |
不显示无欠款供应商 |
Boolean |
Keywords |
关键字 |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"VendIds": null,
"VendCat": null,
"BillType": null,
"Purchaser": null,
"NoDebitVend": false,
"Keywords": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
应付账款明细表-导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/PayableDetails/Export
请求头
请求参数
conditions |
搜索条件 |
APDetailedSearchConditions |
StartDate |
日期开始时间 |
Nullable`1 |
EndDate |
日期结束时间 |
Nullable`1 |
VendIds |
供应商 |
Int32[] |
VendCat |
供应商类别 |
Int32[] |
BillType |
业务类型 |
Int32[] |
Purchaser |
采购员 |
Int32[] |
NoDebitVend |
不显示无欠款供应商 |
Boolean |
Keywords |
关键字 |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"VendIds": null,
"VendCat": null,
"BillType": null,
"Purchaser": null,
"NoDebitVend": false,
"Keywords": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Payment
付款单的添加,更新,审核等
根据ID获得付款单
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/InitData
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
PaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
付款人 |
Int32 |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各付款账户付款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
付款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
付款人名称 |
String |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各付款账户付款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
PayId |
付款单ID |
Int32 |
PayNo |
付款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
付款金额 |
Int32 |
PaySn |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
返回示例
""
根据其他支出单ID生成付款单
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/InitDataFromOrp
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
PaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
付款人 |
Int32 |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各付款账户付款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
付款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
付款人名称 |
String |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各付款账户付款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
PayId |
付款单ID |
Int32 |
PayNo |
付款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
付款金额 |
Int32 |
PaySn |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
返回示例
""
新增付款单
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/Add
请求头
请求参数
model |
付款单信息 |
PaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
付款人 |
Int32 |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各付款账户付款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
付款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
付款人名称 |
String |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各付款账户付款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
PayId |
付款单ID |
Int32 |
PayNo |
付款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
付款金额 |
Int32 |
PaySn |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"DiscAmount": 0.0,
"Amount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"VendName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"OperatorName": null,
"IsFromApp": true,
"BillOrigin": 0,
"Items": null,
"Items2": null,
"PrintCount": 0,
"AutoGenerate": false
}
返回值
返回示例
""
修改付款单
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/Update
请求头
请求参数
model |
付款单信息 |
PaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
付款人 |
Int32 |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各付款账户付款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
付款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
付款人名称 |
String |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各付款账户付款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
PayId |
付款单ID |
Int32 |
PayNo |
付款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
付款金额 |
Int32 |
PaySn |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"DiscAmount": 0.0,
"Amount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"VendName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"OperatorName": null,
"IsFromApp": true,
"BillOrigin": 0,
"Items": null,
"Items2": null,
"PrintCount": 0,
"AutoGenerate": false
}
返回值
返回示例
""
审核付款单
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/Check
请求头
请求参数
model |
付款单信息 |
PaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
付款人 |
Int32 |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各付款账户付款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
付款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
付款人名称 |
String |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各付款账户付款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
PayId |
付款单ID |
Int32 |
PayNo |
付款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
付款金额 |
Int32 |
PaySn |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"DiscAmount": 0.0,
"Amount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"VendName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"OperatorName": null,
"IsFromApp": true,
"BillOrigin": 0,
"Items": null,
"Items2": null,
"PrintCount": 0,
"AutoGenerate": false
}
返回值
返回示例
""
反审核付款单
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/Uncheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除付款单
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
下一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
上一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
刷新付款单数据
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/InitDataFromOffseted
请求头
请求参数
model |
|
PaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
付款人 |
Int32 |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各付款账户付款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
付款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
付款人名称 |
String |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各付款账户付款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
PayId |
付款单ID |
Int32 |
PayNo |
付款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
付款金额 |
Int32 |
PaySn |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"VendId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"DiscAmount": 0.0,
"Amount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"Note": null,
"IsChecked": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"VendName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"OperatorName": null,
"IsFromApp": true,
"BillOrigin": 0,
"Items": null,
"Items2": null,
"PrintCount": 0,
"AutoGenerate": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
PaymentEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编码 |
String |
Operator |
付款人 |
Int32 |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各付款账户付款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
付款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
VendName |
供应商名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
付款人名称 |
String |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各付款账户付款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
VendId |
供应商ID |
Int32 |
PayId |
付款单ID |
Int32 |
PayNo |
付款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
付款金额 |
Int32 |
PaySn |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
返回示例
""
获得源单列表数据
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/Search
请求头
请求参数
conditions |
单据搜索条件 |
OffsetBillSearchConditions |
OfId |
当前核销单ID(仅在编辑核销单时需要输入此项) |
Int32 |
BType |
业务类型 |
OFType |
OrgId |
供应商、客户ID(查询所有客户、供应商数据请传-1) |
Int32 |
Flag |
表单区域 |
Int32 |
VcIds |
供应商、客户ID |
array[object] |
SearchText |
|
String |
Start |
订单日期起始时间,默认为本月第一天 |
String |
End |
订单日期结束时间,默认为今天 |
String |
Keywords |
查询关键字 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OfId": 0,
"BType": 0,
"OrgId": 0,
"Flag": 0,
"VcIds": null,
"SearchText": null,
"Start": null,
"End": null,
"Keywords": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
AsId |
账套ID |
Int32 |
BType |
业务类型 |
OFType |
Id |
核销记录ID |
Int32 |
Date |
核销记录日期 |
DateTime |
VcId |
客户或供应商 |
Int32 |
OFId |
核销单ID或收付款单ID |
Int32 |
OFNo |
核销单编码或收付款单编码 |
String |
OFEId |
核销单或收付款单子条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
PayeeType |
|
ContactType |
BillDate |
单据日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Flag |
表单显示区块类别 |
Int32 |
BillOFUAmount |
未核销金额 |
Decimal |
ORDateFmt |
核销记录日期 |
String |
BillDateFmt |
单据日期 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/Payment/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
PaymentList
付款单列表,付款单批量审核,删除,导入,导出,打印等
删除付款单
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/Delete
请求头
请求参数
arrayModel |
付款单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
审核付款单
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/CheckList
请求头
请求参数
arrayModel |
付款单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
反审核付款单
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/UncheckList
请求头
请求参数
arrayModel |
付款单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
搜索付款单列表
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/Search
请求头
请求参数
condition |
|
PaymentCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0, 2 |
Int32[] |
VendIds |
供应商ID |
Int32[] |
Operator |
付款人 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
制单人 |
Int32[] |
AcIds |
账户 |
Int32[] |
DateRange |
|
DateRange |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"VendIds": [],
"Operator": null,
"CreatedBy": null,
"CheckedBy": null,
"AcIds": null,
"DateRange": 0,
"ExportDetails": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
|
Int32 |
Date |
|
DateTime |
VendId |
|
Int32 |
Id |
|
Int32 |
No |
|
String |
Operator |
|
Int32 |
DiscAmount |
|
Decimal |
Amount |
|
Decimal |
OFAmount |
|
Decimal |
OFStatus |
|
BillStatus |
Note |
|
String |
IsChecked |
|
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
ModifiedDate |
|
DateTime |
CheckedBy |
|
Int32 |
CheckedDate |
|
DateTime |
VendName |
|
String |
VendNo |
|
String |
CreatedByName |
|
String |
CheckedByName |
|
String |
OperatorName |
|
String |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
DateFmt |
|
String |
Checked |
|
Boolean |
PreAmount |
预付款 |
Decimal |
PrintCount |
|
String |
SumModel |
合计行 |
PaymentListModel |
AsId |
|
Int32 |
Date |
|
DateTime |
VendId |
|
Int32 |
Id |
|
Int32 |
No |
|
String |
Operator |
|
Int32 |
DiscAmount |
|
Decimal |
Amount |
|
Decimal |
OFAmount |
|
Decimal |
OFStatus |
|
BillStatus |
Note |
|
String |
IsChecked |
|
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
ModifiedDate |
|
DateTime |
CheckedBy |
|
Int32 |
CheckedDate |
|
DateTime |
VendName |
|
String |
VendNo |
|
String |
CreatedByName |
|
String |
CheckedByName |
|
String |
OperatorName |
|
String |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
DateFmt |
|
String |
Checked |
|
Boolean |
PreAmount |
预付款 |
Decimal |
PrintCount |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
付款单列表-导出付款单数据
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/Export
请求头
请求参数
conditions |
过滤条件 |
PaymentCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0, 2 |
Int32[] |
VendIds |
供应商ID |
Int32[] |
Operator |
付款人 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
制单人 |
Int32[] |
AcIds |
账户 |
Int32[] |
DateRange |
|
DateRange |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"VendIds": [],
"Operator": null,
"CreatedBy": null,
"CheckedBy": null,
"AcIds": null,
"DateRange": 0,
"ExportDetails": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
付款单列表-下载付款单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
付款单列表-下载导入付款单失败后的错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/DownloadErrorData
请求头
请求参数
guId |
错误数据标识 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
付款单列表-导入付款单
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
付款单列表-打印付款单
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
付款单列表-打印付款单
请求地址
POST $SCMAPI_HOST/jxc_api/PaymentList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Profit
利润表
利润表-查询利润数据
请求地址
POST $SCMAPI_HOST/jxc_api/Profit/Search
请求头
请求参数
conditions |
搜索条件 |
MoneyProfitSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
isShowDetails |
|
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"isShowDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MoneyProfitModel |
MainBusinessData |
主营业务统计数据 |
MoneyProfitMainBusinessModel |
SumDoAmount |
销售收入 |
Decimal |
SumDoDiscAmount |
销售优惠金额 |
Decimal |
SumRecDiscAmount |
收款折扣合计 |
Decimal |
SumPoDiscAmount |
购货优惠金额 |
Decimal |
SumPayDiscAmount |
付款折扣 |
Decimal |
SumPdAmount |
盘盈盘亏合计 |
Decimal |
SumSellCostAmount |
销售成本合计 |
Decimal |
Profit |
|
Decimal |
OtherRecAmount |
其他收款合计 |
Decimal |
OtherPayAmount |
其他付款合计 |
Decimal |
OtherRecList |
其他收款明细 |
array[object] |
Type |
|
Int32 |
TypeName |
|
String |
Amount |
|
Decimal |
OtherPayList |
其他付款明细 |
array[object] |
Type |
|
Int32 |
TypeName |
|
String |
Amount |
|
Decimal |
MainBusinessProfit |
主营业务利润 |
Decimal |
OtherBusinessProfit |
其它业务利润 |
Decimal |
Profit |
净利润 |
Decimal |
SumRecieveAmount |
收款金额 |
Decimal |
SumReceivable |
应收款 |
Decimal |
SumPayable |
应付款 |
Decimal |
返回示例
""
利润表-导出利润表到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/Profit/Export
请求头
请求参数
conditions |
|
MoneyProfitSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
isShowDetails |
|
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"isShowDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Receipt
收款单的添加,更新,审核等
根据ID获得收款单
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/InitData
请求头
请求参数
请求示例
null
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各收款账户收款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
收款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
收款人名称 |
String |
CustReceivable |
应收款余额 |
Decimal |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各收款账户收款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
RecId |
收款单ID |
Int32 |
RecNo |
收款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
返回示例
""
根据其他支出单ID生成付款单
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/InitDataFromOrp
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各收款账户收款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
收款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
收款人名称 |
String |
CustReceivable |
应收款余额 |
Decimal |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各收款账户收款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
RecId |
收款单ID |
Int32 |
RecNo |
收款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
返回示例
""
新增收款单
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/Add
请求头
请求参数
model |
收款单信息 |
ReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各收款账户收款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
收款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
收款人名称 |
String |
CustReceivable |
应收款余额 |
Decimal |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各收款账户收款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
RecId |
收款单ID |
Int32 |
RecNo |
收款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"CustId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"DiscAmount": 0.0,
"Amount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"Note": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CustName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"OperatorName": null,
"CustReceivable": 0.0,
"IsFromApp": true,
"BillOrigin": 0,
"Items": null,
"Items2": null,
"PrintCount": 0,
"AutoGenerate": false
}
返回值
返回示例
""
修改收款单
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/Update
请求头
请求参数
model |
收款单信息 |
ReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各收款账户收款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
收款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
收款人名称 |
String |
CustReceivable |
应收款余额 |
Decimal |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各收款账户收款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
RecId |
收款单ID |
Int32 |
RecNo |
收款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"CustId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"DiscAmount": 0.0,
"Amount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"Note": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CustName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"OperatorName": null,
"CustReceivable": 0.0,
"IsFromApp": true,
"BillOrigin": 0,
"Items": null,
"Items2": null,
"PrintCount": 0,
"AutoGenerate": false
}
返回值
返回示例
""
审核收款单
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/Check
请求头
请求参数
model |
收款单信息 |
ReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各收款账户收款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
收款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
收款人名称 |
String |
CustReceivable |
应收款余额 |
Decimal |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各收款账户收款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
RecId |
收款单ID |
Int32 |
RecNo |
收款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"CustId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"DiscAmount": 0.0,
"Amount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"Note": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CustName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"OperatorName": null,
"CustReceivable": 0.0,
"IsFromApp": true,
"BillOrigin": 0,
"Items": null,
"Items2": null,
"PrintCount": 0,
"AutoGenerate": false
}
返回值
返回示例
""
反审核收款单
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/Uncheck
请求头
请求参数
请求示例
0
返回值
返回示例
""
删除收款单
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/Delete
请求头
请求参数
请求示例
0
返回值
返回示例
""
下一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/NextId
请求头
请求参数
请求示例
0
返回值
返回示例
""
上一条单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/PrevId
请求头
请求参数
请求示例
0
返回值
返回示例
""
获得客户的欠款
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/GetCustPriceById
请求头
请求参数
请求示例
0
返回值
返回示例
""
刷新收款单数据
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/InitDataFromOffseted
请求头
请求参数
model |
收款单信息 |
ReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各收款账户收款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
收款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
收款人名称 |
String |
CustReceivable |
应收款余额 |
Decimal |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各收款账户收款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
RecId |
收款单ID |
Int32 |
RecNo |
收款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
请求示例
{
"AsId": 0,
"Date": "0001-01-01T00:00:00",
"CustId": 0,
"Id": 0,
"No": null,
"Operator": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"DiscAmount": 0.0,
"Amount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"Note": null,
"IsChecked": 0,
"CheckedBy": 0,
"CheckedDate": "0001-01-01T00:00:00",
"CustName": null,
"CreatedByName": null,
"CheckedByName": null,
"ModifiedByName": null,
"OperatorName": null,
"CustReceivable": 0.0,
"IsFromApp": true,
"BillOrigin": 0,
"Items": null,
"Items2": null,
"PrintCount": 0,
"AutoGenerate": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReceiptEditModel |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各收款账户收款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
收款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
收款人名称 |
String |
CustReceivable |
应收款余额 |
Decimal |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各收款账户收款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
RecId |
收款单ID |
Int32 |
RecNo |
收款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
返回示例
""
获得收款单所核销的源单的数据
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/Search
请求头
请求参数
conditions |
|
OffsetBillSearchConditions |
OfId |
当前核销单ID(仅在编辑核销单时需要输入此项) |
Int32 |
BType |
业务类型 |
OFType |
OrgId |
供应商、客户ID(查询所有客户、供应商数据请传-1) |
Int32 |
Flag |
表单区域 |
Int32 |
VcIds |
供应商、客户ID |
array[object] |
SearchText |
|
String |
Start |
订单日期起始时间,默认为本月第一天 |
String |
End |
订单日期结束时间,默认为今天 |
String |
Keywords |
查询关键字 |
String |
UsePager |
|
Boolean |
PageIndex |
索引 |
Int32 |
PageSize |
分页大小 |
Int32 |
KWCustIds |
关键字筛选客户ID |
Int32[] |
KWVendIds |
关键字筛选供应商ID |
Int32[] |
KWUserIds |
关键字筛选职员ID |
Int32[] |
KWCatIds |
关键字筛选类别ID |
Int32[] |
KWCreatedBy |
关键字筛选制单人 |
Int32[] |
KWCheckedBy |
关键字筛选审核人 |
Int32[] |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"OfId": 0,
"BType": 0,
"OrgId": 0,
"Flag": 0,
"VcIds": null,
"SearchText": null,
"Start": null,
"End": null,
"Keywords": null,
"UsePager": true,
"PageIndex": 1,
"PageSize": 0,
"KWCustIds": null,
"KWVendIds": null,
"KWUserIds": null,
"KWCatIds": null,
"KWCreatedBy": null,
"KWCheckedBy": null,
"ExportDetails": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
AsId |
账套ID |
Int32 |
BType |
业务类型 |
OFType |
Id |
核销记录ID |
Int32 |
Date |
核销记录日期 |
DateTime |
VcId |
客户或供应商 |
Int32 |
OFId |
核销单ID或收付款单ID |
Int32 |
OFNo |
核销单编码或收付款单编码 |
String |
OFEId |
核销单或收付款单子条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
PayeeType |
|
ContactType |
BillDate |
单据日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFAmount |
本次核销金额 |
Decimal |
Note |
备注 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
Flag |
表单显示区块类别 |
Int32 |
BillOFUAmount |
未核销金额 |
Decimal |
ORDateFmt |
核销记录日期 |
String |
BillDateFmt |
单据日期 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/ShareExcel
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/SharePdf
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享链接
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/ShareLink
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
草稿详情
请求地址
POST $SCMAPI_HOST/jxc_api/Receipt/InitDraft
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
IBillDraftModel |
Id |
草稿单据Id |
Int32 |
返回示例
""
ReceiptList
收款单列表,收款单批量审核,删除,导入,导出,打印等
删除收款单
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/Delete
请求头
请求参数
arrayModel |
收款单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
审核收款单
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/CheckList
请求头
请求参数
arrayModel |
收款单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
反审核收款单
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/UncheckList
请求头
请求参数
arrayModel |
收款单id集合 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
搜索收款单列表
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/Search
请求头
请求参数
condition |
|
ReceiptCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0, 2 |
Int32[] |
CustIds |
客户ID |
Int32[] |
Operator |
收款人 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
AcIds |
账户 |
Int32[] |
DateRange |
|
DateRange |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"CustIds": [],
"Operator": null,
"CreatedBy": null,
"CheckedBy": null,
"AcIds": null,
"DateRange": 0,
"ExportDetails": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
|
Int32 |
Date |
|
DateTime |
CustId |
|
Int32 |
Id |
|
Int32 |
No |
|
String |
Operator |
|
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
ModifiedDate |
|
DateTime |
DiscAmount |
|
Decimal |
Amount |
|
Decimal |
OFAmount |
|
Decimal |
OFStatus |
|
BillStatus |
Note |
|
String |
IsChecked |
|
Int32 |
CheckedBy |
|
Int32 |
CheckedDate |
|
DateTime |
CustName |
|
String |
CustNo |
|
String |
CreatedByName |
|
String |
CheckedByName |
|
String |
OperatorName |
|
String |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
DateFmt |
|
String |
Checked |
|
Boolean |
PreAmount |
预收款 |
Decimal |
PrintCount |
打印次数 |
String |
SumModel |
合计行 |
ReceiptListModel |
AsId |
|
Int32 |
Date |
|
DateTime |
CustId |
|
Int32 |
Id |
|
Int32 |
No |
|
String |
Operator |
|
Int32 |
CreatedBy |
|
Int32 |
CreatedDate |
|
DateTime |
ModifiedBy |
|
Int32 |
ModifiedDate |
|
DateTime |
DiscAmount |
|
Decimal |
Amount |
|
Decimal |
OFAmount |
|
Decimal |
OFStatus |
|
BillStatus |
Note |
|
String |
IsChecked |
|
Int32 |
CheckedBy |
|
Int32 |
CheckedDate |
|
DateTime |
CustName |
|
String |
CustNo |
|
String |
CreatedByName |
|
String |
CheckedByName |
|
String |
OperatorName |
|
String |
BillOrigin |
|
BillOriginEnum |
BillOriginDesc |
单据来源 |
String |
DateFmt |
|
String |
Checked |
|
Boolean |
PreAmount |
预收款 |
Decimal |
PrintCount |
打印次数 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
第三方根据订单编号取对应的收款单
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/SearchForThird
请求头
请求参数
condition |
|
RecPayForThirdCondition |
BillType |
2020 销售出库,2030 销售退货 1020 采购入库, 1021采购退货 |
BillType |
BillNo |
销售退货/销售出库/采购入库/采购退货订单编号 |
String |
请求示例
{
"BillType": 0,
"BillNo": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
Id |
单据ID |
Int32 |
No |
单据编号 |
String |
Operator |
收款人 |
Int32 |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DiscAmount |
整单折扣 |
Decimal |
Amount |
各收款账户收款金额总和 |
Decimal |
OFAmount |
本次核销金额总和 |
Decimal |
OFStatus |
收款单的核销状态 |
BillStatus |
Note |
备注 |
String |
IsChecked |
是否已审核 |
Int32 |
CheckedBy |
审核人 |
Int32 |
CheckedDate |
审核日期 |
DateTime |
CustName |
客户名称 |
String |
CreatedByName |
制单人名称 |
String |
CheckedByName |
审核人名称 |
String |
ModifiedByName |
修改人名称 |
String |
OperatorName |
收款人名称 |
String |
CustReceivable |
应收款余额 |
Decimal |
IsFromApp |
是否是App调用的 |
Boolean |
BillOrigin |
单据来源 |
BillOriginEnum |
Items |
各收款账户收款详情 |
array[object] |
AsId |
账套ID |
Int32 |
Date |
单据日期 |
DateTime |
CustId |
客户ID |
Int32 |
RecId |
收款单ID |
Int32 |
RecNo |
收款单编号 |
String |
Id |
子条目ID |
Int32 |
AcId |
账户ID |
Int32 |
Amount |
收款金额 |
Decimal |
PayMethod |
结算方式 |
Int32 |
RefNo |
结算号 |
String |
Note |
备注 |
String |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
AcName |
账户名称 |
String |
PayMethodName |
结算方式名称 |
String |
Items2 |
核销的项目详情 |
array[object] |
AsId |
账套ID |
Int32 |
RPDate |
单据日期 |
DateTime |
BType |
单据类型 |
OFType |
PayeeType |
|
ContactType |
RPId |
单据ID |
Int32 |
RPNo |
单据编号 |
String |
Id |
核销条目ID |
Int32 |
BillId |
源单单据ID |
Int32 |
BillNo |
源单单据编号 |
String |
BillBType |
源单单据类型 |
BillType |
BillDate |
源单单据日期 |
DateTime |
BillOFAmount |
本次核销金额 |
Decimal |
StrValue1 |
自定义列 |
String |
StrValue2 |
自定义列 |
String |
StrValue3 |
自定义列 |
String |
StrValue4 |
自定义列 |
String |
StrValue5 |
自定义列 |
String |
StrValue6 |
自定义列 |
String |
StrValue7 |
自定义列 |
String |
StrValue8 |
自定义列 |
String |
CreatedBy |
制单人 |
Int32 |
CreatedDate |
制单日期 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
BillAmount |
源单单据金额 |
Decimal |
BillOFDAmount |
已核销金额 |
Decimal |
BillOFUAmount |
未核销金额 |
Decimal |
BillDateFmt |
|
String |
PrintCount |
打印次数 |
Int32 |
AutoGenerate |
是否自动按现有编码规则生成新编码 |
Boolean |
返回示例
""
收款单列表-导出收款单数据
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/Export
请求头
请求参数
conditions |
过滤条件 |
ReceiptCondition |
Ids |
单据ID |
Int32[] |
SearchText |
关键字 |
String |
Start |
开始时间 |
String |
End |
结束时间 |
String |
CheckedFmt |
所有:-1, 已审核:1,未审核:0, 2 |
Int32[] |
CustIds |
客户ID |
Int32[] |
Operator |
收款人 |
Int32[] |
CreatedBy |
制单人 |
Int32[] |
CheckedBy |
审核人 |
Int32[] |
AcIds |
账户 |
Int32[] |
DateRange |
|
DateRange |
ExportDetails |
是否导出明细(针对导出) |
Boolean |
ExportType |
|
ThreeSheetExportType |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ids": [],
"SearchText": "",
"Start": null,
"End": null,
"CheckedFmt": null,
"CustIds": [],
"Operator": null,
"CreatedBy": null,
"CheckedBy": null,
"AcIds": null,
"DateRange": 0,
"ExportDetails": false,
"ExportType": 7,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
收款单列表-下载收款单导入模板
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
收款单列表-下载导入收款单失败后的错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/DownloadErrorData
请求头
请求参数
guId |
错误数据标识 |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
收款单列表-导入收款单
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
收款单列表-打印收款单
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/Print
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
付款单列表-打印付款单
请求地址
POST $SCMAPI_HOST/jxc_api/ReceiptList/SeniorPrint
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
ReceivableDetails
应收账款明细表
应收账款明细表-获取应收账款明细表数据
请求地址
POST $SCMAPI_HOST/jxc_api/ReceivableDetails/SearchPage
请求头
请求参数
conditions |
搜索条件 |
ARDetailedSearchConditions |
StartDate |
单据日期开始时间 |
Nullable`1 |
EndDate |
单据日期结束时间 |
Nullable`1 |
CustIds |
客户 |
Int32[] |
CustCat |
客户类别 |
Int32[] |
BillType |
业务类型 |
Int32[] |
Sales |
销售人员 |
Int32[] |
NoDebitCust |
不显示无欠款客户 |
Boolean |
Keywords |
关键字 |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustCat": null,
"BillType": null,
"Sales": null,
"NoDebitCust": false,
"Keywords": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
RowType |
信息类型(0,普通信息,1,期初信息,2,合计信息) |
Int32 |
CustId |
客户ID |
Int32 |
BillDate |
单据日期 |
DateTime |
CheckedDate |
审核日期 |
DateTime |
BillId |
单据ID |
Int32 |
BillNo |
单据编号 |
String |
BillType |
单据类型 |
Int32 |
OfType |
核销单类型 |
Int32 |
Receivables |
增加应收款 |
Decimal |
RecAdvance |
增加预收款 |
Decimal |
RecBlance |
应收款余额 |
Decimal |
Note |
备注 |
String |
Sales |
销售人员 |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
CustType |
客户类别 |
String |
BillName |
业务类型 |
String |
SalesName |
销售人员 |
String |
FmtDate |
单据日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
TotalRow |
总计行 |
AccReceivableDetailedInfo |
RowType |
信息类型(0,普通信息,1,期初信息,2,合计信息) |
Int32 |
CustId |
客户ID |
Int32 |
BillDate |
单据日期 |
DateTime |
CheckedDate |
审核日期 |
DateTime |
BillId |
单据ID |
Int32 |
BillNo |
单据编号 |
String |
BillType |
单据类型 |
Int32 |
OfType |
核销单类型 |
Int32 |
Receivables |
增加应收款 |
Decimal |
RecAdvance |
增加预收款 |
Decimal |
RecBlance |
应收款余额 |
Decimal |
Note |
备注 |
String |
Sales |
销售人员 |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
CustType |
客户类别 |
String |
BillName |
业务类型 |
String |
SalesName |
销售人员 |
String |
FmtDate |
单据日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
应收账款明细表-获取应收账款明细表数据
请求地址
POST $SCMAPI_HOST/jxc_api/ReceivableDetails/Search
请求头
请求参数
conditions |
搜索条件 |
ARDetailedSearchConditions |
StartDate |
单据日期开始时间 |
Nullable`1 |
EndDate |
单据日期结束时间 |
Nullable`1 |
CustIds |
客户 |
Int32[] |
CustCat |
客户类别 |
Int32[] |
BillType |
业务类型 |
Int32[] |
Sales |
销售人员 |
Int32[] |
NoDebitCust |
不显示无欠款客户 |
Boolean |
Keywords |
关键字 |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustCat": null,
"BillType": null,
"Sales": null,
"NoDebitCust": false,
"Keywords": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
RowType |
信息类型(0,普通信息,1,期初信息,2,合计信息) |
Int32 |
CustId |
客户ID |
Int32 |
BillDate |
单据日期 |
DateTime |
CheckedDate |
审核日期 |
DateTime |
BillId |
单据ID |
Int32 |
BillNo |
单据编号 |
String |
BillType |
单据类型 |
Int32 |
OfType |
核销单类型 |
Int32 |
Receivables |
增加应收款 |
Decimal |
RecAdvance |
增加预收款 |
Decimal |
RecBlance |
应收款余额 |
Decimal |
Note |
备注 |
String |
Sales |
销售人员 |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
CustType |
客户类别 |
String |
BillName |
业务类型 |
String |
SalesName |
销售人员 |
String |
FmtDate |
单据日期 |
String |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/ReceivableDetails/Print
请求头
请求参数
conditions |
|
ARDetailedSearchConditions |
StartDate |
单据日期开始时间 |
Nullable`1 |
EndDate |
单据日期结束时间 |
Nullable`1 |
CustIds |
客户 |
Int32[] |
CustCat |
客户类别 |
Int32[] |
BillType |
业务类型 |
Int32[] |
Sales |
销售人员 |
Int32[] |
NoDebitCust |
不显示无欠款客户 |
Boolean |
Keywords |
关键字 |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustCat": null,
"BillType": null,
"Sales": null,
"NoDebitCust": false,
"Keywords": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
应收账款明细表-导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/ReceivableDetails/Export
请求头
请求参数
conditions |
搜索条件 |
ARDetailedSearchConditions |
StartDate |
单据日期开始时间 |
Nullable`1 |
EndDate |
单据日期结束时间 |
Nullable`1 |
CustIds |
客户 |
Int32[] |
CustCat |
客户类别 |
Int32[] |
BillType |
业务类型 |
Int32[] |
Sales |
销售人员 |
Int32[] |
NoDebitCust |
不显示无欠款客户 |
Boolean |
Keywords |
关键字 |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"CustCat": null,
"BillType": null,
"Sales": null,
"NoDebitCust": false,
"Keywords": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
ReceivableWarning
应收账款预警表
获取预警天数
请求地址
POST $SCMAPI_HOST/jxc_api/ReceivableWarning/GetWarnningDaySetting
请求头
请求示例
返回值
返回示例
""
保存预警天数设置
请求地址
POST $SCMAPI_HOST/jxc_api/ReceivableWarning/SaveWarnningDaySetting
请求头
请求参数
model |
|
WarnningDaySettingModel |
DaySetting |
|
Int32 |
请求示例
{
"DaySetting": 0
}
返回值
返回示例
""
应收账款预警表查询
请求地址
POST $SCMAPI_HOST/jxc_api/ReceivableWarning/Search
请求头
请求参数
conditions |
|
ReceivableWarningSearchCondition |
StartDate |
日期开始时间 |
Nullable`1 |
EndDate |
日期结束时间 |
Nullable`1 |
CustIds |
客户id数组 |
Int32[] |
Sales |
销售员数组 |
Int32[] |
SalesName |
销售员数组 |
String |
DepartmentIds |
部门数组 |
Int32[] |
DepartmentName |
部门名称 |
Int32[] |
Keywords |
关键词 |
String |
ShowSubtotal |
显示小计 |
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"Sales": null,
"SalesName": null,
"DepartmentIds": null,
"DepartmentName": null,
"Keywords": "",
"ShowSubtotal": true,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
RowType |
信息类型(0,普通信息,1,期初信息,2,合计信息) |
Int32 |
CustId |
客户ID |
Int32 |
BillDateTime |
单据日期 |
Nullable`1 |
CheckedDate |
审核日期 |
DateTime |
BillId |
单据ID |
Int32 |
BillNo |
单据编号 |
String |
BillType |
单据类型 |
Int32 |
Note |
备注 |
String |
Sales |
销售人员 |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
BillTypeStr |
|
String |
SalesName |
销售人员 |
String |
SalesNo |
|
String |
BillDate |
单据日期 |
String |
DepartmentId |
部门id |
Int32 |
DepartmentName |
|
String |
DepartmentNo |
|
String |
Amount |
应收金额(优惠后) |
Decimal |
ReceivedAmount |
已收金额(核销金额) |
Decimal |
UnReceivedAmount |
未收金额 |
Decimal |
ReceivedRate |
付款率 |
String |
SettlePeriodDateTime |
结算日期 |
DateTime |
SettlePeriodDate |
结算日期 |
String |
Age |
账龄 |
Nullable`1 |
OverDays |
超期天数 |
Nullable`1 |
SumModel |
合计行 |
AccReceivableWarnningInfo |
RowType |
信息类型(0,普通信息,1,期初信息,2,合计信息) |
Int32 |
CustId |
客户ID |
Int32 |
BillDateTime |
单据日期 |
Nullable`1 |
CheckedDate |
审核日期 |
DateTime |
BillId |
单据ID |
Int32 |
BillNo |
单据编号 |
String |
BillType |
单据类型 |
Int32 |
Note |
备注 |
String |
Sales |
销售人员 |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
BillTypeStr |
|
String |
SalesName |
销售人员 |
String |
SalesNo |
|
String |
BillDate |
单据日期 |
String |
DepartmentId |
部门id |
Int32 |
DepartmentName |
|
String |
DepartmentNo |
|
String |
Amount |
应收金额(优惠后) |
Decimal |
ReceivedAmount |
已收金额(核销金额) |
Decimal |
UnReceivedAmount |
未收金额 |
Decimal |
ReceivedRate |
付款率 |
String |
SettlePeriodDateTime |
结算日期 |
DateTime |
SettlePeriodDate |
结算日期 |
String |
Age |
账龄 |
Nullable`1 |
OverDays |
超期天数 |
Nullable`1 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/ReceivableWarning/Print
请求头
请求参数
conditions |
|
ReceivableWarningSearchCondition |
StartDate |
日期开始时间 |
Nullable`1 |
EndDate |
日期结束时间 |
Nullable`1 |
CustIds |
客户id数组 |
Int32[] |
Sales |
销售员数组 |
Int32[] |
SalesName |
销售员数组 |
String |
DepartmentIds |
部门数组 |
Int32[] |
DepartmentName |
部门名称 |
Int32[] |
Keywords |
关键词 |
String |
ShowSubtotal |
显示小计 |
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"StartDate": null,
"EndDate": null,
"CustIds": null,
"Sales": null,
"SalesName": null,
"DepartmentIds": null,
"DepartmentName": null,
"Keywords": "",
"ShowSubtotal": true,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
UnitDebt
往来单位欠款表
检索
请求地址
POST $SCMAPI_HOST/jxc_api/UnitDebt/Search
请求头
请求参数
conditions |
|
UnitDebtSearchConditions |
DateStart |
单据日期起 |
Nullable`1 |
DateEnd |
单据日期至 |
Nullable`1 |
UnitType |
编号所属类型 |
Nullable`1 |
Keywords |
关键字 |
String |
UseDate |
是否启用日期筛选 |
Boolean |
CustId |
客户 |
Int32[] |
VendId |
供应商 |
Int32[] |
Sales |
销售员 |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"DateStart": null,
"DateEnd": null,
"UnitType": null,
"Keywords": null,
"UseDate": false,
"CustId": null,
"VendId": null,
"Sales": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
VcNo |
往来单位编码(☆原字段:UnitNo) |
String |
VcName |
名称(☆原字段:UnitName) |
String |
SalesName |
销售人员 |
String |
Sales |
销售人员id |
Int32 |
VcType |
往来单位性质(☆原字段:UnitType) |
String |
ARBlance |
应收款余额 |
Decimal |
APBlance |
应付款余额 |
Decimal |
CustCredit |
客户信用额度 |
Decimal |
CustRemainCredit |
客户剩余额度 |
Decimal |
TotalRow |
总计行 |
UnitDebtModel |
VcNo |
往来单位编码(☆原字段:UnitNo) |
String |
VcName |
名称(☆原字段:UnitName) |
String |
SalesName |
销售人员 |
String |
Sales |
销售人员id |
Int32 |
VcType |
往来单位性质(☆原字段:UnitType) |
String |
ARBlance |
应收款余额 |
Decimal |
APBlance |
应付款余额 |
Decimal |
CustCredit |
客户信用额度 |
Decimal |
CustRemainCredit |
客户剩余额度 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/UnitDebt/Export
请求头
请求参数
conditions |
|
UnitDebtSearchConditions |
DateStart |
单据日期起 |
Nullable`1 |
DateEnd |
单据日期至 |
Nullable`1 |
UnitType |
编号所属类型 |
Nullable`1 |
Keywords |
关键字 |
String |
UseDate |
是否启用日期筛选 |
Boolean |
CustId |
客户 |
Int32[] |
VendId |
供应商 |
Int32[] |
Sales |
销售员 |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"DateStart": null,
"DateEnd": null,
"UnitType": null,
"Keywords": null,
"UseDate": false,
"CustId": null,
"VendId": null,
"Sales": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/UnitDebt/Print
请求头
请求参数
conditions |
|
UnitDebtSearchConditions |
DateStart |
单据日期起 |
Nullable`1 |
DateEnd |
单据日期至 |
Nullable`1 |
UnitType |
编号所属类型 |
Nullable`1 |
Keywords |
关键字 |
String |
UseDate |
是否启用日期筛选 |
Boolean |
CustId |
客户 |
Int32[] |
VendId |
供应商 |
Int32[] |
Sales |
销售员 |
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"DateStart": null,
"DateEnd": null,
"UnitType": null,
"Keywords": null,
"UseDate": false,
"CustId": null,
"VendId": null,
"Sales": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
查询单位欠款
请求地址
POST $SCMAPI_HOST/jxc_api/UnitDebt/GetByUnitId
请求头
请求参数
unitId |
|
Int32 |
unitType |
|
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
UnitDebtModel |
VcNo |
往来单位编码(☆原字段:UnitNo) |
String |
VcName |
名称(☆原字段:UnitName) |
String |
SalesName |
销售人员 |
String |
Sales |
销售人员id |
Int32 |
VcType |
往来单位性质(☆原字段:UnitType) |
String |
ARBlance |
应收款余额 |
Decimal |
APBlance |
应付款余额 |
Decimal |
CustCredit |
客户信用额度 |
Decimal |
CustRemainCredit |
客户剩余额度 |
Decimal |
返回示例
""
VendorBrief
往来供应商一览表
往来供应商一览表-获取供应商付款记录
请求地址
POST $SCMAPI_HOST/jxc_api/VendorBrief/Search
请求头
请求参数
conditions |
|
VendListSearchConditions |
VendIds |
供应商ID数组 |
Int32[] |
VendCat |
供应商类别 |
Int32 |
AsStartDate |
账套开启日期 |
DateTime |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
HideZeroVendor |
余额为0不显示 |
Boolean |
HideZeroAndNoBusiness |
无发生额且余额为0不显示 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
StartDate |
查询起始日期 |
Nullable`1 |
EndDate |
查询结束日期 |
Nullable`1 |
ShowAgeList |
是否显示账龄 |
Boolean |
Keywords |
关键字 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VendIds": null,
"VendCat": 0,
"AsStartDate": "0001-01-01T00:00:00",
"AppAsId": null,
"AccAsId": 0,
"HideZeroVendor": false,
"HideZeroAndNoBusiness": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"StartDate": "2000-01-03T00:00:00",
"EndDate": "2025-02-19T00:00:00+08:00",
"ShowAgeList": false,
"Keywords": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
VendId |
供应商ID |
Int32 |
VendCat |
供应商类别 |
String |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
BillDate |
单据日期(为获取后筛选) |
DateTime |
IsInitRec |
是否是供应商期初记录 |
Int32 |
InitBlance |
期初余额 |
Decimal |
Amount |
采购金额 |
Decimal |
DisAmount |
优惠金额 |
Decimal |
Payable |
应付金额 |
Decimal |
Payment |
实际付款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
AgeList |
账龄列表 |
array[object] |
返回示例
""
往来供应商一览表-获取供应商付款记录
请求地址
POST $SCMAPI_HOST/jxc_api/VendorBrief/SearchPage
请求头
请求参数
conditions |
|
VendListSearchConditions |
VendIds |
供应商ID数组 |
Int32[] |
VendCat |
供应商类别 |
Int32 |
AsStartDate |
账套开启日期 |
DateTime |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
HideZeroVendor |
余额为0不显示 |
Boolean |
HideZeroAndNoBusiness |
无发生额且余额为0不显示 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
StartDate |
查询起始日期 |
Nullable`1 |
EndDate |
查询结束日期 |
Nullable`1 |
ShowAgeList |
是否显示账龄 |
Boolean |
Keywords |
关键字 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VendIds": null,
"VendCat": 0,
"AsStartDate": "0001-01-01T00:00:00",
"AppAsId": null,
"AccAsId": 0,
"HideZeroVendor": false,
"HideZeroAndNoBusiness": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"StartDate": "2000-01-03T00:00:00",
"EndDate": "2025-02-19T00:00:00+08:00",
"ShowAgeList": false,
"Keywords": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
ReportResult`1 |
DataList |
检索记录 |
array[object] |
VendId |
供应商ID |
Int32 |
VendCat |
供应商类别 |
String |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
BillDate |
单据日期(为获取后筛选) |
DateTime |
IsInitRec |
是否是供应商期初记录 |
Int32 |
InitBlance |
期初余额 |
Decimal |
Amount |
采购金额 |
Decimal |
DisAmount |
优惠金额 |
Decimal |
Payable |
应付金额 |
Decimal |
Payment |
实际付款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
AgeList |
账龄列表 |
array[object] |
TotalRow |
总计行 |
VendorBriefListModel |
VendId |
供应商ID |
Int32 |
VendCat |
供应商类别 |
String |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
BillDate |
单据日期(为获取后筛选) |
DateTime |
IsInitRec |
是否是供应商期初记录 |
Int32 |
InitBlance |
期初余额 |
Decimal |
Amount |
采购金额 |
Decimal |
DisAmount |
优惠金额 |
Decimal |
Payable |
应付金额 |
Decimal |
Payment |
实际付款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
AgeList |
账龄列表 |
array[object] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
分页前的总记录数 |
Int32 |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
往来供应商一览表-往来供应商一导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/VendorBrief/Export
请求头
请求参数
conditions |
搜索条件 |
VendListSearchConditions |
VendIds |
供应商ID数组 |
Int32[] |
VendCat |
供应商类别 |
Int32 |
AsStartDate |
账套开启日期 |
DateTime |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
HideZeroVendor |
余额为0不显示 |
Boolean |
HideZeroAndNoBusiness |
无发生额且余额为0不显示 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
StartDate |
查询起始日期 |
Nullable`1 |
EndDate |
查询结束日期 |
Nullable`1 |
ShowAgeList |
是否显示账龄 |
Boolean |
Keywords |
关键字 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"VendIds": null,
"VendCat": 0,
"AsStartDate": "0001-01-01T00:00:00",
"AppAsId": null,
"AccAsId": 0,
"HideZeroVendor": false,
"HideZeroAndNoBusiness": false,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"StartDate": "2000-01-03T00:00:00",
"EndDate": "2025-02-19T00:00:00+08:00",
"ShowAgeList": false,
"Keywords": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
打印
请求地址
POST $SCMAPI_HOST/jxc_api/VendorBrief/Print
请求头
请求参数
conditions |
|
CustomerBriefByVendCondition |
StartDate |
|
Nullable`1 |
EndDate |
|
Nullable`1 |
ShowAgeList |
|
Boolean |
Keywords |
|
String |
VendIds |
|
Int32[] |
VendCat |
|
Int32 |
AsStartDate |
|
DateTime |
AppAsId |
|
String |
AccAsId |
|
Int32 |
HideZeroVendor |
|
Boolean |
HideZeroAndNoBusiness |
|
Boolean |
请求示例
{
"StartDate": "2000-01-03T00:00:00",
"EndDate": "2025-02-19T00:00:00+08:00",
"ShowAgeList": false,
"Keywords": null,
"VendIds": null,
"VendCat": 0,
"AsStartDate": "0001-01-01T00:00:00",
"AppAsId": null,
"AccAsId": 0,
"HideZeroVendor": false,
"HideZeroAndNoBusiness": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
VendorStatement
供应商对账单
供应商对账单-获得列表过滤的初始条件
请求地址
POST $SCMAPI_HOST/jxc_api/VendorStatement/InitData
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
VendStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
BillType |
业务类型 |
Int32[] |
VendId |
供应商ID |
Int32[] |
VendType |
供应商类别 |
Int32[] |
ProdIds |
商品 |
Int32[] |
ProdCat |
商品类别 |
Int32[] |
SearchAllVcs |
是否查找所有供应商的数据,当为True时,属性VendId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
VendName |
供应商名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
返回示例
""
供应商对账单-获取供应商应付汇总数据
请求地址
POST $SCMAPI_HOST/jxc_api/VendorStatement/Search
请求头
请求参数
conditions |
搜索条件对象 |
VendStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
BillType |
业务类型 |
Int32[] |
VendId |
供应商ID |
Int32[] |
VendType |
供应商类别 |
Int32[] |
ProdIds |
商品 |
Int32[] |
ProdCat |
商品类别 |
Int32[] |
SearchAllVcs |
是否查找所有供应商的数据,当为True时,属性VendId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
VendName |
供应商名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"BillType": null,
"VendId": null,
"VendType": null,
"ProdIds": null,
"ProdCat": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"VendName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SearchVendStatementResult |
VendId |
|
Int32[] |
VendName |
|
String |
VendStatements |
|
array[object] |
RowType |
记录类型(1:期初余额,0:一般记录) |
Int32 |
BillId |
单据ID |
Int32 |
BillDate |
单据日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类别 |
Int32 |
OfType |
核销类型 |
Int32 |
BillName |
单据类型名称 |
String |
Amount |
采购金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Payable |
应付金额 |
Decimal |
Payment |
实际付款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
Note |
备注 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
DateFmt |
|
String |
ACId |
银行账户ID |
Int32 |
AcName |
|
String |
ProdList |
单据子条目信息 |
array[object] |
Id |
单据ID |
Int32 |
IsReturn |
是否退货类型(0,不是。 1,是) |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
属性 |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
销售金额 |
Decimal |
ProdNo |
商品编号 |
String |
ProdName |
商品名称 |
String |
ProdCat |
商品类别 |
String |
Spec |
商品规格 |
String |
AP |
商品属性 |
String |
UnitName |
商品单位 |
String |
Brand |
品牌 |
String |
Location |
产地 |
String |
Note |
商品行备注 |
String |
AccList |
收款单、付款单子条目信息 app分享对账单会用这个 |
array[object] |
RecId |
收款单ID |
Int32 |
PayId |
收款单ID |
Int32 |
AcId |
账户ID |
Int32 |
AcName |
账户名称 |
String |
Amount |
金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
VendId |
|
Int32 |
VendName |
|
String |
VendNo |
|
String |
Total |
|
Int32 |
SumModel |
|
VendorStatementInfo |
RowType |
记录类型(1:期初余额,0:一般记录) |
Int32 |
BillId |
单据ID |
Int32 |
BillDate |
单据日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类别 |
Int32 |
OfType |
核销类型 |
Int32 |
BillName |
单据类型名称 |
String |
Amount |
采购金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Payable |
应付金额 |
Decimal |
Payment |
实际付款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
Note |
备注 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
DateFmt |
|
String |
ACId |
银行账户ID |
Int32 |
AcName |
|
String |
ProdList |
单据子条目信息 |
array[object] |
Id |
单据ID |
Int32 |
IsReturn |
是否退货类型(0,不是。 1,是) |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
属性 |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
销售金额 |
Decimal |
ProdNo |
商品编号 |
String |
ProdName |
商品名称 |
String |
ProdCat |
商品类别 |
String |
Spec |
商品规格 |
String |
AP |
商品属性 |
String |
UnitName |
商品单位 |
String |
Brand |
品牌 |
String |
Location |
产地 |
String |
Note |
商品行备注 |
String |
AccList |
收款单、付款单子条目信息 app分享对账单会用这个 |
array[object] |
RecId |
收款单ID |
Int32 |
PayId |
收款单ID |
Int32 |
AcId |
账户ID |
Int32 |
AcName |
账户名称 |
String |
Amount |
金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
VendId |
|
Int32 |
VendName |
|
String |
VendNo |
|
String |
返回示例
""
打印(不显示商品明细)
请求地址
POST $SCMAPI_HOST/jxc_api/VendorStatement/Print
请求头
请求参数
conditions |
|
VendStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
BillType |
业务类型 |
Int32[] |
VendId |
供应商ID |
Int32[] |
VendType |
供应商类别 |
Int32[] |
ProdIds |
商品 |
Int32[] |
ProdCat |
商品类别 |
Int32[] |
SearchAllVcs |
是否查找所有供应商的数据,当为True时,属性VendId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
VendName |
供应商名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"BillType": null,
"VendId": null,
"VendType": null,
"ProdIds": null,
"ProdCat": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"VendName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
供应商对账单-获取供应商应付汇总数据
请求地址
POST $SCMAPI_HOST/jxc_api/VendorStatement/AppSearch
请求头
请求参数
conditions |
搜索条件 |
VendStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
BillType |
业务类型 |
Int32[] |
VendId |
供应商ID |
Int32[] |
VendType |
供应商类别 |
Int32[] |
ProdIds |
商品 |
Int32[] |
ProdCat |
商品类别 |
Int32[] |
SearchAllVcs |
是否查找所有供应商的数据,当为True时,属性VendId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
VendName |
供应商名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"BillType": null,
"VendId": null,
"VendType": null,
"ProdIds": null,
"ProdCat": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"VendName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
RowType |
记录类型(1:期初余额,0:一般记录) |
Int32 |
BillId |
单据ID |
Int32 |
BillDate |
单据日期 |
DateTime |
BillNo |
单据编号 |
String |
BillType |
业务类别 |
Int32 |
OfType |
核销类型 |
Int32 |
BillName |
单据类型名称 |
String |
Amount |
采购金额 |
Decimal |
DiscAmount |
优惠金额 |
Decimal |
Payable |
应付金额 |
Decimal |
Payment |
实际付款金额 |
Decimal |
RestAmount |
应付款余额 |
Decimal |
Note |
备注 |
String |
JnCreatedDate |
日记账创建时间 |
DateTime |
DateFmt |
|
String |
ACId |
银行账户ID |
Int32 |
AcName |
|
String |
ProdList |
单据子条目信息 |
array[object] |
Id |
单据ID |
Int32 |
IsReturn |
是否退货类型(0,不是。 1,是) |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
属性 |
Int32 |
UnitId |
单位ID |
Int32 |
QTY |
数量 |
Decimal |
Price |
单价 |
Decimal |
PriceTax |
含税单价 |
Decimal |
PriceDis |
折后单价 |
Decimal |
DisAmount |
折扣额 |
Decimal |
Amount |
金额 |
Decimal |
Tax |
税额 |
Decimal |
AmountTax |
销售金额 |
Decimal |
ProdNo |
商品编号 |
String |
ProdName |
商品名称 |
String |
ProdCat |
商品类别 |
String |
Spec |
商品规格 |
String |
AP |
商品属性 |
String |
UnitName |
商品单位 |
String |
Brand |
品牌 |
String |
Location |
产地 |
String |
Note |
商品行备注 |
String |
AccList |
收款单、付款单子条目信息 app分享对账单会用这个 |
array[object] |
RecId |
收款单ID |
Int32 |
PayId |
收款单ID |
Int32 |
AcId |
账户ID |
Int32 |
AcName |
账户名称 |
String |
Amount |
金额 |
Decimal |
AccountingItemId |
|
Int32 |
AccountingItemName |
|
String |
DepartmentId |
|
Int32 |
DepartmentName |
|
String |
VendId |
|
Int32 |
VendName |
|
String |
VendNo |
|
String |
返回示例
""
供应商对账单-分享供应商应付汇总数据
请求地址
POST $SCMAPI_HOST/jxc_api/VendorStatement/ShareLink
请求头
请求参数
conditions |
搜索条件 |
VendStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
BillType |
业务类型 |
Int32[] |
VendId |
供应商ID |
Int32[] |
VendType |
供应商类别 |
Int32[] |
ProdIds |
商品 |
Int32[] |
ProdCat |
商品类别 |
Int32[] |
SearchAllVcs |
是否查找所有供应商的数据,当为True时,属性VendId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
VendName |
供应商名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"BillType": null,
"VendId": null,
"VendType": null,
"ProdIds": null,
"ProdCat": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"VendName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
供应商对账单-导出供应商对账单到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/VendorStatement/Export
请求头
请求参数
conditions |
搜索条件 |
VendStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
BillType |
业务类型 |
Int32[] |
VendId |
供应商ID |
Int32[] |
VendType |
供应商类别 |
Int32[] |
ProdIds |
商品 |
Int32[] |
ProdCat |
商品类别 |
Int32[] |
SearchAllVcs |
是否查找所有供应商的数据,当为True时,属性VendId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
VendName |
供应商名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"BillType": null,
"VendId": null,
"VendType": null,
"ProdIds": null,
"ProdCat": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"VendName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
分享PDF
请求地址
POST $SCMAPI_HOST/jxc_api/VendorStatement/SharePdf
请求头
请求参数
conditions |
|
VendStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
BillType |
业务类型 |
Int32[] |
VendId |
供应商ID |
Int32[] |
VendType |
供应商类别 |
Int32[] |
ProdIds |
商品 |
Int32[] |
ProdCat |
商品类别 |
Int32[] |
SearchAllVcs |
是否查找所有供应商的数据,当为True时,属性VendId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
VendName |
供应商名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"BillType": null,
"VendId": null,
"VendType": null,
"ProdIds": null,
"ProdCat": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"VendName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
分享Excel
请求地址
POST $SCMAPI_HOST/jxc_api/VendorStatement/ShareExcel
请求头
请求参数
conditions |
|
VendStSearchConditions |
AsStartDateFmt |
账套开启日期 |
String |
StartDateFmt |
单据开始日期 |
String |
EndDateFmt |
单据结束日期 |
String |
BillType |
业务类型 |
Int32[] |
VendId |
供应商ID |
Int32[] |
VendType |
供应商类别 |
Int32[] |
ProdIds |
商品 |
Int32[] |
ProdCat |
商品类别 |
Int32[] |
SearchAllVcs |
是否查找所有供应商的数据,当为True时,属性VendId无效 |
Boolean |
Keywords |
关键字 |
String |
ShowProdDetails |
是否显示商品明细 |
Boolean |
ShowAccDetails |
显示账户明细 app分享对账单会用这个 |
Boolean |
VendName |
供应商名称(仅用于前端显示,不能作为过滤条件使用) |
String |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
AccountingItemId |
|
Int32[] |
DepartmentId |
|
Int32[] |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
UsePager |
是否需要分页 |
Boolean |
ClientTime |
客户端的真实时间 |
String |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"AsStartDateFmt": null,
"StartDateFmt": null,
"EndDateFmt": null,
"BillType": null,
"VendId": null,
"VendType": null,
"ProdIds": null,
"ProdCat": null,
"SearchAllVcs": false,
"Keywords": null,
"ShowProdDetails": false,
"ShowAccDetails": false,
"VendName": null,
"AppAsId": null,
"AccAsId": 0,
"AccountingItemId": null,
"DepartmentId": null,
"PageIndex": 0,
"PageSize": 0,
"UsePager": false,
"ClientTime": null,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SharedMessage |
FileUrl |
文件路径 |
String |
返回示例
""
Sell
销售页面数据
获得销售页面的统计数据
请求地址
POST $SCMAPI_HOST/jxc_api/Sell/GetSellStatisData
请求头
请求参数
billType |
销售单:2020, 退货单:2030 |
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
SellStatisDataModel |
UnCheckedDeliveryCount |
待审核 |
Int32 |
UnReceiptedDeliveryCount |
待收款 |
Int32 |
UnCheckedOrderCount |
待审核订单 |
Int32 |
UnDeliveredOrderCount |
待出库订单 |
Int32 |
CustCount |
总客户数 |
Int32 |
ReceivableCount |
总欠款数 |
Int32 |
ReceivableAmount |
总欠款金额 |
Decimal |
返回示例
""
Print
打印相关
保存打印请求信息,返回标识
请求地址
POST $SCMAPI_HOST/jxc_api/Print/Save
请求头
请求参数
请求示例
"字符串值"
返回值
返回示例
""
更细打印次数
请求地址
POST $SCMAPI_HOST/jxc_api/Print/UpdatePrintCount
请求头
请求参数
para |
|
UpdatePrintCountPara |
BillType |
单据类型 |
BillType |
BillIds |
单据ID |
array[object] |
请求示例
{
"BillType": 0,
"BillIds": null
}
返回值
返回示例
""
检索类别
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/SearchCategory
请求头
请求参数
condition |
|
CategoryCondition |
Ftype |
类别类型编码:客户/1010,供应商/1020,仓库/1030,商品/1040,支出/1050,收入/1060 |
Int32 |
CategoryKeyword |
查询关键字 类别名称/编码 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"Ftype": 0,
"CategoryKeyword": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
TypeId |
|
Int32 |
TypeNo |
|
String |
TypeName |
|
String |
ParentId |
|
Int32 |
SummaryKeywords |
|
String |
TypeNameWithNoFormate |
|
String |
TypeNameWithFormate |
|
String |
CashAAEID |
现金流id |
Int32 |
CashAAEName |
现金流名称 |
String |
CanSelect |
能够被选择 |
Boolean |
SumModel |
合计行 |
CategoryListModel |
TypeId |
|
Int32 |
TypeNo |
|
String |
TypeName |
|
String |
ParentId |
|
Int32 |
SummaryKeywords |
|
String |
TypeNameWithNoFormate |
|
String |
TypeNameWithFormate |
|
String |
CashAAEID |
现金流id |
Int32 |
CashAAEName |
现金流名称 |
String |
CanSelect |
能够被选择 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增类别
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/AddCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
判断是否使用过某个收支类别 是否在记账和业财用过
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/CheckRpCategoryUseErp
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
CheckRpCategoryUseErpBatchRet |
TypeId |
|
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
ParentName |
|
String |
ParentNo |
|
String |
Use |
是否在业财或者记账中用过 |
Boolean |
返回示例
""
批量 判断是否使用过某个收支类别 是否在记账和业财用过
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/CheckRpCategoryUseErpBatch
请求头
请求参数
para |
|
CheckRpCategoryUseErpBatchPara |
Ftype |
|
Int32 |
TypeIds |
|
Int32[] |
请求示例
{
"Ftype": 0,
"TypeIds": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
TypeId |
|
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
ParentName |
|
String |
ParentNo |
|
String |
Use |
是否在业财或者记账中用过 |
Boolean |
返回示例
""
修改类别
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/UpdateCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除类别
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/RemoveCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
批量删除
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/BatchRemoveCategory
请求头
请求参数
model |
|
CategoryRemoveModel |
Items |
|
array[object] |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取等级列表
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/GetLevels
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
LevelId |
等级ID |
Int32 |
LevelNo |
等级编码 |
String |
LevelName |
等级名称 |
String |
返回示例
""
添加客户等级记录
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/AddLevel
请求头
请求参数
levelNo |
|
String |
levelName |
|
String |
请求示例
"字符串值"
返回值
返回示例
""
修改客户等级
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/UpdateLevel
请求头
请求参数
model |
|
CustLevelEditModel |
LevelId |
|
Int32 |
LevelNo |
|
String |
LevelName |
|
String |
请求示例
{
"LevelId": 0,
"LevelNo": null,
"LevelName": null
}
返回值
返回示例
""
删除客户等级记录
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/RemoveLevel
请求头
请求参数
请求示例
0
返回值
返回示例
""
批量删除客户等级记录
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/BatchRemoveLevel
请求头
请求参数
levelIds |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
根据查询条件获取结算方式数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/SearchPayMehtod
请求头
请求参数
condition |
查询条件集合 |
PayMethodCondition |
SearchText |
查询关键字 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
一级子键 |
Int32 |
No |
编码 |
String |
Name |
字符值1 |
String |
SumModel |
合计行 |
PayMethodListModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
一级子键 |
Int32 |
No |
编码 |
String |
Name |
字符值1 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增结算方式
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/AddPayMethod
请求头
请求参数
model |
结算方式信息 |
PayMethodModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
一级子键 |
Int32 |
No |
编码 |
String |
Name |
字符值1 |
String |
请求示例
{
"ErrorList": [],
"AsId": 0,
"MainKey": 0,
"Id": 0,
"No": null,
"Name": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一个可用的结算方式编码
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/GetNextPayMethodNo
请求头
请求示例
返回值
返回示例
""
修改结算方式
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/UpdatePayMethod
请求头
请求参数
model |
结算方式信息 |
PayMethodModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
一级子键 |
Int32 |
No |
编码 |
String |
Name |
字符值1 |
String |
请求示例
{
"ErrorList": [],
"AsId": 0,
"MainKey": 0,
"Id": 0,
"No": null,
"Name": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除结算方式
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DeletePayMethod
请求头
请求参数
arrayModel |
结算方式id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
根据查询条件获取结算期限数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/SearchSettlePeriod
请求头
请求参数
condition |
查询条件集合 |
SettlePeriodCondition |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
id |
Int32 |
Type |
类别,1011 |
Int32 |
Default |
|
Int32 |
Value |
日期的值 |
String |
No |
编码 |
String |
Name |
字符值1 |
String |
SumModel |
合计行 |
SettlePeriodListModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
id |
Int32 |
Type |
类别,1011 |
Int32 |
Default |
|
Int32 |
Value |
日期的值 |
String |
No |
编码 |
String |
Name |
字符值1 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增结算期限
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/AddSettlePeriod
请求头
请求参数
model |
结算方式信息 |
SettlePeriodModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
结算期限Id |
Int32 |
Type |
类型1010,天数,1020 月结 |
Int32 |
Default |
为1是默认,为0是非默认 |
Int32 |
Value |
月结的号数 或者日结的天数 |
String |
No |
编码 |
String |
Name |
字符值1 |
String |
请求示例
{
"ErrorList": [],
"AsId": 0,
"MainKey": 0,
"Id": 0,
"Type": 0,
"Default": 0,
"Value": null,
"No": null,
"Name": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一个可用的结算期限编码
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/GetNextSettlePeriodNo
请求头
请求示例
返回值
返回示例
""
修改结算期限
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/UpdateSettlePeriod
请求头
请求参数
model |
结算期限信息 |
SettlePeriodModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
结算期限Id |
Int32 |
Type |
类型1010,天数,1020 月结 |
Int32 |
Default |
为1是默认,为0是非默认 |
Int32 |
Value |
月结的号数 或者日结的天数 |
String |
No |
编码 |
String |
Name |
字符值1 |
String |
请求示例
{
"ErrorList": [],
"AsId": 0,
"MainKey": 0,
"Id": 0,
"Type": 0,
"Default": 0,
"Value": null,
"No": null,
"Name": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除结算期限
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DeleteSettlePeriod
请求头
请求参数
arrayModel |
结算方式id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取业务类型信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/GetBusinessTypeList
请求头
请求参数
direction |
出入库类型(1001,入库。1002,出库) |
BusinessTypeDirectionEnums |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
TypeId |
业务类型ID |
Int32 |
TypeNo |
业务类型编码 |
String |
TypeName |
业务类型名称 |
String |
Direction |
出入库类型 |
String |
CanEdit |
是否允许编辑 |
Boolean |
返回示例
""
获取下一个可用的业务类型编码
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/GetNextBusinessTypeNo
请求头
请求示例
返回值
返回示例
""
新增业务类型
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/AddBusinessType
请求头
请求参数
model |
|
BusinessTypeEditModel |
TypeId |
业务类型ID |
Int32 |
TypeNo |
业务类型编码 |
String |
TypeName |
业务类型名称 |
String |
Direction |
出入库类型 |
BusinessTypeDirectionEnums |
请求示例
{
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"Direction": 0
}
返回值
返回示例
""
修改业务类型
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/UpdateBusinessType
请求头
请求参数
model |
|
BusinessTypeEditModel |
TypeId |
业务类型ID |
Int32 |
TypeNo |
业务类型编码 |
String |
TypeName |
业务类型名称 |
String |
Direction |
出入库类型 |
BusinessTypeDirectionEnums |
请求示例
{
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"Direction": 0
}
返回值
返回示例
""
批量删除业务类型
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/BatchRemoveBusinessType
请求头
请求参数
model |
|
BusinessTypeRemoveModel |
Items |
|
array[object] |
TypeId |
业务类型ID |
Int32 |
TypeNo |
业务类型编码 |
String |
TypeName |
业务类型名称 |
String |
Direction |
出入库类型 |
String |
CanEdit |
是否允许编辑 |
Boolean |
请求示例
{
"Items": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导入收入类别
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ImportReceiptCatetory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出收入类别信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportReceiptCategory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出部分收入类别信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportReceiptCategory
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载收入类别模板
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownReceiptCategoryTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载收入类别错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownReceiptCategoryTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入支出类别
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ImportPaymentCatetory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出支出类别信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportPaymentCategory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出部分支出类别信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportPaymentCategory
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载支出类别模板
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownPaymentCategoryTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载支出类别错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownPaymentCategoryTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入客户等级
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ImportCustomerLevelExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出客户等级信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportCustomerLevel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出部分客户等级信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportCustomerLevel
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载客户等级模板
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownLoadCustomerLevelTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载客户等级错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownCustomerLevelTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出结算方式信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportPayMethod
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出部分结算方式信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportPayMethod
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入结算方式
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ImportPayMethod
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
下载结算方式模板
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownPayMethodTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载结算方式错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownPayMethodTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出结算期限信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportSettlePeriod
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出部分结算期限信息
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportSettlePeriod
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入结算期限
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ImportSettlePeriod
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
下载结算期限模板
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownSettlePeriodTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载结算期限错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownSettlePeriodTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入业务类型
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ImportBusinessTypeCatetory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出业务类型
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportBusinessTypeCategory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出部分业务类型
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/ExportBusinessTypeCategory
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载业务类别模板
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownBusinessTypeTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载业务类别错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownBusinessTypeTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载计量单位模板
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownUnitTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载计量单位错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/DownUnitTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
获取现金流名称列表
请求地址
POST $SCMAPI_HOST/jxc_api/AssistData/GetCashFlowList
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
ExtensionData |
|
ExtensionDataObject |
AAEID |
|
Int32 |
AAName |
|
String |
AANum |
|
String |
CASH_TYPE |
|
Int32 |
CASH_TYPE_NAME |
|
String |
Deparement |
|
String |
Owner |
|
String |
STATUS |
|
Int32 |
返回示例
""
Attachment
附件相关接口
获取附件列表
请求地址
POST $SCMAPI_HOST/jxc_api/Attachment/Search
请求头
请求参数
conditions |
|
AttachmentCondition |
MainType |
大类(1010:单据。1020:资料) |
Int32 |
SubType |
小类(依照大类,分别对应BillType和Ftype) |
Int32 |
RecId |
相关记录ID, -1:所有 |
Int32 |
请求示例
{
"MainType": 0,
"SubType": 0,
"RecId": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
ID |
Int32 |
FileName |
文件名称 |
String |
FileType |
文件类型 |
FileType |
FileUrl |
文件Url |
String |
FileSize |
文件大小 |
Int64 |
CreatedByName |
上传人 |
String |
DateFmt |
上传日期 |
String |
返回示例
""
删除单个附件
请求地址
POST $SCMAPI_HOST/jxc_api/Attachment/Remove
请求头
请求参数
请求示例
0
返回值
返回示例
""
批量删除附件
请求地址
POST $SCMAPI_HOST/jxc_api/Attachment/BatchRemove
请求头
请求参数
ids |
附件记录ID |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
返回示例
""
添加单条附件信息
请求地址
POST $SCMAPI_HOST/jxc_api/Attachment/Add
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
AttachmentListModel |
Id |
ID |
Int32 |
FileName |
文件名称 |
String |
FileType |
文件类型 |
FileType |
FileUrl |
文件Url |
String |
FileSize |
文件大小 |
Int64 |
CreatedByName |
上传人 |
String |
DateFmt |
上传日期 |
String |
返回示例
""
更新附件
请求地址
POST $SCMAPI_HOST/jxc_api/Attachment/BatchUpdate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
AsId |
帐套ID |
Int32 |
Id |
附件ID |
Int32 |
RecId |
单据ID或资料ID |
Int32 |
MainType |
附件大类(1010,单据。1020,资料) |
Int32 |
SubType |
附件小类 如果是单据,对应BILL_TYPE 如果是资料,对应F_TYPE |
Int32 |
FileName |
文件名称 |
String |
FileType |
文件类型 |
FileType |
FileUrl |
文件url |
String |
FileSize |
文件大小 |
Int64 |
CreatedBy |
上传人 |
Int32 |
CreatedDate |
上传时间 |
DateTime |
返回示例
""
更新附件记录中的单据ID
请求地址
POST $SCMAPI_HOST/jxc_api/Attachment/UpdateAttachRecId
请求头
请求参数
para |
|
UpdateAttachRecIdPara |
RecId |
单据ID或资料ID |
Int32 |
SubType |
单据类型 |
Nullable`1 |
AttachIds |
附件ID |
array[object] |
请求示例
{
"RecId": 0,
"SubType": null,
"AttachIds": null
}
返回值
返回示例
""
将原本单据或者资料关联的附件 覆盖为新的附件
请求地址
POST $SCMAPI_HOST/jxc_api/Attachment/CoverAttachment
请求头
请求参数
para |
|
CoverAttachmentPara |
MainType |
大类(1010:单据。1020:资料) |
Int32 |
SubType |
小类(依照大类,分别对应BillType和Ftype) |
Int32 |
RecId |
单据ID或资料ID |
Int32 |
AttachIds |
附件ID |
array[object] |
请求示例
{
"MainType": 0,
"SubType": 0,
"RecId": 0,
"AttachIds": []
}
返回值
返回示例
""
记录图片更新日志
请求地址
POST $SCMAPI_HOST/jxc_api/Attachment/AddAttachLog
请求头
请求参数
para |
|
UpdateAttachRecIdPara |
RecId |
单据ID或资料ID |
Int32 |
SubType |
单据类型 |
Nullable`1 |
AttachIds |
附件ID |
array[object] |
请求示例
{
"RecId": 0,
"SubType": null,
"AttachIds": null
}
返回值
返回示例
""
BaseDataSearch
基础资料报表查询
根据查询条件获取账户数据
请求地址
POST $SCMAPI_HOST/jxc_api/BaseDataSearch/SearchAccound
请求头
请求参数
condition |
查询条件集合 |
AccountCondition |
SearchText |
查询关键字 |
String |
Status |
是否显示禁用 |
Boolean |
SelectedIds |
前端勾选记录 |
Int32[] |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"SelectedIds": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
AccountSearchModel |
Total |
账户总数 |
Int32 |
Price |
账户总金额 |
Decimal |
Items |
账户信息 |
array[object] |
SysId |
系统ID |
Int32 |
AsId |
账套ID |
Int32 |
Id |
账户ID |
Int32 |
No |
账户编号 |
String |
Name |
账户名称 |
String |
InitAccount |
期初余额 |
Decimal |
price |
当前余额 |
Decimal |
InitDate |
余额日期 |
DateTime |
AccountType |
账户类型 |
Int32 |
Note |
备注 |
String |
Status |
是否可用 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
返回示例
""
根据数据类型获取对应资料数据
请求地址
POST $SCMAPI_HOST/jxc_api/BaseDataSearch/SearchDataByType
请求头
请求参数
condition |
查询集合 |
SearchDataCondition |
SettingTypeIds |
资料类型id集合 |
SettingType[] |
FTypeId |
类别id集合 |
FType |
FeatchAll |
0:根据授权查询,1:查询全部仓库 |
Int32 |
请求示例
{
"SettingTypeIds": null,
"FTypeId": 0,
"FeatchAll": 0
}
返回值
返回示例
""
根据关键字过滤类别
请求地址
POST $SCMAPI_HOST/jxc_api/BaseDataSearch/SearchCategoryData
请求头
请求参数
para |
|
SearchCategoryDataPara |
FTypeId |
类别id集合 |
FType |
Keyword |
关键字 |
String |
请求示例
{
"FTypeId": 0,
"Keyword": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
TypeId |
|
Int32 |
TypeNo |
|
String |
TypeName |
|
String |
ParentId |
|
Int32 |
SummaryKeywords |
|
String |
TypeNameWithNoFormate |
|
String |
TypeNameWithFormate |
|
String |
CashAAEID |
现金流id |
Int32 |
CashAAEName |
现金流名称 |
String |
CanSelect |
能够被选择 |
Boolean |
返回示例
""
根据供应商ID查询统计数据
请求地址
POST $SCMAPI_HOST/jxc_api/BaseDataSearch/GetCustomerStatis
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
CustomerStatisModel |
CustId |
|
Int32 |
CustNo |
|
String |
CustName |
|
String |
CustGradeName |
|
String |
Phone |
|
String |
Amount |
|
Decimal |
Receivable |
|
Decimal |
SellList |
|
array[object] |
Item1 |
|
Decimal |
Item2 |
|
Decimal |
返回示例
""
根据供应商ID查询统计数据
请求地址
POST $SCMAPI_HOST/jxc_api/BaseDataSearch/GetVendorStatis
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
VendorStatisModel |
VendId |
|
Int32 |
VendNo |
|
String |
VendName |
|
String |
Phone |
|
String |
Amount |
|
Decimal |
Payable |
|
Decimal |
PurchaseList |
|
array[object] |
Item1 |
|
Decimal |
Item2 |
|
Decimal |
返回示例
""
CustomerPriceInfo
客户价格资料
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/Search
请求头
请求参数
condition |
|
VCPriceInfoCondition |
InfoIds |
|
Int32[] |
Keywords |
|
String |
StartDate |
生效开始时间 范围起 |
DateTime |
EndDate |
生效开始时间 范围至 |
DateTime |
VcIds |
客户id |
Int32[] |
ProdIds |
商品id |
Int32[] |
VcTypeIds |
客户类型 |
Int32[] |
Type |
价格类型 |
Int32 |
Source |
价格来源 |
Int32 |
ActivateStatus |
价格状态,1 是已生效,3是未审核, 0是失效,-1全部 |
Int32 |
ShowDisabled |
|
Boolean |
ShowDisabledProd |
|
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"InfoIds": null,
"Keywords": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"VcIds": null,
"ProdIds": null,
"VcTypeIds": null,
"Type": 0,
"Source": 0,
"ActivateStatus": 0,
"ShowDisabled": false,
"ShowDisabledProd": false,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Index |
|
Int32 |
Id |
资料id |
Int32 |
PriceStatus |
价格状态 |
String |
PriceStatusEnum |
|
PriceInfoStatusEnum |
StartDate |
|
DateTime |
EndDate |
生效结束时间 不允许客户修改 |
DateTime |
TimeTakeEffect |
开始生效时间 |
String |
TimeExpiration |
过期时间 |
String |
PriceType |
价格类型,为了页面展示以及导出使用的,和infoType 含义想同 |
String |
InfoType |
1010客户供应商 1020客户供应商类别 |
Int32 |
VcId |
客户名称 |
Int32 |
VcName |
客户名称 |
String |
VcNo |
|
String |
VcTypeName |
客户类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
ProdId |
|
Int32 |
ProdTypeName |
商品类别名称 |
String |
Spec |
规格 |
String |
Brand |
|
String |
UseMultiUnits |
|
Boolean |
UseAp |
|
Boolean |
SerialEnabled |
|
Boolean |
ApName |
辅助属性 |
String |
ApId |
|
Int32 |
TradePrice |
|
Decimal |
LimitPrice |
|
Decimal |
Location |
产地 |
String |
UnitName |
单位 |
String |
UnitId |
|
Int32 |
TradeStart |
销货量 起 |
Decimal |
TradeEnd |
销货量 止 |
Decimal |
Source |
来源 |
String |
CreatedByName |
制单人 |
String |
ModifiedDate |
|
String |
CheckedByName |
审核人 |
String |
Note |
备注 |
String |
IsChecked |
|
Int32 |
SumModel |
合计行 |
VCPriceInfoModel |
Index |
|
Int32 |
Id |
资料id |
Int32 |
PriceStatus |
价格状态 |
String |
PriceStatusEnum |
|
PriceInfoStatusEnum |
StartDate |
|
DateTime |
EndDate |
生效结束时间 不允许客户修改 |
DateTime |
TimeTakeEffect |
开始生效时间 |
String |
TimeExpiration |
过期时间 |
String |
PriceType |
价格类型,为了页面展示以及导出使用的,和infoType 含义想同 |
String |
InfoType |
1010客户供应商 1020客户供应商类别 |
Int32 |
VcId |
客户名称 |
Int32 |
VcName |
客户名称 |
String |
VcNo |
|
String |
VcTypeName |
客户类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
ProdId |
|
Int32 |
ProdTypeName |
商品类别名称 |
String |
Spec |
规格 |
String |
Brand |
|
String |
UseMultiUnits |
|
Boolean |
UseAp |
|
Boolean |
SerialEnabled |
|
Boolean |
ApName |
辅助属性 |
String |
ApId |
|
Int32 |
TradePrice |
|
Decimal |
LimitPrice |
|
Decimal |
Location |
产地 |
String |
UnitName |
单位 |
String |
UnitId |
|
Int32 |
TradeStart |
销货量 起 |
Decimal |
TradeEnd |
销货量 止 |
Decimal |
Source |
来源 |
String |
CreatedByName |
制单人 |
String |
ModifiedDate |
|
String |
CheckedByName |
审核人 |
String |
Note |
备注 |
String |
IsChecked |
|
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/InitInfo
请求头
请求参数
arr |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
Index |
|
Int32 |
Id |
资料id |
Int32 |
PriceStatus |
价格状态 |
String |
PriceStatusEnum |
|
PriceInfoStatusEnum |
StartDate |
|
DateTime |
EndDate |
生效结束时间 不允许客户修改 |
DateTime |
TimeTakeEffect |
开始生效时间 |
String |
TimeExpiration |
过期时间 |
String |
PriceType |
价格类型,为了页面展示以及导出使用的,和infoType 含义想同 |
String |
InfoType |
1010客户供应商 1020客户供应商类别 |
Int32 |
VcId |
客户名称 |
Int32 |
VcName |
客户名称 |
String |
VcNo |
|
String |
VcTypeName |
客户类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
ProdId |
|
Int32 |
ProdTypeName |
商品类别名称 |
String |
Spec |
规格 |
String |
Brand |
|
String |
UseMultiUnits |
|
Boolean |
UseAp |
|
Boolean |
SerialEnabled |
|
Boolean |
ApName |
辅助属性 |
String |
ApId |
|
Int32 |
TradePrice |
|
Decimal |
LimitPrice |
|
Decimal |
Location |
产地 |
String |
UnitName |
单位 |
String |
UnitId |
|
Int32 |
TradeStart |
销货量 起 |
Decimal |
TradeEnd |
销货量 止 |
Decimal |
Source |
来源 |
String |
CreatedByName |
制单人 |
String |
ModifiedDate |
|
String |
CheckedByName |
审核人 |
String |
Note |
备注 |
String |
IsChecked |
|
Int32 |
SumModel |
合计行 |
VCPriceInfoModel |
Index |
|
Int32 |
Id |
资料id |
Int32 |
PriceStatus |
价格状态 |
String |
PriceStatusEnum |
|
PriceInfoStatusEnum |
StartDate |
|
DateTime |
EndDate |
生效结束时间 不允许客户修改 |
DateTime |
TimeTakeEffect |
开始生效时间 |
String |
TimeExpiration |
过期时间 |
String |
PriceType |
价格类型,为了页面展示以及导出使用的,和infoType 含义想同 |
String |
InfoType |
1010客户供应商 1020客户供应商类别 |
Int32 |
VcId |
客户名称 |
Int32 |
VcName |
客户名称 |
String |
VcNo |
|
String |
VcTypeName |
客户类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
ProdId |
|
Int32 |
ProdTypeName |
商品类别名称 |
String |
Spec |
规格 |
String |
Brand |
|
String |
UseMultiUnits |
|
Boolean |
UseAp |
|
Boolean |
SerialEnabled |
|
Boolean |
ApName |
辅助属性 |
String |
ApId |
|
Int32 |
TradePrice |
|
Decimal |
LimitPrice |
|
Decimal |
Location |
产地 |
String |
UnitName |
单位 |
String |
UnitId |
|
Int32 |
TradeStart |
销货量 起 |
Decimal |
TradeEnd |
销货量 止 |
Decimal |
Source |
来源 |
String |
CreatedByName |
制单人 |
String |
ModifiedDate |
|
String |
CheckedByName |
审核人 |
String |
Note |
备注 |
String |
IsChecked |
|
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
是否有相同交易数量的交易区间,保存之前调用
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/HaveSameTransactionQuantityRange
请求头
请求参数
model |
|
VCPriceInfoSaveModel |
Infos |
|
array[object] |
Index |
|
Int32 |
Id |
资料id |
Int32 |
PriceStatus |
价格状态 |
String |
PriceStatusEnum |
|
PriceInfoStatusEnum |
StartDate |
|
DateTime |
EndDate |
生效结束时间 不允许客户修改 |
DateTime |
TimeTakeEffect |
开始生效时间 |
String |
TimeExpiration |
过期时间 |
String |
PriceType |
价格类型,为了页面展示以及导出使用的,和infoType 含义想同 |
String |
InfoType |
1010客户供应商 1020客户供应商类别 |
Int32 |
VcId |
客户名称 |
Int32 |
VcName |
客户名称 |
String |
VcNo |
|
String |
VcTypeName |
客户类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
ProdId |
|
Int32 |
ProdTypeName |
商品类别名称 |
String |
Spec |
规格 |
String |
Brand |
|
String |
UseMultiUnits |
|
Boolean |
UseAp |
|
Boolean |
SerialEnabled |
|
Boolean |
ApName |
辅助属性 |
String |
ApId |
|
Int32 |
TradePrice |
|
Decimal |
LimitPrice |
|
Decimal |
Location |
产地 |
String |
UnitName |
单位 |
String |
UnitId |
|
Int32 |
TradeStart |
销货量 起 |
Decimal |
TradeEnd |
销货量 止 |
Decimal |
Source |
来源 |
String |
CreatedByName |
制单人 |
String |
ModifiedDate |
|
String |
CheckedByName |
审核人 |
String |
Note |
备注 |
String |
IsChecked |
|
Int32 |
ConvertMultipleUnits |
保存的时候 多单位是否按比例保存为价格资料 |
Boolean |
UpdateExistData |
更新已有数据 |
Boolean |
请求示例
{
"Infos": null,
"ConvertMultipleUnits": false,
"UpdateExistData": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/Save
请求头
请求参数
model |
|
VCPriceInfoSaveModel |
Infos |
|
array[object] |
Index |
|
Int32 |
Id |
资料id |
Int32 |
PriceStatus |
价格状态 |
String |
PriceStatusEnum |
|
PriceInfoStatusEnum |
StartDate |
|
DateTime |
EndDate |
生效结束时间 不允许客户修改 |
DateTime |
TimeTakeEffect |
开始生效时间 |
String |
TimeExpiration |
过期时间 |
String |
PriceType |
价格类型,为了页面展示以及导出使用的,和infoType 含义想同 |
String |
InfoType |
1010客户供应商 1020客户供应商类别 |
Int32 |
VcId |
客户名称 |
Int32 |
VcName |
客户名称 |
String |
VcNo |
|
String |
VcTypeName |
客户类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
ProdId |
|
Int32 |
ProdTypeName |
商品类别名称 |
String |
Spec |
规格 |
String |
Brand |
|
String |
UseMultiUnits |
|
Boolean |
UseAp |
|
Boolean |
SerialEnabled |
|
Boolean |
ApName |
辅助属性 |
String |
ApId |
|
Int32 |
TradePrice |
|
Decimal |
LimitPrice |
|
Decimal |
Location |
产地 |
String |
UnitName |
单位 |
String |
UnitId |
|
Int32 |
TradeStart |
销货量 起 |
Decimal |
TradeEnd |
销货量 止 |
Decimal |
Source |
来源 |
String |
CreatedByName |
制单人 |
String |
ModifiedDate |
|
String |
CheckedByName |
审核人 |
String |
Note |
备注 |
String |
IsChecked |
|
Int32 |
ConvertMultipleUnits |
保存的时候 多单位是否按比例保存为价格资料 |
Boolean |
UpdateExistData |
更新已有数据 |
Boolean |
请求示例
{
"Infos": null,
"ConvertMultipleUnits": false,
"UpdateExistData": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/AdjustPrice
请求头
请求参数
model |
|
VCPriceInfoSaveModel |
Infos |
|
array[object] |
Index |
|
Int32 |
Id |
资料id |
Int32 |
PriceStatus |
价格状态 |
String |
PriceStatusEnum |
|
PriceInfoStatusEnum |
StartDate |
|
DateTime |
EndDate |
生效结束时间 不允许客户修改 |
DateTime |
TimeTakeEffect |
开始生效时间 |
String |
TimeExpiration |
过期时间 |
String |
PriceType |
价格类型,为了页面展示以及导出使用的,和infoType 含义想同 |
String |
InfoType |
1010客户供应商 1020客户供应商类别 |
Int32 |
VcId |
客户名称 |
Int32 |
VcName |
客户名称 |
String |
VcNo |
|
String |
VcTypeName |
客户类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
ProdId |
|
Int32 |
ProdTypeName |
商品类别名称 |
String |
Spec |
规格 |
String |
Brand |
|
String |
UseMultiUnits |
|
Boolean |
UseAp |
|
Boolean |
SerialEnabled |
|
Boolean |
ApName |
辅助属性 |
String |
ApId |
|
Int32 |
TradePrice |
|
Decimal |
LimitPrice |
|
Decimal |
Location |
产地 |
String |
UnitName |
单位 |
String |
UnitId |
|
Int32 |
TradeStart |
销货量 起 |
Decimal |
TradeEnd |
销货量 止 |
Decimal |
Source |
来源 |
String |
CreatedByName |
制单人 |
String |
ModifiedDate |
|
String |
CheckedByName |
审核人 |
String |
Note |
备注 |
String |
IsChecked |
|
Int32 |
ConvertMultipleUnits |
保存的时候 多单位是否按比例保存为价格资料 |
Boolean |
UpdateExistData |
更新已有数据 |
Boolean |
请求示例
{
"Infos": null,
"ConvertMultipleUnits": false,
"UpdateExistData": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/Check
请求头
请求参数
model |
|
VCPriceInfoSaveModel |
Infos |
|
array[object] |
Index |
|
Int32 |
Id |
资料id |
Int32 |
PriceStatus |
价格状态 |
String |
PriceStatusEnum |
|
PriceInfoStatusEnum |
StartDate |
|
DateTime |
EndDate |
生效结束时间 不允许客户修改 |
DateTime |
TimeTakeEffect |
开始生效时间 |
String |
TimeExpiration |
过期时间 |
String |
PriceType |
价格类型,为了页面展示以及导出使用的,和infoType 含义想同 |
String |
InfoType |
1010客户供应商 1020客户供应商类别 |
Int32 |
VcId |
客户名称 |
Int32 |
VcName |
客户名称 |
String |
VcNo |
|
String |
VcTypeName |
客户类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
|
String |
ProdId |
|
Int32 |
ProdTypeName |
商品类别名称 |
String |
Spec |
规格 |
String |
Brand |
|
String |
UseMultiUnits |
|
Boolean |
UseAp |
|
Boolean |
SerialEnabled |
|
Boolean |
ApName |
辅助属性 |
String |
ApId |
|
Int32 |
TradePrice |
|
Decimal |
LimitPrice |
|
Decimal |
Location |
产地 |
String |
UnitName |
单位 |
String |
UnitId |
|
Int32 |
TradeStart |
销货量 起 |
Decimal |
TradeEnd |
销货量 止 |
Decimal |
Source |
来源 |
String |
CreatedByName |
制单人 |
String |
ModifiedDate |
|
String |
CheckedByName |
审核人 |
String |
Note |
备注 |
String |
IsChecked |
|
Int32 |
ConvertMultipleUnits |
保存的时候 多单位是否按比例保存为价格资料 |
Boolean |
UpdateExistData |
更新已有数据 |
Boolean |
请求示例
{
"Infos": null,
"ConvertMultipleUnits": false,
"UpdateExistData": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/Uncheck
请求头
请求参数
InfoIdWithIndex |
|
array[object] |
InfoId |
价格信息id |
Int32 |
Index |
价格信息序号 |
Int32 |
请求示例
[
{
"InfoId": 0,
"Index": 0
}
]
返回值
返回示例
""
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/CheckArr
请求头
请求参数
InfoIdWithIndex |
|
array[object] |
InfoId |
价格信息id |
Int32 |
Index |
价格信息序号 |
Int32 |
请求示例
[
{
"InfoId": 0,
"Index": 0
}
]
返回值
返回示例
""
设为生效状态
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/Activate
请求头
请求参数
InfoIdWithIndex |
|
array[object] |
InfoId |
价格信息id |
Int32 |
Index |
价格信息序号 |
Int32 |
请求示例
[
{
"InfoId": 0,
"Index": 0
}
]
返回值
返回示例
""
设为失效状态
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/Deactivate
请求头
请求参数
InfoIdWithIndex |
|
array[object] |
InfoId |
价格信息id |
Int32 |
Index |
价格信息序号 |
Int32 |
请求示例
[
{
"InfoId": 0,
"Index": 0
}
]
返回值
返回示例
""
删除价格资料
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/DelPriceInfo
请求头
请求参数
InfoIdWithIndex |
|
array[object] |
InfoId |
价格信息id |
Int32 |
Index |
价格信息序号 |
Int32 |
请求示例
[
{
"InfoId": 0,
"Index": 0
}
]
返回值
返回示例
""
导入接口
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/Import
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
下载导入模版
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/DownloadTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载导入错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/DownloadErrorData
请求头
请求参数
model |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出价格资料
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerPriceInfo/Export
请求头
请求参数
condition |
|
VCPriceInfoCondition |
InfoIds |
|
Int32[] |
Keywords |
|
String |
StartDate |
生效开始时间 范围起 |
DateTime |
EndDate |
生效开始时间 范围至 |
DateTime |
VcIds |
客户id |
Int32[] |
ProdIds |
商品id |
Int32[] |
VcTypeIds |
客户类型 |
Int32[] |
Type |
价格类型 |
Int32 |
Source |
价格来源 |
Int32 |
ActivateStatus |
价格状态,1 是已生效,3是未审核, 0是失效,-1全部 |
Int32 |
ShowDisabled |
|
Boolean |
ShowDisabledProd |
|
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"InfoIds": null,
"Keywords": null,
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"VcIds": null,
"ProdIds": null,
"VcTypeIds": null,
"Type": 0,
"Source": 0,
"ActivateStatus": 0,
"ShowDisabled": false,
"ShowDisabledProd": false,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
PayMethod
结算方式控制器
根据查询条件获取结算方式数据
请求地址
POST $SCMAPI_HOST/jxc_api/PayMethod/Search
请求头
请求参数
condition |
查询条件集合 |
PayMethodCondition |
SearchText |
查询关键字 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
一级子键 |
Int32 |
No |
编码 |
String |
Name |
字符值1 |
String |
SumModel |
合计行 |
PayMethodListModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
一级子键 |
Int32 |
No |
编码 |
String |
Name |
字符值1 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增结算方式
请求地址
POST $SCMAPI_HOST/jxc_api/PayMethod/Add
请求头
请求参数
model |
结算方式信息 |
PayMethodModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
一级子键 |
Int32 |
No |
编码 |
String |
Name |
字符值1 |
String |
请求示例
{
"ErrorList": [],
"AsId": 0,
"MainKey": 0,
"Id": 0,
"No": null,
"Name": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
获取下一个可用的结算方式编码
请求地址
POST $SCMAPI_HOST/jxc_api/PayMethod/GetNextNo
请求头
请求示例
返回值
返回示例
""
修改结算方式
请求地址
POST $SCMAPI_HOST/jxc_api/PayMethod/Update
请求头
请求参数
model |
结算方式信息 |
PayMethodModel |
AsId |
账套ID |
Int32 |
MainKey |
主键 |
Int32 |
Id |
一级子键 |
Int32 |
No |
编码 |
String |
Name |
字符值1 |
String |
请求示例
{
"ErrorList": [],
"AsId": 0,
"MainKey": 0,
"Id": 0,
"No": null,
"Name": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除结算方式
请求地址
POST $SCMAPI_HOST/jxc_api/PayMethod/Delete
请求头
请求参数
arrayModel |
结算方式id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
PriceQuery
价格查询
价格资料列表查询
请求地址
POST $SCMAPI_HOST/jxc_api/PriceQuery/Search
请求头
请求参数
condition |
|
PriceQueryCondition |
ShowDisabledProd |
显示禁用商品 |
Boolean |
ShowDisabledCust |
显示禁用客户 |
Boolean |
ShowDisabledVend |
显示禁用供应商 |
Boolean |
IntPriceStatus |
价格状态,1 是已生效,3是未审核,0是失效 |
Int32 |
IntPriceSource |
价格来源 PriceSourceEnum 对应这个 |
Int32 |
CustIds |
客户id |
Int32[] |
VendIds |
供应商 |
Int32[] |
ProdIds |
商品 |
array[object] |
ProdId |
商品Id |
Int32 |
ApId |
辅助属性Id |
Int32 |
ProdType |
商品类别 |
Int32[] |
Keywords |
关键词快捷查询 查询商品名称 商品编码 忽略大小写 |
String |
PriceQueryIds |
|
array[object] |
SourceType |
类型id |
PriceSourceEnum |
ProdId |
|
Int32 |
UnitId |
|
Int32 |
ApId |
|
Int32 |
InfoId |
|
Int32 |
LevelId |
|
Int32 |
DomModel |
|
FromDomModel |
VcId |
客户、供应商ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Count |
交易数量 |
Decimal |
OrderDate |
|
DateTime |
Price |
|
Decimal |
RuleId |
|
Int32 |
IsSell |
|
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"ShowDisabledProd": false,
"ShowDisabledCust": false,
"ShowDisabledVend": false,
"IntPriceStatus": 0,
"IntPriceSource": 0,
"CustIds": null,
"VendIds": null,
"ProdIds": null,
"ProdType": null,
"Keywords": null,
"PriceQueryIds": null,
"DomModel": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
CustId |
|
Int32 |
VendId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编号 |
String |
ProdType |
商品类别 |
String |
Spec |
规格 |
String |
ApName |
辅助属性 |
String |
Brand |
品牌 |
String |
Location |
产地 |
String |
UnitName |
单位名称 |
String |
Price |
商品价格 |
Decimal |
PriceStatus |
价格状态 |
String |
IsLight |
|
Boolean |
PriceType |
价格类型 |
String |
IntPriceStatus |
|
Int32 |
OrderPriceStatus |
|
Int32 |
PriceSource |
价格来源 |
String |
VcNo |
往来单位编码 |
String |
VcName |
往来单位名称 |
String |
VcTypeName |
往来单位类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
StartDateFmt |
开始时间 |
String |
EndDateFmt |
结束时间 |
String |
CreatedName |
创建人 |
String |
CheckedName |
审核人 |
String |
ModifiedDateFmt |
更新时间 |
String |
PriceTypeOrder |
客户价格资料1、客户类别价格资料2、供应商价格资料3 供应商类别价格资料4、预计采购价5、 其他等级价格6、最高采购价7、 最低销售价 8 最近采购价9、最近销售价10 |
Int32 |
SourceType |
类型id |
PriceSourceEnum |
ProdId |
|
Int32 |
UnitId |
|
Int32 |
ApId |
|
Int32 |
InfoId |
|
Int32 |
LevelId |
|
Int32 |
SumModel |
合计行 |
PriceQueryModel |
CustId |
|
Int32 |
VendId |
|
Int32 |
ProdName |
商品名称 |
String |
ProdNo |
商品编号 |
String |
ProdType |
商品类别 |
String |
Spec |
规格 |
String |
ApName |
辅助属性 |
String |
Brand |
品牌 |
String |
Location |
产地 |
String |
UnitName |
单位名称 |
String |
Price |
商品价格 |
Decimal |
PriceStatus |
价格状态 |
String |
IsLight |
|
Boolean |
PriceType |
价格类型 |
String |
IntPriceStatus |
|
Int32 |
OrderPriceStatus |
|
Int32 |
PriceSource |
价格来源 |
String |
VcNo |
往来单位编码 |
String |
VcName |
往来单位名称 |
String |
VcTypeName |
往来单位类别 |
String |
VcTypeNo |
|
String |
VcTypeId |
|
Int32 |
StartDateFmt |
开始时间 |
String |
EndDateFmt |
结束时间 |
String |
CreatedName |
创建人 |
String |
CheckedName |
审核人 |
String |
ModifiedDateFmt |
更新时间 |
String |
PriceTypeOrder |
客户价格资料1、客户类别价格资料2、供应商价格资料3 供应商类别价格资料4、预计采购价5、 其他等级价格6、最高采购价7、 最低销售价 8 最近采购价9、最近销售价10 |
Int32 |
SourceType |
类型id |
PriceSourceEnum |
ProdId |
|
Int32 |
UnitId |
|
Int32 |
ApId |
|
Int32 |
InfoId |
|
Int32 |
LevelId |
|
Int32 |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
价格资料列表导出
请求地址
POST $SCMAPI_HOST/jxc_api/PriceQuery/Export
请求头
请求参数
condition |
|
PriceQueryCondition |
ShowDisabledProd |
显示禁用商品 |
Boolean |
ShowDisabledCust |
显示禁用客户 |
Boolean |
ShowDisabledVend |
显示禁用供应商 |
Boolean |
IntPriceStatus |
价格状态,1 是已生效,3是未审核,0是失效 |
Int32 |
IntPriceSource |
价格来源 PriceSourceEnum 对应这个 |
Int32 |
CustIds |
客户id |
Int32[] |
VendIds |
供应商 |
Int32[] |
ProdIds |
商品 |
array[object] |
ProdId |
商品Id |
Int32 |
ApId |
辅助属性Id |
Int32 |
ProdType |
商品类别 |
Int32[] |
Keywords |
关键词快捷查询 查询商品名称 商品编码 忽略大小写 |
String |
PriceQueryIds |
|
array[object] |
SourceType |
类型id |
PriceSourceEnum |
ProdId |
|
Int32 |
UnitId |
|
Int32 |
ApId |
|
Int32 |
InfoId |
|
Int32 |
LevelId |
|
Int32 |
DomModel |
|
FromDomModel |
VcId |
客户、供应商ID |
Int32 |
ProdId |
商品ID |
Int32 |
ApId |
辅助属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
Count |
交易数量 |
Decimal |
OrderDate |
|
DateTime |
Price |
|
Decimal |
RuleId |
|
Int32 |
IsSell |
|
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"ShowDisabledProd": false,
"ShowDisabledCust": false,
"ShowDisabledVend": false,
"IntPriceStatus": 0,
"IntPriceSource": 0,
"CustIds": null,
"VendIds": null,
"ProdIds": null,
"ProdType": null,
"Keywords": null,
"PriceQueryIds": null,
"DomModel": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
ProductPrice
价格策略(2.7新增)
获取一条价格设置金额信息
请求地址
POST $SCMAPI_HOST/jxc_api/ProductPrice/GetPrice
请求头
请求参数
request |
|
GetProdPriceRequest |
ProdId |
商品ID |
Int32 |
ApId |
商品属性 |
Int32 |
UnitId |
商品单位 |
Int32 |
LevelId |
客户等级(0代表默认采购价格) |
Int32 |
请求示例
{
"ProdId": 0,
"ApId": 0,
"UnitId": 0,
"LevelId": 0
}
返回值
返回示例
""
获取相关商品的相关价格设置
请求地址
POST $SCMAPI_HOST/jxc_api/ProductPrice/GetPrices
请求头
请求参数
prodId |
商品ID |
Int32 |
dataType |
数据类型(0:全部。1010:单位相关。1020:属性相关) |
Int32 |
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
ProdId |
商品ID |
Int32 |
ApId |
属性ID |
Int32 |
ApNo |
属性编码(只有在设置辅助属性的的情况下使用此字段) |
Int32 |
UnitId |
单位ID |
Int32 |
LevelId |
客户等级ID(0代表预计采购价格) |
Int32 |
Price |
价格 |
String |
返回示例
""
获取一条价格设置金额信息
请求地址
POST $SCMAPI_HOST/jxc_api/ProductPrice/GetSalePrice
请求头
请求参数
custId |
|
Int32 |
prodId |
|
Int32 |
apId |
|
Int32 |
unitId |
|
Int32 |
请求示例
0
返回值
返回示例
""
添加商品价格策略
请求地址
POST $SCMAPI_HOST/jxc_api/ProductPrice/AddProdPrice
请求头
请求参数
model |
|
ProdPriceAddModel |
ProdId |
商品ID |
Int32 |
Items |
设置条目列表 |
array[object] |
ApId |
属性ID |
Int32 |
UnitId |
单位ID |
Int32 |
LevelId |
客户等级ID(0代表默认采购价格) |
Int32 |
Price |
价格 |
Decimal |
请求示例
{
"ProdId": 0,
"Items": null
}
返回值
返回示例
""
删除价格策略信息(删除商品时调用)
请求地址
POST $SCMAPI_HOST/jxc_api/ProductPrice/Remove
请求头
请求参数
请求示例
0
返回值
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/ProductPriceInfo/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/ProductPriceInfo/DownloadErrorData
请求头
请求参数
guId |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Account
账户控制器
根据查询条件获取账户数据
请求地址
POST $SCMAPI_HOST/jxc_api/Account/Search
请求头
请求参数
condition |
查询条件集合 |
AccountCondition |
SearchText |
查询关键字 |
String |
Status |
是否显示禁用 |
Boolean |
SelectedIds |
前端勾选记录 |
Int32[] |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"SelectedIds": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
SysId |
系统ID |
Int32 |
AsId |
账套ID |
Int32 |
Id |
账户ID |
Int32 |
No |
账户编号 |
String |
Name |
账户名称 |
String |
InitAccount |
期初余额 |
Decimal |
price |
当前余额 |
Decimal |
InitDate |
余额日期 |
DateTime |
AccountType |
账户类型 |
Int32 |
Note |
备注 |
String |
Status |
是否可用 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
SumModel |
合计行 |
AccountListModel |
SysId |
系统ID |
Int32 |
AsId |
账套ID |
Int32 |
Id |
账户ID |
Int32 |
No |
账户编号 |
String |
Name |
账户名称 |
String |
InitAccount |
期初余额 |
Decimal |
price |
当前余额 |
Decimal |
InitDate |
余额日期 |
DateTime |
AccountType |
账户类型 |
Int32 |
Note |
备注 |
String |
Status |
是否可用 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增账户
请求地址
POST $SCMAPI_HOST/jxc_api/Account/Add
请求头
请求参数
model |
账户信息 |
AccountEditModel |
SysId |
系统ID |
Int32 |
AsId |
账套ID |
Int32 |
Id |
账户ID |
Int32 |
No |
账户编号 |
String |
Name |
账户名称 |
String |
InitAccount |
期初余额 |
Decimal |
price |
当前余额 |
Decimal |
InitDate |
余额日期 |
DateTime |
AccountType |
账户类型 |
Int32 |
Note |
备注 |
String |
Status |
是否可用 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DefaultAcId |
是否的默认的账户 |
Boolean |
请求示例
{
"SysId": 0,
"AsId": 0,
"Id": 0,
"No": null,
"Name": null,
"InitAccount": 0.0,
"price": 0.0,
"InitDate": "0001-01-01T00:00:00",
"AccountType": 0,
"Note": null,
"Status": false,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"DefaultAcId": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
AccountEditModel |
SysId |
系统ID |
Int32 |
AsId |
账套ID |
Int32 |
Id |
账户ID |
Int32 |
No |
账户编号 |
String |
Name |
账户名称 |
String |
InitAccount |
期初余额 |
Decimal |
price |
当前余额 |
Decimal |
InitDate |
余额日期 |
DateTime |
AccountType |
账户类型 |
Int32 |
Note |
备注 |
String |
Status |
是否可用 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DefaultAcId |
是否的默认的账户 |
Boolean |
返回示例
""
修改账户
请求地址
POST $SCMAPI_HOST/jxc_api/Account/Update
请求头
请求参数
model |
账户信息 |
AccountEditModel |
SysId |
系统ID |
Int32 |
AsId |
账套ID |
Int32 |
Id |
账户ID |
Int32 |
No |
账户编号 |
String |
Name |
账户名称 |
String |
InitAccount |
期初余额 |
Decimal |
price |
当前余额 |
Decimal |
InitDate |
余额日期 |
DateTime |
AccountType |
账户类型 |
Int32 |
Note |
备注 |
String |
Status |
是否可用 |
Boolean |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
DefaultAcId |
是否的默认的账户 |
Boolean |
请求示例
{
"SysId": 0,
"AsId": 0,
"Id": 0,
"No": null,
"Name": null,
"InitAccount": 0.0,
"price": 0.0,
"InitDate": "0001-01-01T00:00:00",
"AccountType": 0,
"Note": null,
"Status": false,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"DefaultAcId": false
}
返回值
返回示例
""
删除账户
请求地址
POST $SCMAPI_HOST/jxc_api/Account/Delete
请求头
请求参数
arrayModel |
账户id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
启用账户
请求地址
POST $SCMAPI_HOST/jxc_api/Account/Enable
请求头
请求参数
arrayModel |
账户id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
禁用账户
请求地址
POST $SCMAPI_HOST/jxc_api/Account/Disable
请求头
请求参数
arrayModel |
账户id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/Account/Export
请求头
请求参数
conditions |
|
AccountCondition |
SearchText |
查询关键字 |
String |
Status |
是否显示禁用 |
Boolean |
SelectedIds |
前端勾选记录 |
Int32[] |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"SelectedIds": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/Account/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Account/DownErrorData
请求头
请求参数
model |
错误数据guid |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入数据
请求地址
POST $SCMAPI_HOST/jxc_api/Account/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
CustomerCode
客户商品编码控制器
根据查询条件获取客户商品编码数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerCode/Search
请求头
请求参数
condition |
查询条件集合 |
CustomerCodeCondition |
SearchText |
查询关键字 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
SysId |
系统id |
Int32 |
AsId |
账套编码 |
Int32 |
CustId |
客户id |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
ProdId |
商品id |
Int32 |
ProdNo |
商品编号 |
String |
ProdName |
商品名称 |
String |
Spec |
规格型号 |
String |
UnitId |
单位id |
Int32 |
UnitIt |
客户商品编码 |
String |
tempId |
被修改 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改时间 |
DateTime |
SumModel |
合计行 |
CustomerCodeListModel |
SysId |
系统id |
Int32 |
AsId |
账套编码 |
Int32 |
CustId |
客户id |
Int32 |
CustNo |
客户编码 |
String |
CustName |
客户名称 |
String |
ProdId |
商品id |
Int32 |
ProdNo |
商品编号 |
String |
ProdName |
商品名称 |
String |
Spec |
规格型号 |
String |
UnitId |
单位id |
Int32 |
UnitIt |
客户商品编码 |
String |
tempId |
被修改 |
String |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改时间 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
保存客户商品编码
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerCode/Save
请求头
请求参数
list |
客户商品编码信息 |
array[object] |
CustId |
客户id |
Int32 |
ProdId |
商品id |
Int32 |
UnitIt |
客户商品编码 |
String |
OldCustId |
原客户Id |
Int32 |
OldProdId |
原商品Id |
Int32 |
请求示例
[
{
"CustId": 0,
"ProdId": 0,
"UnitIt": null,
"OldCustId": 0,
"OldProdId": 0
}
]
返回值
返回示例
""
删除客户商品编码
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerCode/Delete
请求头
请求参数
list |
删除信息 |
array[object] |
CustomerId |
客户id(旧的,将要被去掉) |
Int32 |
CustId |
客户id |
Int32 |
ProdId |
商品id |
Int32 |
请求示例
[
{
"CustomerId": 0,
"CustId": 0,
"ProdId": 0
}
]
返回值
返回示例
""
导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerCode/Export
请求头
请求参数
model |
查询信息 |
CustomerCodeExportModel |
PageIndex |
页数 |
Int32 |
PageSize |
每页条数 |
Int32 |
Total |
全部条数 |
Int32 |
Items |
未知列表 |
array[object] |
SearchText |
查询条件 |
String |
Status |
状态 |
Boolean |
Ids |
Id集合 |
String[] |
请求示例
{
"PageIndex": 0,
"PageSize": 0,
"Total": 0,
"Items": null,
"SearchText": null,
"Status": false,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerCode/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerCode/DownErrorData
请求头
请求参数
model |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入数据
请求地址
POST $SCMAPI_HOST/jxc_api/CustomerCode/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Customer
客户控制器
根据查询条件获取客户数据,PC调用
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/Search
请求头
请求参数
condition |
查询条件集合 |
CustomerCondition |
SearchText |
查询关键字 列表 |
String |
Status |
是否显示禁用 |
Boolean |
CategroryIds |
类别id集合 |
Int32[] |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
Ftype |
|
Int32 |
UpdateTimeStart |
|
DateTime |
UpdateTimeEnd |
|
DateTime |
CategoryKeyword |
查询关键字 类别名称/编码 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"CategroryIds": null,
"AppAsId": null,
"AccAsId": 0,
"Ftype": 1010,
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"CategoryKeyword": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
CusttypeId |
客户类别ID |
Int32 |
CusttypeName |
客户类别名称 |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编号 |
String |
CustName |
客户名称 |
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
CustGrade |
客户等级 |
Int32 |
CustGradeName |
客户等级名称 |
String |
ReceivableDate |
应收款余额日期 |
DateTime |
Receivable |
应收款 |
Decimal |
Received |
预交款 |
Decimal |
InitAmount |
应收款初始余额 |
Decimal |
LastAmount |
应收款余额 |
Decimal |
OFAmount |
核销金额 |
Decimal |
OFStatus |
核销状态 |
BillStatus |
TaxNo |
纳税人识别号 |
String |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售名称 |
String |
SalesNo |
销售员编码 |
String |
AdLevel0 |
国家 |
Int32 |
AdLevel1 |
省 |
Int32 |
AdLevel2 |
市 |
Int32 |
AdLevel3 |
县 |
Int32 |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
客户状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
BillusedDate |
最近使用时间 |
DateTime |
StrCreatedDate |
创建日期 |
String |
SettlePeriodID |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
Credit |
客户信用额度 |
Decimal |
SumModel |
合计行 |
CustomerListModel |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
CusttypeId |
客户类别ID |
Int32 |
CusttypeName |
客户类别名称 |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编号 |
String |
CustName |
客户名称 |
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
CustGrade |
客户等级 |
Int32 |
CustGradeName |
客户等级名称 |
String |
ReceivableDate |
应收款余额日期 |
DateTime |
Receivable |
应收款 |
Decimal |
Received |
预交款 |
Decimal |
InitAmount |
应收款初始余额 |
Decimal |
LastAmount |
应收款余额 |
Decimal |
OFAmount |
核销金额 |
Decimal |
OFStatus |
核销状态 |
BillStatus |
TaxNo |
纳税人识别号 |
String |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售名称 |
String |
SalesNo |
销售员编码 |
String |
AdLevel0 |
国家 |
Int32 |
AdLevel1 |
省 |
Int32 |
AdLevel2 |
市 |
Int32 |
AdLevel3 |
县 |
Int32 |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
客户状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
BillusedDate |
最近使用时间 |
DateTime |
StrCreatedDate |
创建日期 |
String |
SettlePeriodID |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
Credit |
客户信用额度 |
Decimal |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
根据查询条件获取客户数据,APP调用
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/SearchCust
请求头
请求参数
condition |
查询条件集合 |
CustomerCondition |
SearchText |
查询关键字 列表 |
String |
Status |
是否显示禁用 |
Boolean |
CategroryIds |
类别id集合 |
Int32[] |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
Ftype |
|
Int32 |
UpdateTimeStart |
|
DateTime |
UpdateTimeEnd |
|
DateTime |
CategoryKeyword |
查询关键字 类别名称/编码 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"CategroryIds": null,
"AppAsId": null,
"AccAsId": 0,
"Ftype": 1010,
"UpdateTimeStart": "0001-01-01T00:00:00",
"UpdateTimeEnd": "0001-01-01T00:00:00",
"CategoryKeyword": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
CustomerSearchModel |
Total |
客户总数 |
Int32 |
ArrearsTotal |
欠款客户总数 |
Int32 |
ArrearsAmount |
客户欠款总金额 |
Decimal |
CustList |
客户列表 |
array[object] |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
CusttypeId |
客户类别ID |
Int32 |
CusttypeName |
客户类别名称 |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编号 |
String |
CustName |
客户名称 |
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
CustGrade |
客户等级 |
Int32 |
CustGradeName |
客户等级名称 |
String |
ReceivableDate |
应收款余额日期 |
DateTime |
Receivable |
应收款 |
Decimal |
Received |
预交款 |
Decimal |
InitAmount |
应收款初始余额 |
Decimal |
LastAmount |
应收款余额 |
Decimal |
OFAmount |
核销金额 |
Decimal |
OFStatus |
核销状态 |
BillStatus |
TaxNo |
纳税人识别号 |
String |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售名称 |
String |
SalesNo |
销售员编码 |
String |
AdLevel0 |
国家 |
Int32 |
AdLevel1 |
省 |
Int32 |
AdLevel2 |
市 |
Int32 |
AdLevel3 |
县 |
Int32 |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
客户状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
BillusedDate |
最近使用时间 |
DateTime |
StrCreatedDate |
创建日期 |
String |
SettlePeriodID |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
Credit |
客户信用额度 |
Decimal |
返回示例
""
根据客户id获取客户详情
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/GetCustById
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
CustomerListModel |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
CusttypeId |
客户类别ID |
Int32 |
CusttypeName |
客户类别名称 |
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编号 |
String |
CustName |
客户名称 |
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
CustGrade |
客户等级 |
Int32 |
CustGradeName |
客户等级名称 |
String |
ReceivableDate |
应收款余额日期 |
DateTime |
Receivable |
应收款 |
Decimal |
Received |
预交款 |
Decimal |
InitAmount |
应收款初始余额 |
Decimal |
LastAmount |
应收款余额 |
Decimal |
OFAmount |
核销金额 |
Decimal |
OFStatus |
核销状态 |
BillStatus |
TaxNo |
纳税人识别号 |
String |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Sales |
销售 |
Int32 |
SalesName |
销售名称 |
String |
SalesNo |
销售员编码 |
String |
AdLevel0 |
国家 |
Int32 |
AdLevel1 |
省 |
Int32 |
AdLevel2 |
市 |
Int32 |
AdLevel3 |
县 |
Int32 |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
客户状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
BillusedDate |
最近使用时间 |
DateTime |
StrCreatedDate |
创建日期 |
String |
SettlePeriodID |
结算期限id |
Int32 |
SettlePeriodName |
结算期限名字 |
String |
Credit |
客户信用额度 |
Decimal |
返回示例
""
新增客户
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/Add
请求头
请求参数
model |
客户信息 |
CustomerEditModel |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
CusttypeId |
客户类别ID |
Int32 |
CusttypeName |
|
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编号 |
String |
CustName |
客户名称 |
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
CustGrade |
客户等级 |
Int32 |
CustGradeName |
|
String |
ReceivableDate |
应收款余额日期 |
DateTime |
Receivable |
应收款 |
Decimal |
Received |
预交款 |
Decimal |
InitAmount |
应收款初始余额 |
Decimal |
LastAmount |
应收款余额 |
Decimal |
OFAmount |
核销金额 |
Decimal |
OFStatus |
核销状态 |
BillStatus |
TaxNo |
纳税人识别号 |
String |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Sales |
销售 |
Int32 |
SalesName |
|
String |
AdLevel0 |
国家 |
Int32 |
AdLevel1 |
省 |
Int32 |
AdLevel2 |
市 |
Int32 |
AdLevel3 |
县 |
Int32 |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
客户状态 |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
BillusedDate |
最近使用时间 |
DateTime |
Credit |
客户信用额度 |
Decimal |
请求示例
{
"SysId": 0,
"AsId": 0,
"CusttypeId": 0,
"CusttypeName": null,
"CustId": 0,
"CustNo": null,
"CustName": null,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"CustGrade": 0,
"CustGradeName": "",
"ReceivableDate": "0001-01-01T00:00:00",
"Receivable": 0.0,
"Received": 0.0,
"InitAmount": 0.0,
"LastAmount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"TaxNo": null,
"Bank": null,
"AcNo": null,
"Sales": 0,
"SalesName": null,
"AdLevel0": 0,
"AdLevel1": 0,
"AdLevel2": 0,
"AdLevel3": 0,
"Address": null,
"Note": null,
"Status": 0,
"SettlePeriodId": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"LinkMan": null,
"LinkManTel": null,
"IM": null,
"BillusedDate": "0001-01-01T00:00:00",
"Credit": 0.0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
系统存在这个名字么
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/ExistName
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
系统存在这个名字么
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/IsNameExist
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
系统存在这个名字么
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/IsNameExistV2
请求头
请求参数
existNameReq |
名字 |
ExistNameReq |
Name |
|
String |
Id |
|
Int32 |
请求示例
{
"Name": null,
"Id": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改客户
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/Update
请求头
请求参数
model |
客户信息 |
CustomerEditModel |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
CusttypeId |
客户类别ID |
Int32 |
CusttypeName |
|
String |
CustId |
客户ID |
Int32 |
CustNo |
客户编号 |
String |
CustName |
客户名称 |
String |
Recvr |
收货人 |
String |
RecvMobile |
收货电话 |
String |
RecvAddress |
收货地址 |
String |
CustGrade |
客户等级 |
Int32 |
CustGradeName |
|
String |
ReceivableDate |
应收款余额日期 |
DateTime |
Receivable |
应收款 |
Decimal |
Received |
预交款 |
Decimal |
InitAmount |
应收款初始余额 |
Decimal |
LastAmount |
应收款余额 |
Decimal |
OFAmount |
核销金额 |
Decimal |
OFStatus |
核销状态 |
BillStatus |
TaxNo |
纳税人识别号 |
String |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Sales |
销售 |
Int32 |
SalesName |
|
String |
AdLevel0 |
国家 |
Int32 |
AdLevel1 |
省 |
Int32 |
AdLevel2 |
市 |
Int32 |
AdLevel3 |
县 |
Int32 |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
客户状态 |
Int32 |
SettlePeriodId |
结算期限ID |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
BillusedDate |
最近使用时间 |
DateTime |
Credit |
客户信用额度 |
Decimal |
请求示例
{
"SysId": 0,
"AsId": 0,
"CusttypeId": 0,
"CusttypeName": null,
"CustId": 0,
"CustNo": null,
"CustName": null,
"Recvr": null,
"RecvMobile": null,
"RecvAddress": null,
"CustGrade": 0,
"CustGradeName": "",
"ReceivableDate": "0001-01-01T00:00:00",
"Receivable": 0.0,
"Received": 0.0,
"InitAmount": 0.0,
"LastAmount": 0.0,
"OFAmount": 0.0,
"OFStatus": 0,
"TaxNo": null,
"Bank": null,
"AcNo": null,
"Sales": 0,
"SalesName": null,
"AdLevel0": 0,
"AdLevel1": 0,
"AdLevel2": 0,
"AdLevel3": 0,
"Address": null,
"Note": null,
"Status": 0,
"SettlePeriodId": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"LinkMan": null,
"LinkManTel": null,
"IM": null,
"BillusedDate": "0001-01-01T00:00:00",
"Credit": 0.0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
批量修改客户
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/BatchUpdate
请求头
请求参数
content |
|
CustomerBatchUpdateModule |
UpdateProject |
|
UpdateCustomerModel |
UpdateKind |
|
UpdateKindCustomerEnum |
Id |
项目Id |
Int32 |
UpdateContext |
修改内容 |
String |
Id |
商品Id |
Int32[] |
No |
编码 |
String[] |
Name |
名称 |
String[] |
UpdateRange |
修改范围(0:选中,1:所有) |
Int32 |
请求示例
{
"UpdateProject": null,
"Id": null,
"No": null,
"Name": null,
"UpdateRange": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除客户
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/Delete
请求头
请求参数
arrayModel |
客户id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
启用客户
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/Enable
请求头
请求参数
arrayModel |
客户id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
禁用客户
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/Disable
请求头
请求参数
arrayModel |
客户id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/Export
请求头
请求参数
conditions |
|
CustSearchConditions |
CategroryIds |
|
Int32[] |
SearchText |
|
String |
CustIds |
|
Int32[] |
Status |
|
Boolean |
Ids |
|
Int32[] |
请求示例
{
"CategroryIds": null,
"SearchText": null,
"CustIds": null,
"Status": false,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/DownErrorData
请求头
请求参数
model |
错误数据guid |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入数据
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导入客户类别数据
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/ImportCatetoryExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出客户类别信息
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/ExportCategory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载客户类别模板
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/DownCutomerCategoryTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载客户类别错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/DownCutomerCategoryTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
检索类别
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/SearchCategory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
TypeId |
|
Int32 |
TypeNo |
|
String |
TypeName |
|
String |
ParentId |
|
Int32 |
SummaryKeywords |
|
String |
TypeNameWithNoFormate |
|
String |
TypeNameWithFormate |
|
String |
CashAAEID |
现金流id |
Int32 |
CashAAEName |
现金流名称 |
String |
CanSelect |
能够被选择 |
Boolean |
SumModel |
合计行 |
CategoryListModel |
TypeId |
|
Int32 |
TypeNo |
|
String |
TypeName |
|
String |
ParentId |
|
Int32 |
SummaryKeywords |
|
String |
TypeNameWithNoFormate |
|
String |
TypeNameWithFormate |
|
String |
CashAAEID |
现金流id |
Int32 |
CashAAEName |
现金流名称 |
String |
CanSelect |
能够被选择 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增类别
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/AddCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改类别
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/UpdateCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除类别
请求地址
POST $SCMAPI_HOST/jxc_api/Customer/RemoveCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Employee
职员控制器
根据查询条件获取职员数据
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/Search
请求头
请求参数
condition |
查询条件集合 |
EmployeeCondition |
SearchText |
查询关键字 |
String |
Status |
是否显示禁用 |
Boolean |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
UserId |
职员ID |
Int32 |
UserNo |
用户编码 |
String |
UserName |
职员名称 |
String |
Mobile |
手机号 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
SumModel |
合计行 |
EmployeeListModel |
AsId |
账套ID |
Int32 |
UserId |
职员ID |
Int32 |
UserNo |
用户编码 |
String |
UserName |
职员名称 |
String |
Mobile |
手机号 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增职员
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/Add
请求头
请求参数
model |
职员信息 |
EmployeeEditModel |
AsId |
账套ID |
Int32 |
UserId |
职员ID |
Int32 |
UserNo |
职员编号 |
String |
UserName |
职员名称 |
String |
Mobile |
手机号 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
请求示例
{
"AsId": 0,
"UserId": 0,
"UserNo": null,
"UserName": null,
"Mobile": null,
"Note": null,
"Status": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改职员
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/Update
请求头
请求参数
model |
职员信息 |
EmployeeEditModel |
AsId |
账套ID |
Int32 |
UserId |
职员ID |
Int32 |
UserNo |
职员编号 |
String |
UserName |
职员名称 |
String |
Mobile |
手机号 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
请求示例
{
"AsId": 0,
"UserId": 0,
"UserNo": null,
"UserName": null,
"Mobile": null,
"Note": null,
"Status": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除职员
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/Delete
请求头
请求参数
arrayModel |
职员id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
启用职员
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/Enable
请求头
请求参数
arrayModel |
职员id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
禁用职员
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/Disable
请求头
请求参数
arrayModel |
职员id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/Export
请求头
请求参数
model |
查询信息 |
SettingSearchModel |
PageIndex |
页数 |
Int32 |
PageSize |
每页条数 |
Int32 |
Total |
全部条数 |
Int32 |
Items |
未知列表 |
array[object] |
SearchText |
查询条件 |
String |
Status |
状态 |
Boolean |
CategroryIds |
类别ID集合 |
Int32[] |
UserIds |
销售人员ID集合 |
Int32[] |
Ids |
Id集合 |
Int32[] |
请求示例
{
"PageIndex": 0,
"PageSize": 0,
"Total": 0,
"Items": null,
"SearchText": null,
"Status": false,
"CategroryIds": null,
"UserIds": null,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/DownErrorData
请求头
请求参数
model |
错误数据guid |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入数据
请求地址
POST $SCMAPI_HOST/jxc_api/Employee/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Unit
计量单位
获取单位数据
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/GetAll
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
IsMul |
是否是复合单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
Id |
单位ID |
Int32 |
Name |
单位名称 |
String |
No |
单位编码 |
String |
Rate |
比例 |
Decimal |
ProdId |
商品ID |
Int32 |
IsUsed |
是否已使用 |
Boolean |
返回示例
""
分页获取单位数据
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/GetPage
请求头
请求参数
condition |
|
UnitCondition |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
Keyword |
关键字搜索 |
String |
Ids |
|
Int32[] |
请求示例
{
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"Keyword": null,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
IsMul |
是否是复合单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
Id |
单位ID |
Int32 |
Name |
单位名称 |
String |
No |
单位编码 |
String |
Rate |
比例 |
Decimal |
ProdId |
商品ID |
Int32 |
IsUsed |
是否已使用 |
Boolean |
SumModel |
合计行 |
UnitListModel |
IsMul |
是否是复合单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
Id |
单位ID |
Int32 |
Name |
单位名称 |
String |
No |
单位编码 |
String |
Rate |
比例 |
Decimal |
ProdId |
商品ID |
Int32 |
IsUsed |
是否已使用 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
分页获取多单位
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/GetMulPage
请求头
请求参数
condition |
|
UnitCondition |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
Keyword |
关键字搜索 |
String |
Ids |
|
Int32[] |
请求示例
{
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"Keyword": null,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
IsMul |
是否是复合单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
Id |
单位ID |
Int32 |
Name |
单位名称 |
String |
No |
单位编码 |
String |
Rate |
比例 |
Decimal |
ProdId |
商品ID |
Int32 |
IsUsed |
是否已使用 |
Boolean |
SumModel |
合计行 |
UnitListModel |
IsMul |
是否是复合单位 |
Boolean |
ParentId |
父单位ID |
Int32 |
Id |
单位ID |
Int32 |
Name |
单位名称 |
String |
No |
单位编码 |
String |
Rate |
比例 |
Decimal |
ProdId |
商品ID |
Int32 |
IsUsed |
是否已使用 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增单位
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/Add
请求头
请求参数
ui |
单位信息 |
UnitEditModel |
IsMul |
是否是多单位 |
Boolean |
ParentId |
父级id |
Int32 |
Id |
单位id |
Int32 |
No |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
比例 |
Decimal |
NameDuplicationAllowed |
是否允许单位名称重复 |
Boolean |
请求示例
{
"IsMul": false,
"ParentId": 0,
"Id": 0,
"No": null,
"Name": null,
"Rate": 1.0,
"Units": null,
"NameDuplicationAllowed": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
UnitEditModel |
IsMul |
是否是多单位 |
Boolean |
ParentId |
父级id |
Int32 |
Id |
单位id |
Int32 |
No |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
比例 |
Decimal |
NameDuplicationAllowed |
是否允许单位名称重复 |
Boolean |
返回示例
""
修改单位
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/Update
请求头
请求参数
ui |
单位信息 |
UnitEditModel |
IsMul |
是否是多单位 |
Boolean |
ParentId |
父级id |
Int32 |
Id |
单位id |
Int32 |
No |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
比例 |
Decimal |
NameDuplicationAllowed |
是否允许单位名称重复 |
Boolean |
请求示例
{
"IsMul": false,
"ParentId": 0,
"Id": 0,
"No": null,
"Name": null,
"Rate": 1.0,
"Units": null,
"NameDuplicationAllowed": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
UnitEditModel |
IsMul |
是否是多单位 |
Boolean |
ParentId |
父级id |
Int32 |
Id |
单位id |
Int32 |
No |
单位编码 |
String |
Name |
单位名称 |
String |
Rate |
比例 |
Decimal |
NameDuplicationAllowed |
是否允许单位名称重复 |
Boolean |
返回示例
""
删除单位
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/Delete
请求头
请求参数
request |
入参 |
DeleteRequest |
id |
|
Int32 |
type |
|
Int32 |
请求示例
{
"id": 0,
"type": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
待多单位功能完善接口
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/DeleteAll
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导入计量单位
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出计量单位信息
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/ExportUnit
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导出部分计量单位信息
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/ExportUnit
请求头
请求参数
arrayModel |
|
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
按条件导出单位
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/ExportUnitWithCondition
请求头
请求参数
condition |
|
UnitCondition |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
Keyword |
关键字搜索 |
String |
Ids |
|
Int32[] |
请求示例
{
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"Keyword": null,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载计量单位模板
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/DownUnitTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载计量单位错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Unit/DownUnitTemplateErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
Vendor
供应商控制器
根据查询条件获取供应商数据,PC调用
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/Search
请求头
请求参数
condition |
查询条件集合 |
VendorCondition |
SearchText |
查询关键字 |
String |
Status |
是否显示禁用 |
Boolean |
CategroryIds |
类别id集合 |
Int32[] |
SearchColumns |
|
SearchColumns |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
Ftype |
|
Int32 |
CategoryKeyword |
查询关键字 类别名称/编码 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"CategroryIds": null,
"AppAsId": null,
"AccAsId": 0,
"Ftype": 1020,
"CategoryKeyword": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
VendId |
供应商ID |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
VendTypeId |
供应商类别ID |
Int32 |
VendTypeName |
供应商类别名称 |
String |
PayableDate |
应收款余额日期 |
DateTime |
Payable |
期初应付款 |
Decimal |
Payed |
期初预付款 |
Decimal |
InitAmount |
应付款初始余额 |
Decimal |
LastAmount |
应付款余额 |
Decimal |
TaxNo |
纳税人识别号 |
String |
TaxRate |
税率 |
Decimal |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
供应商状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
Purchaser |
采购人 |
Int32 |
PurchaserName |
采购人名称 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
SumModel |
合计行 |
VendorListModel |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
VendId |
供应商ID |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
VendTypeId |
供应商类别ID |
Int32 |
VendTypeName |
供应商类别名称 |
String |
PayableDate |
应收款余额日期 |
DateTime |
Payable |
期初应付款 |
Decimal |
Payed |
期初预付款 |
Decimal |
InitAmount |
应付款初始余额 |
Decimal |
LastAmount |
应付款余额 |
Decimal |
TaxNo |
纳税人识别号 |
String |
TaxRate |
税率 |
Decimal |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
供应商状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
Purchaser |
采购人 |
Int32 |
PurchaserName |
采购人名称 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
根据查询条件获取供应商数据,APP调用
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/SearchVend
请求头
请求参数
condition |
查询条件集合 |
VendorCondition |
SearchText |
查询关键字 |
String |
Status |
是否显示禁用 |
Boolean |
CategroryIds |
类别id集合 |
Int32[] |
SearchColumns |
|
SearchColumns |
AppAsId |
记账账套AppAsId,前端不用传 |
String |
AccAsId |
记账账套ID,前端不用传 |
Int32 |
Ftype |
|
Int32 |
CategoryKeyword |
查询关键字 类别名称/编码 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"CategroryIds": null,
"AppAsId": null,
"AccAsId": 0,
"Ftype": 1020,
"CategoryKeyword": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
VendorSearchModel |
Total |
供应商总数 |
Int32 |
ArrearsTotal |
欠款供应商数量 |
Int32 |
ArrearsAmount |
应付欠款 |
Decimal |
VendList |
供应商列表 |
array[object] |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
VendId |
供应商ID |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
VendTypeId |
供应商类别ID |
Int32 |
VendTypeName |
供应商类别名称 |
String |
PayableDate |
应收款余额日期 |
DateTime |
Payable |
期初应付款 |
Decimal |
Payed |
期初预付款 |
Decimal |
InitAmount |
应付款初始余额 |
Decimal |
LastAmount |
应付款余额 |
Decimal |
TaxNo |
纳税人识别号 |
String |
TaxRate |
税率 |
Decimal |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
供应商状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
Purchaser |
采购人 |
Int32 |
PurchaserName |
采购人名称 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
返回示例
""
根据供应商id获取供应商详情
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/GetVendById
请求头
请求参数
请求示例
0
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
VendorListModel |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
VendId |
供应商ID |
Int32 |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
VendTypeId |
供应商类别ID |
Int32 |
VendTypeName |
供应商类别名称 |
String |
PayableDate |
应收款余额日期 |
DateTime |
Payable |
期初应付款 |
Decimal |
Payed |
期初预付款 |
Decimal |
InitAmount |
应付款初始余额 |
Decimal |
LastAmount |
应付款余额 |
Decimal |
TaxNo |
纳税人识别号 |
String |
TaxRate |
税率 |
Decimal |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
供应商状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
Purchaser |
采购人 |
Int32 |
PurchaserName |
采购人名称 |
String |
SettlePeriodId |
结算期限ID |
Int32 |
SettlePeriodName |
结算期限 |
String |
返回示例
""
新增供应商
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/Add
请求头
请求参数
model |
供应商信息 |
VendorEditModel |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
VendId |
供应商ID |
Int32 |
VendTypeId |
供应商类别ID |
Int32 |
VendTypeName |
|
String |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
PayableDate |
应收款余额日期 |
DateTime |
Payable |
期初应付款 |
Decimal |
Payed |
期初预付款 |
Decimal |
InitAmount |
应付款初始余额 |
Decimal |
LastAmount |
应付款余额 |
Decimal |
TaxNo |
纳税人识别号 |
String |
TaxRate |
税率 |
Decimal |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
STAFF |
首要联系人 |
String |
Adlevel0 |
国家 |
Int32 |
Adlevel1 |
省 |
Int32 |
Adlevel2 |
市 |
Int32 |
Adlevel3 |
县 |
Int32 |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
供应商状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
BillusedDate |
最近使用时间 |
DateTime |
Purchaser |
采购人 |
Int32 |
PurchaserName |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
请求示例
{
"SysId": 0,
"AsId": 0,
"VendId": 0,
"VendTypeId": 0,
"VendTypeName": null,
"VendNo": null,
"VendName": null,
"PayableDate": "0001-01-01T00:00:00",
"Payable": 0.0,
"Payed": 0.0,
"InitAmount": 0.0,
"LastAmount": 0.0,
"TaxNo": null,
"TaxRate": 0.0,
"Bank": null,
"AcNo": null,
"STAFF": null,
"Adlevel0": 0,
"Adlevel1": 0,
"Adlevel2": 0,
"Adlevel3": 0,
"Address": null,
"Note": null,
"Status": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"LinkMan": null,
"LinkManTel": null,
"IM": null,
"BillusedDate": "0001-01-01T00:00:00",
"Purchaser": 0,
"PurchaserName": null,
"SettlePeriodId": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
系统存在这个名字么
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/ExistName
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
系统存在这个名字么
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/IsNameExist
请求头
请求参数
请求示例
"字符串值"
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
系统存在这个名字么
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/IsNameExistV2
请求头
请求参数
existNameReq |
名字 |
ExistNameReq |
Name |
|
String |
Id |
|
Int32 |
请求示例
{
"Name": null,
"Id": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改供应商
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/Update
请求头
请求参数
model |
供应商信息 |
VendorEditModel |
SysId |
系统ID |
Int32 |
AsId |
帐套编码 |
Int32 |
VendId |
供应商ID |
Int32 |
VendTypeId |
供应商类别ID |
Int32 |
VendTypeName |
|
String |
VendNo |
供应商编码 |
String |
VendName |
供应商名称 |
String |
PayableDate |
应收款余额日期 |
DateTime |
Payable |
期初应付款 |
Decimal |
Payed |
期初预付款 |
Decimal |
InitAmount |
应付款初始余额 |
Decimal |
LastAmount |
应付款余额 |
Decimal |
TaxNo |
纳税人识别号 |
String |
TaxRate |
税率 |
Decimal |
Bank |
银行 |
String |
AcNo |
银行账号 |
String |
STAFF |
首要联系人 |
String |
Adlevel0 |
国家 |
Int32 |
Adlevel1 |
省 |
Int32 |
Adlevel2 |
市 |
Int32 |
Adlevel3 |
县 |
Int32 |
Address |
经营地址 |
String |
Note |
备注 |
String |
Status |
供应商状态 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
LinkMan |
联系人 |
String |
LinkManTel |
联系人电话 |
String |
IM |
微信/QQ |
String |
BillusedDate |
最近使用时间 |
DateTime |
Purchaser |
采购人 |
Int32 |
PurchaserName |
|
String |
SettlePeriodId |
结算期限ID |
Int32 |
请求示例
{
"SysId": 0,
"AsId": 0,
"VendId": 0,
"VendTypeId": 0,
"VendTypeName": null,
"VendNo": null,
"VendName": null,
"PayableDate": "0001-01-01T00:00:00",
"Payable": 0.0,
"Payed": 0.0,
"InitAmount": 0.0,
"LastAmount": 0.0,
"TaxNo": null,
"TaxRate": 0.0,
"Bank": null,
"AcNo": null,
"STAFF": null,
"Adlevel0": 0,
"Adlevel1": 0,
"Adlevel2": 0,
"Adlevel3": 0,
"Address": null,
"Note": null,
"Status": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"LinkMan": null,
"LinkManTel": null,
"IM": null,
"BillusedDate": "0001-01-01T00:00:00",
"Purchaser": 0,
"PurchaserName": null,
"SettlePeriodId": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
批量修改供应商
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/BatchUpdate
请求头
请求参数
content |
|
VendorBatchUpdateModule |
UpdateProject |
|
UpdateVendorModel |
UpdateKind |
|
UpdateKindVendorEnum |
Id |
项目Id |
Int32 |
UpdateContext |
修改内容 |
String |
Id |
商品Id |
Int32[] |
No |
编码 |
String[] |
Name |
名称 |
String[] |
UpdateRange |
修改范围(0:选中,1:所有) |
Int32 |
请求示例
{
"UpdateProject": null,
"Id": null,
"No": null,
"Name": null,
"UpdateRange": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除供应商
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/Delete
请求头
请求参数
arrayModel |
供应商id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
启用供应商
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/Enable
请求头
请求参数
arrayModel |
供应商id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
禁用供应商
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/Disable
请求头
请求参数
arrayModel |
供应商id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出供应商
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/Export
请求头
请求参数
model |
|
VendSearchConditions |
SearchText |
查询关键字 |
String |
CategroryIds |
供应商类别 |
Int32[] |
VendIds |
|
Int32[] |
Status |
|
Boolean |
Ids |
|
Int32[] |
请求示例
{
"SearchText": null,
"CategroryIds": null,
"VendIds": null,
"Status": false,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/DownErrorData
请求头
请求参数
model |
错误数据guid |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入数据
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导入数据
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/ImportCatetoryExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出供应商类别信息
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/ExportCategory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载供应商类别模板
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/DownVendorCategoryTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载供应商类别错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/DownVendorCategoryErrorData
请求头
请求参数
guid |
|
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
检索类别
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/SearchCategory
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
TypeId |
|
Int32 |
TypeNo |
|
String |
TypeName |
|
String |
ParentId |
|
Int32 |
SummaryKeywords |
|
String |
TypeNameWithNoFormate |
|
String |
TypeNameWithFormate |
|
String |
CashAAEID |
现金流id |
Int32 |
CashAAEName |
现金流名称 |
String |
CanSelect |
能够被选择 |
Boolean |
SumModel |
合计行 |
CategoryListModel |
TypeId |
|
Int32 |
TypeNo |
|
String |
TypeName |
|
String |
ParentId |
|
Int32 |
SummaryKeywords |
|
String |
TypeNameWithNoFormate |
|
String |
TypeNameWithFormate |
|
String |
CashAAEID |
现金流id |
Int32 |
CashAAEName |
现金流名称 |
String |
CanSelect |
能够被选择 |
Boolean |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
新增类别
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/AddCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改类别
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/UpdateCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除类别
请求地址
POST $SCMAPI_HOST/jxc_api/Vendor/RemoveCategory
请求头
请求参数
model |
|
CategoryEditModel |
Ftype |
类别类型id(客户:1010,供应商:1020, 仓库:1030,商品:1040,支出:1050,收入:1060) |
Int32 |
TypeId |
类别id |
Int32 |
TypeNo |
类别编码 |
String |
TypeName |
类别名称 |
String |
ParentId |
父级id |
Int32 |
SummaryKeywords |
收入支出类别的摘要关键字 可以根据关键字搜索收入支出类别 |
String |
CashAAEID |
现金流ID |
Int32 |
请求示例
{
"Ftype": 0,
"TypeId": 0,
"TypeNo": null,
"TypeName": null,
"ParentId": 0,
"SummaryKeywords": null,
"CashAAEID": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
Warehouse
仓库控制器
根据查询条件获取仓库数据
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/Search
请求头
请求参数
condition |
查询条件集合 |
WarehouseCondition |
SearchText |
查询关键字 |
String |
Status |
是否显示禁用 |
Boolean |
CategroryIds |
类别id集合 |
Int32[] |
Ftype |
|
Int32 |
CategoryKeyword |
查询关键字 类别名称/编码 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"CategroryIds": null,
"Ftype": 1030,
"CategoryKeyword": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
仓库ID |
Int32 |
No |
仓库编号 |
String |
Name |
仓库名称 |
String |
CategoryId |
仓库类别ID |
Int32 |
CategoryName |
仓库类别名称 |
String |
Address |
仓库地址 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhKeeper |
仓管员 |
Int32 |
WhKeeperName |
仓管员名称 |
String |
SumModel |
合计行 |
WarehouseListModel |
AsId |
账套ID |
Int32 |
Id |
仓库ID |
Int32 |
No |
仓库编号 |
String |
Name |
仓库名称 |
String |
CategoryId |
仓库类别ID |
Int32 |
CategoryName |
仓库类别名称 |
String |
Address |
仓库地址 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhKeeper |
仓管员 |
Int32 |
WhKeeperName |
仓管员名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
根据查询条件获取仓库数据
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/SearchForApp
请求头
请求参数
condition |
查询条件集合 |
WarehouseCondition |
SearchText |
查询关键字 |
String |
Status |
是否显示禁用 |
Boolean |
CategroryIds |
类别id集合 |
Int32[] |
Ftype |
|
Int32 |
CategoryKeyword |
查询关键字 类别名称/编码 |
String |
PageIndex |
页数,第一页为第0页,以次类推 |
Int32 |
PageSize |
每页数量 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CurrUserSn |
当前用户编号 |
Int32 |
CanViewAllBill |
是否可以查看所有单据 |
Boolean |
CanOpeAllWh |
是否可以打开所有的仓库 |
Boolean |
OpeWhList |
能打开的仓库列表 |
Int32[] |
DocumentDateType |
单据日期类型 |
Int32 |
DocumentDateArr |
日期数组 |
DateTime[] |
DeliveryDateType |
交货日期类型 |
Int32 |
DeliveryDateArr |
交货日期数组 |
DateTime[] |
OffDateType |
核销日期类型 |
Int32 |
OffDateArr |
交货日期数组 |
DateTime[] |
InventoryDateType |
盘点日期类型 |
Int32 |
InventoryDateArr |
盘点日期数组 |
DateTime[] |
BillOrigins |
单据来源 |
Int32[] |
请求示例
{
"SearchText": null,
"Status": false,
"CategroryIds": null,
"Ftype": 1030,
"CategoryKeyword": null,
"PageIndex": 0,
"PageSize": 20,
"UsePager": true,
"CurrUserSn": 0,
"CanViewAllBill": true,
"CanOpeAllWh": true,
"OpeWhList": null,
"DocumentDateType": 0,
"DocumentDateArr": null,
"DeliveryDateType": 0,
"DeliveryDateArr": null,
"OffDateType": 0,
"OffDateArr": null,
"InventoryDateType": 0,
"InventoryDateArr": null,
"BillOrigins": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
NewApiPagedList`1 |
Items |
数据集 |
array[object] |
AsId |
账套ID |
Int32 |
Id |
仓库ID |
Int32 |
No |
仓库编号 |
String |
Name |
仓库名称 |
String |
CategoryId |
仓库类别ID |
Int32 |
CategoryName |
仓库类别名称 |
String |
Address |
仓库地址 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhKeeper |
仓管员 |
Int32 |
WhKeeperName |
仓管员名称 |
String |
SumModel |
合计行 |
WarehouseListModel |
AsId |
账套ID |
Int32 |
Id |
仓库ID |
Int32 |
No |
仓库编号 |
String |
Name |
仓库名称 |
String |
CategoryId |
仓库类别ID |
Int32 |
CategoryName |
仓库类别名称 |
String |
Address |
仓库地址 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhKeeper |
仓管员 |
Int32 |
WhKeeperName |
仓管员名称 |
String |
PageIndex |
开始页码 |
Int32 |
PageSize |
页面大小 |
Int32 |
Total |
总记录数 |
Int32 |
UsePager |
是否使用分页 |
Boolean |
CategoriesFounded |
|
Int32[] |
RDocumentStartDate |
返回的单据/调拨/核销 开始日期 |
String |
RDocumentEndDate |
返回的单据/调拨/核销 截止日期 |
String |
RDeliveryStartDate |
返回的交货 开始日期 |
String |
RDeliveryEndDate |
返回的交货 截止日期 |
String |
返回示例
""
获取可用的仓库列表
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/GetWhList
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
array[object] |
Id |
|
Int32 |
No |
|
String |
Name |
名称 |
String |
CategoryID |
仓库类别id |
Int32 |
返回示例
""
新增仓库
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/Add
请求头
请求参数
model |
仓库信息 |
WarehouseEditModel |
AsId |
账套ID |
Int32 |
Id |
仓库ID |
Int32 |
No |
仓库编号 |
String |
Name |
仓库名称 |
String |
CategoryName |
仓库类别名称 |
String |
CategoryId |
仓库类别ID |
Int32 |
Address |
仓库地址 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhKeeper |
仓管员 |
Int32 |
请求示例
{
"AsId": 0,
"Id": 0,
"No": null,
"Name": null,
"CategoryName": "全部类别",
"CategoryId": 0,
"Address": null,
"Note": null,
"Status": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"WhKeeper": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
修改仓库
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/Update
请求头
请求参数
model |
仓库信息 |
WarehouseEditModel |
AsId |
账套ID |
Int32 |
Id |
仓库ID |
Int32 |
No |
仓库编号 |
String |
Name |
仓库名称 |
String |
CategoryName |
仓库类别名称 |
String |
CategoryId |
仓库类别ID |
Int32 |
Address |
仓库地址 |
String |
Note |
备注 |
String |
Status |
是否可用 |
Int32 |
CreatedBy |
创建人 |
Int32 |
CreatedDate |
创建时间 |
DateTime |
ModifiedBy |
修改人 |
Int32 |
ModifiedDate |
修改日期 |
DateTime |
WhKeeper |
仓管员 |
Int32 |
请求示例
{
"AsId": 0,
"Id": 0,
"No": null,
"Name": null,
"CategoryName": "全部类别",
"CategoryId": 0,
"Address": null,
"Note": null,
"Status": 0,
"CreatedBy": 0,
"CreatedDate": "0001-01-01T00:00:00",
"ModifiedBy": 0,
"ModifiedDate": "0001-01-01T00:00:00",
"WhKeeper": 0
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
删除仓库
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/Delete
请求头
请求参数
arrayModel |
id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
启用仓库
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/Enable
请求头
请求参数
arrayModel |
仓库id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
禁用仓库
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/Disable
请求头
请求参数
arrayModel |
仓库id数组 |
ArrayModel |
ids |
id数组 |
Int32[] |
DetailId |
明细ID |
Int32[] |
ForcePassCredit |
是否强制通过信用额度,只有当系统参数设置允许保存的时候才有作用 |
Boolean |
请求示例
{
"ids": null,
"DetailId": null,
"ForcePassCredit": false
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
导出列表数据到Excel
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/Export
请求头
请求参数
model |
查询信息 |
WHSearchConditions |
PageIndex |
页数 |
Int32 |
PageSize |
每页条数 |
Int32 |
Total |
全部条数 |
Int32 |
Items |
未知列表 |
array[object] |
SearchText |
查询条件 |
String |
Status |
状态 |
Boolean |
Ids |
Id集合 |
Int32[] |
请求示例
{
"PageIndex": 0,
"PageSize": 0,
"Total": 0,
"Items": null,
"SearchText": null,
"Status": false,
"Ids": null
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载模板
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/DownTemplate
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
下载错误数据
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/DownErrorData
请求头
请求参数
model |
错误数据guid |
GuIdHelper |
guId |
|
Guid |
请求示例
{
"guId": "00000000-0000-0000-0000-000000000000"
}
返回值
属性名称 |
属性说明 |
属性类型 |
|
文件流 |
HttpResponseMessage |
返回示例
""
导入数据
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/ImportExcel
请求头
请求示例
返回值
属性名称 |
属性说明 |
属性类型 |
|
|
MessageModel |
Success |
执行是否成功 |
Boolean |
Message |
相关信息 |
String |
Data |
相关数据 |
Object |
StatusCode |
消息编码 |
StatusCode |
ErrorData |
|
Object |
BusinessCode |
|
Int32 |
返回示例
""
重算成本,
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/ReCalcStock
请求头
请求示例
返回值
返回示例
""
修正数量
请求地址
POST $SCMAPI_HOST/jxc_api/Warehouse/CorrectQty
请求头
请求示例
返回值
返回示例
""