Pohoda Integration¶
Stormware Pohoda is a Czech accounting and ERP system. MultiFlexi applications can integrate with Pohoda via its XML/mServer interface.
Overview¶
Pohoda exposes a TCP/IP XML interface through its companion service
mServer. Applications send XML request documents and receive XML response
documents over a persistent connection. MultiFlexi provides the
multiflexi-mserver credential type so that any application can reference
a Pohoda mServer endpoint without hardcoding connection details.
Installation¶
sudo apt install multiflexi-mserver
Credential Fields¶
Variable |
Description |
|---|---|
|
Hostname or IP address of the Pohoda mServer |
|
TCP port (default |
|
Company registration number (IČO) identifying the Pohoda company database |
|
Pohoda user login |
|
Pohoda user password |
Assigning the Credential to a RunTemplate¶
multiflexi-cli run-template:assign-credential --id=<runtemplate_id> --credential_id=<credential_id>
Application Development¶
Applications that work with Pohoda data typically use the php-pohoda-connector library. Credential variables are injected as standard environment variables into the job process:
$connector = new \Pohoda\Connector(
getenv('POHODA_HOST'),
(int) getenv('POHODA_PORT'),
getenv('POHODA_ICO'),
getenv('POHODA_USERNAME'),
getenv('POHODA_PASSWORD')
);
See Also¶
MultiFlexi Credential Management System — how credential types work in MultiFlexi
Credential Management — credential architecture overview