| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.inventory;
|
1 |
package com.spice.profitmandi.service.inventory;
|
| 2 |
|
2 |
|
| 3 |
import java.time.LocalDate;
|
3 |
import java.time.LocalDate;
|
| - |
|
4 |
import java.time.LocalDateTime;
|
| 4 |
import java.util.List;
|
5 |
import java.util.List;
|
| 5 |
import java.util.Map;
|
6 |
import java.util.Map;
|
| 6 |
import java.util.Set;
|
7 |
import java.util.Set;
|
| 7 |
|
8 |
|
| 8 |
import org.springframework.stereotype.Service;
|
9 |
import org.springframework.stereotype.Service;
|
| Line 11... |
Line 12... |
| 11 |
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
|
12 |
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
|
| 12 |
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
|
13 |
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
|
| 13 |
import com.spice.profitmandi.common.model.MapWrapper;
|
14 |
import com.spice.profitmandi.common.model.MapWrapper;
|
| 14 |
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
|
15 |
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
|
| 15 |
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
|
16 |
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
|
| - |
|
17 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| 16 |
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
|
18 |
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
|
| 17 |
|
19 |
|
| 18 |
import in.shop2020.model.v1.user.ItemQuantity;
|
20 |
import in.shop2020.model.v1.user.ItemQuantity;
|
| 19 |
|
21 |
|
| 20 |
@Service
|
22 |
@Service
|
| Line 45... |
Line 47... |
| 45 |
public void saleReturnInventoryItem(CustomerReturnItem customerReturnItem) throws ProfitMandiBusinessException;
|
47 |
public void saleReturnInventoryItem(CustomerReturnItem customerReturnItem) throws ProfitMandiBusinessException;
|
| 46 |
public void returnInventory(PurchaseReturnItem purchaseReturnItem);
|
48 |
public void returnInventory(PurchaseReturnItem purchaseReturnItem);
|
| 47 |
//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
|
49 |
//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
|
| 48 |
public void returnItems(DebitNote debitNote) throws Exception;
|
50 |
public void returnItems(DebitNote debitNote) throws Exception;
|
| 49 |
public List<ItemQuantity> getPartnerStockOnDate(LocalDate stockDate);
|
51 |
public List<ItemQuantity> getPartnerStockOnDate(LocalDate stockDate);
|
| - |
|
52 |
float getTotalAmountInStock(int fofoId);
|
| - |
|
53 |
List<InventoryItem> getInventoryInStock();
|
| - |
|
54 |
List<InventoryItem> getInventoryInStock(int fofoId, int itemId);
|
| - |
|
55 |
List<InventoryItem> getInventoryInStock(int fofoId, int itemId, LocalDateTime date);
|
| - |
|
56 |
List<InventoryItem> getInventoryInStock(int itemId, LocalDateTime date);
|
| 50 |
}
|
57 |
}
|