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 :
Microsoft Dynamics AX (Archived)
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Update prerunmodify contract with CoC

Posted on by 174

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 resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans