The purchase pricing assigns "no" price to all items, which should be priced. This pricing is used when no actual stock change took place (e.g. change of bin location) and therefore no purchase price is relevant.
package |
Default |
---|
__construct(\Shopware\Components\Model\ModelManager $entityManager, \Shopware\Models\Article\Detail $articleDetail, \Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse $warehouse, integer $quantity)
\Shopware\Components\Model\ModelManager
\Shopware\Models\Article\Detail
integer
current() : \Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\PurchasePriceAssignment\AssignablePurchasePrice
getDefaultPrice() : float
float
key() : integer
integer
next()
rewind()
valid() : boolean
boolean