public interface ModeTarifService extends IService, ServiceWithLastCreatedRecordSearch
Modifier and Type | Interface and Description |
---|---|
static class |
ModeTarifService.PARAMETERS_FOR_LAST_CREATED_RECORD_SEARCH |
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_ID |
Modifier and Type | Method and Description |
---|---|
CtxTarif |
creerTarifsVenteBase(CtxTarif ctxTarif)
Création de tarif de base
|
CtxTarif |
creerTarifsVenteClient(CtxTarif ctxTarif)
Création de tarif spécifique client
|
<T extends ILigneFactureEtCommande & TarifMontantPrixQuantite> |
findTarifs(T ligne) |
Double |
getMontantTarifByQuantite(Double quantite,
FProduitfini produitfini) |
<T extends ILigneFactureEtCommande & TarifMontantPrixQuantite> |
getTarifByLigne(T ligne)
Initialise les champs de tarif d'une ligne de commande, facture ou tabfac en fonction du produit fini selectionné
|
<T extends ILigneFactureEtCommande & TarifMontantPrixQuantite> |
getTarifByLigne(T ligne,
TarifVente tarif) |
FTarif |
getTarifByProduitfini(FProduitfini produitFini) |
CtxTarif |
loadCtxTarif(Double identTarif) |
CtxTarif |
loadCtxTarifClient(Double identTarif) |
String |
loadModeTarifClientParDefaut(Double identClient)
Recherche du mode de tarif à appliquer par défaut pour un ident client donné.
|
FVenteBase |
loadTarifVenteBase(String cleTarif,
String codeModeTarif,
Double quantite,
Date dateRef) |
FVenteClient |
loadTarifVenteClient(String cleTarif,
String codeClient,
String codeModeTarif,
Double quantite,
Date dateRef) |
List<TarifsBaseResultatRecherche> |
rechercheMulticriteresTarifsVenteBase(TarifsCriteresRecherche critere)
Recherche multicritères de tarifs de vente (FVenteBase)
|
List<TarifsClientResultatRecherche> |
rechercheMulticriteresTarifsVenteClient(TarifsCriteresRecherche critere)
Recherche multicritères de tarifs de vente client (FVenteClient)
|
getServerMessages, resetServerMessages
getLastCreatedRecord
static final String SERVICE_ID
String loadModeTarifClientParDefaut(Double identClient)
identClient
- FVenteClient loadTarifVenteClient(String cleTarif, String codeClient, String codeModeTarif, Double quantite, Date dateRef)
FVenteBase loadTarifVenteBase(String cleTarif, String codeModeTarif, Double quantite, Date dateRef)
FTarif getTarifByProduitfini(FProduitfini produitFini)
produitFini
- List<TarifsBaseResultatRecherche> rechercheMulticriteresTarifsVenteBase(TarifsCriteresRecherche critere)
critere
- List<TarifsClientResultatRecherche> rechercheMulticriteresTarifsVenteClient(TarifsCriteresRecherche critere)
critere
- CtxTarif creerTarifsVenteBase(CtxTarif ctxTarif)
ctxTarif
- CtxTarif creerTarifsVenteClient(CtxTarif ctxTarif)
ctxTarif
- Double getMontantTarifByQuantite(Double quantite, FProduitfini produitfini)
<T extends ILigneFactureEtCommande & TarifMontantPrixQuantite> T getTarifByLigne(T ligne)
<T extends ILigneFactureEtCommande & TarifMontantPrixQuantite> T getTarifByLigne(T ligne, TarifVente tarif)
<T extends ILigneFactureEtCommande & TarifMontantPrixQuantite> List<TarifVente> findTarifs(T ligne)
Copyright © 2016. All rights reserved.