I created a new extension from table BrazilParameters and created a new method of type edit:
public edit Name profitCenterDimAttributeName (boolean _set, BrazilParameters _brazilParameters, Name _name)
{
DimensionAttribute dimensionAttribute;
if (_set)
{
dimensionAttribute = DimensionAttribute::findByName(_name);
this.ProfitCenterDimensionAttribute = dimensionAttribute.RecId;
}
return DimensionAttribute::find(this.ProfitCenterDimensionAttribute).Name;
}
Also i have created a form extension to include new fields and my intention is to call the edit method right in the new form field to perform the edit operation:
But when i performed the form, the following error showed up:
I can't figure out why this is happened, because the method do exist in the extension. Any guest?

Report
All responses (
Answers (