AR Invoice in Crystal Report

Experts,
I am new to SAP. I want to create a AR invoice in Crystal report...where field will be like
Header Level
1. Name and Address Of Consignee
2. Party's Order No
3. Tax Invoice No
4. Order Date
5. Tax Invoice Date
6. Buyer's VAT TIN/CST TIN No.
7. Mode of Transport and Vehicle No
8. Buyer's ECC No.
9. Range (Excise)
10. Division (Excise)
11. Details of central excise
Row Level
1. Item no.
2. Item Des
3. Total Qty
4. Rate
5. Amount
End of the report
1. NEt Amount
2.Excise Duty
3. Edu Cess
4. HSCess
5. VAT/CST
6. Total
7. PLA Entry No
8. RG 23A PArt B Entry No
9. RG23 C PArt II Entry No.
10. VAT TIN
11. CST TIN

Hi shrutisapsen,
Welcome To SAP Community Network Forum
Try this query in Crystal Report
For Header Level & Row Level
select a.docentry,a.DocNum,A.CardCode,A.CardName,A.DocDate,a.NumAtCard,a.Address,A.[VatSum],a.[DocTotal],
a.DiscSum,a.RoundDif,
b.ItemCode,b.Dscription,b.Quantity,b.DiscPrcnt,b.Price,b.ShipDate ,b.LineTotal,b.[Quantity],b.Text,
b.NumPerMsr,b.unitMsr,b.PriceBefDi,b.shipdate,d.Location,e.PymntGroup,b.unitMsr,
f.TaxId0 as ClientPANNo,f.TaxId1 as ClientCSTNo,f.TaxId2 as ClientVATNo,F.ECCNo, T2.SeriesName,
r.BuyUnitMsr as UOM
from OINV A
left outer join INV1 b on A.DocEntry=B.DocEntry
left outer join  OWHS c on B.WhsCode=c.WhsCode
left outer join OLCT d on c.Location=d.Code
left outer join OCTG e on b.docentry=e.GroupNum  
left outer join CRD7 f on f.Address=''  and a.CardCode=f.CardCode
left outer join NNM1 T2 ON a.Series = T2.Series
left outer join OITM r on b.ItemCode=r.ItemCode
where A.DocEntry = {?DocKey@}
For Bottom Level purpose for Taxation.
select sum(inv4.TaxSum) as TaxSum, inv4.StaCode,INV4.TaxRate
from INV4 where
INV4.DocEntry={?DocEntry}
group by StaCode,inv4.StaCode,INV4.TaxRate  order by INV4.TaxRate desc
For Freight
select sum(linetotal) as linetotal from INV3 where DocEntry={?DocKey@}
For Taxation Brackup you have to Create sub Report
Thanks,
Srujal Patel

Similar Messages

  • Design Invoice in Crystal Report 8.5

    Hello,
    Crystal report is the software used to create reports and documents for the business software we use (it's built-in).
    We have received from the graphic designer a layout design in PDF vectorial format for the sales invoice, but we are having a hard time to make it work with crystal report.
    Is there anyway we can use a full background image? Or does it have to be built by areas with pieces of images?
    Which is the best image extension/format to be used when adding images? We have noticed that using jpg results in a lot of grain. An image with white background will show not white, but grainy making it impossible to look good within the rest of the document.
    We aim to have the invoices both printed or sent by email (PDF or HTM format) and we need it to work with quality both ways. We've noticed as well that using gif (instead of jpg) gives better/good print results, but if we print an invoice that was converted into PDF, though it was not visible on the screen (contrary to jpg), the print will show a grainy background of the image, where it should be white (like described when using jpg).
    I would appreciate your help as we're not managing to find a good enough solution.
    Thank you.

    Hi Rita
    There are certain advantages/limitations while using any kind of image formats which are quite generic in nature(whether with crystal or otherwise).
    If you think that the pdf document which holds the images in it looks good as per your requirement(since you are comparing the results with it) then would suggest you to insert this pdf file directly as an OLE object.
    In Insert>>Ole Object menu you will get to see the option for inserting an Adobe Acrobat Document.
    Please break the pdf document into several pages as crystal would be able to display one page in one OLE object.
    Thanks

  • Add Shipping Type in AR Invoice in Crystal Report

    Dear Experts,
    I'm designing the layout by Crystal Report. I want to add Shipping Type in AR Invoice. I used the ready format provided in version 8.8. However, there is no Shipping Type in the given format. So, I pulled in the OSHP table and link TrnspCode to OINV's TrnspCode.
    This form works only if I select a shipping type from the drop-down menu in the AR Invoice. If I leave the shipping type empty, this form will generate a blank data.
    Where did I go wrong?

    Hi,
    A question: why do you need leave the shipping type empty?
    Thanks,
    Gordon

  • Invoice in crystal reports with group by basedocnum Delivery and line text

    Hi there,
    as i got some troubles with a CR i've tried to make a new report.
    i use OINV, INV1, OCRD, NNM1, OCTG, OSCP in the report.
    the details section is grouped by inv1.basedocnum. In the group header it should show the
    inv1.basedocnum and the inv1.docdate. when printed does not respect the order of lines after group by
    basedocnum. is for the case where a bill is grouped into several invoices I have lines in text
    interspersed between articles. for example:
    Delivery nº 1 de fecha 12/04/2011
    This is a line text
    001     Product1     1,00     3,00     3,00
    002     Product2     2,00     2,00     4,00
    Delivery nº 4 de fecha 13/04/2011
    001     Product1     1,00     3,00     3,00
    Another line text
    003     Product3     2,00     1,50     3,00
    Delivery nº 8 de fecha 15/04/2010
    This is a line text
    001     Product1     1,00     3,00     3,00
    Line text
    002     Product2     2,00     2,00     4,00
    I thus first printed text lines and then the article and does not respect the order of lines per document
    any idea?
    Thanks in advance
    SBO 8.8

    One possibility for this is that the user has an unusual printer driver set as their default printer.  I would check that they have a regular printer installed and set as the default.
    The other possibility is that they have their IE option set to display text as small.   If you go to "View" -> "Text Size" - what size do they have the text set to?
    Shawn

  • How do I get the bin allocation of A/P Invoice using Crystal Report

    Hi,
    I have been trying to get the bin allocation from the A/P Invoice using tables OBTL and dbo.b1_OINMWithBinTransfer
    The OBTL is able to provide the messageID for other transactions but not for the A/P Invoice. Below is my sample code to exhibit the null values associated with transtype 18.
    Select Distinct Jrn1Memo, BinAbs
    From dbo.B1_OINMWithBinTransfer
    Left Outer Join OBTL on Obtl.MessageID=dbo.b1_OINMWithBinTransfer.InvPLMessageID
    where Transtype=18
    Is there anyway to get the bin location allocation for A/P Invoices?

    Hi,
    Please do not post multiple threads for same subject. Close this thread.
    Thanks.

  • Using crystal reports to generate invoices

    Post Author: samme
    CA Forum: General
    I'm writing a report for a client who wants to print multiple invoices using crystal reports.  The invoice needs to sort in date order, one date and information associated with that date on each page.  Each page has a subtotal since multiple items/services are linked ot one date.  The last page of the invoice needs to have the total and should at the bottom of the page with the last subtotal.  Not onlastrecord does not work because if the user prints multiple invoices, crystal doesn't see the "last record" until the last record of the last invoice.
    The client wants the normal invoice information on the first page of the invoice:  Company Logo, Customer Address, Company Info, Invoice #, Date, etc. as well as the column headers - quantity, unit of measure, price, etc.
    On all other pages of the invoice, the client wants, the company logo, the invoice # and the column headers.
    I have the report grouped by invoice number and then by a date formula.  I cannot seem to get where I need to be with this invoice and have been working on it for some time.  Can anyone give me some direction please..... 
    Thanks in advance!

    On Sat, 15 Mar 2003 16:46:48 GMT, "Bill Bradley"
    <[email protected]> wrote:
    >I know. We thought that the Report Builder would be the way to go,
    since
    >ART didn't do too much for us. You guys poorly document it, and,
    show no
    >examples of using it to build a report. In addition, it'd be nice if
    >SOMEONE would come up with a list of what tables show what. While
    Novell
    >may have a detailed list of things in the ZFD docs, it's pretty much
    so
    >detailed and complex that, it's next to useless. I've resorted to
    doing
    >huge dumps of things to a csv, then, using CR or Excel to generate
    some kind
    >of report.
    >
    >The whole process is not as easy as it should be, seeing that we paid
    money
    >to get a reporting vehicle.
    >
    >As comparison, SMS isn't any easier, but, there's more documentation
    on it,
    >so, when you're forced to roll your own report, it's a clearer
    path...
    I do understand, I'm not a programmer either :-(
    the company who wrote report builder is Digital Metaphors, they have a
    very good
    training application and additional detailed information of how to
    write
    reports.
    The CIM schema is I agree Cr** (well not easy) and without the detail
    that
    Novell provide it doesn't work.
    I hope that a friend of mine is going to provide the compromise that
    you and I
    are looking for. Namely the ability to create the SQL queries that
    ART can
    make, with a simple report system. Keep an eye on caledonia.net for
    an
    announcement for ART4 (Derived from but unrelated to Salford
    Software's
    product) :-)
    Tim
    No Direct e-Mail Please!
    Tim Heywood
    Independent Consultant
    Scotland
    Novell Support Connection SYSOP
    In theory, practice and theory are the same,
    In practice they are different!

  • Preview results in SAP B1 differ from Crystal Report - AR Invoice

    Greetings,
    I have an AR Invoice layout which I want to show the base document number at the header which I call it Delivery Note No.
    I created a subreport for this because of the possibility of a few deliveries for 1 invoice.
    All the marketing documents have a prefix which is from the table NNM1.
    The way I linked in the subreport as the follow:
    OINV.DocEntry-->INV1.DocEntry
    INV1.BaseEntry-->ODLN.DocEntry
    ODLN.Series-->NNM1.Series
    When I preview the main report (AR Invoice) in Crystal Report, I get the correct prefix for the Delivery No. However, when I import it into SAP B1 and preview the invoice from there, it showed me the Invoice prefix instead. Why is it not showing the delivery prefix?
    Am I doing something wrong here?

    Hi,
    Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
    Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
    also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
    Thanks
    Kevin
    Edited by: Kevin Shah on May 27, 2011 4:21 PM

  • SAP 8.8 Crystal Report Layout problem in client workstation

    Hi Experts,
    We have import crystal report to SAP Business One as Form Layout or AP Invoice. We have already created the token DocKey@ so it would automatically be printed and will not ask for the document number. The layout works fine using the server workstation but in the client workstation we cannot proceed with the printing because when we click on the preview button, a login window appears with this details:
    Database Login
    Server Name : gray out or not active
    Database: gray out or not active
    Login ID: active
    Password: active
    We tried to enter the SQL login but fails.
    Is there any components that we need to install in the workstation before it could function the same way as PLD?
    Thanks,
    Janice

    You can try creating the ODBC connection, which is the same as on the server.
    Assuming this is the scenario:
    1. You write the invoice using crystal report on the server
    2. On the server, Control Panel--> ODBC, you have created an ODBC link eg; SAPB1.
    3. The report is connecting to ODBC link and pointing to database OECUS
    On the client workstation, you need to create:
    1. Control Panel--> ODBC, you need to create an ODBC link as on the server.

  • Switch from OINV to ODRF in Crystal Report layout for print the Invoice?

    Hi,
    I have imported in Sap Business One some standard report developed by Sap with Crystal Report (like Sales Invoice).
    I have try to print my Invoices and all is OK, then I have try to print a Draft Invoice and, even in this case, is all ok. Then I have open the Crystal Report designer for this print module, and the entry point is the OINV table. How can he print succesful the Draft Invoice (that is in the ODRF table ObjType = 13)? Formula Field? I don't understand!!
    Thank for the help!!
    Marco

    Hi Marco,
    You only need a single Crystal report for this. Base it on a stored procedure which has two INT type parameters @DocKey and @ObjectId. Within your SQL create IF blocks to handle different @ObjectId values:
    IF @ObjectId = 13 then use the invoices tables OINV/INV1 etc.
    IF @ObjectId = 112 then use the draft tables ODRF/DRF1 etc.
    Don't forget to put the @ symbol at the end of the parameter in the report itself. That is all that is needed to create a single report that works for both added invoices and draft invoices. You could extend the SQL to handle other @ObjectId values like 14 for AR Credit Notes and so on.
    Regards,
    Andrew.

  • Crystal Reports, SAP B1 - connect OINV, OPCH (A/R Invoice, A/P Invoice)

    What I need to do is to connect the two SAP B1 v9.0 tables listed above (A/P Invoice OINV, and A/R Invoice OPCH) in a Crystal report WITHOUT SQL.  How do you connect these tables?  Purpose of report is for sales commissions.  Existing customer report combines SAP B1 data from these tables but is done manually in Excel.  Attempting to create report in Crystal for automation purposes.  Will also include INV1 and PCH1 for detailed line item marketing document information.  Thanks for any assistance.

    Since the picture doesn't show what is actually linked to what, here is a written description of the links I used between tables (with 2 alternates in case I'm wrong):
    OPRJ.PrjCode left join INV1.Project
    INV1.BaseEntry left join RDR1.DocEntry
    INV1.BaseLine left join RDR1.LineNumber
    INV1.DocEntry left join OINV.DocEntry
    INV1.ObjType left join OINV.ObjType
    INV1.ItemCode inner join OITM.ItemCode
    OINV.CardCode inner join OCRD.CardCode
    OINV.SlpCode left join OSLP.SlpCode
    OITM.ItmsGrpCod left join OITB.ItmsGrpCod
    RDR1.DocEntry left join ORDR.DocEntry
    RDR1.DocEntry left join DLN1.BaseEntry
    RDR1.LineNum left join DLN1.LineNum (s/b BaseLine?)
    RDR1.DocEntry left joing POR1.BaseEntry
    RDR1.LineNum left join POR1.LineNum (s/b BaseLine?)
    RDR1.ObjType left join ORDR.ObjType
    POR1.DocEntry left join OPOR.DocEntry
    POR1.ObjType left join OPOR.ObjType
    POR1.DocEntry left join PCH1.BaseEntry
    POR1.LineNum left join PCH1.BaseLine
    PCH1.DocEntry left join OPCH.DocEntry
    PCH1.ObjType left join OPCH.ObjType
    DLN1.DocEntry left join ODLN.DocEntry
    DLN1.ObjType left join ODLN.ObjType

  • Excise Invoice number range not being picked by crystal reports

    Hi all,
    We have a Crystal Report that generates the Invoice document based on the invoice number which is an input a parameter. The report is built on 'SAP Table,Cluster or Function' type connection. The Invoice numbers are updated into the source system. Current invoice series is *****0001,.....****0052,****0053,****0054.............****0100......****0111,****0112,*****0113.
    The problem is that the Crystal Report is working fine till ******0111 but it is returning a blank values for Invoice numbers ******0112  and others following. We checked the data in the SAP system and the details for Invoice Numbers ******0112 and others are available in the SAP system.
    While i select the Excise Invoice number field of the corresponding table and clicking on browse data it is showing invoices upto ******0052.
    Please help.
    Thanks and Regards,
    Raja.N

    Hi
    is this data coming from a single table or are joins involved ?
    did you try a report simple on a single table to see if the data would be returned ?
    ingo

  • A/R Invoice PLD design with Crystal Reports

    Dear All,
                       I have designed A/R Inoice Print design in crystal reports, while i am seeing print preview it is showing all invoice details which are created in sap b1. But I need print particular invoice details which is navigate in the A/R Invoice screen like PLD design.
    what is the steps need to be follow?. Kindly let me know the details and if any document available, plz send me.
    Advance Thanks to all
    Regards,
    Anvar

    Hi,
        Add Dockey parameter in your SQL query
        Import as a Layout....
    Try below query in your CR report....
    select P0.DocDate,P0.DocNum,P0.CardCode,P0.CardName,P0.Address,P0.Address2,p1.ItemCode,
    p1.Dscription,p1.Quantity,p1.Price,p1.linetotal,p0.wtsum,P0.DocTotal,P0.Comments,P0.VatSum,p1.TaxCode
    from OINV P0     
    inner join INV1 p1 on P0.DocEntry =p1.DocEntry
    where p0.Docentry='{?Dockey@}'
    Regards,
    Priya

  • Problem when trying to print standart invoice crystal report for SAP

    Hi All, I have the following problem when trying to print a system invoice report in crystal reports for SAP
    I pass params and load the report using this code
    Private Sub DisplayThreadReportSeq()
    Dim oView As New frmViewReport
    Dim strReportPath As String = ""
    Dim strParamName As String = ""
    Try
    Dim CR As New ReportDocument
    CR.Load(oReport.CrstPath)
    ' Declare the parameter related objects.
    SetReportValues(CR)
    Dim crParameterDiscreteValue As ParameterDiscreteValue
    Dim crParameterFieldDefinitions As ParameterFieldDefinitions
    Dim crParameterFieldLocation As ParameterFieldDefinition
    Dim crParameterValues As ParameterValues
    ' Get the report's parameters collection.
    For Each oPar As cslParam In oReport.Params
    crParameterFieldDefinitions = CR.DataDefinition.ParameterFields
    crParameterFieldLocation = crParameterFieldDefinitions.Item(oPar.ParName)
    crParameterValues = crParameterFieldLocation.CurrentValues
    crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
    crParameterDiscreteValue.Value = oPar.Value
    crParameterValues.Add(crParameterDiscreteValue)
    crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
    Next
    If pPrint Then
    If oReport.Printer "" Then
    CR.PrintOptions.PrinterName = oReport.Printer
    End If
    CR.PrintToPrinter(IIf(oReport.Copies = "", 1, oReport.Copies), False, 0, 0)
    SBO_Application.StatusBar.SetText("Printed Document Successfully", SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
    Else
    oView.Text = pReport
    oView.TopMost = True
    oView.Viewer.ReportSource = CR
    oView.Hide()
    oView.ShowDialog()
    End If
    Catch ex As Exception
    Util_GenErrorLog("DisplayReport", ex)
    End Try
    End Sub
    This code works fine when the report invoke to print is developed in crystal reports version for .net 2008 or .net 2005
    when trying to print a report standart getting from SAP BO 8.8.1 using this code I getting the following error:
    Error in File C:UsersecombaAppDataLocalTemp5ARInvoiceStandartSap {300B9A68-DF05-4D7B-8F3B-1670A4493BEE}.rpt:
    Error in formula .
    'Shared numberVar SectionTotalMaxHeght;
    A number, currency amount, boolean, date, time, date-time, or string is expected here.
    This report is the standart report that SAP 8.8.1 includes and works fine on SAP.
    I referenced this dlls CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.CrystalReports.Shared, version 10.2.3600
    How I can get these dll´s version for Crystal Report 2008 for SAP Business one or How I can solve this problem
    thanks in advance,
    Ezequiel.

    Hi Ezequiel,
    You can try to search in SAP Business One Reporting & Printing forum section or post there.
    nd.Q

  • AR Invoice payment terms on Crystal Report

    Hi,
    There is a subreport section for payment terms on the canned version of the AR Invoice crystal report.  Does anyone know how to turn this subreport on to print the payment terms?

    Check in the Format Subreport menu to see if there is a suppression formula embedded?

  • Last date for an invoice formula for Crystal Reports

    Post Author: jegva
    CA Forum: Crystal Reports
    I sure hope someone can help me write a formula to list only the last dated invoice from our database.  Let me explain, our sales would like a report listing all of our customers showing their last dated invoice.  We use SQL and Crystal Reports 8.5 (yea outdated).  They are interested in showing all our customers and their last invoice/date so they can try to contact those who have not done business for some time. Please help!!!!!!!

    Hi Scott,
    One reason is the older versions introduced a .5 font reduction in the viewers. This was a good thing for some but bad thing for others so I assume what the developers have done is leave the font as is and show those # symbols now to indicate the viewer you are using and font you are using works differently on the OS and the various viewers being used.
    In CR designer it uses the GDI+ to render the data through classic C++ function calls. I .NET it too uses GDI+ but it's the Framework making the calls and the Framework handles screen mapping differently. We've had this issue/functionality limitations since version 9. Various reasons and various work arounds resulted in various outputs.
    Another reason is the C++ viewer built into the Report Designer and the .NET framework handling the fonts work slightly differently when rendering. This has been tracked and few times here by me and in both cases the cause is GDI+ has bugs in it so it's nothing we can do. Post or log your issue with Microsoft, they may be able to fix it. Once they do then if it's still a problem in CR we can fix it depending on what MS does.
    Another work around may be to use a fixed font like Courier or some other font that has a specified character area all characters use, it may make the characters space oddly but as for displaying it's always the same size.
    All I can suggest is they get into a practice of testing their reports in your app before "publishing"
    Thanks again
    Don

Maybe you are looking for

  • Problem: IAP Product is unable to restore, Paid app has to buy again after reserving app name

    I face to 2 problems with my app after reserving app name for published app. 1. IAP I published my WP8 apps ~1 year ago (we didn't have to reserve app name at this time). Recently, I reserved an app name (same with published app) and published app. A

  • User-Defined Fields Window

    Hi All, I have one issue with the User-Defined Fields window of the ACTIVITY form. I had added some user defined fields (UDF) to the Activities so that the User-Defined Fields are displaying in a separate window just near to the Activity window with

  • "WIA support" says "No WIA compatible devices were detected"

    I have just got PS6, Windows 7, 64-bit. I am trying to connect my old scanner, an Epson Perfection 4870 Photo. The Adobe "Help" says that I must use WIA (Windows Image Acquisition) instead of TWAIN. However, when I go File > Import > WIA support (as

  • A way to re-enable scroll bar buttons in Gnome (GTK) 3?

    Is there a way to re-enable or add the scrollbar buttons (on the top and bottom of vertical scrollbars or on the left and right of horizontal scrollbars) in Gnome (GTK) 3?

  • Font and icons are too small in workspace

    I've used photoshop elements 10 ad it's worked fine on my other computers. I just purchased a new computer, same size monitor and I can barely read the font or text on it. I have 20/20 vision but the workspace is so small on this computer. I've tried