Hi everyone,
I'm trying to duplicate a class "TaxTransController", by copying all into new class. In one of the method"prePrompModifyContract" there is this :
protected void prePromptModifyContract()
{
#ISOCountryRegionCodes
{
#ISOCountryRegionCodes
TaxTransRdlContract contract;
int displayVatDueDate = 1;
int displayVatDueDate = 1;
this.parmDialogCaption("@SYS55726");
if (TaxParameters::isEasternEuropeOrVatDueDateFeatureEnabled())
{
displayVatDueDate = 2;
{
displayVatDueDate = 2;
if (SysCountryRegionCode::isAnyLegalEntityInCountryRegion(#isoCZ))
{
displayVatDueDate = 3;
}
}
{
displayVatDueDate = 3;
}
}
contract = this.parmReportContract().parmRdlContract();
contract.parmDisplayVatDueDate(displayVatDueDate);
}
contract.parmDisplayVatDueDate(displayVatDueDate);
}
This class is to run a report which is also a duplication of the specified report in the original TaxTransController.
When run this through menu, I'm hitting this error ->
May I know what's wrong with this ? and how to fix it ?
Thanks
Categories:
