C# Класс GlobalSist.WMS.ERPExample.Integration.InventoryExtension

Наследование: Facades.TaskLogic.IInventory
Показать файл Открыть проект

Открытые методы

Метод Описание
GetERPSkuStocks ( string warehouseCode ) : DataTable

Occurs when a new Stock Count is created, and is used to get the Stock of all the SKU's available in the Warehouse

GetERPStock ( string warehouseCode, string skuCode, string batchCode ) : decimal

Occurs when a SKU is viewed in the Front-End, and returns the SKU Stock from the ERP

OnInventoryExport ( object inventory ) : bool

Occurs when the Inventory is exported

Описание методов

GetERPSkuStocks() публичный Метод

Occurs when a new Stock Count is created, and is used to get the Stock of all the SKU's available in the Warehouse
public GetERPSkuStocks ( string warehouseCode ) : DataTable
warehouseCode string Warehouse Code
Результат DataTable

GetERPStock() публичный Метод

Occurs when a SKU is viewed in the Front-End, and returns the SKU Stock from the ERP
public GetERPStock ( string warehouseCode, string skuCode, string batchCode ) : decimal
warehouseCode string Wharehouse Code
skuCode string SKU Code
batchCode string Batch Code
Результат decimal

OnInventoryExport() публичный Метод

Occurs when the Inventory is exported
public OnInventoryExport ( object inventory ) : bool
inventory object List of InventoryExport Objects
Результат bool