Skip to main content

Fulfillment import - Magento 2

[missing screenshot: confluence_logo_new.png]

Order fulfillment should happen in NetSuite. You can fulfill the order one or more times, each fulfillment being imported as a shipment in Magento. Tracking information is also passed back to Magento. See order export for how to configure tracking.

Shipments should never be created manually in Magento if order fulfillment import is on. They will not be exported to NetSuite and cause inconsistencies.


 Shipments can also import tracking numbers from the standard carrier & tracking number ItemFulfilment fields. The NetSuite/Magento mapping is defined by the "Mapping between Magento Tracking number types and Netsuite shipping methods" connector setting.


Events:

Event nameData
netsuite_item_fulfillment_import_process_before
netsuite_shipping - NS \Record
netsuite_item_fulfillment_import_save_before
netsuite_shipping - NS \Record
magento_shipping - Magento shipment object


Temado Extension

In 2.2 these fields are set to '', because otherwise shipment won't save:

$extensionAttributes->setExtShipmentId('');
$extensionAttributes->getExtLocationId('');
$extensionAttributes->getExtTrackingUrl('');
$extensionAttributes->getExtTrackingReference('');


Note:

Shipments are imported only when lastModifiedDate of the record is greater than last_import_date shipment attribute.