Logidav Docs

CalculateProductStockValueFromFileCommand extends ContainerAwareCommand uses LockableTrait

FinalYes

Class ImportProductPhysicalStockCommand

Table of Contents

Properties

$currencyService  : CurrencyService|null
$dbConnection  : Connection
$em  : EntityManagerInterface
$manufacturerStockValueService  : ManufacturerStockValueService|null

Methods

__construct()  : mixed
ProductStockValueCommand constructor.
configure()  : mixed
Configure command
execute()  : mixed
calculateStockValue()  : mixed
calculateStockValueProductByContainer()  : mixed
calculateStockValueProductByContainerc1204()  : mixed
getContainersForProduct()  : array<string|int, mixed>
Get Containers for product
getContainersForProductByContainers()  : array<string|int, mixed>
Get Containers for product
getContainerValue()  : mixed
getExpeditionsBySku()  : mixed
log()  : mixed

Properties

Methods

getContainersForProduct()

Get Containers for product

private getContainersForProduct(mixed $productId) : array<string|int, mixed>
Parameters
$productId : mixed
Tags
throws
DBALException
Return values
array<string|int, mixed>

getContainersForProductByContainers()

Get Containers for product

private getContainersForProductByContainers(mixed $productId, DateTime $from, DateTime $to[, mixed $status = 'arrived' ]) : array<string|int, mixed>
Parameters
$productId : mixed
$from : DateTime
$to : DateTime
$status : mixed = 'arrived'
Tags
throws
DBALException
Return values
array<string|int, mixed>

        
On this page

Search results