假设有应收发票编号为"'04ES062服务-200506'"的到期余额于其行上项目的值不符合(有差异),那么我们怎么去处理呢?<注:该文档根据ibm顾问sundi的操作整理而成,该方法立竿见影>
1.首先找到该发票的customer_trx_id
select t.customer_trx_id
from ar.ra_customer_trx_all t
where trx_number = '04ES062服务-200506';
select * from ra_customer_trx_lines_all where customer_trx_id = 976462;
2.利用该id,更新如下表中的相关数据,即可
select *
from ar_payment_schedules_all
where customer_trx_id = 976462
for update;
select *
from ra_cust_trx_line_gl_dist_all
where customer_trx_id = 976462
for update;
select *
from ar_receivable_applications_all
where applied_customer_trx_id = 976462
for update;