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)

Text Constants

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have a Text Constant written as below

<As Originator:<ul><BR>Purchase Order: %1<BR> Supplier: %2<BR> Description: %3<BR> Rejected By: %4<BR> Reason: %5<BR>Value(Exc. VAT): %6</ul>

My function is written as below to output this into an email.
EXIT(STRSUBSTNO(LtxtConst1112,VrecALE."Header No.",LtxtVendor,VrecALE."Document Type Description",VrecALE."Cancelled by",
        VrecALE."Rejection Reason",DecimalToText(VrecALE."Approval Value")));

The output in my email however looks like below

6327.Email.PNG

The "As originator is meant to be the top line and indented in front of this. Why isn't this showing? No other modifications to the text are made.

*This post is locked for comments

I have the same question (0)
  • AlexDen Profile Picture
    90 on at

    Hi,

    you have to remove < before As Originator

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    Remove the '<' on the first character, before the "As originator".

    Since this is HTML, you can use the following link to test your html code.

    www.w3schools.com/.../tryit.asp

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