В 5:
X++:
inventDimTemp.data(otherTrans.inventDim());
inventDimTemp.InventLocationId = this.destinationInventLocationId(otherTrans);
inventDimTemp.InventSiteId = ''; // No reason to default Site as InventLocation is unique across sites
inventDimTemp = InventDim::findOrCreate(inventDimTemp);
inventItemLocation = this.inventItemLocation(otherTrans, inventDimTemp);