{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/AL/issues/3474","repository_url":"https://api.github.com/repos/Microsoft/AL","labels_url":"https://api.github.com/repos/Microsoft/AL/issues/3474/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/AL/issues/3474/comments","events_url":"https://api.github.com/repos/Microsoft/AL/issues/3474/events","html_url":"https://github.com/Microsoft/AL/issues/3474","id":354630401,"node_id":"MDU6SXNzdWUzNTQ2MzA0MDE=","number":3474,"title":"Object reference not set to an instance of an object.","user":{"login":"RagRawat","id":39081613,"node_id":"MDQ6VXNlcjM5MDgxNjEz","avatar_url":"https://avatars0.githubusercontent.com/u/39081613?v=4","gravatar_id":"","url":"https://api.github.com/users/RagRawat","html_url":"https://github.com/RagRawat","followers_url":"https://api.github.com/users/RagRawat/followers","following_url":"https://api.github.com/users/RagRawat/following{/other_user}","gists_url":"https://api.github.com/users/RagRawat/gists{/gist_id}","starred_url":"https://api.github.com/users/RagRawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RagRawat/subscriptions","organizations_url":"https://api.github.com/users/RagRawat/orgs","repos_url":"https://api.github.com/users/RagRawat/repos","events_url":"https://api.github.com/users/RagRawat/events{/privacy}","received_events_url":"https://api.github.com/users/RagRawat/received_events","type":"User","site_admin":false},"labels":[{"id":488757971,"node_id":"MDU6TGFiZWw0ODg3NTc5NzE=","url":"https://api.github.com/repos/Microsoft/AL/labels/input-needed","name":"input-needed","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"qutreson","id":31541422,"node_id":"MDQ6VXNlcjMxNTQxNDIy","avatar_url":"https://avatars2.githubusercontent.com/u/31541422?v=4","gravatar_id":"","url":"https://api.github.com/users/qutreson","html_url":"https://github.com/qutreson","followers_url":"https://api.github.com/users/qutreson/followers","following_url":"https://api.github.com/users/qutreson/following{/other_user}","gists_url":"https://api.github.com/users/qutreson/gists{/gist_id}","starred_url":"https://api.github.com/users/qutreson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qutreson/subscriptions","organizations_url":"https://api.github.com/users/qutreson/orgs","repos_url":"https://api.github.com/users/qutreson/repos","events_url":"https://api.github.com/users/qutreson/events{/privacy}","received_events_url":"https://api.github.com/users/qutreson/received_events","type":"User","site_admin":false},"assignees":[{"login":"qutreson","id":31541422,"node_id":"MDQ6VXNlcjMxNTQxNDIy","avatar_url":"https://avatars2.githubusercontent.com/u/31541422?v=4","gravatar_id":"","url":"https://api.github.com/users/qutreson","html_url":"https://github.com/qutreson","followers_url":"https://api.github.com/users/qutreson/followers","following_url":"https://api.github.com/users/qutreson/following{/other_user}","gists_url":"https://api.github.com/users/qutreson/gists{/gist_id}","starred_url":"https://api.github.com/users/qutreson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qutreson/subscriptions","organizations_url":"https://api.github.com/users/qutreson/orgs","repos_url":"https://api.github.com/users/qutreson/repos","events_url":"https://api.github.com/users/qutreson/events{/privacy}","received_events_url":"https://api.github.com/users/qutreson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-08-28T08:46:26Z","updated_at":"2018-08-30T11:31:19Z","closed_at":null,"author_association":"NONE","body":"HI Getting one error when I am working with VS Code for NAV 13\r\n\r\n[Error - 2:38:18 PM] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.\r\nProcessing of message 'al/createPackage' failed with error: 'Object reference not set to an instance of an object.'\r\nStackTrace:\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.ReportBadArgumentError(DiagnosticBag diagnostics, AnalyzedArguments arguments, ImmutableArray`1 symbols, TMember method, Int32 arg) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 506\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.HadBadArguments(DiagnosticBag diagnostics, AnalyzedArguments arguments, ImmutableArray`1 symbols) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 478\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.ReportDiagnostics[T](Location location, DiagnosticBag diagnostics, String name, AnalyzedArguments arguments, ImmutableArray`1 memberGroup, Boolean isMethodGroupConversion) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 232\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpressionContinued(SyntaxNode node, SyntaxNode expression, String methodName, OverloadResolutionResult`1 result, AnalyzedArguments analyzedArguments, MethodGroup methodGroup, Boolean isStatement, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 238\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindMethodGroupInvocation(SyntaxNode syntax, SyntaxNode expression, String methodName, BoundMethodGroup methodGroup, Boolean isStatement, AnalyzedArguments analyzedArguments, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 191\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpression(SyntaxNode node, SyntaxNode expression, String methodName, BoundExpression boundExpression, Boolean isStatement, Boolean asProperty, AnalyzedArguments analyzedArguments, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 98\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpression(InvocationExpressionSyntax node, DiagnosticBag diagnostics, Boolean isStatement) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 31\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindExpressionStatement(SyntaxNode node, ExpressionSyntax syntax, Boolean allowsAnyExpression, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 517\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 83\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatements(SyntaxList`1 syntaxStatements, DiagnosticBag diagnostics, Binder binder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 53\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.RepeatBinder.BindRepeatParts(DiagnosticBag diagnostics, Binder originalBinder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\RepeatBinder.cs:line 24\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 101\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatements(SyntaxList`1 syntaxStatements, DiagnosticBag diagnostics, Binder binder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 53\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics, Binder blockBinder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 33\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 80\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindIfStatement(IfStatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 542\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 92\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatements(SyntaxList`1 syntaxStatements, DiagnosticBag diagnostics, Binder binder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 53\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics, Binder blockBinder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 33\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.BindMethodBody(MethodSymbol method, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 463\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethod(MethodSymbol methodSymbol) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 385\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 309\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 340\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 345\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileObject(ObjectTypeSymbol containingType) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 233\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.<>c__DisplayClass17_0.<CompileObjectAsTask>b__0() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 216\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Utilities.UICultureUtilities.<>c__DisplayClass5_0.<WithCurrentUICulture>b__0() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Utilities\\UICultureUtilities.cs:line 150\r\n   at System.Threading.Tasks.Task.Execute()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.WaitForWorkers() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 161\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethodBodies(Compilation compilation, ModuleBuilder moduleBeingBuiltOpt, Boolean hasDeclarationErrors, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compiler\\MethodCompiler.cs:line 145\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.CompileImpl(ModuleBuilder moduleBuilder, Boolean emittingPdb, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\Compilation.cs:line 810\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.Compile(ModuleBuilder moduleBuilder, Boolean emittingPdb, DiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\Compilation.cs:line 787\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.PackageTheModule(Compilation compilation, CompilerTextWriter consoleOutput, CancellationToken cancellationToken, ErrorLogger errorLogger, AnalyzerDriver analyzerDriver) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\CommandLine\\CommonCompiler.cs:line 531\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.RunCore(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\CommandLine\\CommonCompiler.cs:line 413\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.CommandLine.CommonCompiler.Run(CompilerTextWriter consoleOutput, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\CommandLine\\CommonCompiler.cs:line 312\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.CreatePackageRequestHandler.<HandleAsync>d__3.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\LanguageServer\\Extensions\\CreatePackageRequestHandler.cs:line 32\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.<Process>d__6.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Endpoints\\RequestRegistry.cs:line 59\r\n\r\n[Error - 2:38:21 PM] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.\r\nProcessing of message 'textDocument/hover' failed with error: 'Object reference not set to an instance of an object.'\r\nStackTrace:\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.SymbolDisplayVisitor.VisitField(FieldSymbol symbol) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\SymbolDisplay\\SymbolDisplayVisitor.cs:line 141\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.SymbolDisplay.ToDisplayParts(ISymbol symbol, SemanticModel semanticModelOpt, Int32 positionOpt, SymbolDisplayFormat format, Boolean minimal) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\SymbolDisplay\\SymbolDisplay.cs:line 106\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Symbol.ToDisplayString(SymbolDisplayFormat format) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Symbols\\Symbol.cs:line 503\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.HoverRequestHandler.CreateContent(ISymbol symbol) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\LanguageServer\\HoverRequestHandler.cs:line 56\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.HoverRequestHandler.<HandleAsync>d__3.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\LanguageServer\\HoverRequestHandler.cs:line 39\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.<Process>d__6.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Endpoints\\RequestRegistry.cs:line 59\r\n\r\n[Error - 2:38:21 PM] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.\r\nProcessing of message 'textDocument/hover' failed with error: 'Object reference not set to an instance of an object.'\r\nStackTrace:\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.ReportBadArgumentError(DiagnosticBag diagnostics, AnalyzedArguments arguments, ImmutableArray`1 symbols, TMember method, Int32 arg) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 506\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.HadBadArguments(DiagnosticBag diagnostics, AnalyzedArguments arguments, ImmutableArray`1 symbols) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 478\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.ReportDiagnostics[T](Location location, DiagnosticBag diagnostics, String name, AnalyzedArguments arguments, ImmutableArray`1 memberGroup, Boolean isMethodGroupConversion) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 232\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpressionContinued(SyntaxNode node, SyntaxNode expression, String methodName, OverloadResolutionResult`1 result, AnalyzedArguments analyzedArguments, MethodGroup methodGroup, Boolean isStatement, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 238\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindMethodGroupInvocation(SyntaxNode syntax, SyntaxNode expression, String methodName, BoundMethodGroup methodGroup, Boolean isStatement, AnalyzedArguments analyzedArguments, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 191\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpression(SyntaxNode node, SyntaxNode expression, String methodName, BoundExpression boundExpression, Boolean isStatement, Boolean asProperty, AnalyzedArguments analyzedArguments, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 98\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpression(InvocationExpressionSyntax node, DiagnosticBag diagnostics, Boolean isStatement) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 31\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindExpressionStatement(SyntaxNode node, ExpressionSyntax syntax, Boolean allowsAnyExpression, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 517\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 83\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.IncrementalBinder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 924\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.GetBoundNodes(SyntaxNode node) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 389\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.GetLowerBoundNode(SyntaxNode node) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 329\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.GetBoundNodes(SyntaxNode node, SyntaxNode& bindableNode, BoundNode& lowestBoundNode, BoundNode& highestBoundNode, BoundNode& boundParent) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 198\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.GetSymbolInfoWorker(SyntaxNode node, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 110\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.SyntaxTreeSemanticModel.GetSymbolInfoWorker(SyntaxNode node, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\SyntaxTreeSemanticModel.cs:line 110\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.SemanticModel.GetSymbolInfo(ExpressionSyntax expression, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\SemanticModel.cs:line 583\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.SemanticModel.GetSymbolInfoFromNode(SyntaxNode node, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\SemanticModel.cs:line 422\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.DocumentExtensions.<GetSymbolAtPositionAsync>d__8.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces\\Shared\\Extensions\\DocumentExtensions.cs:line 180\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.DocumentExtensions.<GetSymbolAtPositionAsync>d__7.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces\\Shared\\Extensions\\DocumentExtensions.cs:line 169\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.HoverRequestHandler.<HandleAsync>d__3.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\LanguageServer\\HoverRequestHandler.cs:line 35\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.<Process>d__6.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Endpoints\\RequestRegistry.cs:line 59\r\n\r\n[Error - 2:38:22 PM] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.\r\nProcessing of message 'textDocument/hover' failed with error: 'Object reference not set to an instance of an object.'\r\nStackTrace:\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.ReportBadArgumentError(DiagnosticBag diagnostics, AnalyzedArguments arguments, ImmutableArray`1 symbols, TMember method, Int32 arg) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 506\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.HadBadArguments(DiagnosticBag diagnostics, AnalyzedArguments arguments, ImmutableArray`1 symbols) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 478\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.OverloadResolutionResult`1.ReportDiagnostics[T](Location location, DiagnosticBag diagnostics, String name, AnalyzedArguments arguments, ImmutableArray`1 memberGroup, Boolean isMethodGroupConversion) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Semantics\\OverloadResolution\\OverloadResolutionResult.cs:line 232\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpressionContinued(SyntaxNode node, SyntaxNode expression, String methodName, OverloadResolutionResult`1 result, AnalyzedArguments analyzedArguments, MethodGroup methodGroup, Boolean isStatement, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 238\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindMethodGroupInvocation(SyntaxNode syntax, SyntaxNode expression, String methodName, BoundMethodGroup methodGroup, Boolean isStatement, AnalyzedArguments analyzedArguments, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 191\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpression(SyntaxNode node, SyntaxNode expression, String methodName, BoundExpression boundExpression, Boolean isStatement, Boolean asProperty, AnalyzedArguments analyzedArguments, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 98\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindInvocationExpression(InvocationExpressionSyntax node, DiagnosticBag diagnostics, Boolean isStatement) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Invocation.cs:line 31\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindExpressionStatement(SyntaxNode node, ExpressionSyntax syntax, Boolean allowsAnyExpression, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 517\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 83\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatements(SyntaxList`1 syntaxStatements, DiagnosticBag diagnostics, Binder binder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 53\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.RepeatBinder.BindRepeatParts(DiagnosticBag diagnostics, Binder originalBinder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\RepeatBinder.cs:line 24\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 101\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.IncrementalBinder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 924\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatements(SyntaxList`1 syntaxStatements, DiagnosticBag diagnostics, Binder binder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 53\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics, Binder blockBinder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 33\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 80\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.IncrementalBinder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 924\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindIfStatement(IfStatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 542\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 92\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.IncrementalBinder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 924\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatements(SyntaxList`1 syntaxStatements, DiagnosticBag diagnostics, Binder binder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 53\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindBlock(BlockSyntax node, DiagnosticBag diagnostics, Binder blockBinder) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 33\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 80\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.IncrementalBinder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 924\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindIfStatement(IfStatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 542\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Binder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Binder\\Binder_Statements.cs:line 92\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.IncrementalBinder.BindStatement(StatementSyntax node, DiagnosticBag diagnostics) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 924\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.GetBoundNodes(SyntaxNode node) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 389\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.GetLowerBoundNode(SyntaxNode node) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 329\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.GetBoundNodes(SyntaxNode node, SyntaxNode& bindableNode, BoundNode& lowestBoundNode, BoundNode& highestBoundNode, BoundNode& boundParent) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 198\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.MemberSemanticModel.GetSymbolInfoWorker(SyntaxNode node, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\MemberSemanticModel.cs:line 110\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.SyntaxTreeSemanticModel.GetSymbolInfoWorker(SyntaxNode node, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\SyntaxTreeSemanticModel.cs:line 110\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.SemanticModel.GetSymbolInfo(ExpressionSyntax expression, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\SemanticModel.cs:line 583\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.SemanticModel.GetSymbolInfoFromNode(SyntaxNode node, CancellationToken cancellationToken) in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis\\Compilation\\SemanticModel.cs:line 422\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.DocumentExtensions.<GetSymbolAtPositionAsync>d__8.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces\\Shared\\Extensions\\DocumentExtensions.cs:line 180\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.DocumentExtensions.<GetSymbolAtPositionAsync>d__7.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces\\Shared\\Extensions\\DocumentExtensions.cs:line 169\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.HoverRequestHandler.<HandleAsync>d__3.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\LanguageServer\\HoverRequestHandler.cs:line 35\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.<Process>d__6.MoveNext() in C:\\Agent\\_work\\38\\s\\source\\Prod\\Microsoft.Dynamics.Nav.EditorServices.Protocol\\Endpoints\\RequestRegistry.cs:line 59\r\n\r\n<!-- Go to Visual Studio Code → Extensions panel → AL Language -->\r\n- AL Extension Version: 0.12.15355\r\n\r\n<!-- In the client search for: System Information -->\r\n- Server Version: Local system\r\nVersion: 1.26.1\r\nCommit: 493869ee8e8a846b0855873886fc79d480d342de\r\nDate: 2018-08-16T18:38:57.434Z\r\nElectron: 2.0.5\r\nChrome: 61.0.3163.100\r\nNode.js: 8.9.3\r\nV8: 6.1.534.41\r\nArchitecture: x64\r\n\r\n<!-- AL code sample that triggers the issue -->\r\n```\r\npageextension 50111 PETopCustomer extends \"Customer List\"\r\n{\r\n    layout\r\n    {\r\n\r\n        // Add changes to page layout here\r\n    }\r\n    actions\r\n    {\r\n        // Add changes to page actions here\r\n        addafter(Statistics)\r\n        {\r\n            action(\"Top Customer\")\r\n            {\r\n                RunObject = page TopCustomers;\r\n                Promoted = true;\r\n                PromotedIsBig = true;\r\n            }\r\n            action(\"Add Data\")\r\n            {\r\n                trigger OnAction();\r\n                var\r\n                    Cust: Record Customer;\r\n                    CLE: Record \"Cust. Ledger Entry\";\r\n                    TC: Record TopCustomer;\r\n                    EntNo: integer;\r\n                begin\r\n                    //IF tc.Findlast then\r\n                    //    EntNo := tc.EntryNo + 1\r\n                    //ELSE\r\n                    //    EntNo := 1;                    \r\n                    Cust.Reset;\r\n                    IF Cust.Findset THEN begin\r\n                        Repeat\r\n                        CLE.RESET;\r\n                        CLE.SETCURRENTKEY(\"Customer No.\", \"Posting Date\");\r\n                        CLE.SETRANGE(\"Customer No.\", Cust.\"No.\");\r\n                        IF NOT CLE.ISEMPTY THEN BEGIN\r\n                            IF CLE.FINDSET THEN BEGIN\r\n                                REPEAT\r\n                                CLE.CALCFIELDS(\"Amount (LCY)\", \"Remaining Amt. (LCY)\");\r\n                                TCust.RESET;\r\n                                //        IF TCust.ISEMPTY THEN\r\n                                IF TCust.FINDLAST THEN\r\n                                    EntNo := EntNo + 1\r\n                                ELSE\r\n                                    EntNo := 1;\r\n                                TCust.INIT;\r\n                                TCust.\"Entry No\" := EntNo;\r\n                                TCust.\"Customer No.\" := CLE.\"Customer No.\";\r\n                                TCust.Amount += CLE.\"Amount (LCY)\";\r\n                                TCust.\"Rem. Amount\" += CLE.\"Remaining Amt. (LCY)\";\r\n                                IF NOT TCust.INSERT THEN\r\n                                    TCust.MODIFY;\r\n                                UNTIL CLE.NEXT = 0;\r\n                            END;\r\n                        END;\r\n                        Until Cust.next = 0;\r\n                        Message('Done 001');\r\n                    END;\r\n                end;\r\n            }\r\n        }\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/AL/issues/comments/417286946","html_url":"https://github.com/Microsoft/AL/issues/3474#issuecomment-417286946","issue_url":"https://api.github.com/repos/Microsoft/AL/issues/3474","id":417286946,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzI4Njk0Ng==","user":{"login":"RagRawat","id":39081613,"node_id":"MDQ6VXNlcjM5MDgxNjEz","avatar_url":"https://avatars0.githubusercontent.com/u/39081613?v=4","gravatar_id":"","url":"https://api.github.com/users/RagRawat","html_url":"https://github.com/RagRawat","followers_url":"https://api.github.com/users/RagRawat/followers","following_url":"https://api.github.com/users/RagRawat/following{/other_user}","gists_url":"https://api.github.com/users/RagRawat/gists{/gist_id}","starred_url":"https://api.github.com/users/RagRawat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RagRawat/subscriptions","organizations_url":"https://api.github.com/users/RagRawat/orgs","repos_url":"https://api.github.com/users/RagRawat/repos","events_url":"https://api.github.com/users/RagRawat/events{/privacy}","received_events_url":"https://api.github.com/users/RagRawat/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T11:31:19Z","updated_at":"2018-08-30T11:31:19Z","author_association":"NONE","body":"Thanks @qutreson,\r\n\r\nPlease find the page and table preview\r\n\r\nPage : page 50110 TopCustomers\r\n{\r\n    PageType = List;\r\n    SourceTable = TopCustomer;\r\n\r\n    layout\r\n    {\r\n        area(content)\r\n        {\r\n            repeater(Group)\r\n            {\r\n                field(\"Customer No.\"; \"Customer No.\")\r\n                {\r\n                    ApplicationArea = all;\r\n                }\r\n                field(Amount; Amount)\r\n                { ApplicationArea = All; }\r\n                field(\"Remaining Amount\"; \"Remaining Amount\")\r\n                { ApplicationArea = All; }\r\n            }\r\n        }\r\n        area(factboxes)\r\n        {\r\n        }\r\n    }\r\n\r\n    actions\r\n    {\r\n\r\n        area(processing)\r\n        {\r\n            \r\n        }\r\n    }\r\n}\r\n\r\nTable :\r\ntable 50110 TopCustomer\r\n{\r\n    Caption = 'Top Customer';\r\n\r\n    fields\r\n    {\r\n        field(1;EntryNo;Integer){}\r\n        field(2;\"Customer No.\";Code[50]){}\r\n        field(3;Amount;Decimal){}\r\n        field(4;\"Remaining Amount\";Decimal){}\r\n    }\r\n\r\n    keys\r\n    {\r\n        key(PK;EntryNo)\r\n        {\r\n            Clustered = true;\r\n        }\r\n    }\r\n    \r\n    var\r\n        myInt : Integer;\r\n\r\n    trigger OnInsert();\r\n    var\r\n    TC: Record TopCustomer;\r\n    begin\r\n        IF tc.FindLast then\r\n            EntryNo := tc.EntryNo +1\r\n            ELSE\r\n            EntryNo := 1;\r\n    end;\r\n\r\n    trigger OnModify();\r\n    begin\r\n    end;\r\n\r\n    trigger OnDelete();\r\n    begin\r\n    end;\r\n\r\n    trigger OnRename();\r\n    begin\r\n    end;\r\n\r\n}\r\n"}}
{"actor":{"display_login":"RagRawat"}}