StockUpdaterServiceDecoration

package

Default

Methods

recordArticleDetailStockChange

recordArticleDetailStockChange(\Shopware\Models\Article\Detail $articleDetail,  $stockChanges, \Shopware\Models\User\User|null $user = null) : array<mixed,\Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry>

Arguments

$articleDetail

\Shopware\Models\Article\Detail

$stockChanges

$user

\Shopware\Models\User\User|null

Response

array<mixed,\Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry>

recordOrderDetailShippedChange

recordOrderDetailShippedChange(\Shopware\Models\Article\Detail $articleDetail, \Shopware\Models\Order\Detail $orderDetail, \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\PositiveStockChangeList|\Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\NegativeStockChangeList $stockChanges, \Shopware\Models\User\User|null $user = null) : array<mixed,\Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry>

recordReturnShipmentItemReturnedChange

recordReturnShipmentItemReturnedChange(\Shopware\Models\Article\Detail $articleDetail, \Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem, \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\PositiveStockChangeList|\Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\NegativeStockChangeList $stockChanges, \Shopware\Models\User\User|null $user = null) : array<mixed,\Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry>

recordReturnShipmentItemWriteOffChange

recordReturnShipmentItemWriteOffChange(\Shopware\Models\Article\Detail $articleDetail, \Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem $returnShipmentItem, \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\PositiveStockChangeList|\Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockChangeList\NegativeStockChangeList $stockChanges, \Shopware\Models\User\User|null $user = null) : array<mixed,\Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry>
see \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\StockUpdater::recordOrderDetailWriteOffChange()

Arguments

$articleDetail

\Shopware\Models\Article\Detail

$user

\Shopware\Models\User\User|null

Response

array<mixed,\Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry>