Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Prefixes for Report Labels in Report Extensions. #259

Open
pri-kise opened this issue Aug 23, 2022 · 4 comments
Open

Support Prefixes for Report Labels in Report Extensions. #259

pri-kise opened this issue Aug 23, 2022 · 4 comments

Comments

@pri-kise
Copy link
Contributor

No Prefix/Suffix is added to Labels of Report Extensions

@waldo1001
Copy link
Owner

Labels? You have an example?

@pri-kise
Copy link
Contributor Author

pri-kise commented Aug 23, 2022

e.g.

reportextension 50000 "XXX Put-away List" extends "Put-away List"
{

    rendering
    {
        layout("XXX Put-Away List")
        {
            Caption = 'XXX Put-Away List';
            LayoutFile = './src/General/ReportExt/PutAwayList.rdlc';
            Type = RDLC;
        }
    }

    labels
    {
        WhseActLineSourceCaptionTest = 'Src.';
    }
}

Not Prefix is added to `WhseActLineSourceCaptionTest `.

@waldo1001
Copy link
Owner

Hm - never realized this had to be affixed.. . I don't get any warnings either - so now I'm wondering what I'm not seeing?

Do you have a reference?

Doing so will be difficult, by the way .. the text is far too generic for regex, so it needs quite some additional parsing :(

@pri-kise
Copy link
Contributor Author

pri-kise commented Aug 23, 2022

Well I couldn't find any reference either.
But as soon as start adding a label with the same name as the BaseApp. I receive an error.
image
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/diagnostics/diagnostic-al384

I created an issue microsoft/AL#7141, that the rule AS0098 should validated on new labels, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants