The sale pricing assigns purchase prices to outgoing items based on all incoming entries of a given article.
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
getUnusedPricingBuckets() : array<mixed,\Shopware\Plugins\ViisonPickwareERP\Components\StockLedger\PurchasePriceAssignment\AssignablePurchasePrice>
key() : integer
integer
next()
rewind()
valid() : boolean
boolean