Announcements
No record found.
Hi, I am following this blog to do some test, when I am at select for the LogisticsEntityPostalAddressView I got this error: System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'. What is this about and how can I solve this?
Hi,
Are you operating AX2012 or D365FO?
Best regards,
Ludwig
I am using D365FO
Try to do a full model build followed by DB sync on your DEV VM and try again.
Also check the disk space on your VM.
Hi, I tried to rebuild and sync again, and the disk space is not full, but the problem is not resolved. This only happens for this query though, I do not have this problem with other queries
Hi, I was able to get the function to run when I full sync, but it only ran once and the issue happened again, but I was able to review the code and see that it does not work, so I rewrote a new one without using the error View
str storeNumber = 'ANNAPOL'; str email = ""; RetailStoreTable retailStoreTable; OMOperatingUnit operatingUnit; DirPartyLocation dirPartyLocation; LogisticsElectronicAddress electronicAddress; select firstonly retailStoreTable where retailStoreTable.StoreNumber == storeNumber; select firstonly electronicAddress where electronicAddress.Type == LogisticsElectronicAddressMethodType::Email exists join dirPartyLocation where dirPartyLocation.Location == electronicAddress.Location exists join operatingUnit where operatingUnit.RecId == dirPartyLocation.Party && operatingUnit.RecId == retailStoreTable.OMOperatingUnitID; email = electronicAddress.Locator; Info(strFmt("%1", email));
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 658
André Arnaud de Cal... 468 Super User 2026 Season 1
Syed Haris Shah 333 Super User 2026 Season 1