المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : مطابقة ap مع gl


bana_112
11-Nov-2012, 09:03 AM
Ap موديول غير متطابق مع ال gl موديول، كيف يمكنني ان اعرف الحركات التي اثرت على احدهم ولم تؤثر على الاخر؟؟؟؟

sameh mohamed
12-Nov-2012, 01:22 PM
في البداية واجهت هذه المشكلة والحمد لله قمت بمراجعة تاريخ الفاتورة وتاريخ الترحيل للقيود فمن الممكن أن تكون الفاتورة بتاريخ 01/07/2008 وتاريخ الترحيل بالباتش أو تاريخ البرنامج 01/11/2008 ثانيا من الممكن أن يكون توجيه القيد بالفاتورة به خطا وغير مربوط علي الحسابات الصحيحة

alnawrass
20-Dec-2012, 08:07 AM
أخ سامح من المزايا المفيدة جدآ في الاصدار العاشر من الـgp هو ميزة المطابقة بين الاستاذ العام و الموديول عن طريق برنامج الأكسل

هذه الميزه لم تكن متوفره في الاصدارات السابقه للأصدار العاشر

bana_112
20-Dec-2012, 08:34 AM
وكيف ذلك يا اخ alnawras؟

alnawrass
20-Dec-2012, 09:06 PM
اخي الفاضل اقرأ هذه الفقره من مرفق whats new in GP 10 يصف كيف يمكن عمل المطابقة بين الـ GL وAP وAR

Reconcile Receivables Management and Payables
Management to General Ledger

This reconcile process generates a Microsoft Excel spreadsheet that can be used to
match transactions in Payables Management or Receivables Management that have
been posted to General Ledger. While this process doesn’t generate correcting
transactions, if they’re needed, it can help identify transaction discrepancies
between balances in General Ledger and the sub-ledgers.

as_radwan
20-Dec-2012, 09:37 PM
أخ سامح من المزايا المفيدة جدآ في الاصدار العاشر من الـgp هو ميزة المطابقة بين الاستاذ العام و الموديول عن طريق برنامج الأكسل

هذه الميزه لم تكن متوفره في الاصدارات السابقه للأصدار العاشر
ويمكن ابضا مطابقة الاستاذ العام مع موديل المخازن وخصوصا بعد إضافة نسخة sp2 للاصدار العاشر

saif79
28-Jan-2013, 06:06 PM
اخي العزيز يمكنك الاستفادة من الكو التالي اللذي استعمله في شركتي لايجاد الفروقات لاكثر من 5000000 ترانساكشن وقد نجح.
للاستفار راسلني على saifatfairtradellc.com


--Bulid the subledger from pm20000 and pmpm30200
--drop table ft_it..pm20000bkp4_2210
select x.* into ft_it..pm20000bkp4_2210 from (
select voided,vendorid vendor,bachnumb,trxsorce sltrxsource,bchsourc slsource,doctype,vchrnmbr ,docnumbr ,docdate,docamnt slamt
from ftnew..pm20000 a where
vendorid in
(select distinct ormstrid from ftnew..gl20000 where openyear = '2007'
and actindx in (select actindx from ftnew..gl00100 where actnumbr_6 = '2210')
and ormstrid <> '')
and docdate between '01-apr-2007' and '31-mar-2008'
union all
select voided,vendorid vendor,bachnumb,trxsorce sltrxsource,bchsourc slsource,doctype,vchrnmbr ,docnumbr ,docdate,docamnt slamt
from ftnew..pm30200 a where
vendorid in (select distinct ormstrid from ftnew..gl20000 where openyear = '2007'
and actindx in (select actindx from ftnew..gl00100 where actnumbr_6 = '2210')
and ormstrid <> '')
and docdate between '01-apr-2007' and '31-mar-2008') x


--change the vchrnmbr to receipt no in the SL table
update ft_It..pm20000bkp4_2210
set vchrnmbr = a.poprctnm ,
doctype = 2
from ftnew..pop30300 a
where pm20000bkp4_2210.doctype = 1 and
a.poptype =2 and
docnumbr = vnddocnm and
docdate = receiptdate and
slsource = bchsourc and
vendor = vendorid and
a.vchrnmbr = pm20000bkp4_2210.vchrnmbr and
slsource = 'Rcvg Trx Ivc '

-- build the GL table
--drop table ft_it..gl20000bkp4_2210
select --jrnentry,
ortrxsrc,orctrnum as doc,ormstrid as GLvendor,--sourcdoc,
ortrxtyp,
sum(debitamt) dr, sum(crdtamnt) cr
into ft_it..gl20000bkp4_2210
from ftnew..gl20000
where openyear = '2007' and
ormstrid <> '' and orctrnum <> '' and
actindx in (select actindx from ftnew..gl00100 where actnumbr_6 = '2210')
group by --jrnentry,
ortrxsrc,orctrnum,ormstrid --,sourcdoc
,ortrxtyp



--build the comparision table
--drop table ft_it..gl20000pm20000bkp4_2210
select * into ft_it..gl20000pm20000bkp4_2210 from
(
select ortrxsrc as ortrxsrc1 ,doc as doc1 ,GLvendor as Vendor1,0 jrn,'' glsorce,0 dr1,0 cr1,'' void,'' slbatch,'' slsource1,
ortrxtyp as doctype1
,0 slamt1, 0 as SlTrueAmt
from ft_it..gl20000bkp4_2210
union
select sltrxsource as ortrxsrc1,vchrnmbr as doc1,vendor as vendor1 ,0 jrn,'' glsorce,0 dr1,0 cr1,'' void,'' slbatch,'' slsource1,
doctype as doctype1
,0 slamt1, 0 as SlTrueAmt
from ft_it..pm20000bkp4_2210
) x


update ft_it..gl20000pm20000bkp4_2210
set void = voided,
slbatch = bachnumb,
slsource1 = slsource,
doctype1 = doctype,
slamt1 = slamt
from ft_it..pm20000bkp4_2210
where ortrxsrc1 = sltrxsource and doc1 = vchrnmbr
and vendor1 = vendor and doctype1 = doctype


update ft_it..gl20000pm20000bkp4_2210
set --jrn = jrnentry,
--glsorce = sourcdoc,
dr1 = a.dr,
cr1 = a.cr
from ft_it..gl20000bkp4_2210 a
where ortrxsrc1 = a.ortrxsrc and doc1 = a.doc
and vendor1 = a.glvendor and doctype1 = ortrxtyp
--and date1 = GLDate



insert into ft_it..gl20000pm20000bkp4_2210
select ortrxsrc,orctrnum,ormstrid,jrnentry,'',--sourcdoc,
debitamt,crdtamnt,'','','', ortrxtyp,0,0
from ftnew..gl20000
where openyear = '2007' and
ormstrid = '' and orctrnum = '' and
actindx in (select actindx from ftnew..gl00100 where actnumbr_6 = '2210')


update ft_it..gl20000pm20000bkp4_2210
set SlTrueAmt = case doctype1
when '1' then -1 * slamt1
when '2' then -1 * slamt1
when '3' then -1 * slamt1
else slamt1
end


select * from ft_it..gl20000pm20000bkp4_2210
order by 3,doctype1,2,4

bana_112
28-Jan-2013, 08:01 PM
شكرا يا اخ سيف ولكن ارجو التوضيح اكثر لو سمحت

Monzer Osama
28-Jan-2013, 09:12 PM
اخي العزيز يمكنك الاستفادة من الكو التالي اللذي استعمله في شركتي لايجاد الفروقات لاكثر من 5000000 ترانساكشن وقد نجح.
للاستفار راسلني على saifatfairtradellc.com


--Bulid the subledger from pm20000 and pmpm30200
--drop table ft_it..pm20000bkp4_2210
select x.* into ft_it..pm20000bkp4_2210 from (
in
(select distinct ormstrid from ftnew..gl20000 where openyear = '2007'
and actindx in (select actindx from ftnew..gl00100 where actnumbr_6 = '2210')
and ormstrid <> '')
and docdate between '01-apr-2007' and '31-mar-
order by 3,doctype1,2,4

شكرا أخ سيف , أرجو منك وضع الكود في ملف نصي بالـ Notepad .txt وإرفاقه بردك على انه مرفق إذ أن طول المشاركة تعدت المسموح بها.