菜单

详情

基本信息

  • 用途说明:生产领料单详情(单据标识:wg_new_inv_pick_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_PICK
api_method_name true String 默认-INFO
id true String 单据id

请求示例

{
    "api_name": "PRD_PICK",
    "api_method_name": "INFO",
    "id": "2147238060570468352"//单据id
}

响应示例

{
    "data": {
        "deptName": "总仓",
        "transtype": "1",
        "kind": "1",
        "material_entity": [
            {
                "id": "2147238117797551104",
                "materialId": "1999983995118458880",//商品id
                "materialName": "纸管",//商品名称
                "materialNumber": "--a-00004",//商品编码
                "materialPictureUrl": "",//商品图片
                "storeId": "1999983187119348736",//仓库id
                "storeName": "总仓",//仓库名称
                "spId": "",//仓位id
                "spName": "",//仓位名称
                "auxunitQty": "0",//辅助数量
                "baseunitId": "1",//基本单位id
                "baseunitName": "个",//基本单位名称
                "jskc": "9706.0000000000",//即时库存
                "kykc": "9706.0000000000",//可用库存
                "srcBillNo": "SCJG-WG-20250210-00001",//源单单号
                "srcOrderBillNo": "某业主-20250124-00001",//销售订单号
                "comment": "",//备注
                "qty": "14.0000000000",//数量
                "unitId": "1",//单位
                "unitName": "个",
                "batchNo": "",//批次
                "srcinterId": "2147232711222259712",//源单id
                "seq": "1",
                "srcbilltypeid": "wg_production_process",//源单类型id
                "productId": "2023505504134778880",//产品id
                "productName": "天阜 42寸普通扇 FMTF184201NW(430095NW)白色叶片",//产品名称
                "productNumber": "1.03.02.10302020700",//产品编码
                "productModel": "FMTF184201NW",//规格型号
                "productParentName": "一诺测试",
                "material_entity_lk": [//联查信息
                    {
                        "material_entity_lk_auxqty_old": "0",
                        "material_entity_lk_deffloatqty": "0",
                        "material_entity_lk_auxqty": "0",
                        "material_entity_lk_qty": "14",
                        "material_entity_lk_baseqty_old": "14",
                        "material_entity_lk_sid": "2147232715341066240",
                        "material_entity_lk_baseqty": "14",
                        "material_entity_lk_sbillid": "2147232711222259712",
                        "material_entity_lk_qty_old": "14",
                        "id": "2147238117797550080",
                        "material_entity_lk_stableid": "-8038385163725575365",
                        "seq": "1",
                        "material_entity_lk_deffloatqty_old": "0"
                    }
                ],
                "kftype": "0",//保质期类型
                "kfperiod": "0",//保质期
                "wg_pickqty": "14",//应领数量
                "wg_pickbaseqty": "14",//基本应领数量
                "srcentryid": "2147232715341066240",//源单分录内码
                "src_billdate": "2025-02-10 00:00:00.0",//源单日期
                "coefficient": "1",//主单位换算率 
                "wg_returnqty": "0",//退料数量
                "wg_returnbaseqty": "0",//基本单位已退料数量
                "materialcost": "0",//直接材料成本
                "materialunitcost": "0",//基本单位直接材料成本
                "unitcost": "0",//unitcost
                "wg_srcorderinterid": "2135007150802594816",
                "wg_srcorderentryid": "2135007150810860544",
                "ismulti_unit": false,//多单位
                "isfloat": false,//浮动换算
                "isserial": false,//序列号管理
                "isbatch": false, //批次
                "iskfperiod": false,//是否启用保质期
                "isasstattr": false,//开启辅助属性
                "inputcoefficient": "0",//换算率
                "unittype": "0",//单位类型
                "auxunittype": "0",//辅助单位类型
                "wg_moproductentryid": "2147232711239037952",//商品分录内码 领料时需要传
                "deffloatqty": "0",//浮动基本数量
                "wg_isconsumable": false,//选商品时直接领料共耗材料默认勾选
                "barcode": "",//条码
                "baseqty": "14.0000000000",//基本数量
                "auxcoefficient": "0.0000000000"//辅助单位换算率
            }
        ],
        "deptId": "1822372816251631616",//部门
        "qtys": "14.0000000000",//数量
        "billDate": "2025-02-10 00:00:00.0",//单据日期
        "pickusename": null,//领料用途
        "base_info": {
            "billStatus": "未审核",//审核状态
            "billSource": "SCM",//来源
            "billSourceName": "WEB录入",
            "llrId": "2112328019375832064",//领料人
            "llrName": "高天浩",
            "zdDateTime": "2025-02-10 14:58:42.272",//制单日期
            "storeName": "",//仓库
            "cgyId": "",//仓管员
            "cgyName": "",
            "zdrId": "6688114",//制单人
            "zdrName": "isv渠道",
            "shrName": "",//审核人
            "labs": [],//标签
            "remark": ""//单据备注
        },
        "wg_returnstatus": "A",//退库状态wg_returnstatus  A:未退库 Z:部分退库 C:全部退库
        "pickuseid": null,//领料用途
        "billStatus": "未审核",//单据状态
        "billNo": "SCLLN-WG-20250210-000001"//单据编码
    },
    "errorCode": "success",
    "status": true,
    "success": true
}

分享文章
最近修改: 2025-06-25