"CRS: Rename - Current File" - reportextension - column
Closed this issue · 6 comments
Hi,
"CRS: Rename - Current File" not rename columns with prefix/suffix in reportextension,
as it should be according to documentation below:
Benefits and Guidelines for using a Prefix or Suffix - General rules
Thanks.
I'd like to repro your problem.
Could you send me an example of a reportextension and what you'd expect it to behave?
To reproduce, for example,
Create a reportextension of standard report "Standard Sales - Order Conf." (1305),
Add a column with a name who already exists in the standard report
"CRS: Rename - Current File" correctly renames the object with my prefix (APO_) but not the name of the new column
reportextension 50000 "APO_StandardSalesOrderConf" extends "Standard Sales - Order Conf." //1305
{
dataset
{
add(Header)
{
column(YourReference; YourReference)
{
}
}
}
var
YourReference: Text[35];
}
Error:
A member of type ReportColumn with name 'YourReference' is already defined in Report 'Standard Sales - Order Conf.' by the extension 'Base Application by Microsoft.
Good point.
So, the result in above should be:
reportextension 50000 "APO_StandardSalesOrderConf" extends "Standard Sales - Order Conf." //1305
{
dataset
{
add(Header)
{
column("APO_YourReference"; YourReference)
{
}
}
}
var
YourReference: Text[35];
}
Right?
Yes, according to CRS.ObjectNamePrefix or CRS.ObjectNameSuffix.
I think the same counts for RequestPages.. 🤔
Fix is on its way in release 1.5.13!
If it doesn't work, just open this issue again!