To Display Financial dimensions in CustTableList page.
Write a display method in CustTable.
display str 10 MU_Vertical()
{
DimensionAttributeValueSetStorage dimStorage;
CustTable custTable;
Counter i;
str returnValue;
dimStorage = DimensionAttributeValueSetStorage::find(this.DefaultDimension);
for (i=1 ; i<= dimStorage.elements() ; i++)
{
if(DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name=='Vertical')
{
returnValue = dimStorage.getDisplayValueByIndex(i);
break;
}
}
return returnValue;
}
Write a display method in CustTable.
display str 10 MU_Vertical()
{
DimensionAttributeValueSetStorage dimStorage;
CustTable custTable;
Counter i;
str returnValue;
dimStorage = DimensionAttributeValueSetStorage::find(this.DefaultDimension);
for (i=1 ; i<= dimStorage.elements() ; i++)
{
if(DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name=='Vertical')
{
returnValue = dimStorage.getDisplayValueByIndex(i);
break;
}
}
return returnValue;
}
Hi!
ReplyDeleteWhen i can put this method because i create a new field with this datamethod but nothing appears