Version: eXtendFiles 1.9 and above

Audience: User

Overview

When enabled by your NetSuite Administrator, eXtendFiles records can flow along with NetSuite’s transaction flow. For example, a file uploaded to an Opportunity will also be attached to the subsequent Estimate (Quote), Sales Order, and Invoice in the order lifecycle.

Prerequisites

  • Your NetSuite Administrator has turned on Link Files To Related Transactions in eXtendFiles Configuration → eXtendFiles Settings → Authentication & Preferences → Preference Setup.
  • You have access to the relevant transaction records in NetSuite.

Usage

When linked transaction file flow is enabled, files uploaded to a supported transaction can automatically flow forward (and in some cases backward) to directly-linked transactions.

Supported transaction types

  • Opportunity
  • Estimate (Quote)
  • Sales Order
  • Invoice
  • Purchase Order
  • Vendor Bill
  • Vendor Payment

Video demo

In this video demo, you will see how eXtendFiles flow throughout the transaction flow/process.

Additional notes

How file flow works (direct links only)

  • Directly-linked transactions only: Linked transaction file flow follows NetSuite’s direct transaction links forward and backward. For example, a file uploaded to a Purchase Order can flow forward to a Vendor Bill and Vendor Payment, and backward to a directly-linked Sales Order, Estimate (Quote), and Opportunity (when those records are directly linked in the chain).
  • Files will not automatically flow to transactions that are not directly linked to the source transaction. For example, files uploaded to a Purchase Order would not be added to an Invoice created from the Sales Order, because the Invoice is not directly linked to the Purchase Order.
  • If you need file flow across these indirect/branch relationships, a custom implementation project with associated development costs is required.
In addition to the built-in file flow, you can also define your own flows: Configurable Files Flow in eXtendFiles.

When files flow

Files flow at three different times:

  • When you create a linked transaction: When you create a transaction from another one, such as an Invoice from a Sales Order, eXtendFiles links the source transaction's files to the new transaction as soon as you save it. By default, eXtendFiles links up to 20 files right away and links the rest in a background process. Files that are already linked to another transaction of the same type stay where they are.
  • When you upload a file: eXtendFiles links the file back through the transactions that the current transaction was created from. For example, a file uploaded to a Purchase Order links back to the Sales Order, Estimate (Quote), and Opportunity. This also happens when you edit the eXtendFiles record.
  • When you upload a file after a linked transaction already exists: The eXtendTech Files Transform AUT M/R (SCHEDULED) script deployment links the file the next time it runs. How often it runs depends on the schedule set on its script deployment.

Editing a transaction doesn't make files flow.

The scheduled script has these limits:

  • It only processes files that were created or changed yesterday or today. Older files don't flow to transactions created later, unless an administrator sets the date range parameters on the script deployment. Vendor Payments are the exception: when a Vendor Payment changes, the script links the files from the Vendor Bills it pays, however old they are.
  • It only flows a file one step forward from the transaction where it was uploaded. For example, a file uploaded to a Sales Order after its Purchase Order and Vendor Bill exist flows to the Purchase Order, but not to the Vendor Bill.
  • It skips a transaction type when the source transaction has more than one transaction of that type. For example, if a Sales Order already has two Invoices, a file uploaded to the Sales Order flows to neither Invoice.

Current limitation: 1:1 transaction linking

eXtendFiles currently supports 1:1 record linking for linked transaction file flow. For example, if eXtendFiles are added to a Sales Order, it can only link that Sales Order’s eXtendFiles to one Purchase Order.

If there is a 1:N relationship (such as a Sales Order to ten Purchase Orders), the eXtendFiles record will not be automatically linked with subsequent Purchase Orders after the first one.

This limitation is due to the fact that the reference field in eXtendFiles only allows linking with a single transaction (as shown in the example below).


Configurable Files Flow in eXtendFiles has the same 1:1 limitation.

Important notes

  • Sales Order → Purchase Order file flow is supported, but files only flow to the first Purchase Order. Sales Order → Work Order isn't part of Linked Transaction File Flow. You can set it up with Configurable Files Flow in eXtendFiles, where files only flow to the first Work Order. Flowing line-level files to the specific Purchase Orders or Work Orders that contain those items requires a custom implementation project with associated development costs.
  • More complex file flow requirements beyond standard functionality will require custom implementation and associated development costs. Configurable Files Flow in eXtendFiles can handle many standard use cases.
  • File flow functionality only applies to record (body) level uploads, not to line-level uploads.
  • When a NetSuite Sandbox is refreshed from Production, NetSuite automatically resets the deployment status of Map/Reduce scripts to "Not Scheduled" in the Sandbox environment. This is a safety measure to prevent unintended processing, integrations, or automations from running immediately against freshly copied data.
    • To enable file flow functionality in a refreshed Sandbox environment, reschedule the eXtendFiles file flow script deployment:
      • Title: eXtendTech Files Transform AUT M/R (SCHEDULED)
      • Script ID: customdeploy_extend_files_aut_transfer

Frequently Asked Questions (FAQs)

Q: How quickly do files flow to linked transactions?

A: When you create a transaction from another one, the source transaction's files flow to it as soon as you save it. Files you upload after the linked transaction already exists flow the next time the eXtendTech Files Transform AUT M/R (SCHEDULED) script runs. This differs from Configurable Files Flow in eXtendFiles, which links files when they're uploaded.

Q: I uploaded a file to a Sales Order after creating the Invoice. Why hasn't it flowed?

A: Files uploaded after the linked transaction exists flow on the scheduled script's next run. If the file still hasn't flowed after that, check that the Sales Order has only one Invoice. See When files flow.

Q: What happens when a Sales Order has more than one Invoice?

A: Files on the Sales Order flow only to the first Invoice. After a second Invoice exists, the scheduled script doesn't link new Sales Order files to either Invoice.

Q: Why didn't a file on my Purchase Order flow to the Invoice?

A: The Invoice is created from the Sales Order, not the Purchase Order, so the two aren't directly linked. See How file flow works (direct links only).

Q: Do files flow when I edit a transaction?

A: No. Files flow when a linked transaction is created, when a file is uploaded, and when the scheduled script runs.

Q: Can files flow to Item Fulfillments, Item Receipts, or Work Orders?

A: Not with Linked Transaction File Flow. To set up these flows, use Configurable Files Flow in eXtendFiles.

Q: Why aren't any files flowing?

A: Check that Link Files To Related Transactions is turned on in eXtendFiles Configuration → eXtendFiles Settings → Authentication & Preferences → Preference Setup. In a Sandbox, also check that the scheduled script deployment is still scheduled. See Important notes.

Q: Do line-level uploads flow to linked transactions?

A: File flow will process for line-level uploads, but they will be linked at the body (record) level.