Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

FreeText in Crystal reports

$
0
0

Greetings, Ladies & gentlemen.

My problem is the following :

i have an invoice the contains items and there quantities.

in SAP Business One i created an invoice with "Text" below the item as a long description. And i want that text to be showed beneath the item in crystal reports.

i have tried to make a query :

 

select t0.Dscription , t0.ItemCode, t0.Quantity, t0.Price, t0.DiscPrcnt, t0.LineTotal, t0.BaseDocNum,

t1.LineText,

t2.DocNum, t2.Address, t2.TaxDate, t2.CardCode, t2.CardName, t2.GrosProfit, t2.VatSum, t2.TotalExpns, t2.DocTotal, t2.DocEntry

from INV1 t0 left outer join INV10 t1

on t0.DocEntry = t1.DocEntry and t1.LineType = 'T'

--and t0.LineNum = t1.LineSeq

and t0.LineNum = t1.AftLineNum

inner join OINV t2 on t2.DocEntry = t0.DocEntry

 

The thing is that i don't have a common Column to make the joint with it, so i improvised.

As you see i have two conditions that i switched between them :

 

t0.LineNum = t1.LineSeq

t0.LineNum = t1.AftLineNum

 

they do the trick BUT, the following conditions mess up everything.

- If i add a line in SAP B1 then remove it, i don't get the "Text"  field.

- If i add more than one "Text" field then in Crystal reports i get the same item on multiple lines.


I know that this is possible in the Layout of the SAP B1, but my Client wants the design a little bit complicated, and i cannot do that in the Layout, cause of its limits.


So my Questions are the following :

- is there a way to do this without a personalized Query?

- if not then are there any modifications to make to the Query?

- Does Crystal reports have any options to do so?


thank you for your time for reading this thread.


Regards, Mr Boughli.


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>