运行Autoinvoice Master Program请求生成不了某张销售订单的发票

来源:互联网 发布:易语言登录界面源码 编辑:程序博客网 时间:2024/05/02 07:38

问题:今天接到客户的电邮,说有两张销售订单运行Autoinvoice Master Program请求生成不了AR.

解决:(1)查看ra_interface_errors_all,发现里面有错误信息,意思是:The Bill to address id must exist in oracle Receivables, and itmust be assigned to the Bill to customer….

          (2) 根据销售订单号查看销售订单,看address里面的ship to和bill to选择的内容:

                    <1>ship to:选择的是37399

                    <2>bill  to:选择的是37398

               

    (3)打开客户资料界面,查看设置是否有问题:

             <3.1>发现ship to 对应的bill to location是39705,但销售订单为什么会是37398呢?

                      后果查看了销售的录入日期是2014-08-01,但在2014-08-15有人把客户的资料修改了.


       

 (4)由于数据已经到了ra_interface_lines_all这个接口,所以只能修改接口表记录,通过将orig_system_bill_address_id栏位改成现在bill id:


 (5)重新跑Autoinvoice Master Program请求

 (6)在AR的职责中:Collections->account details,根据销售订单查看,发现AR发票已经生成.

0 0