Hi,
how can I add parameters in pre run modified method?
When I go this way I get an error on processing the report the moment I try to init the parameter the debugger gives me errors below. If I just use the prerun without any parameters the report shows no values.
| Name | Value | Type | |
|---|---|---|---|
public final class PSAProjAndContractInvoiceController_Extension
{
protected void preRunModifyContract()
{
next preRunModifyContract();
PSAProjInvoiceContract PSAProjInvoiceContract;
#ISOCountryRegionCodes
if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoPL]))
{
PSAProjInvoiceContract.parmProjInvoiceDuplicateRecId(this.parmProjDuplicateInvoiceRecId());
PSAprojInvoiceContract.parmUserName(SysReportRun::userName());
}
}
}
Helpful resourcesQuick LinksFeatured topicsProduct updatesDynamics 365 release plans |
