Dear All
Anyone tell me, how to create chart of account template in sap b1.
Regards
Anil Dubey
Dear All
Anyone tell me, how to create chart of account template in sap b1.
Regards
Anil Dubey
Dear Mr. Nagarajan,
Sorry for that i don't want to hurt your emotions.
Really i very much like your answers.
If you find any type of problem from my side then felt sorry for that.
Thanks & Regards,
Nishit Makadia
Hi,
I think you misunderstood my reply. You are not hurting me, encouraging me to become most knowledge person. (not got that level of knowledge in B1).
You are always welcome..
Thanks & Regards,
Nagarajan
Hi,
Ok Sir Got it. now i relax.
Thank you so much.
Sir please tell me the answer of above thread.
http://scn.sap.com/thread/3585681
Thanks & Regards,
Nishit Makadia
Hi Kennedy
the site u pasted is not working... if u have the pdf file.... pls share it... its useful to me.. mail id guhandoss@gmail.com
Thanks in advance
warm regards
Guhan Doss
Hi,
I am not familiar with crystal report.
Thanks & Regards,
Nagarajan
Dear Mr. Mark,
Still i wait for your warm full replay.
Thanks & Regards,
Nishit Makadia
Hi Experts,
I need the Indian Rupees format.. the below image shows wrong in last word.. instead of paisa.. it shows hundereths in PLD..
I used colsum("F_306") and marked as sum in words
Give me a solution ASAP.
thanks in advance
warm regards
Guhan
Hi Guhandoss,
As per your requirement, you used above formula.
NumberVar paisa = No mod 100;
ToWords(Truncate(No)) + " and " + ToWords(paisa) + " paisa"
Note : No = your display amount in words field.
Thanks & Regards,
Nishit Makadia
Hi Nishit,
I tried your above formula and its not working
NumberVar paisa = F_333 mod 100;
ToWords(Truncate(F_333)) + " and " + ToWords(paisa) + " paisa"
Actually I used
ColSum("F_306") for totaling in Repetitive Area Footer1 - the field name is F_333.
So i need sum in words of the F_333 field in Indian format..
Thanks in advance
regards
Guhan
HI,
I'll just give you a suggestion on how you can make the report since you don't use/have a stored proc for the report.
1. On the Item Master Data, you can add a new "Item Group" (e.g. Push Button, just like your example)
2. Set all the items that falls in this category.
3. When you make your crystal report, group your data per "Item Group" and make it as your Group Header.
Hope this helps.
Regards,
Hi Mark,
Thanks for your Suggesion.
but i already know that with using item group i can create
but there are lots of items and groups are used by us
so, it is not feasible solution for me.
Thanks & Regards,
Nishit Makadia
Hi Guhan,
there is some another way to display amount in words.
just copy above code into an formula.
numbervar RmVal:=0;
numbervar Amt:=0;
numbervar pAmt:=0;
stringvar InWords :="";
Amt := (Sum ({Item.amount}));
if Amt > 10000000 then
RmVal := truncate(Amt/10000000);
if RmVal = 1 then
InWords := InWords + " " + towords(RmVal,0) + " Crore"
else if RmVal > 1 then
InWords := InWords + " " + towords(RmVal,0) + " Crores";
Amt := Amt - Rmval * 10000000;
if Amt > 100000 then
RmVal := truncate(Amt/100000);
if RmVal = 1 then
InWords := InWords + " " + towords(RmVal,0) + " Lakh"
else if RmVal > 1 then
InWords := InWords + " " + towords(RmVal,0) + " Lakhs";
Amt := Amt - Rmval * 100000;
InWords := InWords + " " + towords(truncate(Amt),0);
pAmt := (Amt - truncate(Amt)) * 100;
if pAmt > 0 and {Header.Doccur}="INR" then
InWords := "Rs. " + InWords + " And " + towords(pAmt,0) + " Paisa Only"
else if {Header.Doccur}="USD" then
InWords := "$. " + InWords + " And " + towords(pAmt,0) + " Cent Only"
else if {Header.Doccur}="INR" then
InWords := "Rs. " + InWords + " Only"
else if {Header.Doccur} ="USD" then
InWords := "$. " + InWords + " Only";
ProperCase(InWords)
Thanks & Regards,
Nishit Makadia
Dear Nagarajan,
Yes, but with small changes . But I need the correction in this query only.
Regards,
Bhoopathi.K
Hi,
Try this:
Declare @FromDate Datetime
Declare @ToDate Datetime
Declare @ItmsGrpNam varchar(100)
select @FromDate = min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >= '[%0]'
select @ToDate = max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <= '[%1]'
select @ItmsGrpNam = max(s2.ItmsGrpNam) from dbo.OITB S2 Where S2.ItmsGrpNam = '[%2]'
Select distinct a.Itemcode, max(a.Dscription) as ItemName, (Select i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM,a.InvntAct,
(isnull(( Select distinct sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
and O1.DocDate<=@FromDate ),0)- isnull(( Select sum(isnull(outqty,0)) from OINM O1
where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and O1.DocDate<=@FromDate),0)) as [Opening Stock],
(isnull((Select distinct isnull(sum(round(TransValue,0)),0) from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
and O1.DocDate<=@FromDate ),0)) as [Opening Stock Value],
isnull((Select ISNULL((sum(isnull(inqty,0))),0) from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.transtype in (20,18)),0) as [Purchase Quantity],
isnull((Select isnull(sum(round(TransValue,0)),0) from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.InQty>=0 and O1.JrnlMemo not like '%cancellation%'
and O1.transtype in (20,18)),0 ) as [Purchase Value],
isnull((Select sum(isnull(OutQty,0))from OINM O1 where O1.itemcode=a.ItemCode AND O1.InvntAct = a.InvntAct
and O1.ApplObj = '202' and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.OutQty>0 and
O1.transtype = '60'),0) as [Production Issue Quantity],
isnull((Select isnull(sum(round(TransValue,0)),0)from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
and O1.ApplObj = '202' and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.OutQty>0
and O1.transtype = '60'),0) as [Production Issue Value],
isnull((Select sum(isnull(Inqty,0)) from OINM O1 inner join OIGN G1 on O1.BASE_REF = G1.DocNum inner join IGN1 G2 on G1.DocEntry=G2.DocEntry
where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and O1.ItemCode = G2.ItemCode
and G2.BaseType = '202' and G2.TranType is null and O1.docdate>=@FromDate
and O1.docdate<=@ToDate and O1.Inqty>0 and O1.transtype = '59'),0) as [Goods Receipt Return Quantity],
isnull((Select sum(isnull(Inqty,0)) from OINM O1
inner join OIGN G1 on O1.BASE_REF = G1.DocNum
inner join IGN1 G2 on G1.DocEntry=G2.DocEntry
--inner join OITM a on a.itemcode= o1.ItemCode
--inner join OACT c on c.AcctCode = o1.InvntAct
where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and O1.ItemCode = a.ItemCode
and G2.LineNum = O1.DocLineNum and G2.BaseType = '202' and g2.TranType is null
and O1.docdate >= @FromDate and o1.DocDate <= @ToDate
and O1.Inqty>0 and O1.transtype = '59'),0)as [Goods Receipt Return Quantity_1],
isnull((Select sum(round(TransValue,0))from OINM O1 inner join OIGN G1 on O1.BASE_REF = G1.DocNum inner join IGN1 G2 on G1.DocEntry=G2.DocEntry
where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and O1.ItemCode = G2.ItemCode
and G2.BaseType = '202' and G2.TranType is null and O1.docdate>=@FromDate
and O1.docdate<=@ToDate and O1.Inqty>0 and O1.transtype = '59'),0) as [Goods Receipt Return Value],
(isnull((Select distinct isnull(sum(isnull(inqty,0)),0)from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
and O1.DocDate<=@ToDate),0)- isnull((Select isnull(sum(isnull(outqty,0)),0) from OINM O1
where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and
O1.DocDate<=@ToDate),0)) as [Closing Stock],
(isnull (( Select distinct isnull(sum(round(TransValue,0)),0)from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
and O1.DocDate<=@ToDate),0)) as [Closing Stock Value],
(Select distinct i.LastPurDat from OITM i where i.ItemCode=a.Itemcode) as 'Last Purchase Date',
(Select distinct b.ItmsGrpNam from OITB b where b.ItmsGrpCod = I1.ItmsGrpCod) as 'Group Name'
from (Select distinct N1.Itemcode, N1.Dscription, isnull((sum(N1.inqty)),0)-isnull((sum(n1.outqty)),0) as OpeningBalance,
isnull((sum(N1.Transvalue)),0) as OpeningValue,n1.InvntAct,0 as INq,
0 as OUT From dbo.OINM N1 inner join OITM i on i.ItemCode = N1.ItemCode
inner join OITB b on b.ItmsGrpCod = i.ItmsGrpCod
inner join OACT c on c.AcctCode = n1.InvntAct
Where N1.DocDate <=@FromDate and i.ItemCode = n1.ItemCode and b.ItmsGrpNam = @ItmsGrpNam and N1.Transtype <> '67'
Group By N1.ItemCode,N1.Dscription,n1.InvntAct
Union
select distinct N1.Itemcode, N1.Dscription, 0 as OpeningBalance,0 as OpeningValue,
n1.InvntAct,sum(N1.inqty) , 0 as OUT From dbo.OINM N1 inner join OITM i on i.ItemCode = N1.ItemCode
inner join OITB b on b.ItmsGrpCod = i.ItmsGrpCod
inner join OACT c on c.AcctCode = n1.InvntAct
Where N1.DocDate >= @FromDate and N1.DocDate<= @ToDate and N1.Inqty >0 and n1.ItemCode = i.ItemCode
and b.ItmsGrpNam = @ItmsGrpNam and N1.Transtype <> '67'
Group By N1.ItemCode,N1.Dscription,n1.InvntAct
Union
select distinct N1.Itemcode, N1.Dscription, 0 as OpeningBalance,0 as OpeningValue,n1.InvntAct,0,sum(N1.outqty) as OUT
From dbo.OINM N1 inner join OITM i on i.ItemCode = N1.ItemCode left join OWOR t0 on t0.docentry = N1.[AppObjAbs]
inner join OITB b on b.ItmsGrpCod = i.ItmsGrpCod
Where N1.DocDate >= @FromDate and N1.DocDate <=@ToDate
and N1.OutQty > 0 and b.ItmsGrpNam = @ItmsGrpNam and n1.itemcode = i.itemcode and N1.Transtype <> '67' and T0.[Type] = 'S'
Group By N1.ItemCode,N1.Dscription,n1.InvntAct)a,dbo.OITM I1 ,OITB b1
where a.ItemCode=I1.ItemCode and I1.ItmsGrpCod = b1.ItmsGrpCod
Group By a.Itemcode ,I1.ItmsGrpCod , b1.ItmsGrpNam,a.InvntAct
Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0
Order By a.Itemcode
Thanks & Regards,
Nagarajan
I have the following query. I want to add totals for open qty and open line totals in this query. How can I do it? The selection criterea will select only one customer.
SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T1.[ItemCode],
T1.[Dscription], T1.[OpenQty] as [Backorder Qty],
T1.[LineTotal] as [Row Total]
FROM Pitkar.dbo.ORDR T0 INNER JOIN Pitkar.dbo.RDR1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN Pitkar.dbo.OITM T2 ON T1.ItemCode = T2.ItemCode WHERE
T1.[LineStatus] ='O' and T0.[CardCode] between [%0] and [%1]
Hi Guhan
Check the below Thread it may helps you
How to convet Amount To Words in PLD
With Regards
Balaji
Dear Nagarajan,
As per your query the Special Production Order Issue's and Return qty & Value is still comes here. But I need the issue and return details for only Standard Production Order in the above query. Kindly help me in this regard.
Regards,
Bhoopathi.K
Hi,
one of my client using SAP 2007B version ,the crystal report working fine in SAP SERVER but its not working in clients systems its showing "crystal reports ActiveX designer invalid directory" if any one know the solution please help me on the same .
Note: I have tried above mentioned points but issue not solved