Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ codeunit 139646 "Shpfy Catalog Prices Test"
ComparePrice: Decimal;
begin
// Creating test data.
LibraryPriceCalculation.DisableExtendedPriceCalculation();
// Extended pricing is on by default in the tenant; explicitly select the V15 handler so the legacy Sales Price / Sales Line Discount data path is exercised.
LibraryPriceCalculation.EnableExtendedPriceCalculation();
LibraryPriceCalculation.SetupDefaultHandler("Price Calculation Handler"::"Business Central (Version 15.0)");
Shop := InitializeTest.CreateShop();
Shop."Allow Line Disc." := false;
Shop.Modify();
Expand Down Expand Up @@ -112,7 +114,9 @@ codeunit 139646 "Shpfy Catalog Prices Test"
ComparePrice: Decimal;
begin
// Creating test data.
LibraryPriceCalculation.DisableExtendedPriceCalculation();
// Extended pricing is on by default in the tenant; explicitly select the V15 handler so the legacy Sales Price / Sales Line Discount data path is exercised.
LibraryPriceCalculation.EnableExtendedPriceCalculation();
LibraryPriceCalculation.SetupDefaultHandler("Price Calculation Handler"::"Business Central (Version 15.0)");
Shop := InitializeTest.CreateShop();
Shop."Allow Line Disc." := false;
Shop.Modify();
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ codeunit 139605 "Shpfy Product Price Calc. Test"
ComparePrice: Decimal;
begin
// [INIT] Initialization startup data.
LibraryPriceCalculation.DisableExtendedPriceCalculation();
// Extended pricing is on by default in the tenant; explicitly select the V15 handler so the legacy Sales Price / Sales Line Discount data path is exercised.
LibraryPriceCalculation.EnableExtendedPriceCalculation();
LibraryPriceCalculation.SetupDefaultHandler("Price Calculation Handler"::"Business Central (Version 15.0)");
Shop := InitializeTest.CreateShop();
Shop."Allow Line Disc." := false;
Shop.Modify();
Expand Down
Loading