TypeHelper.GetCultureName removed
Nobody has claimed this yet.
- Dominant language
- AL
- Stars
- 683
- Forks
- 459
- Avg merge
- 3d 26m
- Merged PRs (30d)
- 633
Description
Please include the following with each issue:
1. Describe the bug
TypeHelper.GetCultureName Codeunit System.Reflection."Type Helper"' does not contain a definition for 'GetCultureName'
2. To Reproduce
Steps to reproduce the behavior:
Create a procedure like this one:
local procedure userLanguageCode() returnValue: Text
var
TypeHelper: Codeunit "Type Helper";
begin
returnValue := TypeHelper.GetCultureName().Split('-').Get(1);
end;
3. Expected behavior
A clear and concise description of what you expected to happen.
Not error
4. Actual behavior
Compiler error:
'Codeunit System.Reflection."Type Helper"' does not contain a definition for 'GetCultureName'
5. Versions:
- AL Language: pre-release
- Visual Studio Code: Version: 1.136.1 (system setup)
- Business Central: BC290
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the userLanguageCode procedure and the System.Reflection."Type Helper" codeunit in the reported Business Central BC290 environment; reproduce the compiler error and inspect the available codeunit members. Done means the procedure has a supported way to obtain the culture name and compiles without the missing-definition error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100