Hi,
In the ForecastUpdate class, I get a Syntax error in the parmSales
Class
The method looks like this
public boolean parmSales(boolean _sales = sales)
{
sales = _sales;
return sales;
}
No syntax error as i can see. sales is declared as boolean in the
classdeclaration.
Putting a semicolon in the first line resolves the syntax error.
public boolean parmSales(boolean _sales = sales)
{;
sales = _sales;
return sales;
}
No syntax error.
My question is why does DAX throw an error in this method, when there
is an identical nearly method parmPurch that does not throw any error?
public boolean parmPurch(boolean _purch = purch)
{
purc = _purch;
return purch;
}
No Syntax error in this method.
Regards
Anurag