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

Create PermissionSet for all objects fails with some enum's #463

Open
BestTrolley opened this issue Jul 12, 2024 · 2 comments
Open

Create PermissionSet for all objects fails with some enum's #463

BestTrolley opened this issue Jul 12, 2024 · 2 comments
Labels
bug Something isn't working waiting for feedback

Comments

@BestTrolley
Copy link

Describe the bug
Cannot create permissionset because of this line in a table fields list:
field(1; "Document Type"; Enum Microsoft.Sales.Document."Sales Document Type")
this causes:
(NAB AL Tools) Create PermissionSet for all objects failed with error: Could not parse Enum Microsoft.Sales.Document."Sales Document Type" as a valid data type.

Versions used
VSCode: 1.90.2
NAB AL Tools: v1.32.0

This also happened with a self defined enum - so I guess it is a general problem.

I don't know if there is a more detailed debug log.

@BestTrolley BestTrolley added the bug Something isn't working label Jul 12, 2024
@jwikman
Copy link
Owner

jwikman commented Sep 20, 2024

Hi @BestTrolley,

I think that this is due to the lack of support for namespaces in this tool.
We are still waiting for the right timing to start using namespaces in our company (it does not add enough value yet), and at that time we will need to build support for that in this tool as well.

@jwikman
Copy link
Owner

jwikman commented Sep 22, 2024

Hi again @BestTrolley,

I tried to implement support for namespaces. So please install the latest pre-release version (v1.33.409221951) of NAB AL Tools and try again. Hopefully it works now. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for feedback
Projects
None yet
Development

No branches or pull requests

2 participants