on 12-09-2011 2:15 PM
Hi friends
i want your help regarding this matter. in our (SAP B1 system ) company we want a report of pending document (Goods Receipt Po,Goods Return) report
which is indicate as a balance in Goods in Transist accounts. that mean balance of GIT account should equal to pending Good Receipt Po Values. how can i get this report
( this can not do with document find level, because open Goods Receipt Po value not equal to GIT account balance)
thank you
saman
Edited by: saman_wm on Dec 9, 2011 3:16 PM
Try this,
SELECT T0.[DocNum], T0.[DocStatus], T1.[ItemCode], T1.[Dscription], T1.[Quantity], (T1.[OpenQty] * T1.[Price]) as 'PO B/O' FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[LineStatus] ='o'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try:
SELECT T0.refdate,
Case when T0.TransType = 30 then 'Journal Entry'
when T0.TransType = 18 then 'AP Invoice'
when T0.TransType = 19 then 'AP CR Memo'
when T0.TransType = 20 then 'GRPO'
when T0.TransType = 21 then 'Goods return'
End as 'Trans Type',
T0.BaseRef as 'Doc No',
T0.transid as 'Trans ID',
t1.contraact as 'Offset Acct',
(T1.debit -T1.credit) as 'C/D(LC)'
from ojdt T0
inner join jdt1 T1 on T0.TransId = T1.TransId
where T0.refdate >= [%0\] AND T0.refdate <= [%1\]
and t1.contraact like '21041%'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gordon
thank you for your help. it is use full to me but its not the requirement i want,
i want pending documents according to GIT balance for a selected period, that mean document name, docu number, item name, value ect
in your solution can you add base document date as a new column, if there are many base document how to indicate
all of numbers in report
saman
Try this for GRPO:
SELECT T0.refdate,
Case when T0.TransType = 30 then 'Journal Entry'
when T0.TransType = 18 then 'AP Invoice'
when T0.TransType = 19 then 'AP CR Memo'
when T0.TransType = 20 then 'GRPO'
when T0.TransType = 21 then 'Goods return'
End as 'Trans Type',
T0.BaseRef as 'Doc No',
T0.transid as 'Trans ID',
t2.AcctName as 'Offset Acct',
t3.Itemcode,
t3.quantity,
t3.lineTotal,
(T1.debit -T1.credit) as 'C/D(LC)'
from ojdt T0
inner join jdt1 T1 on T0.TransId = T1.TransId
inner join OACT T2 on T2.AcctCode=t1.contraact
LEFT JOIN PDN1 T3 ON T3.DocEntry = Cast(T1.Ref1 AS Integer)
where T0.refdate >= [%0\] AND T0.refdate <= [%1\]
and t1.contraact like '21041%'
Hi Saman.......
Are you keeping any track for Goods in Transit till the supplier gets that material back to his warehouse?
I don't think you have mentioned here that you are keeping any track for GIT based on Goods return......
Please specify.....
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saman.......
I mean to say do you have any tracking No. when your Supplier received material back.
Are you updating any reference no. in GRPO once you get the confirmation from your Supplier that he has received material?
If yes then you can get the GIT stock accounting very easily......
Regards,
Rahul
Hi Saman,
Is GIT in your posting Goods In Transit ?
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gordon,
I checked system report, but it is not full fill my requirement
I want that report according to following parameters,
1-Date from
2-Date to
3-document Series
Report Results
Pending document -item wise with line value [which is directly effect to GIT accounts balance]
Thank you
saman
Edited by: saman_wm on Dec 12, 2011 6:49 AM
Edited by: saman_wm on Dec 12, 2011 6:51 AM
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.