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)

Format()

(0) ShareShare
ReportReport
Posted on by 3,099

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

I have the same question (0)
  • Verified answer
    Amol Salvi Profile Picture
    18,698 on at

    Format function Formats a value into a string

  • Verified answer
    Tina Menezes Profile Picture
    2,582 on at

    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
    4BzSoftware Profile Picture
    6,073 on at

    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

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