diff --git a/src/Apps/W1/Shopify/App/src/Catalogs/Tables/ShpfyCatalog.Table.al b/src/Apps/W1/Shopify/App/src/Catalogs/Tables/ShpfyCatalog.Table.al index c3870f482a..c89754a7dc 100644 --- a/src/Apps/W1/Shopify/App/src/Catalogs/Tables/ShpfyCatalog.Table.al +++ b/src/Apps/W1/Shopify/App/src/Catalogs/Tables/ShpfyCatalog.Table.al @@ -199,6 +199,8 @@ table 30152 "Shpfy Catalog" exit; end; + Modify(); + OtherCatalog.ModifyAll("Sync Prices", false); end; diff --git a/src/Apps/W1/Shopify/Test/Catalogs/ShpfyCatalogPricesTest.Codeunit.al b/src/Apps/W1/Shopify/Test/Catalogs/ShpfyCatalogPricesTest.Codeunit.al index e78f9db18e..bbad17f781 100644 --- a/src/Apps/W1/Shopify/Test/Catalogs/ShpfyCatalogPricesTest.Codeunit.al +++ b/src/Apps/W1/Shopify/Test/Catalogs/ShpfyCatalogPricesTest.Codeunit.al @@ -524,7 +524,8 @@ codeunit 139646 "Shpfy Catalog Prices Test" Catalog2.Validate("Sync Prices", true); Catalog2.Modify(true); - // [THEN] Catalog2 has Sync Prices = true + // [THEN] Catalog2 persists Sync Prices = true in the database + Catalog2.Get(CatalogId, ShopifyCompany2.SystemId); LibraryAssert.IsTrue(Catalog2."Sync Prices", 'Catalog2 should have Sync Prices enabled'); // [THEN] Catalog1 has Sync Prices = false (disabled by the confirmation logic)