Settings_Wapro_Activation_Model
in package
Activation model class for WAPRO ERP.
Table of Contents
- FIELDS = [['wapro_id', 'MultiCompany', 'LBL_SYSTEM_INFORMATION'], ['wapro_id', 'BankAccounts', 'LBL_CUSTOM_INFORMATION'], ['wapro_id', 'Accounts', 'LBL_ADVANCED_BLOCK'], ['wapro_id', 'Contacts', 'LBL_CUSTOM_INFORMATION'], ['wapro_id', 'Products', 'LBL_PRODUCT_INFORMATION'], ['wapro_id', 'FInvoice', 'LBL_CUSTOM_INFORMATION'], ['wapro_id', 'FCorectingInvoice', 'LBL_CUSTOM_INFORMATION']]
- activate() : bool
- Activate integration, requires creation of additional integration data.
- check() : bool
- Check if the functionality has been activated.
- activateCron() : void
- Activate integration in cron.
- activateInventory() : void
- Activate integration in inventory.
Constants
FIELDS
private
array<string|int, mixed>
FIELDS
= [['wapro_id', 'MultiCompany', 'LBL_SYSTEM_INFORMATION'], ['wapro_id', 'BankAccounts', 'LBL_CUSTOM_INFORMATION'], ['wapro_id', 'Accounts', 'LBL_ADVANCED_BLOCK'], ['wapro_id', 'Contacts', 'LBL_CUSTOM_INFORMATION'], ['wapro_id', 'Products', 'LBL_PRODUCT_INFORMATION'], ['wapro_id', 'FInvoice', 'LBL_CUSTOM_INFORMATION'], ['wapro_id', 'FCorectingInvoice', 'LBL_CUSTOM_INFORMATION']]
Map relation table name
Methods
activate()
Activate integration, requires creation of additional integration data.
public
static activate() : bool
Return values
bool —check()
Check if the functionality has been activated.
public
static check() : bool
Return values
bool —activateCron()
Activate integration in cron.
private
static activateCron() : void
Return values
void —activateInventory()
Activate integration in inventory.
private
static activateInventory() : void