Skip to content

Commit f12c3e9

Browse files
committed
Use SetUnitPrice instead of SetUnitListPrice
1 parent d498091 commit f12c3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Apps/W1/HybridSL/app/src/Migration/Items/SLItemMigrator.Codeunit.al

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ codeunit 42026 "SL Item Migrator"
9191
DataMigrationErrorLogging.SetLastRecordUnderProcessing(Format(SLInventory.RecordId));
9292
ItemDataMigrationFacade.CreateUnitOfMeasureIfNeeded(SLInventory.StkUnit, SLInventory.StkUnit);
9393
ItemDataMigrationFacade.CreateUnitOfMeasureIfNeeded(SLInventory.DfltPOUnit, SLInventory.DfltPOUnit);
94-
ItemDataMigrationFacade.SetUnitListPrice(SLInventory.StkBasePrc);
94+
ItemDataMigrationFacade.SetUnitPrice(SLInventory.StkBasePrc);
9595
if SLInventory.ValMthd <> 'T' then
9696
ItemDataMigrationFacade.SetUnitCost(SLInventory.LastCost)
9797
else

0 commit comments

Comments
 (0)