55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
|
|
||
|
INFOGREFFE
|
||
|
----------
|
||
|
|
||
|
Document
|
||
|
AC =>
|
||
|
BI =>
|
||
|
ST =>
|
||
|
|
||
|
File name pattern
|
||
|
|
||
|
AC => acte-[siren]-[type]-[YYYYMMdd]-[num].pdf
|
||
|
siren = [0-9]{9}
|
||
|
type =
|
||
|
num = [0-9]{2}
|
||
|
|
||
|
Files are store in actes/YYYY/MM/filename.pdf
|
||
|
|
||
|
BI => bilan-[siren]-[type]-[YYYYMMdd].pdf
|
||
|
siren = [0-9]{9}
|
||
|
type = [consolide|sociaux]
|
||
|
|
||
|
Files are store in bilans/[type]/[YYYY];
|
||
|
|
||
|
ST => statut-
|
||
|
|
||
|
Files are store in status/
|
||
|
|
||
|
Configuration
|
||
|
-------------
|
||
|
|
||
|
Add to the main configuration (application.ini), these keys :
|
||
|
- infogreffe.cache.path => path for storing cache file
|
||
|
- infogreffe.cache.time => define end of life for the cache in hours
|
||
|
- infogreffe.storage.path =>
|
||
|
|
||
|
- infogreffe.wsdl = infogreffe.wsdl
|
||
|
- infogreffe.url = https://webservices.infogreffe.fr/WSContextInfogreffe/INFOGREFFE
|
||
|
- infogreffe.uri = https://webservices.infogreffe.fr/
|
||
|
- infogreffe.user = 85000109
|
||
|
- infogreffe.password = 166
|
||
|
|
||
|
|
||
|
|
||
|
- Rattraper l'historique des documents et les liés à jo.greffes_bilans et jo.greffes_actes
|
||
|
Attention : Type de document 1 et 2
|
||
|
Vérifier que nous possèdons le maximum d'infos sur l'association type 1 et 2
|
||
|
Sinon passer une moulinette, pour chaque siren, récupérer la liste et analyse avec la table actes_files
|
||
|
|
||
|
jo.greffes_actes : Ajout d'une colonne type_acte2
|
||
|
|
||
|
Il est possible sans le type de trouver le fichier
|
||
|
|
||
|
SELECT siren, count(siren) as nb FROM `actes_files` WHERE `type_libelle` = '' GROUP BY siren ORDER BY nb DESC
|