问题简短描述:JDE接口退单报错
解决方案:修改退货单备注
详细操作步骤描述及截图:
1、登陆服务器,查看JDE退货单失败

- 登陆PLSQL,语句查询报错
select JLBH,FDBH,lpad(CGZX,12,’ ‘),SHRQ,SHR,BZ from BFBHDD9.THSQD where FLAG =0 and DBBJ=0 and SHR is not null and length2(bz)>25
- 查询备注大于25个汉字,执行SQL后变为可编辑状态,修改备注不要超过25个汉字(保留原意思),没有固定值(无需与用户确认)
select * from thsqd where jlbh=’363400263′ for update

- 查询修改后是否还大于25个汉字,无数据证明处理成功
select JLBH,FDBH,lpad(CGZX,12,’ ‘),SHRQ,SHR,BZ from BFBHDD9.THSQD where FLAG =0 and DBBJ=0 and SHR is not null and length2(bz)>25
