Usm bgbilling EN: различия между версиями
Нет описания правки |
Нет описания правки |
||
Строка 11: | Строка 11: | ||
'''Current version:''' See page: [[Modules_EN|Modules]] | '''Current version:''' See page: [[Modules_EN|Modules]] | ||
'''Module Status:''' [https://www.userside.eu/en/pricing Paid | '''Module Status:''' [https://www.userside.eu/en/pricing Paid] | ||
For more information and a list of imported data, see the page: [[BGBilling_EN|BGBilling]] | For more information and a list of imported data, see the page: [[BGBilling_EN|BGBilling]] | ||
== Information on installing the module == | |||
'''Make sure that the php_mysqli library is present on the system where the module will run''' | |||
The usm_bgbilling.zip archive contains the files | |||
usm_bgbilling.php | |||
usm_bgbilling.conf.php-example | |||
1. On any server ''(no difference - billing server, userside or third machine)'' allocate a separate ''(random)'' directory for the module and place these files in it | |||
2. Allocate a separate directory for the module logs. Give write permissions to this directory. | |||
3. Rename the example configuration file usm_bgbilling.conf.php-example to usm_bgbilling.conf.php and make the required changes ''(the list of parameters is given below)'' in it | |||
4. Run the module manually several times (*) with the command | |||
php usm_bgbilling.php | |||
It should work without error and return data: | |||
usm_bgbilling | |||
==================================== | |||
Start module at 2015-11-22 17:32:03 | |||
Finish module at 2015-11-22 17:32:14 | |||
==================================== | |||
''* - At the first run - many objects will be pre-created only. The more objects the module imports - the longer it will take. The second and further runs will reconcile the changed data and only these will be updated. The second run will also take a long time, because after the first run the newly created objects do not contain any data. But the third and further runs will run much faster.'' | |||
5. Visually verify the completeness of the imported data in the ERP "UserSide" | |||
6. When it is clear that the module works stably - add it to the system cron for periodic operation ''(specify the necessary paths)'' | |||
*/10 * * * * php usm_bgbilling.php | |||
== Parameters == | |||
The module is configured in the '''usm_bgbilling.conf.php''' file | |||
You can also use the default parameters from the [[usm_billing_EN#Configuration Parameters|usm_billing]] module |
Версия от 14:25, 28 сентября 2023
This function is one of the possibilities |
usm_bgbilling - module for organising the import of data from the BGBilling billing system into ERP UserSide
This module is a replacement for the deprecated us_bgbilling module - See: Migration from us bgbilling to usm bgbilling
Module Language: PHP
Current version: See page: Modules
Module Status: Paid
For more information and a list of imported data, see the page: BGBilling
Information on installing the module
Make sure that the php_mysqli library is present on the system where the module will run
The usm_bgbilling.zip archive contains the files
usm_bgbilling.php usm_bgbilling.conf.php-example
1. On any server (no difference - billing server, userside or third machine) allocate a separate (random) directory for the module and place these files in it
2. Allocate a separate directory for the module logs. Give write permissions to this directory.
3. Rename the example configuration file usm_bgbilling.conf.php-example to usm_bgbilling.conf.php and make the required changes (the list of parameters is given below) in it
4. Run the module manually several times (*) with the command
php usm_bgbilling.php
It should work without error and return data:
usm_bgbilling ==================================== Start module at 2015-11-22 17:32:03 Finish module at 2015-11-22 17:32:14 ====================================
* - At the first run - many objects will be pre-created only. The more objects the module imports - the longer it will take. The second and further runs will reconcile the changed data and only these will be updated. The second run will also take a long time, because after the first run the newly created objects do not contain any data. But the third and further runs will run much faster.
5. Visually verify the completeness of the imported data in the ERP "UserSide"
6. When it is clear that the module works stably - add it to the system cron for periodic operation (specify the necessary paths)
*/10 * * * * php usm_bgbilling.php
Parameters
The module is configured in the usm_bgbilling.conf.php file
You can also use the default parameters from the usm_billing module