StockLedgerEntry

Extends \Shopware\Components\Model\ModelEntity

ORM\Entity

(repositoryClass="StockLedgerEntryRepository")

ORM\Table

(name="pickware_erp_stock_ledger_entries")

package

Default

Methods

__construct

__construct() 

getArticleDetail

getArticleDetail() : \Shopware\Models\Article\Detail

Response

\Shopware\Models\Article\Detail

getBinLocationStockSnapshots

getBinLocationStockSnapshots() : \Doctrine\Common\Collections\ArrayCollection

Response

\Doctrine\Common\Collections\ArrayCollection

getChangeAmount

getChangeAmount() : integer

Response

integer

getComment

getComment() : string

Response

string

getCreated

getCreated() : \DateTime

Response

\DateTime

getId

getId() : integer

Response

integer

getLotAssignedEntries

getLotAssignedEntries() : \Doctrine\Common\Collections\ArrayCollection

Response

\Doctrine\Common\Collections\ArrayCollection

getNewStock

getNewStock() : integer

Response

integer

getOldStock

getOldStock() : integer

Response

integer

getOrderDetail

getOrderDetail() : \Shopware\Models\Order\Detail

Response

\Shopware\Models\Order\Detail

getPurchasePrice

getPurchasePrice() : float|null

Response

float|null

getReturnShipmentItem

getReturnShipmentItem() : \Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem

getSourceLotEntry

getSourceLotEntry() : \Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry

getStockItems

getStockItems() : \Doctrine\Common\Collections\ArrayCollection

Response

\Doctrine\Common\Collections\ArrayCollection

getSupplierOrderItem

getSupplierOrderItem() : \Shopware\CustomModels\ViisonPickwareERP\SupplierOrder\SupplierOrderItem

getTransactionId

getTransactionId() : string

Response

string

getType

getType() : string

Response

string

getUser

getUser() : \Shopware\Models\User\User

Response

\Shopware\Models\User\User

getWarehouse

getWarehouse() : \Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse

isCorrection

isCorrection() : boolean

Response

boolean

setArticleDetail

setArticleDetail(\Shopware\Models\Article\Detail|null $articleDetail = null) 

Arguments

$articleDetail

\Shopware\Models\Article\Detail|null

setChangeAmount

setChangeAmount(integer $changeAmount) 

Arguments

$changeAmount

integer

setComment

setComment(string $comment) 

Arguments

$comment

string

setCorrection

setCorrection(boolean $isCorrection) 

Arguments

$isCorrection

boolean

setCreated

setCreated(\DateTime $created) 

Arguments

$created

\DateTime

setOldStock

setOldStock(integer $oldStock) 

Arguments

$oldStock

integer

setOrderDetail

setOrderDetail(\Shopware\Models\Order\Detail|null $orderDetail = null) 

Arguments

$orderDetail

\Shopware\Models\Order\Detail|null

setPurchasePrice

setPurchasePrice(float|null $purchasePrice) 

Arguments

$purchasePrice

float|null

setReturnShipmentItem

setReturnShipmentItem(\Shopware\CustomModels\ViisonPickwareERP\ReturnShipment\ReturnShipmentItem|null $returnShipmentItem = null) 

setSourceLotEntry

setSourceLotEntry(\Shopware\CustomModels\ViisonPickwareERP\StockLedger\StockLedgerEntry|null $sourceLotEntry = null) 

setSupplierOrderItem

setSupplierOrderItem(\Shopware\CustomModels\ViisonPickwareERP\SupplierOrder\SupplierOrderItem|null $supplierOrderItem = null) 

setTransactionId

setTransactionId(string $transactionId) 

Arguments

$transactionId

string

setType

setType(string $type) 

Arguments

$type

string

setUser

setUser(\Shopware\Models\User\User|null $user = null) 

Arguments

$user

\Shopware\Models\User\User|null

setWarehouse

setWarehouse(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse $warehouse) 

Constants

PURCHASE

PURCHASE

SALE

SALE

RETURN

RETURN

STOCKTAKE

STOCKTAKE

MANUAL

MANUAL

INCOMING

INCOMING

OUTGOING

OUTGOING

RELOCATION

RELOCATION

INITIALIZATION

INITIALIZATION

OFF

OFF