Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

LS Retail Error - A4 Receipt Printing with gift card

Posted on by 2

Whenever we try to print our A4 size receipt for a purchase that used a gift card, we get the following error:

ReceiptPrintingError.png

It only happens with purchases that were made with a gift card in whole or in part. 

*This post is locked for comments

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: LS Retail Error - A4 Receipt Printing with gift card

    Edward,

    This is because the length of the source field is less than the actual value, try to debug and you will know what is the field, you can either increase the field length or use COPYSTR function to fit the max length of the source string.

    Eg.

    "Source Field" := COPYSTR("Actual Value",1,MAXSTRLEN("Source 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!

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans