Subversion Repositories SmartDukaan

Rev

Rev 36103 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36103 Rev 36397
Line 3... Line 3...
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.model.SchemeModel;
4
import com.spice.profitmandi.common.model.SchemeModel;
5
import com.spice.profitmandi.dao.entity.catalog.Scheme;
5
import com.spice.profitmandi.dao.entity.catalog.Scheme;
6
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
6
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
7
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
7
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
-
 
8
import com.spice.profitmandi.dao.entity.fofo.SchemeItem;
8
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
9
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
9
import com.spice.profitmandi.dao.model.CreateSchemeRequest;
10
import com.spice.profitmandi.dao.model.CreateSchemeRequest;
10
import org.springframework.stereotype.Service;
11
import org.springframework.stereotype.Service;
11
 
12
 
12
import java.time.LocalDate;
13
import java.time.LocalDate;
Line 60... Line 61...
60
			throws ProfitMandiBusinessException;
61
			throws ProfitMandiBusinessException;
61
 
62
 
62
	void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason,
63
	void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason,
63
						List<SchemeType> schemeTypes) throws ProfitMandiBusinessException;
64
						List<SchemeType> schemeTypes) throws ProfitMandiBusinessException;
64
 
65
 
65
	public double getTotalMargin(int itemId, PartnerType partnerType, LocalDateTime localDateTime);
-
 
66
 
-
 
67
 
-
 
68
	//void processPartialCD(String invoiceNumber) throws ProfitMandiBusinessException;
66
	//void processPartialCD(String invoiceNumber) throws ProfitMandiBusinessException;
69
 
67
 
70
	//void processNoCD(String invoiceNumber) throws ProfitMandiBusinessException;
68
	//void processNoCD(String invoiceNumber) throws ProfitMandiBusinessException;
71
 
69
 
72
	Scheme getStaticScheme(int fofoId) throws ProfitMandiBusinessException;
70
	Scheme getStaticScheme(int fofoId) throws ProfitMandiBusinessException;
Line 91... Line 89...
91
												 int fofoId, int offset, int limit) throws ProfitMandiBusinessException;
89
												 int fofoId, int offset, int limit) throws ProfitMandiBusinessException;
92
 
90
 
93
	void processSchemeIn(List<InventoryItem> approvedList) throws ProfitMandiBusinessException;
91
	void processSchemeIn(List<InventoryItem> approvedList) throws ProfitMandiBusinessException;
94
 
92
 
95
	//void processFullCD(String invoiceNumber) throws ProfitMandiBusinessException;
93
	//void processFullCD(String invoiceNumber) throws ProfitMandiBusinessException;
-
 
94
 
-
 
95
	void updateSchemeItemWindow(long schemeItemId, LocalDateTime startDate, LocalDateTime endDate, int updatedBy) throws ProfitMandiBusinessException;
-
 
96
 
-
 
97
	SchemeItem addSchemeItemWithDates(int schemeId, int catalogId, LocalDateTime startDate, LocalDateTime endDate, int createdBy) throws ProfitMandiBusinessException;
-
 
98
 
-
 
99
	List<SchemeItem> clampSchemeItems(int schemeId, LocalDateTime newStart, LocalDateTime newEnd, int updatedBy) throws ProfitMandiBusinessException;
96
}
100
}