Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Group By

(0) ShareShare
ReportReport
Posted on by 3,099

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
    47,688 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
    3,959 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
    4,188 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
    3,099 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
    4,188 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans