procedure GetReportText(RecordVariant: Variant; NVXDTTextType: Enum "NVXDT Text Type"; AsHTML: Boolean): Text
Important
It is important to make sure that the correct filters are set on the RecordVariant.reportextension 70714787 "NVXDT Purchase Order" extends Order
{
dataset
{
add(CopyLoop)
{
column(NVXDTBeginningText_RDLCText; NVXDTReportManagement.GetReportText("Purchase Header", Enum::"NVXDT Text Type"::"Beginning Text", true)) { }
column(NVXDTBeginningText_WordText; NVXDTReportManagement.GetReportText("Purchase Header", Enum::"NVXDT Text Type"::"Beginning Text", false)) { }
column(NVXDTEndingText_RDLCText; NVXDTReportManagement.GetReportText("Purchase Header", Enum::"NVXDT Text Type"::"Ending Text", true)) { }
column(NVXDTEndingText_WordText; NVXDTReportManagement.GetReportText("Purchase Header", Enum::"NVXDT Text Type"::"Ending Text", false)) { }
column(NVXDTShipmentText_RDLCText; NVXDTReportManagement.GetReportText("Purchase Header", Enum::"NVXDT Text Type"::"Shipment Method Text", true)) { }
column(NVXDTShipmentText_WordText; NVXDTReportManagement.GetReportText("Purchase Header", Enum::"NVXDT Text Type"::"Shipment Method Text", false)) { }
column(NVXDTPaymentText_RDLCText; NVXDTReportManagement.GetReportText("Purchase Header", Enum::"NVXDT Text Type"::"Payment Terms Text", true)) { }
column(NVXDTPaymentText_WordText; NVXDTReportManagement.GetReportText("Purchase Header", Enum::"NVXDT Text Type"::"Payment Terms Text", false)) { }
}
add(RoundLoop)
{
column(NVXDTLineText_RDLCText; NVXDTReportManagement.GetReportText("Purchase Line", Enum::"NVXDT Text Type"::"Line Text", true)) { }
column(NVXDTLineText_WordText; NVXDTReportManagement.GetReportText("Purchase Line", Enum::"NVXDT Text Type"::"Line Text", false)) { }
}
}
rendering
{
layout("NVXDT Purchase Order")
{
Caption = 'NCDT Purchase - Order', comment = 'DEU="NCDT Einkauf - Bestellung"';
Type = RDLC;
LayoutFile = './NVXDTPurchaseOrder.rdlc';
}
}
var
NVXDTReportManagement: Codeunit "NVXDT Report Management";
}
Finmatics Autonomous Accounting Interface for AI-driven document processing tool by Finmatics. More information AppSource |