public class IndexAction extends SgqActionSupport implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected long |
batchCount
Nombre total de lots intégrés.
|
protected Date |
batchMaxEntryDate
La date d'entrée du dernier produit importé.
|
protected BatchService |
batchService |
protected List<Batch> |
batchWithBulletinToAsk
Avoir une alerte pour un lot lorsqu'une demande de bulletin doit être faite à un fournisseur.
|
protected List<Batch> |
batchWithLabelAfterExpiration
Lots probablement expirés et pour lesquels une étiquette a été émise.
|
protected List<Batch> |
batchWithMoreSellThanStock
Avoir une alerte pour un lot lorsque le cumul des ventes est supérieur à la quantité entrée.
|
protected List<Batch> |
batchWithNoStock
Lot pour lesquels le stock est null ou negatif (suite inventaire) .
|
protected List<Batch> |
batchWithOutputAndPendingAnalysis
alerte pour un lot en attente d'analyse pour lequel il y a déjà une sortie externe.
|
protected List<Batch> |
dedicatedClientExpiredBatch
Avoir une alerte spéciale client dédié pour lesquels la quantité disponible est < ou = à 0
|
protected Long |
labelErrorCount
Import lot en erreur.
|
protected Date |
labelExpeditionImportDate
La date du dernier import expedition (FIC_HIST.txt).
|
protected Date |
labelProductionImportDate
La date du dernier import production (FIF_HIST.txt).
|
protected int |
lastBiologicalBatch
Dernier lot lot entrée en plante biologique.
|
protected int |
lastConventionalBatch
Dernier lot lot entrée en plante conventionnelle.
|
protected Date |
now
Now date.
|
protected long |
operatingBatchCount
Nombre de lots en service.
|
protected ProductionService |
productionService |
actionParameters, ITEM_PER_PAGE, transaction| Constructor and Description |
|---|
IndexAction() |
| Modifier and Type | Method and Description |
|---|---|
long |
daysBetween(Date date1,
Date date2)
Utility method for view to compute day between two dates.
|
String |
execute() |
long |
getBatchCount() |
Date |
getBatchMaxEntryDate() |
List<Batch> |
getBatchWithBulletinToAsk() |
List<Batch> |
getBatchWithLabelAfterExpiration() |
List<Batch> |
getBatchWithMoreSellThanStock() |
List<Batch> |
getBatchWithNoStock() |
List<Batch> |
getBatchWithOutputAndPendingAnalysis() |
List<Batch> |
getDedicatedClientExpiredBatch() |
long |
getLabelErrorCount() |
Date |
getLabelExpeditionImportDate() |
Date |
getLabelProductionImportDate() |
int |
getLastBiologicalBatch() |
int |
getLastConventionalBatch() |
Date |
getNow() |
long |
getOperatingBatchCount() |
void |
prepare() |
getConfig, getPager, getParameter, getParameters, getProductUnit, newService, setParameters, setServletRequestaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected BatchService batchService
protected ProductionService productionService
protected long batchCount
protected long operatingBatchCount
protected int lastConventionalBatch
protected int lastBiologicalBatch
protected Date labelProductionImportDate
protected Date labelExpeditionImportDate
protected List<Batch> batchWithOutputAndPendingAnalysis
protected List<Batch> batchWithMoreSellThanStock
protected List<Batch> batchWithLabelAfterExpiration
protected List<Batch> dedicatedClientExpiredBatch
protected List<Batch> batchWithNoStock
protected List<Batch> batchWithBulletinToAsk
protected Long labelErrorCount
protected Date now
protected Date batchMaxEntryDate
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic long getBatchCount()
public long getOperatingBatchCount()
public int getLastConventionalBatch()
public int getLastBiologicalBatch()
public Date getLabelProductionImportDate()
public Date getLabelExpeditionImportDate()
public long getLabelErrorCount()
public Date getNow()
public Date getBatchMaxEntryDate()
Copyright © 2012–2013 Herboristerie Cailleau. All rights reserved.