diff --git a/woo-business-central/includes/class-wbc-product-sync.php b/woo-business-central/includes/class-wbc-product-sync.php index 08cdf5b..80eb273 100644 --- a/woo-business-central/includes/class-wbc-product-sync.php +++ b/woo-business-central/includes/class-wbc-product-sync.php @@ -308,8 +308,8 @@ class WBC_Product_Sync { $result = WBC_API_Client::odata_get( 'ListaPrecios', array( '$filter' => "Price_List_Code eq '" . $escaped_code . "'" - . " and Status eq 'Active'" - . " and Assign_to_Type eq 'All Customers'" + . " and Status eq 'Activo'" + . " and Source_Type eq 'Todos los clientes'" . " and Product_No eq '" . $escaped_number . "'", '$select' => 'Unit_Price', '$top' => 1,