Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Format()

Posted on by 3,027

Hi

  what is the difference at DataItem in report between

FORMAT("Purchase Header"."Order Date") and  "Purchase Header"."Order Date"

Thanks

*This post is locked for comments

  • Verified answer
    4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: Format()

    Hi Jsshivalik,

    FORMAT("Purchase Header"."Order Date") returns a string whereas "Purchase Header"."Order Date" is a date.

    Take a look at Format function for more information: msdn.microsoft.com/.../dd301367.aspx

  • Verified answer
    Tina Menezes Profile Picture
    Tina Menezes 2,576 on at
    RE: Format()

    Hi,

    FORMAT("Purchase Header"."Order Date") will fetch and format your Order Date value to a string. After using format you can assign this value i.e. FORMAT("Purchase Header"."Order Date") to a variable of text datatype.

    "Purchase Header"."Order Date" expression is just used to fetch Oder date from Purchase header.

  • Verified answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Format()

    Format function Formats a value into a string

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans