Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Answered

Add fields in line transaction receipt report

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

I need to add new custom fields in sales line transaction of receipt report.

In tutorial: Custom fields and custom receipt types sample (https://docs.microsoft.com/vi-vn/dynamics365/commerce/dev-itpro/retail-sdk/retail-sdk-samples), I can add fields in footer and header.But I need to add new fields inside transaction of receipt,  how can I get exactly sales line in transaction?

Thanks a lot!

Song Nghia

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add fields in line transaction receipt report

    Thanks so much, That's correct.

  • Verified answer
    Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,597 on at
    RE: Add fields in line transaction receipt report

    Hi, SalesLine will be null, while CRT is building header and footer fields.

    As soon as CRT goes into 'Body' section building - SalesLine will have value. Make sure you put your SalesLine fields to Body section of the receipt and check 'if not null' condition in CRT

  • Suggested answer
    Xusheng Profile Picture
    Xusheng on at
    RE: Add fields in line transaction receipt report

    It looks this is standard behaver. Looks need do customization for it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Add fields in line transaction receipt report

    Hi,

    I need to get  sales transaction when get custom receipt.

    But sales line in request is NULL.

    pastedimage1580957090583v1.png

  • Xusheng Profile Picture
    Xusheng on at
    RE: Add fields in line transaction receipt report

    Which version you currently use? Have you try get the sales line list with the transaction ID?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans