X++:
// Change report format of project invoice report whose project type is fixed price or time & material
if (this.parmReportName() == ssrsReportStr(psaContractLineInvoice, Report))
{
this.parmReportName(ssrsReportStr(PSAContractLineInvoice, Report_AE));
}
else if (this.parmReportName() == ssrsReportStr(PsaProjInvoice, Report))
{
this.parmReportName(ssrsReportStr(PsaProjInvoice, Report_AE));
}
Шедевральное по мне так. "И с этим всем попытаемся взлететь"