السلام عليكم ورحمة الله وبركاته
جزاك الله كل خير على هذا الكود الرائع
كود PHP:
select * from IV30100 where TRXSORCE
NOT IN (select ORTRXSRC from GL20000) and BCHSOURC = 'IV_Trxent'
و بعد أذنك اخي الفاضل احببت ان اضيف رابط من موقع مايكروسوفت حول نفس الموضوع ولكي تعم الفائدة للجميع
How to find transactions that are posted to Inventory but not to General Ledger in Microsoft Dynamics GP
http://support.microsoft.com/kb/932023