Jump to content

Edit History

Tone87

Tone87

Hi , i have a script who update quantity of product programmatically

i use the function:

StockAvailable::setQuantity((int)$Prodotto->id, 0, (int)$As400Prodotto->quantita, Context::getContext()->shop->id);

but whit this function i reset all reserved quantity.

is there a way to update the quantity physically in warehouse and not reset the reserved quantity?

 

Thanks in advance

 

Tone87

Tone87

Hi , i have a script who update quantity of product programmatically

i use the function:

StockAvailable::setQuantity((int)$Prodotto->id, 0, (int)$As400Prodotto->quantita, Context::getContext()->shop->id);

but whit this function i reset all reserved quantity.

is there a way to update the quantity physically in warehouse and not reset the reserved quantity?

 

Thanks in advance

 

Tone87

Tone87

Hi , i have a script who update quantity of product programmatically

i use the function:

StockAvailable::setQuantity((int)$Prodotto->id, 0, (int)$As400Prodotto->quantita, Context::getContext()->shop->id);

but whit this function i reset all reserved quantity.

is there a way to update the quantity physically in warehouse and not reset the reverved quantity?

 

Thanks in advance

 

×
×
  • Create New...