Logidav Docs

ProductFixQtyAndLogCommand extends ContainerAwareCommand uses LockableTrait

Class ProductFixQtyAndLogCommand

Table of Contents

Properties

$backupProductLogTable  : mixed
$dbConnection  : mixed
$fetchedUsers  : mixed
$originProductIventoryLogTable  : mixed
$originProductIventoryTable  : mixed
$originProductLogTable  : mixed
$output  : mixed
$productHistory  : void
$productService  : mixed
$productsQty  : mixed
$tempCalculateProductLogTable  : mixed
$tempProductLogTable  : mixed

Methods

backupProductQtyLogTable()  : mixed
clearproductInventoryLog()  : mixed
configure()  : mixed
execute()  : int|void|null
fixAutoDispoDate()  : mixed
getComposedProduct()  : array<string|int, mixed>
getInventoryProductQty()  : mixed
getProductContainersUnload()  : mixed
getProductContenairHistory()  : mixed
getProductQtyResetHistory()  : mixed
getProductSaleHistory()  : mixed
getProductsDispoHistory()  : mixed
getSaleCanceled()  : mixed
getSaleProductCanceled()  : mixed
getSaleProductUpdate()  : mixed
getSaleProductUpdateByCurrentProduct()  : mixed
getSaleProductUpdateByCurrentProductHistory()  : mixed
getSaleQtyChange()  : array<string|int, mixed>|false
getSalesByProduct()  : mixed
getUserId()  : mixed|null
initTmpTables()  : mixed
create TEMP table for calculation
insertNewProductInventoryQtyLog()  : mixed
insertNewProductQtyLog()  : mixed
insertOldLog()  : mixed
populateTmpTable()  : void
Populate TEMP table for calculation
processHistory()  : mixed
processInventory()  : mixed
processProductInventory()  : mixed
processQty()  : mixed
productLogProcessing()  : mixed
setQuantityForProduct()  : mixed
updateProductNullInventoryQty()  : mixed
updateProductsQty()  : mixed

Properties

Methods

execute()

protected execute(InputInterface $input, OutputInterface $output) : int|void|null
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int|void|null

getComposedProduct()

protected getComposedProduct(mixed $product) : array<string|int, mixed>
Parameters
$product : mixed
Return values
array<string|int, mixed>

getInventoryProductQty()

protected getInventoryProductQty(mixed $product) : mixed
Parameters
$product : mixed

getProductContainersUnload()

protected getProductContainersUnload(mixed $product) : mixed
Parameters
$product : mixed

getProductContenairHistory()

protected getProductContenairHistory(mixed $product) : mixed
Parameters
$product : mixed

getProductQtyResetHistory()

protected getProductQtyResetHistory(mixed $product) : mixed
Parameters
$product : mixed

getProductSaleHistory()

protected getProductSaleHistory(mixed $product[, mixed $multiple = 1 ]) : mixed
Parameters
$product : mixed
$multiple : mixed = 1

getSaleProductCanceled()

protected getSaleProductCanceled(mixed $saleId, mixed $sku) : mixed
Parameters
$saleId : mixed
$sku : mixed

getSaleProductUpdate()

protected getSaleProductUpdate(mixed $saleProductId, mixed $productId) : mixed
Parameters
$saleProductId : mixed
$productId : mixed

getSaleProductUpdateByCurrentProduct()

protected getSaleProductUpdateByCurrentProduct(mixed $product) : mixed
Parameters
$product : mixed

getSaleProductUpdateByCurrentProductHistory()

protected getSaleProductUpdateByCurrentProductHistory(mixed $product[, int $multiple = 1 ]) : mixed
Parameters
$product : mixed
$multiple : int = 1

getSaleQtyChange()

protected getSaleQtyChange(mixed $saleId, mixed $product) : array<string|int, mixed>|false
Parameters
$saleId : mixed
$product : mixed
Return values
array<string|int, mixed>|false

getUserId()

protected getUserId(mixed $string) : mixed|null
Parameters
$string : mixed
Return values
mixed|null

insertOldLog()

protected insertOldLog(mixed $product[, string $date = '' ]) : mixed
Parameters
$product : mixed
$date : string = ''

populateTmpTable()

Populate TEMP table for calculation

protected populateTmpTable([bool $clean = false ]) : void
Parameters
$clean : bool = false

processHistory()

protected processHistory([mixed $product = null ]) : mixed
Parameters
$product : mixed = null
Tags
throws
Exception

processProductInventory()

protected processProductInventory(mixed $product, mixed $inventoryProductQty, mixed $date) : mixed
Parameters
$product : mixed
$inventoryProductQty : mixed
$date : mixed

setQuantityForProduct()

protected setQuantityForProduct(mixed $pId, int $qty) : mixed
Parameters
$pId : mixed
$qty : int

        
On this page

Search results