Closed maksym-ch closed 5 years ago
Thank you for your request. We are currently setting up the process around handling of issues in this new GitHub repository and you should hence expect a short delay in the processing of this request. But we will be on your case shortly!
Hi @maksym-ch, thanks for reporting this issue. Can you please share a zip file with an app which shows this issue? And also please list your AL version and BC version. Thanks!
Hi @JohanStenberg100 , This issue should be split by 2: 1st issue CurrFieldNo stays 0 when field validate is called from AL BCInsider project, tested on build 25530 The workflow is the following:
2nd issue CurrFieldno is readonly for tableextension object BCInsiderTest project, tested on build 25530
@maksym-ch We have decided to only fix your second issue, since the first one is by design. If you invoke validate from the client, the `CurrFieldNo
is updated, but if you invoke it from code, it isn't.
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26102.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26102.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/
Hi, @JohanStenberg100
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26102.
The mentioned bug still has not been fixed :-(
Tried on Microsoft Dynamiccs 365 Business Central Version 13.0.26413 Visual Studio Code Version 1.30.0 AL Language 2.1.73375.
During publishing I got the following warning (Package was published but needs to be installed): [2018-12-19 08:32:28.19] The request for path /BC130/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason: c:\ProgramData\Microsoft\Microsoft Dynamics NAV\130\Server\MicrosoftDynamicsNavServer$BC130\source\TableExtension\TableExtension50100.cs(128,17) : error CS0200: Property or indexer 'Microsoft.Dynamics.Nav.Runtime.Extensions.NavRecordExtension.CurrFieldNo' cannot be assigned to -- it is read only During installation I got the following error:
Could please check and fix it?
Thank you in advance
Hi,
We have the following problem : when field value is validated from RTC/Web client then CurrFieldNo variable contains current field no., if field value is validated from code then CurrFieldNo stays 0. C/AL [working] SomeRec.CurrFieldNo := 10; SomeRec.Validate(Quantity,1): // inside validate function if CurrFieldNo = 10 then do smth
AL[failed] SomeRec.CurrFieldNo := 10; SomeRec.Validate(Quantity,1): // inside validate function if CurrFieldNo = 10 then do smth During publishing the following error appears error CS0200: Property or indexer 'Microsoft.Dynamics.Nav.Runtime.Extensions.NavRecordExtension.CurrFieldNo' cannot be assigned to -- it is read only
The possible solution: allow to set CurrFieldNo value from AL