web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Add fields in line transaction receipt report

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Xusheng Profile Picture
    Microsoft Employee on at

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

  • Community Member Profile Picture
    on at

    Hi,

    I need to get  sales transaction when get custom receipt.

    But sales line in request is NULL.

    pastedimage1580957090583v1.png

  • Suggested answer
    Xusheng Profile Picture
    Microsoft Employee on at

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

  • Verified answer
    Oksana Kovaliova Profile Picture
    3,597 on at

    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

  • Community Member Profile Picture
    on at

    Thanks so much, That's correct.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 130 Super User 2026 Season 1

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 92 Super User 2026 Season 1

#3
Zain Mehmood Profile Picture

Zain Mehmood 89 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans