Hi,
I am running a unit test using SysTestCase. I am trying to get a certain RegionCountryId according to ISOCode:
LogisticsAddressCountryRegion::findByISOCode(#isoIN).CountryRegionId;
For some reason the method can't find a record and returns null when running test. LogisticsAddressCountryRegion is a shared table for all companies so it shouldn't matter which company is used for testing.
Can someone explain why it returns null?
Thanks.
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (