WarehouseIntegrity

Extends

package

Default

Methods

Ensures that the given `$articleDetail` has bin location mappings and warehouse stock counts in all warehouses.

ensureAllWarehouseMappingsForArticleDetail(\Shopware\Models\Article\Detail $articleDetail) 

Arguments

$articleDetail

\Shopware\Models\Article\Detail

Ensures that all article details have bin location mappings and warehouse stock counts in the given `$warehouse`.

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

Ensures that exactly one warehouse is marked as the default return shipment warehouse.

ensureSingleDefaultReturnShipmentWarehouse() 

Ensures that exactly one warehouse is marked as the default warehouse.

ensureSingleDefaultWarehouse() 

Evaluates all constraints on the deletion of the given `$warehouse` and returns any detected violations.

evaluateWarehouseDeletionConstraints(\Shopware\CustomModels\ViisonPickwareERP\Warehouse\Warehouse $warehouse) : array<mixed,string>

Arguments

Response

array<mixed,string>