public interface SocieteService extends IService, ServiceWithLastCreatedRecordSearch
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_ID |
| Modifier and Type | Method and Description |
|---|---|
TNumparsoc |
creerNumParSoc(TNumparsoc bean)
Création d'un bean NumParSoc
|
CtxSociete |
creerSociete(CtxSociete context)
Creation d'une societe
|
List<TPSociete> |
findAll()
Retourne toutes les sociétés
|
List<TExerc> |
findAllExercicesBySociete(String codeSociete)
Recherche de tous les exercices d'une Société
|
List<TExerc> |
findExercicesOuvertsBySociete(String codeSociete)
Returns the list of financial years which are opened at the current date for the company in parameter.
|
String |
getNextNumeroAuxilAndIncrement(Double identSociete,
TypeCompteAuxiliaire type)
Return the current number of auxiliary account and automatically increment it
|
TParstdParam |
getParamArreteSociete(TPSociete societe) |
TParstdParam |
getParamIcs(TPSociete societe) |
TPSociete |
getSocieteByCode(String code)
Retourne la Société dont le code est passé en paramétre.
|
CtxSociete |
initCtxSociete() |
boolean |
isExerciceExisteByDate(Date dateRef)
Retourne vrai s'il existe dans la base de données un exercice correspondant à la date passée en paramétre
|
boolean |
isExerciceOuvertBySociete(String codeSociete,
String codeExercice)
Retourne vrai si l'exercice passé en paramétre est ouvert pour la Société
|
boolean |
isNumerotationAutoAuxilCli(Double identSociete)
Numérotation automatique du client
|
boolean |
isNumerotationAutoAuxilFou(Double identSociete)
Numérotation automatique du fournisseur
|
boolean |
isNumerotationAutoAuxilPer(Double identSociete)
Numérotation automatique du personnel
|
boolean |
isNumerotationAutoAuxilPro(Double identSociete)
Numérotation automatique du prospect
|
TPSociete |
loadByCode(String code)
Charge la société avec son site et adresse
|
TNumAuxil |
loadBySocieteAndType(Double identSociete,
TypeCompteAuxiliaire type)
Returns the bean of numerotation of auxiliary account which company and the type of numerotation
are the ones in parameter
|
TExerc |
loadExerciceByCodeAndSociete(String codeSociete,
String codeExercice)
Charge l'exercice par son code pour une Société
|
TExerc |
loadExerciceByCodeAndSocieteSansCloture(String codeSociete,
String codeExercice) |
TExerc |
loadExerciceCourantBySociete(String codeSociete)
Return current exerc
|
TExerc |
loadExerciceCourantBySocieteAndDate(String codeSociete,
Date dateRef)
Return current exerc for a date
|
TPSocieteParam |
loadSocieteParamBySociete(Double identSociete)
Returns the company parameter setting of the company given in parameter
|
TPSocieteParam |
loadSocieteParamBySociete(String codeSociete)
Returns the company parameter setting of the company given in parameter
|
TPSociete |
loadSocieteParIdentForConsult(Double ident)
Charge la societe sur l'ident
|
TPSocieteParam |
majSocieteParam(CtxSociete context,
TPSociete bean) |
CtxTNumAuxil |
modifierNumAuxil(CtxTNumAuxil context)
Paramétrage mise à jour de la numérotation automatique des tiers
|
TNumparsoc |
modifierNumParSoc(TNumparsoc bean)
Modification d'un bean NumParSoc
|
CtxSociete |
modifierSociete(CtxSociete context)
Modifier la societe
|
List<TNumparsoc> |
rechercheMultiCritere(NumParSocCriteresRecherche critere)
recherche multi critere de num par soc
|
List<TPSociete> |
rechercheMultiCritereSociete(SocieteCriteresRecherche critere)
Recherche multi-critere des Sociétés
|
void |
supprimerNumParSoc(TNumparsoc bean)
Suppression d'un bean NumParSoc
|
void |
supprimerSociete(CtxSociete context)
Suppression de la Société
|
getServerMessages, resetServerMessagesgetLastCreatedRecordstatic final String SERVICE_ID
TPSociete getSocieteByCode(String code)
code - List<TPSociete> rechercheMultiCritereSociete(SocieteCriteresRecherche critere)
critere - boolean isNumerotationAutoAuxilCli(Double identSociete)
boolean isNumerotationAutoAuxilPro(Double identSociete)
boolean isNumerotationAutoAuxilFou(Double identSociete)
boolean isNumerotationAutoAuxilPer(Double identSociete)
String getNextNumeroAuxilAndIncrement(Double identSociete, TypeCompteAuxiliaire type)
identSociete: - ident of the societytype: - type of auxiliary account ("CLI","FOU",etc...)TExerc loadExerciceByCodeAndSociete(String codeSociete, String codeExercice)
codeSociete - Société de l'exercicecodeExercice - Code de l'exercice à chargerTExerc loadExerciceByCodeAndSocieteSansCloture(String codeSociete, String codeExercice)
codeSociete - codeExercice - List<TExerc> findExercicesOuvertsBySociete(String codeSociete)
codeSociete - Company codeList<TExerc> findAllExercicesBySociete(String codeSociete)
codeSociete - TExerc loadExerciceCourantBySocieteAndDate(String codeSociete, Date dateRef)
codeSociete - dateRef - TExerc loadExerciceCourantBySociete(String codeSociete)
codeSociete - boolean isExerciceExisteByDate(Date dateRef)
dateRef - TNumAuxil loadBySocieteAndType(Double identSociete, TypeCompteAuxiliaire type)
identSociete - Company identifiertype - boolean isExerciceOuvertBySociete(String codeSociete, String codeExercice)
codeSociete - Code Société pour laquelle l'exercice doit etre ouvertcodeExercice - Code exercice à controlerTPSocieteParam loadSocieteParamBySociete(Double identSociete)
identSociete - The company identifierTPSocieteParam loadSocieteParamBySociete(String codeSociete)
codeSociete - The company codeList<TNumparsoc> rechercheMultiCritere(NumParSocCriteresRecherche critere)
critere - TNumparsoc creerNumParSoc(TNumparsoc bean)
bean - TNumparsoc modifierNumParSoc(TNumparsoc bean)
bean - void supprimerNumParSoc(TNumparsoc bean)
bean - CtxSociete creerSociete(CtxSociete context)
context - TPSociete loadSocieteParIdentForConsult(Double ident)
ident - CtxSociete modifierSociete(CtxSociete context)
context - TPSocieteParam majSocieteParam(CtxSociete context, TPSociete bean)
context - bean - void supprimerSociete(CtxSociete context)
context - CtxTNumAuxil modifierNumAuxil(CtxTNumAuxil context)
context - TPSociete loadByCode(String code)
code - de la sociétéTParstdParam getParamArreteSociete(TPSociete societe)
societe - TParstdParam getParamIcs(TPSociete societe)
CtxSociete initCtxSociete()
Copyright © 2016. All rights reserved.