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

[Improvement] Support Arrays on page Extenions #260

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

[Improvement] Support Arrays on page Extenions #260

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

Comments

@pri-kise
Copy link
Contributor

Support adding a prefix for Fields with arrays as value:
e.g. for Dimensions.

field(ShortcutDimCode3; ShortcutDimCode[3])
                    {
                        ApplicationArea = Dimensions;
                        CaptionClass = '1,2,3';
                        TableRelation = "Dimension Value".Code WHERE("Global Dimension No." = CONST(3),
                                                                    "Dimension Value Type" = CONST(Standard),
                                                                    Blocked = CONST(false));
                        Visible = DimVisible3;

                        trigger OnValidate()
                        begin
                            ValidateShortcutDimension(3);
                        end;
                    }
                    field(ShortcutDimCode4; ShortcutDimCode[4])
                    {
                        ApplicationArea = Dimensions;
                        CaptionClass = '1,2,4';
                        TableRelation = "Dimension Value".Code WHERE("Global Dimension No." = CONST(4),
                                                                    "Dimension Value Type" = CONST(Standard),
                                                                    Blocked = CONST(false));
                        Visible = DimVisible4;

                        trigger OnValidate()
                        begin
                            ValidateShortcutDimension(4);
                        end;
                    }
pri-kise added a commit to pri-kise/crs-al-language-extension that referenced this issue Aug 23, 2022
waldo1001 pushed a commit that referenced this issue Dec 20, 2022
* #260 Add Support for Arrays on Page Extensions

* remove spaces
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

1 participant