Hello;
We have adopted, against my will, the CEGID Maunfacturing PMI software (Version 16-20) but we do not have a PDM or ERP to make the link between our Solidworks achievements and the purchases and orders made on PMI...
So I find myself trying to create an intermediate interface between our two software via the VBA/Excel/SmartBom tools (visiativ).
Overall I can't get by too badly but I stumble on a bone:
I try to call the " Purchase Orders " of the selected Item from my interface:
I manage to display the Item Sheet:
Private Const CHEMIN_CEGID As String = "C:\Program Files (x86)\Cegid\ManufacturingPMI\ManufacturingPMI.exe"
Private Const CEGID_SOC As String = "100" ' numero de societe
Private Const CEGID_USER As String = "****" ' code utilisateur
Private Const CEGID_BASE As String = "PMI" ' nom de la base
Private Const CEGID_CC_DEFAUT As String = "" ' CC envoye si l'article n'a pas de complementaire ("" = pas de CC)
Private Const CEGID_CC_ARTICLE As Boolean = True ' True : CC = complementaire de l'article ; False : toujours CEGID_CC_DEFAUT
Private Const CEGID_MODE_TEST As Boolean = False ' True : affiche la commande au lieu de la lancer
' Bouton 1 - fiche article. VALIDE : PROG=ARTICLE affiche la fiche avec son code.
Private Const CEGID_PROG_FICHE As String = "ARTICLE"
Private Const CEGID_MODELE_FICHE As String = "ARTICLE={ARTICLE} CC={CC} APPELANT=COMMANDE"
But for the "Supplier Order" sheet... nothing, nada, wallooo.
The meagre information I managed to find on the CEGID forum (no new message for 6 years) is contained in the attached pdf file, but there, once again, I can't find what I'm looking for.
Cegid-PMI-Liste-des-appel-Programme.pdf (524.2 KB)
I understand that I am targeting a niche market for this specific case, but if anyone ever has a flash of genius on this subject, or is confronted with the same situation (unlikely case I admit) I am willing to discuss the subject.
Regards.