SupplierNumberGeneratorService

Implements \Shopware\Plugins\ViisonPickwareERP\Components\Supplier\SupplierNumberGenerator, \Enlight_Hook

package

Default

Methods

__construct

__construct(\Shopware\Components\Model\ModelManager $entityManager, \Shopware_Components_Snippet_Manager $snippetManager) 

Arguments

$entityManager

\Shopware\Components\Model\ModelManager

$snippetManager

\Shopware_Components_Snippet_Manager

Returns the next unused supplier number.

generateSupplierNumber() : integer
inheritdoc

Response

integer

Checks whether or not the given supplier number is already used.

isSupplierNumberAvailable(string $supplierNumber) : boolean
inheritdoc

Arguments

$supplierNumber

string

Response

boolean

Constants

NUMBER

NUMBER

DESCRIPTION

DESCRIPTION

NAME

NAME