You are on page 1of 2

RMX837 program ----To import remittance data

rm004 - Edit remittance data

rm0006 - Applying remittance data

999 control group;

Reference should be on evetrnpf,invmst,blltrnpf,hexref

When this happens you can delete the transactions as long as they have not subsequently gone to the
ledger. Change your SQL to say Select * from BLLTRNPF where BLLDEP=2010220 and BLLPRC= and
make sure you get the same results. Those are the records you can delete. If they are the same change
that SQL to a delete and delete them. Once done we have to correct the invoice master too. There is
an SQL source member for that.

You can copy and paste this command to correct the invoice master:

RUNSQLSTM SRCFILE(LWFILES/QSQLSRC) SRCMBR(UPDINVMST) COMMIT(*NONE)

One more thing. The remittance detail should be returned as well. That is not as important but if you
get this in time do it. During the apply, records for those services were transferred from table RMTDTL
to RMTDTLHIS. You can identify them by case/ref and the value of RMCHK. Just use SQL to copy them
back to RMTDTL and then delete from RMTDTLHIS.

Insert into lwfiles999.rmtdtl

Select *from RMTDTLHIS where rmref=697088


Remittance distribution:

While debugging, remember distribution happened before confirming on rm0006 program.

You might also like