fix: use English enum value 'Active' for Status filter
BC OData filter options are in English (Draft/Active/Inactive), not the localized display values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -307,7 +307,7 @@ class WBC_Product_Sync {
|
||||
|
||||
$result = WBC_API_Client::odata_get( 'ListaPrecios', array(
|
||||
'$filter' => "Price_List_Code eq '" . $escaped_code . "'"
|
||||
. " and Status eq 'Activo'"
|
||||
. " and Status eq 'Active'"
|
||||
. " and Asset_No eq '" . $escaped_number . "'",
|
||||
'$select' => 'Unit_Price',
|
||||
'$top' => 1,
|
||||
|
||||
Reference in New Issue
Block a user