Modifying the slip text on a bank check in Dynamics 365 Finance & Operations is a complex task due to the way Dynamics 365 handles data through Data Provider classes, temporary tables, and SSRS report designs. The changes you want to make—modifying the columns and structure of the slip text—require understanding the underlying report structure and customizing both the Data Provider class and the SSRS design.
Here’s a step-by-step approach to modify the slip text on a bank check, along with considerations for the getTmpTbl
method of the SrsTmpTblMarshaller
class.
The bank check slip text is part of an SSRS report in D365 F&O. The key components of the report are:
getTmpTbl()
method in SrsTmpTblMarshaller
is commonly used to populate the Tmp Table with data.To customize the slip text, you need to modify these components.
Cheque_US
or similar) under Application Explorer → SSRS Reports → Reports.Locate the getTmpTbl
Method:
getTmpTbl()
method (often in the SrsTmpTblMarshaller
class or a custom implementation).Extend or Modify the Data Provider:
getTmpTbl()
method is too complex to modify directly, consider extending the Data Provider class instead of editing it directly. This keeps your customizations upgrade-safe.Add Custom Fields to the Temporary Table:
getTmpTbl
method. Add the new fields to hold the custom slip text data.Example:
x++
Modify the Data Population Logic:
getTmpTbl
method to add or modify the slip text.Open the Report Design:
Cheque_US.Report
) and open the report design (RDL file).Add Custom Fields:
YourCustomSlipField
) to the report's dataset.Modify the Slip Text Layout:
Preview the Report:
Build and Deploy:
Test in a Sandbox Environment:
SrsTmpTblMarshaller
:
SrsTmpTblMarshaller
class is designed to handle temporary table serialization for reports, and modifying it directly can be risky. Always use extensions when possible.getTmpTbl
method and the Tmp Table to add or modify slip text data.This process ensures that your changes to the slip text are robust and maintainable.