BinLocationStockLocation

Extends \Shopware\Plugins\ViisonPickwareERP\Components\StockMovement\AbstractStockLocation

package

Default

Methods

__construct

__construct(\Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockLedgerService $stockLedgerService, \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockUpdater $stockUpdater) 
inherited

Changes the stock of the $articleDetail on this AbstractLocation by the relative value of $quantity.

changeStockOfArticleDetail(\Shopware\Models\Article\Detail $articleDetail, integer $quantity) 
inherited

Arguments

$articleDetail

\Shopware\Models\Article\Detail

$quantity

integer

Moves the entire stock of the $articleDetail on this AbstractLocation to another location given by $destination.

moveEntireStockOfArticleDetailToLocation(\Shopware\Models\Article\Detail $articleDetail, self $destination) 
inherited

Arguments

$articleDetail

\Shopware\Models\Article\Detail

$destination

self

Moves a give $quantity of stock of the $articleDetail on this AbstractLocation to another location given by $destination.

moveStockOfArticleDetailToLocation(\Shopware\Models\Article\Detail $articleDetail, self $destination, integer $quantity) 
inherited

Arguments

$articleDetail

\Shopware\Models\Article\Detail

$destination

self

$quantity

integer

Changes the stock of the $articleDetail on this AbstractLocation to the absolute value of $quantity.

setStockOfArticleDetail(\Shopware\Models\Article\Detail $articleDetail, integer $quantity) 
inherited

Arguments

$articleDetail

\Shopware\Models\Article\Detail

$quantity

integer

Changes the stock of the $articleDetail on this AbstractLocation as a result of a shippedQuantity change of the $orderDetail.

shipStockForOrderDetail(\Shopware\Models\Order\Detail $orderDetail, integer $quantity) 
inherited

Arguments

$orderDetail

\Shopware\Models\Order\Detail

$quantity

integer