Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Group By

Posted on by 3,027

Hi

  Suppose user enters date 01012017..10012017. I want to add records in a table datewise (Grouping on Date) from Sale Line table using C/al in a form.

Date , Amount

Thanks

*This post is locked for comments

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Group By

    Please try to explain your query in detail, I believe you have posted 5 or 6 different posts for the same issue.

  • Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: Group By

    Do you want a Report and want to group entries by date and sum of the amount for that particular date.

    For eg:

    Date           |Amount

    02/05/2018| 250.00

    02/05/2018| 100.00

    03/05/2018| 150.00

    and you want the data to look like

    Date           |Amount

    02/05/2018| 350.00

    03/05/2018| 150.00

    Is this what you want to do?

  • Suggested answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Group By

    Hi,

    You can created global variables for start Date and end date where start date is 01012017 and end date is 10012017 and then in your code you can add these dates as setrange with the Sales Line Date you desire to, along with  Location code and then insert data into your customized table.

  • jsshivalik Profile Picture
    jsshivalik 3,027 on at
    RE: Group By

    Hi

        I am reading Data from Sales Line and insert records in Custom Table. I have to create Form. User will select Location and for that Location want to insert record on Date Grouping.

    Thanks

  • Suggested answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Group By

    Hi,

    From where do you want to insert records, Excel ?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans