Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

INTERNAL: RM SQL scripts to locate RM Transactions that are not in GL in Dynamics GP


View products that this article applies to.

INFORMATION

You can use the scripts below to locate transactions that are in the RM side (open and history) but not in the GL (work, open or history). Any results returned, you will need to review those on your own.

 

select * from RM20101
where DOCNUMBR not in
(select ORCTRNUM from GL30000 where SERIES=3)
and DOCNUMBR not in
(select ORCTRNUM from GL20000 where SERIES=3)
and DOCNUMBR not in
(select a.ORCTRNUM from GL10001 a
inner join GL10000 b on a.JRNENTRY=b.JRNENTRY
where b.SERIES=3)
and VOIDSTTS=0 and POSTDATE<> '1900-01-01 00:00:00.000'

----------------------------------
 
select * from RM30101
where DOCNUMBR not in 
(select ORCTRNUM from GL30000 where SERIES=3)
and DOCNUMBR not in
(select ORCTRNUM from GL20000 where SERIES=3)
and DOCNUMBR not in 
(select a.ORCTRNUM from GL10001 a
inner join GL10000 b on a.JRNENTRY=b.JRNENTRY
where b.SERIES=3)
and VOIDSTTS=0 and POSTDATE <> '1900-01-01 00:00:00.000'

 

 

 

 

 

query words: reconcile to GL RM receivables general ledger gp AR

↑ Back to the top


Keywords: kb, gp, kbmbspartner, kbmbsmigrate, kbtshoot

↑ Back to the top

Article Info
Article ID : 4229852
Revision : 2
Created on : 5/1/2018
Published on : 5/1/2018
Exists online : False
Views : 271