Use the below method to copy the dimension from one table another table by passing the default dimension value.
public DimensionDefault copyDimension (
DimensionDefault _defaultDimension,
DimensionCopy _dimensionCopy = DimensionCopy::newFromTable(this, CompanyInfo::findDataArea(this.company()).RecId)
)
{
return _dimensionCopy. copy( _defaultDimension);
}
DimensionCopy _dimensionCopy = DimensionCopy::newFromTable(this, CompanyInfo::findDataArea(this.company()).RecId)
)
{
}
No comments:
Post a Comment