存货查询Json
ParamKey字段: ptype
ParamJson字段:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| pagesize | 是 | int | 每页返回个数 最大200 |
| pageindex | 是 | int | 页码 |
| typeid | 否 | string | 基本信息唯一码 |
| usercode | 否 | string | 编号 支持模糊查询 |
| fullname | 否 | string | 全名 支持模糊查询 |
| bsonnum | 否 | int | 基本信息类型 0为分类+末级,1为末级,2为分类 |
| updatetag | 否 | int | 增量标志 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"pagetotal": 78,
"response": [
{
"Area": "产地",
"Comment": "备注",
"Comment1": "存货备用1",
"Comment2": "存货备用2",
"Comment3": "存货备用3",
"Comment4": "存货备用4",
"Comment5": "存货备用5",
"Comment6": "存货备用6",
"Comment7": "存货备用7",
"Comment8": "存货备用8",
"ConsignBeforeDay": "委外周期 int",
"Deleted": "是否停用 int",
"FullName": "存货全名",
"Name": "简名",
"NamePY": "助记码",
"ParRec": "父项自增长字段 int",
"Parid": "父项typeid",
"Rec": "自增长字段 int",
"RowNum": 1,
"Sonnum": "是否末级 int 0为末级 非0时为下级个数",
"Source1": "00007",
"Source2": "00007",
"Standard": "规格",
"Tax": "存货税率 float",
"Type": "型号",
"TypeID": "唯一编码",
"Unit1": "基本单位名称",
"Unit2": "辅1单位名称",
"Unit3": "辅2单位名称",
"UnitFz": "辅助单位",
"UnitRate1": "辅1换算率 float",
"UnitRate2": "辅2换算率 float",
"UpdateTag": "增量变化量",
"UserCode": "存货编号",
"bblockno": "是否管理批号 int",
"bconsign": "是否委外 int",
"bcustom1": "是否管理自定义项1 int",
"bcustom2": "是否管理自定义项2 int",
"bcustom3": "是否管理自定义项3 int",
"bcustom4": "是否管理自定义项4 int",
"beforedate": "采购周期 int",
"bfullname": "默认供应商全名",
"bproduce": "是否生产 int",
"bpurchase": "是否外购 int",
"brfullname": "品牌编号",
"brusercode": "品牌全名",
"busercode": "默认供应商编号",
"c1fullname": "默认自定义项1全名",
"c1usercode": "默认自定义项1编号",
"c2fullname": "默认自定义项2全名",
"c2usercode": "默认自定义项2编号",
"c3fullname": "默认自定义项3全名",
"c3usercode": "默认自定义项3编号",
"c4fullname": "默认自定义项4全名",
"c4usercode": "默认自定义项4编号",
"costmode": "成本计价方式 int",
"costprice": 0,
"definunit": "默认入库单位 int",
"defoutunit": "默认出库单位 int",
"defpandianunit": "默认盘点单位 int",
"gpfullname": "存货核算方法全名",
"istaxprice": 0,
"kfullname": "默认仓库全名",
"kusercode": "默认仓库编号",
"leveal": "级次 int",
"manserialnum": "是否管理序列号 int",
"producebeforeday": "生产周期 int",
"ptypeunit": [],
"refprice": "参考成本 float",
"safedaycount": "安全库存天数 int",
"safeqty": "安全库存数量 float",
"takeout": 0,
"unitother": "副单位",
"wfullname": "默认车间全名",
"wusercode": "默认车间编号"
}
]
}
存货自定义1查询
**ParamKey字段:** custom1
**ParamJson字段:**
|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|PageSize |是 |int |每页返回个数 最大200 |
|PageIndex |是 |int | 页码 |
|TypeID |否 |string | 基本信息唯一码 |
|UserCode |否 |string | 编号 支持模糊查询 |
|FullName |否 |string | 全名 支持模糊查询 |
|bSonnum |否 |int | 基本信息类型 0为分类+末级,1为末级,2为分类 |
|updatetag |否 |int | 增量标志 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"response": [
{
"rownum": 1,
"rec": 0,
"typeid": "0000100001",
"usercode": "001001",
"fullname": "自定义项1001001",
"namepy": "ZDYX1001001",
"comment": ""
}
]
}
存货自定义2查询
**ParamKey字段:** custom2
**ParamJson字段:**
|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|PageSize |是 |int |每页返回个数 最大200 |
|PageIndex |是 |int | 页码 |
|TypeID |否 |string | 基本信息唯一码 |
|UserCode |否 |string | 编号 支持模糊查询 |
|FullName |否 |string | 全名 支持模糊查询 |
|bSonnum |否 |int | 基本信息类型 0为分类+末级,1为末级,2为分类 |
|updatetag |否 |int | 增量标志 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 3,
"response": [
{
"rownum": 1,
"rec": 0,
"typeid": "00001",
"usercode": "02001",
"fullname": "自定义项02001",
"namepy": "ZDYX02001",
"comment": ""
},
{
"rownum": 2,
"rec": 0,
"typeid": "00002",
"usercode": "02002",
"fullname": "自定义项02002",
"namepy": "ZDYX02002",
"comment": ""
},
{
"rownum": 3,
"rec": 0,
"typeid": "00003",
"usercode": "02003",
"fullname": "自定义项02003",
"namepy": "ZDYX02003",
"comment": ""
}
]
}
存货自定义3查询
**ParamKey字段:** custom3
**ParamJson字段:**
|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|PageSize |是 |int |每页返回个数 最大200 |
|PageIndex |是 |int | 页码 |
|TypeID |否 |string | 基本信息唯一码 |
|UserCode |否 |string | 编号 支持模糊查询 |
|FullName |否 |string | 全名 支持模糊查询 |
|bSonnum |否 |int | 基本信息类型 0为分类+末级,1为末级,2为分类 |
|updatetag |否 |int | 增量标志 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 1,
"pagetotal": 0,
"response": [
{
"message": "中止订单成功"
}
]
}
存货自定义4查询
**ParamKey字段:** custom4
**ParamJson字段:**
|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|PageSize |是 |int |每页返回个数 最大200 |
|PageIndex |是 |int | 页码 |
|TypeID |否 |string | 基本信息唯一码 |
|UserCode |否 |string | 编号 支持模糊查询 |
|FullName |否 |string | 全名 支持模糊查询 |
|bSonnum |否 |int | 基本信息类型 0为分类+末级,1为末级,2为分类 |
|updatetag |否 |int | 增量标志 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 4,
"response": [
{
"rownum": 1,
"rec": 0,
"typeid": "00001",
"usercode": "04001",
"fullname": "自定义项04001",
"namepy": "ZDYX04001",
"comment": ""
},
{
"rownum": 2,
"rec": 0,
"typeid": "00002",
"usercode": "04002",
"fullname": "自定义项04002",
"namepy": "ZDYX04002",
"comment": ""
},
{
"rownum": 3,
"rec": 0,
"typeid": "00003",
"usercode": "04003",
"fullname": "自定义项04003",
"namepy": "ZDYX04003",
"comment": ""
},
{
"rownum": 4,
"rec": 0,
"typeid": "00004",
"usercode": "04004",
"fullname": "自定义项04004",
"namepy": "ZDYX04004",
"comment": ""
}
]
}
存货核算方法查询
**ParamKey字段:** gptype
**ParamJson字段:**
|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|PageSize |是 |int |每页返回个数 最大200 |
|PageIndex |是 |int | 页码 |
|TypeID |否 |string | 基本信息唯一码 |
|UserCode |否 |string | 编号 支持模糊查询 |
|FullName |否 |string | 全名 支持模糊查询 |
|bSonnum |否 |int | 基本信息类型 0为分类+末级,1为末级,2为分类 |
|updatetag |否 |int | 增量标志 |
接口状态
已完成
接口URL
请求方式
POST
Content-Type
urlencoded
认证方式
noauth
预执行脚本
暂无预执行脚本
后执行脚本
暂无后执行脚本
成功响应示例
{
"code": "0",
"message": "",
"pagecount": 2,
"response": [
{
"rownum": 1,
"rec": 2,
"typeid": "00001",
"usercode": "",
"fullname": "库存商品",
"namepy": "KCSP",
"comment": "",
"patypeidn": "库存商品",
"iatypeidn": "主营业务收入",
"oatypeidn": "主营业务成本",
"catypeidn": "材料成本差异",
"watypeidn": ""
},
{
"rownum": 2,
"rec": 3,
"typeid": "00002",
"usercode": "",
"fullname": "原材料",
"namepy": "YCL",
"comment": "",
"patypeidn": "原材料",
"iatypeidn": "其他业务收入",
"oatypeidn": "其他业务成本",
"catypeidn": "材料成本差异",
"watypeidn": ""
}
]
}
