Tax Breakup in Crystal Report

Hi,
     How to do Tax breakup in Crystal Report

HI Jambulingam ,
Create query in SQL to get required data and do tax break up in sql query as shown below:
SELECT M.DocNum AS 'AP Inv. #', M.DocDate as 'Date', M.CardName as
        'Vendor Name',M.NumAtCard as 'Bill No. & Dt.',L.ItemCode,
          L.Dscription,L.LineTotal as 'Amount',L.vatsum ,L.PriceBefDi as 'Rate',
     (Select Sum(LineTotal) FROM INV1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
     (SELECT Sum(TaxSum) FROM INV4 where statype=-90 and DocEntry=M.DocEntry) as 'BED (Rs.)',
     (SELECT Sum(TaxSum) FROM INV4 where statype=7 and DocEntry=M.DocEntry) as 'HSCess_New (Rs.)',
     (SELECT Sum(TaxSum) FROM INV4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
     (SELECT Sum(TaxSum) FROM INV4 where statype=-55 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
     (SELECT Sum(TaxSum) FROM INV4 where statype=1 and DocEntry=M.DocEntry) as ' VAT (Rs.) ',
     (SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as ' CST (Rs.) ',
     (SELECT Sum(TaxSum) FROM INV4 where statype=-10 and DocEntry=M.DocEntry) as ' CVD (Rs.) ',
     (SELECT Sum(TaxSum) FROM INV4 where statype=5 and DocEntry=M.DocEntry) as ' Ser.Tax (Rs.) ',
     (SELECT Sum(TaxSum) FROM INV4 where statype=6 and DocEntry=M.DocEntry) as 'CS on Ser.Tax (Rs.)',
     (SELECT Sum(TaxSum) FROM INV4 where statype=4 and DocEntry=M.DocEntry) as 'HECS_ST (Rs.)',
      M.DocTotal as 'Total (Rs.)'
FROM OINV M LEFT OUTER JOIN INV1 L on L.DocEntry=M.DocEntry
             LEFT OUTER JOIN INV4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
GROUP BY
     M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.ItemCode,L.Dscription,L.LineTotal,L.vatsum,L.PriceBefDi
ORDER BY M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal,L.LineTotal,L.vatsum,L.PriceBefDi
use query to create crystal report.
Thanks,
Neetu

Similar Messages

  • Tax Breakup in PLD

    Dear All,
    I require the following tax breakup in PLD
    Ex:
    Total................................................303743.40.......A
    Packing charges.................................2316............B
    Excise Duty@10%..............................30606..........C=(AB)10%
    ECess@2%..........................................612............D=C*2%
    Hcess@1%..........................................306.............E=C*1%
    Transportation charges(Freight).............3937.............F
    Octroi@3%.......................................10655.............G=((ABCDEF)(ABCDE+F)0.04)3%
    Octroi service charges@1%...................107.............H=G*1%
    VAT@4...............................................14091...........I= (ABCDEFG+H)*4%
    In PLD this is structure which client is expecting for A/R Invoice since this is mandatory for his business practice.
    We have created 2 set of tax code for octroi, octroi service charges, vat which are apllicable at line item and freight charges ie transportation charges.
    In PLD, Till Hcess it is coming fine but tax after transportation are coming twice since we are applying
    octroi_1, octroi service charges_1,VAT_1 at line item and octroi_2, octroi service charges_2 and VAT_2  at freight.
    In PLD it shows
    octroi_1
    octroi service charges_1
    VAT_1
    octroi_2
    octroi service charges_2
    VAT_2
    Instead we want it to as shown in above example.
    Any solution will be highly appreciable..........
    swapnil

    Hi,
    Pls check the link.
    How to convet Amount To Words in PLD
    Also,
    may be the following will help u as u can placed the tax on the position u want.
    If tou want the tax break up , for that you have to mke the formula using the ostt and por4(purchase) and inv4 for invoice pld. table .
    Every taxcode has a unique nota fiscal id .Use that in ur PLD .
    Ex:
    First inser a repetitive area.
    Suppose Hcess id is 90 in ostt.
    1. Make a text field in repetive area and give 90 to it .
    2. make a db field and fetch nota id from ostt.
    3. make a formula field and Compare text field and db field .
    4. link the test field and db field with formula field .
    5. make a db field and fetch taxamount from por4.
    6. link this filed also to formula field
    7 . make a new formula field and multiple the amount field and previous formula field .
    8. make a new formula field in repetitive area footer and do copulmn sum of last formula field which have the result of multiplication.
    Same u have to repeat for taxrate .
    However u should go for Crystal report for such type of requirement .
    Rgds,
    Premraj

  • Feature of XL Reporter (Crystal Reporter vs XL Reporter)

    Dear Expert,
       Can you please share your experience on XL Reporter. I am using Crystal Report Basic for reporting.
    I was wondering why has SAP Provided XL Reporter if their is Crystal Reports. Does it saves time? or what is
    the advantage. If possible also include Crystal Reports vs XL-Reporter, to your response, to make it more easier
    to understand.
    Regards
    Faisal Baloch

    Dear Faisal,
    Each and every products have their own merits and De-merits.
    Some type of reports are easier to handle in XL reports like Tax breakup report per invoice wise/customer wise.
    Also in XL reporter, you can schedule the reports to be executed using Report jobs, packages. As of now Crystal reports basic won't support the Scheduling functionality (I think Crystal Reports Server can do this !).
    If you come to Crystal reports, this also having its own merits than XL reports/others.
    Regards,
    Bala

  • Sale Order Query Print layout/Crystal Report Query required

    Hi Experts,
    I created a Sale Order. Items included in it are service and material.
    (I created a BOM, bound the child material item to the parent service item. Moreover child item will have unit price where as parent item will not have unit price)
    I need the report on it please let me know how i can do it.
    I tried with below query
    select a.DocEntry, a.DocNum, a.CardCode, a.CardName, b.DocEntry,b.ItemCode, b.Dscription, b.Quantity, b.Price, b.LineTotal, a.DocTotal, a.VatSum 
    from ORDR a inner join RDR1 b on a.DocEntry = b.DocEntry
    --and b.TreeType <> 'N'
    where a.docnum = '14240621'
    output of above query is
    DocEntry
    DocNum
    CardCode
    CardName
    DocEntry
    ItemCode
    Description
    Qty
    Unit Price
    Line Total
    DocTotal
    Tax Amount
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302010001
    PROVIDING & LAYING
    17.62
    2493.76
    43940.05
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0001
    Material for PROVIDING & LAYING
    17.62
    2800
    49336
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    305010005
    BM CM INCLUDING CEMENT
    10.055
    1980
    19908.9
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0002
    Material for BM CM  INCLUDING CEMENT
    10.055
    1650
    16590.75
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302040001
    P/APPLYING
    65
    116.5
    7572.5
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0003
    Material for P/APPLYING
    65
    65
    4225
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    301000001
    P& FIXING
    2.233
    31625.05
    70618.74
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0004
    Material for P& FIXING
    2.233
    44000
    98252
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    306010001
    PROVIDING RMC
    3
    3593
    10779
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0005
    Material for PROVIDING RMC
    3
    4847
    14541
    354652
    18888.46
    and my desired output is
    Unit price of both child item and parent item should be display in single column. ie. cumulative in Unit Price Column and Linetotal respectively.
    DocEntry
    DocNum
    CardCode
    CardName
    DocEntry
    ItemCode
    Description
    Qty
    Unit Price
    Line Total
    DocTotal
    Tax Amount
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302010001
    PROVIDING & LAYING
    17.62
    5293.76
    93276.05
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    305010005
    BM CM  INCLUDING CEMENT
    10.055
    3630
    36499.65
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302040001
    P/APPLYING
    65
    181.5
    11797.5
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    301000001
    P& FIXING
    2.233
    75625.05
    168870.7
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    306010001
    PROVIDING RMC
    3
    8440
    25320
    354652
    18888.46
    please let me know the update on this.
    with regards

    Hi Nagarajan,
    thanks for reply..
    1) Yes, i.e i have taken into BomType: Template
    2) i did not get any helpful output by using treetype by keeping 'S' and 'N', i kept in comment.
    3) Actually MT0001-05 - these are material item- unit prices are fixed. see in attached image
         for parent item, unit prices are not fixed. I give the price for them in Sale Order.
         I want unit price for parent and child should be summed/cumulative for Sale Order print.
         (in my above post, first matrix exactly same as sale order line items plz check it)
    Please help me, how i can achieve this by query(for PLd or Crystal report)
    With Regards

  • Remove Blank Space from Crystal report

    Hello,
    i am new in crystal report work.
    recently, i have created one crystal report which display item and remaining other detail like tax detail,item grand total, Some extra remark,etc.
    But my scenario is that if i take three or more item then it take two page that's ok. on that case i have no problem,
    but if i  take only single item it will take two pages.
    how can i remove unnecessary area.
    i attached below image for better understanding.
    i also provide crystal report if required.
    if there is image not visible then i also attach below.
    Plz... Help me ASAP.
    Thanks,

    It seems like your tax detail section is another sub report please compact the subreport if attached.
    Right click on the object and select Format Object > checkbox "Supress Embedded Field Blank Lines"
    Right Click on the section and click "Fit Section"

  • Excise and Vat amount fetching in crystal reports

    Hi
    Document:GRPO (Draft)
    Reports Format:Crystal Reports
    Im not able to fetch the values of Excise(BEDCessHcess) and Vat applicable to each items in row.
    Plz suggest me the wayout.
    Thanks

    Hi ,
    Pls make a query having joining start from oinv> inv1>inv4  on docentry .
    For tax description u can go ostt .
    Evert tax have a taxcode , in inv4 check the tax entry by taking the refrence of a particualr docentry from oinv and then fetch the  required data .in inv4 look for linenum  field which is also in inv1 , link that two on docentry and linenum for particualr row item,I think u got little bit idea for that , Just try to start query , pls let us know if u face any issue in query .
    Rgds,
    Premraj

  • Crystal Report Integration with BW 70

    Crytal Integration with SAP BW  
    Posted: Apr 21, 2008 6:53 PM       E-mail this message      Reply 
    Need help.
    I have read some links at SDN, like Getting started link on BO and also http://www.businessobjects.com/product/packages/ to understand do we have to buy any additional licenses to use Crytal reports with my SAP BI 70?
    1) We already own Crystal Enterprise. We are using for Non SAP Data
    2) I remember to see SAP's integration kit in BW 3.5 and toolset to allow creating Crystal Reports on BW Queries. Also remember as SAP Customer we have access to create 10 queries even when we do not have Crystal License. Part of BW 3.5.
    3) Since we have Crystal Enterprise already, do we need to buy additional Licenses for using it for SAP BW?
    My question is limited to Crytal and not Generic BO, because SAP had some content development relationship with Crystal earlier. We have Business content (Brazilian Taxes in Crystal Reports)
    BusinessObjects XI Integration Kit for SAP will certainly will allow it but is it really needed for Crystal Reports?
    Can some one clarify?
    Pankaj Gupta

    Hi
    We recently bought Crystal Reports and also now in the process of connecting it to ECC6.0, CRM and BI 7.0. We do have the SAP integration Kit and from the installation manual I can figure out that the integration kit is a must because of many auth issues etc. They have provided a couple of transport to be imported into each of the systems and many parameter settings.
    If you are not having the Integration Kit it you should be trying to connect through ODBC etc which may be quite difficult with BI.
    Sunder Arunachalam

  • 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

  • Crystal Report licencing

    hi,
    My customer need Crystal report 2008, so please any one tell me about licencing ,cost and where i get
    regards
    srinu

    By default, all SAP Customers who are under AMC get a Single user of Crystal Reports 2008 Basic Free.
    This includes creating/ designing of Reports. For viewing you can use, Crystal Reports Integration Addon.
    If the Client wants to buy additional crystal reports licenses, the cost is around Rs. 60,000 /-  (approx) + taxes.
    You may contact, the local distributor in your area. The distributor for India is Ingram Micro.

  • Problem in using  Nested  IF-ELSE in Crystal Report  formula

    Hi Experts ,
                         I am having some problem using  Nested IF-ELSE in Crystal Report formula ,
    there is no error in the formula but only one condition is working. other condition is not working
    i am using this concept in formula workshop :-
    ' if{EXCISE_INVOICE;1.Basic Excise Duty BED@10 %}<>0 and{EXCISE_INVOICE;1.Education Cess @2%}<>0 and {EXCISE_INVOICE;1.Secondary Education Cess @1%}<>0 and {EXCISE_INVOICE;1.Central Sales Tax(CST)@2%}<>0
    then
    Sum ({EXCISE_INVOICE;1.Amount}) + {EXCISE_INVOICE;1.BedAmount@10%} + {EXCISE_INVOICE;1.EcessAmount@2%} + {EXCISE_INVOICE;1.SecCessAmount@1%} + {EXCISE_INVOICE;1.CSTAmount@2%}
    else
    if {EXCISE_INVOICE;1.Basic Excise Duty BED@10 %}<>0 and {EXCISE_INVOICE;1.Education Cess @2%}<>0 and  {EXCISE_INVOICE;1.Secondary Education Cess @1%}<>0 and   {EXCISE_INVOICE;1.Input VAT@5%}<>0  and {EXCISE_INVOICE;1.Addtional Tax@1%}<>0
    then
    Sum ({EXCISE_INVOICE;1.Amount}) + {EXCISE_INVOICE;1.BedAmount@10%} + {EXCISE_INVOICE;1.EcessAmount@2%}+{EXCISE_INVOICE;1.SecCessAmount@1% } + {EXCISE_INVOICE;1.VATAmount@5%} +{EXCISE_INVOICE;1.AddTaxAmount@1%(for VAT@4)}
    I want that  all conditions  should work and the condition which is applicable there according to formula it display the result,  if i add another condition then it should also work.
    kindly tell me the solution of this problem
    Regards
    Rahul

    Try this logic:
    if{EXCISE_INVOICE;1.Basic Excise Duty BED@10 %}!=0 and{EXCISE_INVOICE;1.Education Cess @2%} !=0 and {EXCISE_INVOICE;1.Secondary Education Cess @1%} !=0
    then
    Sum ({EXCISE_INVOICE;1.Amount}) + {EXCISE_INVOICE;1.BedAmount@10%} + {EXCISE_INVOICE;1.EcessAmount@2%} + {EXCISE_INVOICE;1.SecCessAmount@1%}
    else
    0
    +
    IF {EXCISE_INVOICE;1.Central Sales Tax(CST)@2%} !=0
    then
    {EXCISE_INVOICE;1.CSTAmount@2%}
    else
    IF  {EXCISE_INVOICE;1.Central Sales Tax(CST)@5%} !=0
    then
    {EXCISE_INVOICE;1.CSTAmount@5%}
    +
    if {EXCISE_INVOICE;1.Addtional Tax@1%} !=0
    then
    EXCISE_INVOICE;1.AddTaxAmount@1%(for VAT@4)}
    else
    0
    If not work, try SQL command.
    Thanks,
    Gordon

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Sales quote layout rows doubled in crystal report layout

    Dear All,
    Sales quote layout rows doubled in crystal report layout.
    In sales quote layout the rows are doubled. Even in the standard layout. If the quote contains only two rows. Then it is doubled as 4 rows in the crystal report layout.
    It is happening in the particular database. Other database are working fine. I request you people to help me to overcome this issue.
    Regards,
    Siva

    Hi Siva,
    If this is regarding CR in SAP B1 then please repost to the SAP Business One Application space.
    -Abhilash

  • SQL Connections remain open after Crystal Report closes

    I am wirting an interface to use the crystal report viewer to print reports, connecting to a Progress Open Edge 10.1B database.  From our application we declare the application, report, exportoptions and connectionproperties objects and pass these to the crystal reports viewer.  Once the report is printed we release the objects and set their variables for null.  However we are finding that the SQL connection to the database is remaining connected and we can only release the connection by manually going in a disconnecting.
    I have read in forums that people use .dispose or .close to release the connection, however we do not have access to these methods as we do not use .NET.  Are there any methods we can use to disconnect these sql connections?

    Hi Dean,
    Moved to the Legacy Application forums. Likely using the RDC as your report engine.
    You should still be able to close and dispose of the report objects. They are not specific to .NET.
    In VB it would look something like these lines::
        crReport.Close
        Set CrystalActiveXReportViewer1.ReportSource = Nothing
        Set crReport = Nothing
    Once the report is closed it should disconnect from the DB. If you close the application does that disconnect?
    Have you looked on 4GL's site for info on how to?
    Thank you
    Don

  • Dunning Letter as Crystal Report: What tables? (SAP B1 9.0)

    Dear Experts,
    I am being asked to revise the Dunning Letters for our clients.  The existing PLDs for each Dunning Letter shows most data fields as system variables.  The existing Crystal Report for Dunning Letter 1 is a conversion from the PLD and doesn't show table information for most of the report's main items.  There are tables in the report but they are standard ones (OADM, OADP, OCRD, OHEM, OSLP).  It also includes a "table" called "PLD__ITEMS" which has all the PLD system variables and no B1 table or field/column information.
    As I'm just now starting to work with dunning letters, I see that I can't even run this report in Crystal.  The PLD__Items datasource prompts me for a file path and class name.  Any ideas what one enters here to run the report outside of B1 (from the Crystal report designer)?
    The main focus of my question is: Has anyone created a Crystal Report to replicate the Dunning Letter and if so, what tables are involved and how are they connected?  If I can create a Dunning Letter entirely in Crystal, I can replicate it across all clients and get the correct fields/columns of data the clients want.  The inclusion of the PLD__Items apparently limits my ability to test the results.  I would prefer to avoid the PLD limitations.
    Thanks for any assistance.

    Thank you Nagarajan.  I have a dunning letter created in Crystal Reports for our client.  It is fairly limited in scope, it just has the customer name and address, invoice numbers and dates, amounts due and the text they wanted in it.
    I can import it into B1 9.0 and set it as the default for Dunning Letter #1 and it runs, but unlike other formats where there is a DocEntry and/or ObjectID and a ?DocKey@ or ?ObjectId@ parameter, how do I limit the report to just one customer?  Typical document layouts run for the document that's on the screen.  In the dunning process, the report runs once for every customer when the Dunning Letter Method is set to "One Letter per BP".  I have to limit the report to one customer at a time.  Right now, each dunning letter based on the Crystal report is identical and it contains all the data for every customer.
    So, does anyone have any ideas for what selection criteria needs to be included in the Crystal report to have it select just one customer from the dunning wizard tables?  Thanks.
    Michael
    Edit: I created a ?WizardID@ parameter and a ?CardCode@ parameter to limit the report to a single dunning wizard event and a single customer.  While it works fine in Crystal itself, it doesn't work in B1 at all.  I had thought that by limiting the report in this way, it would only create dunning letters for a single customer.

  • Exporting Crystal Report to HTML is not working in Windows 7

    Hi Sir,
    I am trying to export Crystal Report to HTML format using VB.NET code. Functionality is working fine at Windows XP Environment (Save to Disk, Open an Application and Email Attachment). But the same functionality is not working at Windows 7 Environment (both 32-Bit as well as 64-Bit).
    Below is the code to Exporting Crystal Report to HTML in VB.NET.
    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions
    Dim CrFormatTypeOptions          As New HTMLFormatOptions
    Dim vFormat As Integer
    Dim CrExportOptions As New ExportOptions
    Dim vRdReport As New ReportDocument
    Dim sfd As SaveFileDialog
    Dim vFileName As String = Nothing
    vRdReport = vRptSource
    sfd = New SaveFileDialog
    If Not (vRptPath = "") Then
        sfd.InitialDirectory = vRptPath
    End If
    sfd.Filter = "Webpage, Complete(.htm;.htm)|.htm|Web Archive, Single file(.mht)|.mht|Webpage, HTML only(.htm;.html)|.html"
    If sfd.ShowDialog = DialogResult.OK Then
        ' Set the disk file options.
         CrDiskFileDestinationOptions.DiskFileName = sfd.FileName.ToString()
    Else
         Return
    End If
    CrExportOptions = vRdReport.ExportOptions
    CrFormatTypeOptions.HTMLFileName = vFileName
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLHasPageNavigator = True
    CrFormatTypeOptions.UsePageRange = True
    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.HTML32
                        .DestinationOptions = CrDiskFileDestinationOptions.DiskFileName
                        .FormatOptions = CrFormatTypeOptions
    End With
    vRdReport.Export()
    Catch ex As Exception
            MsgBox(ex.ToString)
    End Try
    Code working fine at Windows XP, But it is not woking in Windows 7 environment.
    Please can anyone share your valuable thoughts or ideas reg. this.
    Thanks in Advance
    Deivanayaga Perumal D.

    user13509659 wrote:
    Run this code to reproduce the issue.Which issue?
    It looks like inheritance is broken in the component hierarchy for JFrame in Windows 7 JDK 1.6.0_23-b05. The only thing remotely related to inheritance in your code snippet is the WindowListener, which does little. See camickr's advice about built-in exit management.
    EDIT - using the post title as a clue, I realize you may be talking about the component hierarchy, and whether the contentPane's background is visible through the upper layers. Instead of guessing, I'd prefer you describe your "issue" accurately (observed vs expected behavior).
    Edited by: jduprez on Feb 10, 2011 1:01 PM

Maybe you are looking for

  • HT4623 how to erase a music on the iPod touch

    how to erase the music in my  ipod touch, i think the generation 3er

  • Account Hacked - Skype Support Useless - NO REFUND...

    So my skype account was hacked last week, just found out right now. Luckly my credit card on file had expired so they only ate $8. To make it worse, the Skype login and password change system on the website isn't working properly (even though their h

  • Exclamation point and folder and nothing else

    Hi... I have an older 20 g iPod. I dropped it (only 3 feet but hard surface) last week and after that it malfunctioned and then stopped functioning. I have tried the reset several times without success. My Mac does not recognize it either in the info

  • Greater than date

    I am attempting to pull from table using Oracle 10g. But I want to restrict my query to records with UPDATE_DATE > 8/31/2007. UPDATE_Date is a date field. The table name is PS_PROJECT. I can usually make queries work but I've never constructed one us

  • Are large dimensions a problem?

    Hello, I am looking to possibly purchase Premiere for some video editing.  I have been using Camtasia as a hack method, but I've learned that Camtasia does not deal well with large dimensions.  I'm looking to request authorization to purchase Premier