Skip to main content
Version: Current

Branches

Overview

The NetSuite Branches integration synchronizes branch and warehouse location data from NetSuite custom records to Zudello, enabling multi-location inventory and operational management.

Integration Details:

  • Direction: NetSuite → Zudello (📥 Inbound)
  • Sync Type: Incremental
  • Sync Frequency: Every 4 hours
  • API Used: SuiteQL (Custom Records)
Key Benefits
  • Centralized branch management across systems
  • Supports custom branch attributes
  • Enables location-based reporting
  • Maintains branch hierarchies and relationships

Field Mappings

NetSuite FieldZudello FieldDescriptionData Type
custrecord_branch_codeBranchCodeUnique branch identifierString
nameBranchNameBranch display nameString
custrecord_branch_typeTypeBranch classification (warehouse/retail/office)String
isinactiveStatustrue = INACTIVE, false = ACTIVEString
custrecord_branch_addressAddressPhysical addressString
custrecord_branch_phonePhoneContact phone numberString
custrecord_branch_managerManagerIdBranch manager referenceString
custrecord_branch_regionRegionRegional classificationString

API Configuration

SuiteQL Query Structure

The integration queries NetSuite custom record tables to retrieve branch data with support for incremental updates based on modification timestamps.

Authentication

  • Method: Token-based Authentication (TBA)
  • Required Permissions:
    • Custom Records (View)
    • Lists → Locations (View)
    • Custom Record Type: Branch (View)

Sync Configuration

Incremental Sync Logic

The integration maintains sync efficiency through timestamp-based incremental updates:

  • Initial sync retrieves all branch records
  • Subsequent syncs only fetch records where lastmodifieddate > last sync timestamp
  • Handles both new branches and updates to existing branches
  • Inactive branches remain in the system with updated status

Data Transformation

  • Status Conversion: NetSuite boolean isinactive (T/F) → Zudello string status (INACTIVE/ACTIVE)
  • Type Standardization: Maps custom branch types to standard classifications
  • Reference Resolution: Converts NetSuite internal IDs to business identifiers

Processing Logic

  1. Query Execution: Retrieve modified branch records from custom tables
  2. Data Enrichment: Resolve related data (manager names, regions)
  3. Validation: Ensure branch codes are unique and required fields present
  4. Type Classification: Apply standard branch type categories
  5. Status Management: Update active/inactive flags based on source
  6. Relationship Mapping: Link branches to organizational hierarchy

Troubleshooting

IssuePossible CauseSolution
Branches not syncingCustom record permissionsVerify role has custom record access
Missing branch dataCustom field accessCheck field-level permissions
Duplicate branchesBranch code changesImplement code change tracking
Region mapping errorsInvalid region valuesReview region lookup tables
Performance degradationLarge custom record setOptimize query with filters