Subversion Repositories SmartDukaan

Rev

Rev 23638 | Rev 23781 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23638 Rev 23650
Line 7... Line 7...
7
import org.springframework.stereotype.Service;
7
import org.springframework.stereotype.Service;
8
 
8
 
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
10
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
10
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
11
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
11
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
-
 
12
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
12
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
13
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
13
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
14
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
14
 
15
 
15
@Service
16
@Service
16
public interface InventoryService {
17
public interface InventoryService {
Line 34... Line 35...
34
	public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;
35
	public Map<String, Object> getGrnHistoryDetail(int fofoId, String purchaseReference, String host, int port, String webapp) throws ProfitMandiBusinessException;
35
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
36
	public List<InventoryItemAgingModel> getItemAgingByInterval(int fofoId, List<Integer> intervals) throws ProfitMandiBusinessException;
36
	public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
37
	public Map<String, Object> getPaginatedItemAgingByInterval(int fofoId, List<Integer> intervals, String searchContent, int offset, int limit) throws ProfitMandiBusinessException;
37
	public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
38
	public Map<String, Object> addToCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
38
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
39
	public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
-
 
40
	public void saleReturnInventoryItem(CustomerReturnItem customerReturnItem) throws ProfitMandiBusinessException;
39
	public void returnInventory(PurchaseReturnItem purchaseReturnItem);
41
	public void returnInventory(PurchaseReturnItem purchaseReturnItem); 
40
	//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
42
	//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
41
	public void returnItems(DebitNote debitNote) throws Exception;
43
	public void returnItems(DebitNote debitNote) throws Exception;
42
}
44
}