ViisonPickwareERPSupplierManagement

Extends \Shopware\Plugins\ViisonCommon\Controllers\ViisonCommonBaseController

Backend controller for the supplier management module.

package

Default

Methods

Creates new supplier article details mappings for all articles, whose fabricator is also mapped to the supplier with the given ID.

assignFabricatorArticlesAction() 

Checks for a currency change of the given supplier and currency.

checkForCurrencyChangeAction() 

Checks if the given currency id is different from the currency id of the given supplier and returns the number of existing numberOfArticleDetailMappings that may be affected by this currency change.

Converts (updates) all purchase prices from article detail mappings from the given supplier to the new currency.

convertPurchasePricesAction() 

Creates one or more supplier article detail assignments using the POSTed data.

createSupplierArticleDetailsAction() 

Creates one or more supplier fabricator assignments using the POSTed data.

createSupplierFabricatorsAction() 

Creates one or more suppliers using the POSTed data.

createSuppliersAction() 

Deletes the POSTed supplier article detail assignments.

deleteSupplierArticleDetailsAction() 

Deletes the POSTed supplier fabricator assignments.

deleteSupplierFabricatorsAction() 

Deletes the POSTed suppliers.

deleteSuppliersAction() 

Assigns data for a new supplier to the view. This information is used when creating a new supplier.

getDefaultSupplierDataAction() 

Responds a paginated, filtered and sorted list of supplier article detail assignment.

getSupplierArticleDetailListAction() 

Since a supplier needs both a locale and sub shop id to create supplier documents, this function fetches all available sub shops (that also carry a locale reference) and returns their ids as well as a formatted displayName for the backend user.

getSupplierDocumentLocalizationSubShopListAction() 

Responds a paginated, filtered and sorted list of supplier fabricator assignment.

getSupplierFabricatorListAction() 

Responds a paginated, filtered and sorted list of suppliers.

getSupplierListAction() 

Updates one or more existing supplier article detail assignments using the POSTed data.

updateSupplierArticleDetailsAction() 

Updates one or more existing supplier fabricator assignments using the POSTed data.

updateSupplierFabricatorsAction() 

Updates one or more existing suppliers using the POSTed data.

updateSuppliersAction()