diff --git a/extensions/openpower-pels/src.cpp b/extensions/openpower-pels/src.cpp
index 9c0c3dd..b3e3e89 100644
--- a/extensions/openpower-pels/src.cpp
+++ b/extensions/openpower-pels/src.cpp
@@ -1133,13 +1133,25 @@
             }
         }
 
+        std::optional<std::string> locCode;
+
+        try
+        {
+            locCode = dataIface.expandLocationCode(callout.locationCode, 0);
+        }
+        catch (const std::exception& e)
+        {
+            auto msg = fmt::format("Unable to expand location code {}: {}",
+                                   callout.locationCode, e.what());
+            addDebugData(msg);
+        }
+
         try
         {
             auto inventoryPath = dataIface.getInventoryFromLocCode(
                 callout.locationCode, 0, false);
 
-            addInventoryCallout(inventoryPath, priority, std::nullopt,
-                                dataIface);
+            addInventoryCallout(inventoryPath, priority, locCode, dataIface);
         }
         catch (const std::exception& e)
         {
