-
Notifications
You must be signed in to change notification settings - Fork 2
Migration from Rocket Web
This package consolidates legacy Rocket Web connector components into one module, MageOS_NetSuiteConnector, with the MageOS\NetSuiteConnector namespace. Composer replacement metadata helps resolve dependencies; it does not migrate a working connector installation.
| Surface | Mage-OS Labs version |
|---|---|
| Package | mage-os/module-netsuite-connector |
| Module identity | MageOS_NetSuiteConnector |
| PHP classes |
MageOS\NetSuiteConnector\… with feature directories inside the module |
| Configuration root | mageos_netsuite |
| Admin | Mage-OS → NetSuite configuration; System → NetSuite monitor |
| Custom queue/history |
mageos_netsuite_message, mageos_netsuite_monitor
|
| CLI |
netsuite:* names retained only for commands actually registered here |
| NetSuite custom fields | Many historical custbody_rw_*, custcol_rw_*, and custrecord_rw_* script IDs remain part of the mapping contract |
| Entity links and runtime state | Existing names such as netsuite_internal_id, last-run flags, and var/netsuite paths are retained in several places |
Do not apply a blanket search-and-replace to database values, remote script IDs, or event names.
The reviewed manifest declares replacement of these legacy components:
rocketweb/netsuite-connectorrocketweb/netsuite-connector-customerrocketweb/netsuite-connector-customer-importrocketweb/netsuite-connector-discountrocketweb/netsuite-connector-inventoryrocketweb/netsuite-connector-inventory-multi-managementrocketweb/netsuite-connector-inventory-single-managementrocketweb/netsuite-connector-invoicerocketweb/netsuite-connector-orderrocketweb/netsuite-connector-productrocketweb/netsuite-connector-product-imagesrocketweb/netsuite-connector-queuerocketweb/netsuite-connector-refundrocketweb/netsuite-connector-shipmentrocketweb/netsuite-connector-shipment-multi-sourcerocketweb/netsuite-connector-shipment-single-sourcerocketweb/netsuite-connector-tax
It also replaces paragonie/random_compat and weew/helpers-array because the consolidated code no longer requires those standalone dependencies. Replacement metadata is not a compatibility promise for every third-party module requiring their APIs.
The separate B2B and Import Orders add-ons are not implemented here. Identify any installed modules that require those features before selecting a migration path.
- Inventory installed Rocket Web packages, custom plugins/preferences, event observers, SuiteScripts, NetSuite custom fields, saved searches, mappings, and scheduler entries.
- Preserve the application's exact code and lockfile, configuration, database, media, connector queue/history, NetSuite identity links, last-run flags, and product search state. Record the inverse operation needed to restore the old installation.
- Stop synchronization on the isolated clone before changing packages. Use sandbox credentials and a separate test account where available.
- Compare the old schema and configuration with this package's declarative schema and patches. Design explicit field/table/config mapping with affected counts; no automatic data migration script is supplied.
- Resolve custom PHP dependencies against the new namespace and current class registrations. Retained compatibility class names can be wrappers whose plugins no longer intercept the registered implementation.
- Preserve and validate entity NetSuite IDs. Losing order or invoice links can create duplicate remote transactions; losing product links can block exports or attach data to the wrong item.
- Reconcile outstanding queues and uncertain remote writes before restarting. Do not run both implementations against the same orders or shared inventory without a deliberately tested transition.
- Run the complete acceptance scenarios in Testing and validation, including inventory compensation and recovery. Approve an exact production cutover and rollback separately.
Disabling integration is not sufficient to remove the module's MSI plugins or its disabled source-deduction observer. Test the actual enabled-module configuration during both migration and rollback.
Sources: Composer replacements, module identity, schema, setup patches, DI registrations, inventory compatibility wrapper, current reservation handler.
Mage-OS Labs · Source · Reviewed commit fec65e2 · September 9, 2026 · Validation and limitations
Mage-OS NetSuite Connector
Setup
Data flows
Operations and development