【合泰】查询出库单,ERP同步WMS的出库结果执行ERP的出库逻辑,主要场景: 1. 采购退货出库 2. 余减出库 3. 调拨出库 4. 领料出库 5. 其它出库
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
query_param | HtOutboundOrderQuery | 可选 | htOutboundOrderQuery | ||||||||
|
|||||||||||
page_query | TopPageQuery | 可选 | topPageQuery | ||||||||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
top_result | HSFResult | 请求结果 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); XunxiHetaiWmsOutboundorderQueryRequest req = new XunxiHetaiWmsOutboundorderQueryRequest(); XunxiHetaiWmsOutboundorderQueryRequest.HtOutboundOrderQuery obj1 = new XunxiHetaiWmsOutboundorderQueryRequest.HtOutboundOrderQuery(); obj1.setOutboundTypes( "" ); obj1.setSourceIds( "" ); obj1.setMinGmtModified(StringUtils.parseDateTime( "2024-01-01 00:00:00" )); obj1.setMaxGmtModified(StringUtils.parseDateTime( "2024-01-01 00:00:00" )); req.setQueryParam(obj1); XunxiHetaiWmsOutboundorderQueryRequest.TopPageQuery obj2 = new XunxiHetaiWmsOutboundorderQueryRequest.TopPageQuery(); obj2.setCurrentPage(1L); obj2.setPageSize(20L); req.setPageQuery(obj2); XunxiHetaiWmsOutboundorderQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | < xunxi_hetai_wms_outboundorder_query_response > < top_result > < success >true</ success > < code >401</ code > < msg >授权异常</ msg > < data > < items > < ht_outbound_order_dto > < outbound_order_id >CK10820020</ outbound_order_id > < source_id >8278172828</ source_id > < source_id_type >M_DDD</ source_id_type > < outbound_child_type >MATERIAL_OUTBOUND</ outbound_child_type > < warehouse_id >1004</ warehouse_id > < status >FINISHED</ status > < gmt_create >2024-10-01 00:00:00</ gmt_create > < gmt_modified >2024-10-01 00:00:00</ gmt_modified > < items > < ht_outbound_order_item_d_t_o > < sku_id >xxxxx</ sku_id > < sku_info > < ht_material_code >M982999</ ht_material_code > < ht_material_name >测试物料</ ht_material_name > < first_category_type >FABRIC/ACCESSORY</ first_category_type > < measurement_unit >M</ measurement_unit > < weight_unit >G</ weight_unit > < fabric_breadth_unit >CM</ fabric_breadth_unit > < ht_material_color >ABC</ ht_material_color > < ht_contract_code >24HT00001</ ht_contract_code > < ht_style_id >24ST091</ ht_style_id > < customer_provider >true</ customer_provider > < ht_material_color_code >ABC</ ht_material_color_code > < fabric_breadth >100</ fabric_breadth > < weight >100</ weight > < specification >ABC</ specification > </ sku_info > < actual_quantity >1000</ actual_quantity > < supplier_material_batch >TX00</ supplier_material_batch > < material_ext_attr >BC</ material_ext_attr > </ ht_outbound_order_item_d_t_o > </ items > < receive_part_id >123</ receive_part_id > < receive_part_name >Axxxx</ receive_part_name > < creator >创建人</ creator > < modifier >修改人</ modifier > < remark >测试ABC</ remark > </ ht_outbound_order_dto > </ items > < total_count >100</ total_count > < current_page >1</ current_page > < page_size >20</ page_size > </ data > </ top_result > </ xunxi_hetai_wms_outboundorder_query_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|