web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Report Line Printing

(0) ShareShare
ReportReport
Posted on by 1,893

0317.UU.png

Dear All,

I have a one rpt, in this report data are printing according to the line but I want to show it one FG item then it SFG item...U can see the screenshot.

Note: Printout me FG ke baad uska SFG wala item aana chaiye. Abhi jaisi line hai waisi hi print me bhi aa rehi hai. Isko thik karna hai.

Is there any possibility to set it.

Mnaish

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Binesh Profile Picture
    7,885 on at

    Hello Manish,

    You have to sort your report data "Sales Order Line Number"

    So you will get one after one.

  • manish.yadav Profile Picture
    1,893 on at

    kya iske liye koi code likhna padega...

    in report coding section.

    manish

  • Verified answer
    Binesh Profile Picture
    7,885 on at

    no need to write code,

    in Report design RDLC, in that set sorting filter,

    if you have anu doubt send your RDLC design screenshot.

  • manish.yadav Profile Picture
    1,893 on at

    2671.uu1.png

    2671.uu1.png

    Very thanx for you fast reply.

    i have added the sale order line no field in rpt then apply the sorting....

    ab FG item ke neeche  SFG wale item to aa gaye ...lakin sr no field problem kar reha hai.....

    I have attached the screenshot.

    manish

  • Binesh Profile Picture
    7,885 on at

    Hello manish,

    SN field you are fetching from record, in your record it stored.

    If you want to see the serial no sequence order, then do one thing

    In Dataitem OnafterGetRecord trigger put a integer variable and increment that variable by 1

    something like:

          SN := 1;

          SN += 1;

    and in RDLC assign this variable, so  you will get 1, 2 ,3,.....n

  • manish.yadav Profile Picture
    1,893 on at

    Serial no wala problem short nahi kar paa reha hoon...i have try with

    SN := 1;

         SN += 1;

    isse her column me sirf 2 aa reha hai....

    manish

  • Suggested answer
    Binesh Profile Picture
    7,885 on at

    Hello Manish,

    You may be written in OnPreDataItem Trigger, Write in OnAfterGetRecord Trigger

    See the bellow Screenshot

    0602.res.png

    OnAfterGetRecord Trigger

    coed.png

    RDLC Design

    rdlc.png

    Result

    0602.res.png

  • manish.yadav Profile Picture
    1,893 on at

    uu2.png

    uu2.png

    8863.uu1.png

    I have do the same as per your guidance....but still not solving the srno problems.

    u can see the screenshots.

    Regards,

    Manish

  • Suggested answer
    Binesh Profile Picture
    7,885 on at

    Manish,

    Check carefully,

    see your screenshot

    212.png

    write the code where i marked.

  • manish.yadav Profile Picture
    1,893 on at

    3362.uu1.png

    3362.uu1.png

    Dear Sir,

    Now I have done the same, still the srno problem is not solved.

    I have attached the new screenshots. Plz look in it.

    manish

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans