Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

Item Number Truncating on Receipt

Posted on by

Aloha,

Apologies if this has been asked and answered. 

We have an issue with 13 digit Item Numbers being truncated on a 40 column receipt print. The receipt only prints the first 12 numbers.

I tried editing the receipt xml file on a POS register, this section in particular:

<<<<begin pasted text<<<<<<<

 =============================

   Transaction Details

   =============================

-->

      <IF>

         <CONDITION> Transaction.Type &lt;&gt; transactionDrop &amp; Transaction.Type &lt;&gt; transactionPayout &amp;  Transaction.Type &lt;&gt; transactionNoSale &amp; Transaction.Type &lt;&gt; transactionAccountPayment </CONDITION>

         <THEN>

            <TABLE>

               <FONT>      "Small"     </FONT>

               <BORDER>    tbNone      </BORDER>

               <COLUMNHEADER>

                  <ALIGNMENT>    "&lt;~"           </ALIGNMENT>

                  <WIDTH>        PageWidth * 0.20  </WIDTH>

                  <TEXT>         "Item"            </TEXT>

               </COLUMNHEADER>

               <COLUMNHEADER>

                  <ALIGNMENT>    "&lt;"           </ALIGNMENT>

                  <WIDTH>        PageWidth * 0.52  </WIDTH>

                  <TEXT>         "Description"     </TEXT>

               </COLUMNHEADER>

               <COLUMNHEADER>

                  <ALIGNMENT>    "&gt;~"           </ALIGNMENT>

                  <WIDTH>        PageWidth * 0.28  </WIDTH>

                  <TEXT>         "Amount"          </TEXT>

 

>>>end pasted text>>>

 

I decreased the PageWidth for the Description by 3 and increased the PageWidth for the Item by 3. There was no change in the output.

This is in RMS 2.0 on a HP (Cognitive) A799 printer, using OPOS drivers. 

Am I missing a step or looking in the wrong place? Any assistance is greatly appreciated!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Item Number Truncating on Receipt

    hello i need to sum count item

    ?

  • tlasoya808 Profile Picture
    tlasoya808 on at
    Re: Item Number Truncating on Receipt

    That did it. Thanks so much for your patience and assistance! Still learning this product!

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Item Number Truncating on Receipt

    If you delete the receipt.xml file, the pos will still print the receipt as RMS stores the XML in the database in the dbo.Receipt table

    That is why re-applying the receipt.xml file is crucial.

    Try leaving the path pointing to the local machine. Place the edited receipt.xml file in the local machines RecieptTemplates folder and re-apply the receipt from the local machine in the Manager program.

  • tlasoya808 Profile Picture
    tlasoya808 on at
    Re: Item Number Truncating on Receipt

    Ok, this still isn't working.

    The POS workstation that I have been testing on is (now was) configured in the Store Operations Administrator to look at the local drive for the receipt.xml file. I changed it to look at the network share (SQL server) on which I edited the file. Had no effect.

    Within the Store Operations Manager, I performed the steps posted above, re-applying the format I modified. Still appears be no change in the receipt.

    I went as far as changing the path back to the local machine, deleted the receipt.xml file, rebooted the machine and it still prints receipts, same format. That makes no sense.

    Any more ideas? This is driving me crazy :)

  • tlasoya808 Profile Picture
    tlasoya808 on at
    Re: Item Number Truncating on Receipt

    Aaand, that didn't work. I am starting to think there is something wrong with this RMS environment. Logically, your steps should produced the desired result. Will think about it over night...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Item Number Truncating on Receipt

    Edit the receipt on the server machine. Then re-apply the newly edited receipt in Manager under Database | Registers | Receipt Formats, choose the receipt format, then click porperties and re-apply the format you modified. Re-start the POS and test.

  • tlasoya808 Profile Picture
    tlasoya808 on at
    Re: Item Number Truncating on Receipt

    Thank you.

    I made the changes to receipt.xml, restarted the workstation and nothing is different. As a new administrator of RMS, maybe I am missing something? Here are the steps I have taken:

    1. Edit receipt.xml on the workstation in the Store Operations\Receipt Templates folder

    2. Edit receipt.xml on the SQL server (which, why, right?) same folder

    3. In Store Operations Manager, removed and re-added the receipt printer for the POS workstation I have been testing on.

    No luck. There has to be a step I am missing somewhere. I did have to remote the readonly flag on the receipt.xml file to save the edited copy. I haven't tried re-setting that flag, but I can't see it making any difference.

    Thanks again for the help. I am open to more ideas...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Item Number Truncating on Receipt

    Change your header page widths for "PrintTransactionDetails" to something similar to this:

                      <COLUMNHEADER>

                          <ALIGNMENT> "&lt;~" </ALIGNMENT>

                          <WIDTH> PageWidth * 0.73 </WIDTH>

                          <TEXT> "Item" </TEXT>

                      </COLUMNHEADER>

                      <COLUMNHEADER>

                          <ALIGNMENT> "^~" </ALIGNMENT>

                          <WIDTH> PageWidth * 0.06 </WIDTH>

                          <TEXT> "Qty" </TEXT>

                      </COLUMNHEADER>

                      <COLUMNHEADER>

                          <ALIGNMENT> "&gt;~" </ALIGNMENT>

                          <WIDTH> PageWidth * 0.21 </WIDTH>

                          <TEXT> "Amount" </TEXT>

                      </COLUMNHEADER>

    Then change your <ROW> line just after the <FOR each="entry"> to something like this:

                                  <ROW> Entry.Item.ItemLookupCode "|""|"</ROW>

                                  <ROW> Entry.Description "|" Entry.Quantity "|" Entry.ExtendedFullPrice </ROW>

    Should work..

  • tlasoya808 Profile Picture
    tlasoya808 on at
    Re: Item Number Truncating on Receipt

    That is a good suggestion. How would I go about doing that? :)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Item Number Truncating on Receipt

    Put the ILC on a different line.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans