Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
718
stars
242
forks
source link
Unable to access standard report date item from report extension data item #7749
1. Describe the bug
Unable to access standard report ("Add Contacts") data item "Contact" from report extension data item (Service Item) because text field in Service Item table is called "Contact" as well and only option i have is that field.
2. To Reproduce
Steps to reproduce the behavior:
Create report extension for standard report "Add Contacts"
Add data item to report extension with table "Service Item"
Try to access data item "Contact" in "Service Item" data item
AL code snippet that demonstrates the issue or a link to a code repository the developers can easily pull down to recreate the issue locally.
Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
3. Expected behavior
Standard data item "Contact" can be accessed from other data items on report extension
4. Actual behavior
5. Versions:
AL Language: 2204
Visual Studio Code: 1.86.0
Business Central: 22.04
List of Visual Studio Code extensions that you have installed: AL CodeActions, AL Language extension for Microsoft Dynamics 365 Business Central, AL Variable Helper
Final Checklist
Please remember to do the following:
[ ] Search the issue repository to ensure you are reporting a new issue
[ ] Reproduce the issue after disabling all extensions except the AL Language extension
[ ] Simplify your code around the issue to better isolate the problem
Please include the following with each issue:
1. Describe the bug Unable to access standard report ("Add Contacts") data item "Contact" from report extension data item (Service Item) because text field in Service Item table is called "Contact" as well and only option i have is that field.
2. To Reproduce Steps to reproduce the behavior:
Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
3. Expected behavior Standard data item "Contact" can be accessed from other data items on report extension
4. Actual behavior
![fieldcontact](https://github.com/microsoft/AL/assets/72451207/9b8e2dae-1144-4ac8-9008-8f7a97cf997a)
5. Versions:
Final Checklist
Please remember to do the following:
[ ] Search the issue repository to ensure you are reporting a new issue
[ ] Reproduce the issue after disabling all extensions except the AL Language extension
[ ] Simplify your code around the issue to better isolate the problem