Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 660 Most Valuable Professional
André Arnaud de Cal... 549 Super User 2025 Season 2
Sohaib Cheema 307 User Group Leader