| Line 520... |
Line 520... |
| 520 |
|
520 |
|
| 521 |
//Only in and activation margins are allowed to be rolled out more than twice
|
521 |
//Only in and activation margins are allowed to be rolled out more than twice
|
| 522 |
private float createSchemeInOut(List<SchemeSummaryModel> schemeSummaryModels, InventoryItem inventoryItem) throws ProfitMandiBusinessException {
|
522 |
private float createSchemeInOut(List<SchemeSummaryModel> schemeSummaryModels, InventoryItem inventoryItem) throws ProfitMandiBusinessException {
|
| 523 |
LOGGER.info("schemeSummaryModels - {}", schemeSummaryModels);
|
523 |
LOGGER.info("schemeSummaryModels - {}", schemeSummaryModels);
|
| 524 |
InventoryPayoutModel inventoryPayoutModel = priceCircularService.getPayouts(inventoryItem);
|
524 |
InventoryPayoutModel inventoryPayoutModel = priceCircularService.getPayouts(inventoryItem);
|
| - |
|
525 |
|
| - |
|
526 |
LOGGER.info("inventoryPayoutModel - {}", inventoryPayoutModel);
|
| - |
|
527 |
|
| 525 |
//Get all schemes
|
528 |
//Get all schemes
|
| 526 |
List<SchemeSummaryModel> inventoryPayoutModelToProcess = schemeSummaryModels.stream().filter(x -> x.isProcess()).collect(Collectors.toList());
|
529 |
List<SchemeSummaryModel> inventoryPayoutModelToProcess = schemeSummaryModels.stream().filter(x -> x.isProcess()).collect(Collectors.toList());
|
| 527 |
|
530 |
|
| 528 |
List<SchemeInOut> paidSios = inventoryPayoutModel.getPaidSios();
|
531 |
List<SchemeInOut> paidSios = inventoryPayoutModel.getPaidSios();
|
| 529 |
List<SchemeInOut> pendingSios = inventoryPayoutModel.getPendingSios();
|
532 |
List<SchemeInOut> pendingSios = inventoryPayoutModel.getPendingSios();
|