Sample Plugin - Mirror inventory items to another database.

Samples and Examples of using the Jiwa 7 framework - including plugins, stand-alone applications and scripts.

Sample Plugin - Mirror inventory items to another database.

Postby Mike.Sheen » Fri Jun 05, 2015 2:44 pm

In this sample plugin, we push all new and changed inventory items to another Jiwa database.

The plugin introduces 3 system settings to specify the mirror database, and the credentials of the user to use in the mirror database (once the plugin is enabled, find the settings on the "Mirror Inventory Items" of the system configuration form).

All new products and modified products are pushed into the mirror database, in real time as the changes occur.

Where possible, referential data required missing in the mirror database will be created - this includes:
  • Inventory Classifications
  • Inventory Categories
  • Inventory Price Groups
  • Debtor Classifications
  • Debtor Price Groups
  • Regions
  • Creditors
  • Creditor Warehouses

Plugin Mirror Inventory Items.xml
Sample Plugin
(60.14 KiB) Downloaded 195 times
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Return to Samples and Examples

Who is online

Users browsing this forum: No registered users and 1 guest

cron