Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2022
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
HI all,I have new custom fields in receipt, in request type: GetSalesTransactionCustomReceiptFieldServiceRequest, I return string.Empty but in real receipt, It have a row with data blank.
So how can I disable or remove row blank data return string.Empty in receipt?My code:
My receipt bill:My receipt design:Thanks for help.Nghia Song
These empty space is because you have placed multiple custom fields on the receipt. It will take the space irrespective of data present or not. There is no standard way available to remove this space during runtime.
I will suggest below workaround if you can play with the report string data.
- Override request "GetReceiptRequest" and use "GetReceiptRequestHandler" populate default receipt string data.
- Identify blank string in the receipt data something like '|1C|1C' and remove the blank string data as per your requirement.
Hope this will help you.
Thanks a lot for support. Same solution but In D365 Retail, I override request GetReceiptService and use GetReceiptServiceRequest. Then remove the blank row.
XXX Convenience Stores
Owned by: XXX Philippines Inc.
Unit 6 & 7, The Pearl Place Bldg.,
Pearl Drive cor. Gold Loop Ortigas
Center, Brgy. San Antonio, Pasig City
1605 Pasig PHL
VAT Reg TIN: 008-789-736-012
Business Applications communities