Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Shift+F9 Reference and Comments not printing on receipts

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Quick question, do you have to put a comment in the comments box when you hit Shift+F9 for details in order to get it to print on receipts and save in the journal?  I found in our installation of you don't put anything in the comments box it will not put anything on the receipt nor in the journal.  So we always put a space in the comments box and it prints and saves in the journal every time.  This doesn't seem like it should work this way does it?

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Shift+F9 Reference and Comments not printing on receipts

    This happens because of a length check on comments in the receipt layout.  

    You will need to export your layout (save to a file) and make a change. Then re-import into RMS.

    In the default layout the  issue is at line 524  and looks like this:

    <CONDITION> Len(Transaction.Comment) </CONDITION>

                  <THEN>

                     <TABLE>

                        <BORDER>    tbNone      </BORDER>

                        <COLUMNHEADER>

                           <ALIGNMENT>    "^"         </ALIGNMENT>

                           <WIDTH>        PageWidth   </WIDTH>

                           <IF>

                              <CONDITION> Len(Transaction.ReferenceNumber) </CONDITION>

                              <THEN>

                                 <TEXT> "Reference: " Transaction.ReferenceNumber </TEXT>

                              </THEN>

                           </IF>

                        </COLUMNHEADER>

    You need to change this to be like this:

    <CONDITION> Len(Transaction.ReferenceNumber) </CONDITION>

                  <THEN>

                     <TABLE>

                        <BORDER>    tbNone      </BORDER>

                        <COLUMNHEADER>

                           <ALIGNMENT>    "^"         </ALIGNMENT>

                           <WIDTH>        PageWidth   </WIDTH>

                           <IF>

                              <CONDITION> LLen(Transaction.ReferenceNumber) </CONDITION>

                              <THEN>

                                 <TEXT> "Reference: " Transaction.ReferenceNumber </TEXT>

                              </THEN>

                           </IF>

                        </COLUMNHEADER>

    This will allow the comment to be blank but still print the reference field.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans