Options

Classic To RTC conversion

bavanisenthilbavanisenthil Member Posts: 7
edited 2010-09-02 in NAV Three Tier
I have developed Report in Classic, i want to convert to RTC. i have written some code in GroupFooter section in classic.

when i convert to RTC, i am not getting the same output as in classic, where to write the code(written in GroupFooter section) in RTC.

kindly help in this regard.

Comments

  • Options
    vijay_gvijay_g Member Posts: 884
    Codes written on section does not work in RTC reports.
    see any standard report in RTC how's they working?
  • Options
    bavanisenthilbavanisenthil Member Posts: 7
    i couldn't understand the code in standard reports.

    could be please give simple examples
  • Options
    Abhishek_SaiAbhishek_Sai Member Posts: 17
    write the same code in OnAfterGetRecord Trigger and use ISSERVICETIER.
    For E.g.
    IF ISSERVICETIER THEN BEGIN
    Statement1;
    Statement2;
    END;

    Abhishek
  • Options
    bavanisenthilbavanisenthil Member Posts: 7
    I have developed a report from- sales line table having fields
    itemno, description, quantity and another calculated field quantity +10.


    Following code i have written in onaftergetrecord trigger,

    IF ISSERVICETIER THEN
    CurrReport.SHOWOUTPUT :=CurrReport.TOTALSCAUSEDBY="Sales Line".FIELDNO("Sales Line"."Shortcut Dimension 1 Code");

    IF sd1 = "Sales Line"."Shortcut Dimension 1 Code" THEN
    BEGIN
    DVCalQty := "Sales Line".Quantity +10;
    DVCalQty1 += DVCalQty;
    END
    ELSE
    BEGIN
    sd1 := "Sales Line"."Shortcut Dimension 1 Code";
    DVCalQty := "Sales Line".Quantity +10;
    DVCalQty1 :=0;
    DVCalQty1 += DVCalQty;
    END;

    i get correct output in classic. when i convert the same to RTC, i am getting the group total.

    help me in resolving this issue.
Sign In or Register to comment.