菜单

列表

基本信息

  • 用途说明:查询生产入库(单据标识:wg_new_inv_product_bill)
  • 请求方式:POST
  • 请求地址:https://api.kingdee.com/weigusoft/wg_prd/wg_productionManagementCommonApi?access_token=

请求参数

headers参数

  • 所有的接口必须携带header参数
参数名称 参数示例 是否必填 参数说明
Content-Type application/json true 固定传:application/json
groupName ns-v7g6 true 分组名称,获取授权信息时返回的groupName
accountId 16xxxxxxxxxxxx true 账套ID,获取授权信息时返回的accountId
X-GW-Router-Addr https://tf.jdy.com true IDC域名,获取授权信息时返回的domain

body参数

参数名称 必选 类型 说明
api_name true String 接口标识,默认-PRD_INSTOCK
api_method_name true String 默认-LIST
pageindex true Number 当前页(默认1)
pagesize true Number 每页显示条数(默认10,最大100)
search true String 模糊搜索-单号/交货部门/交货人/商品编码/商品名称
deptid true String 部门
billstatus true String 审核状态,Z:未审核 C:已审核
bdate true String 单据日期开始时间
edate true String 单据日期结束时间
creatorid true String 制单人id
ckid true String 仓库
jhrid true String 交货人

请求示例

{
    "api_name": "PRD_INSTOCK",
    "api_method_name": "LIST",
    "pageindex": 1,
    "pagesize": 10,
    "search": "",//模糊搜索
    "deptid": "",//部门
    "billstatus": "Z",//单据状态
    "bdate": "2025-02-01",//单据日期开始时间
    "edate": "2025-02-28",//单据日期结束时间
    "creatorid": "",//制单人
    "ckid": "",//仓库
    "jhrid": ""//交货人
}

响应示例

{
    "data": {
        "countQty": 1,
        "data": [
            {
                "id": "2146139740997447680",//单据id
                "instockNo": "SCRKN-WG-20250209-000002",//单据编码
                "billData": "2025-02-09 00:00:00.0",//单据日期
                "billStatus": "Z",//单据状态
                "jhbmid": "1697221606960547840",
                "jhbmname": "车间1",//部门
                "zdrid": "5612653",
                "zdrname": "鞠志广",//制单人
                "kinds": "1",//种类
                "qtys": "1",//数量
                "wg_returnstatus": "A",//退库状态
                "jhrid": "1697012657288137728",
                "jhrname": "鞠志广ZY"//交货人
            }
        ],
        "count": 1
    },
    "errorCode": "success",
    "status": true,
    "success": true
}

分享文章
最近修改: 2025-02-27