Version: eXtendMultiFulfillment 1.0.1 and above
Audience: Administrator, Developer

Overview

Use this to copy additional fields from the original/source item fulfillment to the multi-fulfillment records created by the eXtendMultiFulfillment process. This lets you set those field values once on the source item fulfillment and have them carried forward to the generated records.

Prerequisites

  • Ability to edit SuiteScript files in your account.
  • You know the NetSuite field IDs you want to copy.

Configuration

By default, eXtendMultiFulfillment copies the Transaction Date and Status fields from the original/source item fulfillment to the generated multi-fulfillment records.

To copy additional fields from the source item fulfillment transaction, add the field IDs to the bodyFields and/or columnFields arrays in suite_multifulfillment_fields.js (SuiteScripts → eXtendTech file cabinet folder).

Set body-level fields

Add body (header) field IDs to bodyFields.

Set line-level fields

Add line (column) field IDs to columnFields.

Example

/**
 * @NModuleScope Public
 */
define([], function () {
  var bodyFields = [
    'trandate',
    'shipstatus'
  ];

  var columnFields = [
    // Add line-level field IDs here
  ];

  return {
    bodyFields: bodyFields,
    columnFields: columnFields
  };
});

Frequently Asked Questions (FAQs)

Q: What values go in bodyFields and columnFields?
A: Use NetSuite field IDs (not field labels).

Q: Do I need to include Transaction Date and Status in the arrays?
A:
No. Those fields are copied by default.