API中心

  1. 销售管理
  2. 发货单
返回

发货单查询

接口所在U8C版本:U8 cloud2.7以及更高版本
详细描述:用于发货单查询
API视频讲解API详情补丁列表常见问题参考
接口地址
请求方式
请求参数header
请求参数body
返回类型参数
代码示例
请求参数示例
正确返回示例
错误返回示例
接口地址:http://ip:port/u8cloud/api/so/salereceive/query

参数填写指南

请求方式:POST

请求参数(header):

参数填写指南
参数名必填描述默认值
Content-Type请求体数据类型application/json
usercode用户
password密码
trantype翻译类型,按编码为code,不需要翻译为pkcode
system系统参数

请求参数(body):

参数名类型是否数组必填描述默认值
code单据号
corp公司编码
csalereceiveid单据主键
customer客户编码
date_begin单据开始日期(v3.5版本前必填)
date_end单据结束日期(v3.5版本前必填)
fstatus单据状态(0:审批不通过,1:审批通过,8:自由态,3:提交态,2:审批进行中)
inventory存货编码
maker制单人编码
page_now当前页(从1开始)
page_size每页数量(不能大于1000)
ts_begin开始ts
ts_end结束ts

返回类型参数:

参数名类型是否数组必填描述默认值
bills发货单保存后返回VO
childrenvo表体
bifordersendinvclosestring订单发货关闭
bifrowclosestring是否关闭
blargessflagstring是否赠品
btransportcloseflagstring是否运输完毕
castunit_codestring辅计量单位编码
castunit_namestring辅计量单位名称
castunitidstring辅计量单位
cbiztypestring业务类型
cbiztype_codestring业务类型编码
cbiztype_namestring业务类型名称
cchauffeuridstring司机
ccustbasdocstring客户基本ID
ccustbasdoc_codestring客户编码
ccustbasdoc_namestring客户名称
ccustmandoc_codestring客户编码
ccustmandoc_namestring客户名称
ccustmandocidstring客户管理档案ID
cfreezeidstring库存硬锁定id
cinvbasdocidstring存货基本id
cinvmandoc_codestring存货编码
cinvmandoc_namestring存货名称
cinvmandocidstring存货管理档案id
code_namestring公司名称
corp_codestring公司编码
cproject_codestring项目编码
cproject_namestring项目名称
cprojectidstring项目
cprojectphase_codestring项目阶段编码
cprojectphase_namestring项目阶段名称
cprojectphaseidstring项目阶段
creceivearea_codestring收货地区编码
creceivearea_namestring收货地区名称
creceiveareaidstring收货地区
creceivebascust_codestring收货单位编码
creceivebascust_namestring收货单位名称
creceivecalbody_codestring收货库存组织编码
creceivecalbody_namestring收货库存组织名称
creceivecalbodyidstring收货库存组织
creceivecust_codestring收货单位编码
creceivecust_namestring收货单位名称
creceivecustbasidstring收货单位基本id
creceivecustidstring收货单位
creceiveware_codestring收货仓库编码
creceiveware_namestring收货仓库名称
creceivewareidstring收货仓库
crownostring行号
csalereceiveid_bidstring发货单子表id
csendarea_codestring发货地区编码
csendarea_namestring发货地区名称
csendareaidstring发货地区
csendcalbody_codestring发货库存组织编码
csendcalbody_namestring发货库存组织名称
csendcalbodyidstring发货库存组织
csendpoint_codestring发货地点编码
csendpoint_namestring发货地点名称
csendpointidstring发货地点
csendware_codestring发货仓库编码
csendware_namestring发货仓库名称
csendwareidstring发货仓库
csourcebillbodyidstring来源单据子表id
csourcebillidstring来源单据主表id
cspace_codestring货位编码
cspace_namestring货位名称
cspaceidstring货位
csupercargo_codestring押运员编码
csupercargo_namestring押运员名称
csupercargoidstring押运员
ctranscustidstring承运商
ctypecodestring调拨订单订单类型
cvehicleidstring车辆
cvehicletypeidstring车型
ddeliverdatestring要求收货日期
dsenddatestring发货日期
fixedflagstring是否固定换算率
nastnumberstring辅数量
nnumberstring数量
ntotaloutinvnumstring累计出库数量
ntotaltransnumstring累计运输数量
nvolumestring体积
nweightstring重量
pk_corpstring公司
pk_defdoc1string自定义项1
pk_defdoc10string自定义项10
pk_defdoc11string自定义项11
pk_defdoc12string自定义项12
pk_defdoc13string自定义项13
pk_defdoc14string自定义项14
pk_defdoc15string自定义项15
pk_defdoc16string自定义项16
pk_defdoc17string自定义项17
pk_defdoc18string自定义项18
pk_defdoc19string自定义项19
pk_defdoc2string自定义项2
pk_defdoc20string自定义项20
pk_defdoc3string自定义项3
pk_defdoc4string自定义项4
pk_defdoc5string自定义项5
pk_defdoc6string自定义项6
pk_defdoc7string自定义项7
pk_defdoc8string自定义项8
pk_defdoc9string自定义项9
pk_receivecorpstring收货公司
pk_sendcorpstring发货公司
receivecorp_codestring收货公司编码
receivecorp_namestring收货公司名称
scalefactorstring换算率
sendcorp_codestring发货公司编码
sendcorp_namestring发货公司名称
tdelivertimestring要求收货时间
tsendtimestring发货时间
vbatchcodestring批次号
vdef1string自定义项1名称
vdef10string自定义项10名称
vdef10_codestring自定义项10编码
vdef11string自定义项11名称
vdef11_codestring自定义项11编码
vdef12string自定义项12名称
vdef12_codestring自定义项12编码
vdef13string自定义项13名称
vdef13_codestring自定义项13编码
vdef14string自定义项14名称
vdef14_codestring自定义项14编码
vdef15string自定义项15名称
vdef15_codestring自定义项15编码
vdef16string自定义项16名称
vdef16_codestring自定义项16编码
vdef17string自定义项17名称
vdef17_codestring自定义项17编码
vdef18string自定义项18名称
vdef18_codestring自定义项18编码
vdef19string自定义项19名称
vdef19_codestring自定义项19编码
vdef1_codestring自定义项1编码
vdef2string自定义项2名称
vdef20string自定义项20名称
vdef20_codestring自定义项20编码
vdef2_codestring自定义项2编码
vdef3string自定义项3名称
vdef3_codestring自定义项3编码
vdef4string自定义项4名称
vdef4_codestring自定义项4编码
vdef5string自定义项5名称
vdef5_codestring自定义项5编码
vdef6string自定义项6名称
vdef6_codestring自定义项6编码
vdef7string自定义项7名称
vdef7_codestring自定义项7编码
vdef8string自定义项8名称
vdef8_codestring自定义项8编码
vdef9string自定义项9名称
vdef9_codestring自定义项9编码
vfree0string自由项
vfree1string自由项1
vfree2string自由项2
vfree3string自由项3
vfree4string自由项4
vfree5string自由项5
vreceiveaddressstring收货地址
vreceivepersonstring收货联系人
vreceivepoint_codestring收货地点编码
vreceivepoint_namestring收货地点名称
vreceivepointidstring收货地点
vreceivetelstring收货联系电话
vrownotestring备注
vsendaddressstring发货地址
vsendpersonstring发货联系人
vsendperson_codestring发货联系人编码
vsendperson_namestring发货联系人名称
vsendtelstring发货联系电话
vsourcereceivecodestring来源单据号
vsourcerownostring来源单据行号
vsourcetypestring来源单据类型
parentvo表头
bifclosestring是否关闭
capprove_codestring审批人编码
capprove_namestring审批人名称
capproveidstring审批人
cbiztypestring业务类型
cbiztype_codestring业务类型编码
cbiztype_namestring业务类型名称
cdept_codestring部门编码
cdept_namestring部门名称
cdeptidstring部门
cemployee_codestring操作员编码
cemployee_namestring操作员名称
cemployeeidstring操作员
cmodify_codestring修改人编码
cmodify_namestring修改人名称
cmodifyidstring修改人
code_namestring公司名称
coperator_codestring制单人编码
coperator_namestring制单人名称
coperatoridstring制单人
corp_codestring公司编码
creceipttypestring单据类型
csalecorp_codestring销售组织编码
csalecorp_namestring销售组织名称
csalecorpidstring销售组织
csalereceiveidstring发货单主表id
ctransportcorpidstring运输组织
ctransportrouteidstring运输路线
ctransporttype_codestring运输方式编码
ctransporttype_namestring运输方式名称
ctransporttypeidstring运输方式
dapprovedatestring审批日期
dbilldatestring单据日期
dmakedatestring制单日期
fstatusstring状态
iprintcountstring打印次数
ntotalnumberstring合计数量
ntotalvolumestring合计体积
ntotalweightstring合计重量
pk_corpstring公司
pk_defdoc1string自定义项1
pk_defdoc10string自定义项10
pk_defdoc11string自定义项11
pk_defdoc12string自定义项12
pk_defdoc13string自定义项13
pk_defdoc14string自定义项14
pk_defdoc15string自定义项15
pk_defdoc16string自定义项16
pk_defdoc17string自定义项17
pk_defdoc18string自定义项18
pk_defdoc19string自定义项19
pk_defdoc2string自定义项2
pk_defdoc20string自定义项20
pk_defdoc3string自定义项3
pk_defdoc4string自定义项4
pk_defdoc5string自定义项5
pk_defdoc6string自定义项6
pk_defdoc7string自定义项7
pk_defdoc8string自定义项8
pk_defdoc9string自定义项9
tapprovetimestring审批时间
tmaketimestring制单时间
tmodifytimestring最后修改时间
vdef1string自定义项1名称
vdef10string自定义项10名称
vdef10_codestring自定义项10编码
vdef11string自定义项11名称
vdef11_codestring自定义项11编码
vdef12string自定义项12名称
vdef12_codestring自定义项12编码
vdef13string自定义项13名称
vdef13_codestring自定义项13编码
vdef14string自定义项14名称
vdef14_codestring自定义项14编码
vdef15string自定义项15名称
vdef15_codestring自定义项15编码
vdef16string自定义项16名称
vdef16_codestring自定义项16编码
vdef17string自定义项17名称
vdef17_codestring自定义项17编码
vdef18string自定义项18名称
vdef18_codestring自定义项18编码
vdef19string自定义项19名称
vdef19_codestring自定义项19编码
vdef1_codestring自定义项1编码
vdef2string自定义项2名称
vdef20string自定义项20名称
vdef20_codestring自定义项20编码
vdef2_codestring自定义项2编码
vdef3string自定义项3名称
vdef3_codestring自定义项3编码
vdef4string自定义项4名称
vdef4_codestring自定义项4编码
vdef5string自定义项5名称
vdef5_codestring自定义项5编码
vdef6string自定义项6名称
vdef6_codestring自定义项6编码
vdef7string自定义项7名称
vdef7_codestring自定义项7编码
vdef8string自定义项8名称
vdef8_codestring自定义项8编码
vdef9string自定义项9名称
vdef9_codestring自定义项9编码
vnotestring备注
volumeunitstring体积单位
vreceivecodestring单据号
vtelstring电话
weightunitstring重量单位

请求参数示例:

复制代码

{
    "date_end": "2018-05-31",
    "date_begin": "2018-05-24",
    "code": [
        "4331TH1805300002",
        "4331TH1805300003",
        "4331TH1805300005"
    ],
    "corp": "1000",
    "ts_begin":"2021-08-09 14:32:00",
    "ts_end":"2021-08-10 14:32:00"
}

正确返回示例:

复制代码

{"status":"success","data":"{\"allcount\":3,\"retcount\":3,\"datas\":[{\"parentvo\":{\"pk_corp\":\"1001\",\"corp_code\":\"1000\",\"code_name\":\"天海总公司\",\"cemployeeid\":\"00011110000000000A4X\",\"cemployee_code\":\"HI1709050005\",\"cemployee_name\":\"李夕\",\"coperatorid\":\"0001111000000000014U\",\"coperator_code\":\"14444444004\",\"coperator_name\":\"张茜茜\",\"bifclose\":false,\"capproveid\":\"000111100000000000SH\",\"capprove_code\":\"14444444005\",\"capprove_name\":\"陈军\",\"cbiztype\":\"10011310000000004B3D\",\"cbiztype_code\":\"sofh\",\"cbiztype_name\":\"销售走发货\",\"cdeptid\":\"100111100000000000OS\",\"cdept_code\":\"100\",\"cdept_name\":\"总裁办公室\",\"cmodifyid\":\"0001111000000000014U\",\"cmodify_code\":\"14444444004\",\"cmodify_name\":\"张茜茜\",\"creceipttype\":\"4331\",\"csalecorpid\":\"0001131000000000393I\",\"csalecorp_code\":\"1000\",\"csalecorp_name\":\"天海总公司组织\",\"csalereceiveid\":\"10011310000000004FQ6\",\"ctransportcorpid\":\"10011310000000004DEQ\",\"ctransportrouteid\":\"10011310000000004DES\",\"ctransporttypeid\":\"00011310000000003VNW\",\"ctransporttype_code\":\"01\",\"ctransporttype_name\":\"飞机\",\"dapprovedate\":\"2018-05-30\",\"dbilldate\":\"2018-05-30\",\"dmakedate\":\"2018-05-30\",\"fstatus\":\"1\",\"ntotalnumber\":2,\"tapprovetime\":\"2018-05-30 13:40:38\",\"tmaketime\":\"2018-05-30 17:06:28\",\"tmodifytime\":\"2018-05-30 17:06:28\",\"vnote\":\"测试全字段\",\"vreceivecode\":\"4331TH1805300005\"},\"childrenvo\":[{\"castunitid\":\"000111100000000006J4\",\"castunit_code\":\"05\",\"castunit_name\":\"箱\",\"csendcalbodyid\":\"100111100000000000OQ\",\"csendcalbody_code\":\"1000\",\"csendcalbody_name\":\"天海集团库存组织\",\"pk_sendcorp\":\"1001\",\"sendcorp_code\":\"1000\",\"sendcorp_name\":\"天海总公司\",\"creceiveareaid\":\"000111100000000006L6\",\"creceivearea_code\":\"00\",\"creceivearea_name\":\"内部单位\",\"ccustbasdocid\":\"000111100000000006L8\",\"creceivecustbasid\":\"000111100000000006L8\",\"cbiztype\":\"10011310000000004B3D\",\"cbiztype_code\":\"sofh\",\"cbiztype_name\":\"销售走发货\",\"csupercargoid\":\"00011110000000000A4X\",\"csupercargo_code\":\"HI1709050005\",\"csupercargo_name\":\"李夕\",\"nastnumber\":0.33,\"cinvmandocid\":\"00011110000000000ETJ\",\"cinvmandoc_code\":\"010101\",\"cinvmandoc_name\":\"米奇宝新生儿配方奶粉900g\",\"tsendtime\":\"00:00:00\",\"ccustmandocid\":\"000111100000000008Z2\",\"ccustmandoc_code\":\"1000\",\"ccustmandoc_name\":\"天海总公司\",\"blargessflag\":false,\"cinvbasdocid\":\"00011110000000000DWS\",\"nnumber\":2,\"ddeliverdate\":\"2018-05-30\",\"dsenddate\":\"2018-05-30\",\"btransportcloseflag\":false,\"vsourcereceivecode\":\"SOTH1805300115\",\"scalefactor\":6,\"csourcebillbodyid\":\"10011310000000004B6H\",\"crowno\":\"10\",\"ntotaltransnum\":0,\"tdelivertime\":\"00:00:00\",\"bifrowclose\":false,\"vsourcerowno\":\"10\",\"csalereceiveid_bid\":\"10011310000000004FQ7\",\"creceivecustid\":\"000111100000000008Z2\",\"creceivecust_code\":\"1000\",\"creceivecust_name\":\"天海总公司\",\"csourcebillid\":\"10011310000000004B6G\",\"vsourcetype\":\"30\"}]},{\"parentvo\":{\"pk_corp\":\"1001\",\"corp_code\":\"1000\",\"code_name\":\"天海总公司\",\"cemployeeid\":\"00011110000000000A4X\",\"cemployee_code\":\"HI1709050005\",\"cemployee_name\":\"李夕\",\"coperatorid\":\"0001111000000000014U\",\"coperator_code\":\"14444444004\",\"coperator_name\":\"张茜茜\",\"bifclose\":false,\"capproveid\":\"000111100000000000SH\",\"capprove_code\":\"14444444005\",\"capprove_name\":\"陈军\",\"cbiztype\":\"10011310000000004B3D\",\"cbiztype_code\":\"sofh\",\"cbiztype_name\":\"销售走发货\",\"cdeptid\":\"100111100000000000OS\",\"cdept_code\":\"100\",\"cdept_name\":\"总裁办公室\",\"cmodifyid\":\"0001111000000000014U\",\"cmodify_code\":\"14444444004\",\"cmodify_name\":\"张茜茜\",\"creceipttype\":\"4331\",\"csalecorpid\":\"0001131000000000393I\",\"csalecorp_code\":\"1000\",\"csalecorp_name\":\"天海总公司组织\",\"csalereceiveid\":\"10011310000000004EYB\",\"ctransportcorpid\":\"10011310000000004DEQ\",\"ctransportrouteid\":\"10011310000000004DES\",\"ctransporttypeid\":\"00011310000000003VNW\",\"ctransporttype_code\":\"01\",\"ctransporttype_name\":\"飞机\",\"dapprovedate\":\"2018-05-30\",\"dbilldate\":\"2018-05-30\",\"dmakedate\":\"2018-05-30\",\"fstatus\":\"1\",\"ntotalnumber\":2,\"tapprovetime\":\"2018-05-30 13:40:38\",\"tmaketime\":\"2018-05-30 16:57:00\",\"tmodifytime\":\"2018-05-30 16:57:00\",\"vnote\":\"测试全字段\",\"vreceivecode\":\"4331TH1805300002\"},\"childrenvo\":[{\"castunitid\":\"000111100000000006J4\",\"castunit_code\":\"05\",\"castunit_name\":\"箱\",\"csendcalbodyid\":\"100111100000000000OQ\",\"csendcalbody_code\":\"1000\",\"csendcalbody_name\":\"天海集团库存组织\",\"pk_sendcorp\":\"1001\",\"sendcorp_code\":\"1000\",\"sendcorp_name\":\"天海总公司\",\"creceiveareaid\":\"000111100000000006L6\",\"creceivearea_code\":\"00\",\"creceivearea_name\":\"内部单位\",\"ccustbasdocid\":\"000111100000000006L8\",\"creceivecustbasid\":\"000111100000000006L8\",\"cbiztype\":\"10011310000000004B3D\",\"cbiztype_code\":\"sofh\",\"cbiztype_name\":\"销售走发货\",\"csupercargoid\":\"00011110000000000A4X\",\"csupercargo_code\":\"HI1709050005\",\"csupercargo_name\":\"李夕\",\"nastnumber\":0.33,\"cinvmandocid\":\"00011110000000000ETJ\",\"cinvmandoc_code\":\"010101\",\"cinvmandoc_name\":\"米奇宝新生儿配方奶粉900g\",\"tsendtime\":\"00:00:00\",\"ccustmandocid\":\"000111100000000008Z2\",\"ccustmandoc_code\":\"1000\",\"ccustmandoc_name\":\"天海总公司\",\"blargessflag\":false,\"cinvbasdocid\":\"00011110000000000DWS\",\"nnumber\":2,\"ddeliverdate\":\"2018-05-30\",\"dsenddate\":\"2018-05-30\",\"btransportcloseflag\":false,\"vsourcereceivecode\":\"SOTH1805300115\",\"scalefactor\":6,\"csourcebillbodyid\":\"10011310000000004B6H\",\"crowno\":\"10\",\"ntotaltransnum\":0,\"tdelivertime\":\"00:00:00\",\"bifrowclose\":false,\"vsourcerowno\":\"10\",\"csalereceiveid_bid\":\"10011310000000004EYC\",\"creceivecustid\":\"000111100000000008Z2\",\"creceivecust_code\":\"1000\",\"creceivecust_name\":\"天海总公司\",\"csourcebillid\":\"10011310000000004B6G\",\"vsourcetype\":\"30\"}]},{\"parentvo\":{\"pk_corp\":\"1001\",\"corp_code\":\"1000\",\"code_name\":\"天海总公司\",\"cemployeeid\":\"00011110000000000A4X\",\"cemployee_code\":\"HI1709050005\",\"cemployee_name\":\"李夕\",\"coperatorid\":\"0001111000000000014U\",\"coperator_code\":\"14444444004\",\"coperator_name\":\"张茜茜\",\"bifclose\":false,\"capproveid\":\"000111100000000000SH\",\"capprove_code\":\"14444444005\",\"capprove_name\":\"陈军\",\"cbiztype\":\"10011310000000004B3D\",\"cbiztype_code\":\"sofh\",\"cbiztype_name\":\"销售走发货\",\"cdeptid\":\"100111100000000000OS\",\"cdept_code\":\"100\",\"cdept_name\":\"总裁办公室\",\"cmodifyid\":\"0001111000000000014U\",\"cmodify_code\":\"14444444004\",\"cmodify_name\":\"张茜茜\",\"creceipttype\":\"4331\",\"csalecorpid\":\"0001131000000000393I\",\"csalecorp_code\":\"1000\",\"csalecorp_name\":\"天海总公司组织\",\"csalereceiveid\":\"10011310000000004FQ1\",\"ctransportcorpid\":\"10011310000000004DEQ\",\"ctransportrouteid\":\"10011310000000004DES\",\"ctransporttypeid\":\"00011310000000003VNW\",\"ctransporttype_code\":\"01\",\"ctransporttype_name\":\"飞机\",\"dapprovedate\":\"2018-05-30\",\"dbilldate\":\"2018-05-30\",\"dmakedate\":\"2018-05-30\",\"fstatus\":\"1\",\"ntotalnumber\":2,\"tapprovetime\":\"2018-05-30 13:40:38\",\"tmaketime\":\"2018-05-30 17:05:39\",\"tmodifytime\":\"2018-05-30 17:05:39\",\"vnote\":\"测试全字段\",\"vreceivecode\":\"4331TH1805300003\"},\"childrenvo\":[{\"castunitid\":\"000111100000000006J4\",\"castunit_code\":\"05\",\"castunit_name\":\"箱\",\"csendcalbodyid\":\"100111100000000000OQ\",\"csendcalbody_code\":\"1000\",\"csendcalbody_name\":\"天海集团库存组织\",\"pk_sendcorp\":\"1001\",\"sendcorp_code\":\"1000\",\"sendcorp_name\":\"天海总公司\",\"creceiveareaid\":\"000111100000000006L6\",\"creceivearea_code\":\"00\",\"creceivearea_name\":\"内部单位\",\"ccustbasdocid\":\"000111100000000006L8\",\"creceivecustbasid\":\"000111100000000006L8\",\"cbiztype\":\"10011310000000004B3D\",\"cbiztype_code\":\"sofh\",\"cbiztype_name\":\"销售走发货\",\"csupercargoid\":\"00011110000000000A4X\",\"csupercargo_code\":\"HI1709050005\",\"csupercargo_name\":\"李夕\",\"nastnumber\":0.33,\"cinvmandocid\":\"00011110000000000ETJ\",\"cinvmandoc_code\":\"010101\",\"cinvmandoc_name\":\"米奇宝新生儿配方奶粉900g\",\"tsendtime\":\"00:00:00\",\"ccustmandocid\":\"000111100000000008Z2\",\"ccustmandoc_code\":\"1000\",\"ccustmandoc_name\":\"天海总公司\",\"blargessflag\":false,\"cinvbasdocid\":\"00011110000000000DWS\",\"nnumber\":2,\"ddeliverdate\":\"2018-05-30\",\"dsenddate\":\"2018-05-30\",\"btransportcloseflag\":false,\"vsourcereceivecode\":\"SOTH1805300115\",\"scalefactor\":6,\"csourcebillbodyid\":\"10011310000000004B6H\",\"crowno\":\"10\",\"ntotaltransnum\":0,\"tdelivertime\":\"00:00:00\",\"bifrowclose\":false,\"vsourcerowno\":\"10\",\"csalereceiveid_bid\":\"10011310000000004FQ3\",\"creceivecustid\":\"000111100000000008Z2\",\"creceivecust_code\":\"1000\",\"creceivecust_name\":\"天海总公司\",\"csourcebillid\":\"10011310000000004B6G\",\"vsourcetype\":\"30\"}]}]}"}

错误返回示例:

复制代码

暂无数据