Nama ERP DocsNama ERP Docs
Home
Namasoft.com
Data Model
GitHub
Home
Namasoft.com
Data Model
GitHub
  • Home

    • Search
    • Guides

      • List Views
      • Entity Flows
      • الفواتير والضرائب والخصومات
      • Supply Chain
      • Manufacturing
      • e-commerce integration (Magento)
      • .
    • Examples
    • Reprocessing Transactions
    • Frequently Asked Questions
    • AI Generated Entity Flows Documentation

      • Core
      • Accounting Module
      • AI Module
      • Contracting Module
      • CRM Module
      • EGTax Reader Module
      • Freight Management System Module
      • Hospital Management System Module
      • HR Module
      • e-commerce Integration Module

        • EAEcommerceAddItemToLinker
        • EAEcommerceGuessItemBySKU
        • EAEcommerceReadAbandonedCarts
        • EAEcommerceReadOrders
        • EAEcommerceReadOrdersFromDate
        • EAEcommerceShippingHandler
        • EAEcommerceUploadQuantityCSVFileToFTPServer
        • EASalesRecalculateFreeAndRelatedItems
        • .
      • Manufacturing Module
      • POS Module
      • Real Estate Module
      • Service Center Module
      • Supply Chain Module
      • .
    • Release Notes

      • 2016
      • 2017
      • 2018
      • 2019
      • 2020
      • 2021
      • 2022
      • 2025
      • .
    • Video Tutorials

      • Supply Chain Videos
      • Report Wizard Videos
      • Human Resources Videos
      • .

EAEcommerceShippingHandler

This document was generated using Claude.ai

Overview

Handles e-commerce shipping operations for supply chain documents through configured shipping sites. Processes various shipping requests including order creation, updates, cancellations, and status checks via integrated shipping APIs.

When This Action Runs

Manual execution on supply chain documents that require shipping integration. Typically used during order fulfillment processes when shipments need to be created, updated, or tracked through third-party shipping providers.

How It Works

  1. Validates document type - Ensures the document is a supply chain document (BasicSCDocument)
  2. Finds shipping site - Locates the EcommerceShippingSite using the provided site code
  3. Creates request info - Packages document and parameters into shipping request structure
  4. Validates request type - Ensures the request parameter is supported
  5. Delegates to site - Calls the shipping site's handleRequest method
  6. Processes response - Handles results and any errors from the shipping operation

Parameters

Parameter 1: Site Code (Required) - Code of the EcommerceShippingSite to use for shipping

Parameter 2: Request Parameter (Required) - Type of shipping operation to perform

Parameter 3: Default Customer Email (Optional) - Fallback email for shipping notifications

Parameter 4: Default Shipping Note (Optional) - Default note to include with shipments

Parameter 5: Refresh Token (Optional) - Authentication token for API access

Parameter 6: Magento Order Number Tempo (Optional) - Template for extracting Magento order numbers

Parameter 7: Invoice Code Template (Optional) - Template for generating invoice codes

Parameter 8: Count Items Query (Optional) - SQL query executed per line for item counting

Parameter 9: Send Warehouse From Line (Optional) - true/false to include warehouse info from line

Parameter 10: Send Warehouse From Header (Optional) - true/false to include warehouse info from header

Parameter 11: Order ID From Tempo (Optional) - Tempo template to directly set the shipping order ID. When provided, this takes highest priority over other order ID resolution methods (such as sales code or Invoice Code Template)

Parameter 12: Ref1 Tempo (Optional) - Tempo template to directly set the Ref1 field. When provided, this takes highest priority over the default Ref1 resolution (Magento Source ID or Magento Order Number Tempo)

Parameter 13: Delivery Slot Date Field (Optional) - Field ID on the document to read the delivery slot date from. Directly sets the shipping order's delivery slot date from the specified field. Note: This must be a date field

Supported Request Parameters

  • HEALTH_CHECK_REQUEST - Check API connectivity and status
  • CREATE_ORDER_REQUEST - Create new shipping order
  • CREATE_PICKUP_ORDER_REQUEST - Create pickup order for returns
  • UPDATE_ORDER_REQUEST - Update existing shipping order
  • CANCEL_ORDER_REQUEST - Cancel shipping order
  • ORDER_HISTORY_REQUEST - Retrieve order history and status

Module: magento

Full Class Name: com.namasoft.modules.magento.utils.EAEcommerceShippingHandler

Edit On github
Last Updated:: 1/15/26, 5:42 PM
Prev
EAEcommerceReadOrdersFromDate
Next
EAEcommerceUploadQuantityCSVFileToFTPServer