| 28493 |
tejbeer |
1 |
package com.spice.profitmandi.service.warehouse;
|
|
|
2 |
|
| 33247 |
ranu |
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
4 |
import com.spice.profitmandi.common.model.ItemDescriptionModel;
|
| 33239 |
amit.gupta |
5 |
import com.spice.profitmandi.common.model.ItemQtyModel;
|
| 36016 |
amit |
6 |
import com.spice.profitmandi.dao.entity.catalog.Item;
|
|
|
7 |
import com.spice.profitmandi.dao.entity.inventory.InventoryWarehouse;
|
| 33247 |
ranu |
8 |
import com.spice.profitmandi.dao.entity.transaction.WarehouseAddressMaster;
|
| 33239 |
amit.gupta |
9 |
import com.spice.profitmandi.dao.entity.warehouse.WarehouseInventoryItem;
|
|
|
10 |
import com.spice.profitmandi.dao.entity.warehouse.WarehousePurchaseOrder;
|
| 33247 |
ranu |
11 |
import com.spice.profitmandi.dao.enumuration.inventory.InventoryType;
|
|
|
12 |
import com.spice.profitmandi.dao.enumuration.inventory.WarehouseType;
|
| 33239 |
amit.gupta |
13 |
import com.spice.profitmandi.dao.model.transaction.OrderBillingModel;
|
| 33384 |
amit.gupta |
14 |
import in.shop2020.warehouse.ScanType;
|
| 33239 |
amit.gupta |
15 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 32194 |
tejbeer |
16 |
import org.springframework.stereotype.Service;
|
|
|
17 |
|
| 33247 |
ranu |
18 |
import java.util.List;
|
| 28493 |
tejbeer |
19 |
|
|
|
20 |
@Service
|
|
|
21 |
public interface WarehouseService {
|
|
|
22 |
|
| 32194 |
tejbeer |
23 |
public List<Integer> getAuthWarehouses(String email) throws ProfitMandiBusinessException;
|
| 28493 |
tejbeer |
24 |
|
| 32194 |
tejbeer |
25 |
public void createVendorWarehouse(WarehouseType warehouseType, InventoryType inventoryType, String label, int warehouseId, WarehouseAddressMaster wam, int vendorId);
|
| 30826 |
amit.gupta |
26 |
|
| 32194 |
tejbeer |
27 |
public List<ItemDescriptionModel> getAllPartnerItemStringDescription(int vendorId);
|
| 33239 |
amit.gupta |
28 |
|
|
|
29 |
@Autowired
|
| 33247 |
ranu |
30 |
void billing(List<OrderBillingModel> orderBillingModels) throws ProfitMandiBusinessException;
|
| 33239 |
amit.gupta |
31 |
|
|
|
32 |
//TODO - NEED TO Implement
|
|
|
33 |
WarehouseInventoryItem addInventoryItem(int purchaseId, WarehousePurchaseOrder warehousePurchaseOrder, ItemQtyModel itemQtyModel) throws ProfitMandiBusinessException;
|
| 33384 |
amit.gupta |
34 |
|
| 36016 |
amit |
35 |
WarehouseInventoryItem addInventoryItem(int purchaseId, WarehousePurchaseOrder warehousePurchaseOrder, ItemQtyModel itemQtyModel, Item item, InventoryWarehouse supplierWarehouse) throws ProfitMandiBusinessException;
|
|
|
36 |
|
| 33384 |
amit.gupta |
37 |
List<String> moveToGood(List<String> serialNumbers) throws ProfitMandiBusinessException;
|
|
|
38 |
|
|
|
39 |
List<String> moveToBad(List<String> serialNumbers, ScanType badScanType) throws ProfitMandiBusinessException;
|
| 28493 |
tejbeer |
40 |
}
|