Problem
When you open an eXtendFiles approval link for an order, the approval page shows files from other orders too. Files uploaded to the new order appear alongside files from earlier orders.
This usually happens on repeat orders that were created with NetSuite's Make Copy action.
Cause
NetSuite's Make Copy copies body field values from the original order to the new one, including the eXtendFiles approval UUID. Orders copied this way share the same UUID.
If your email template or form uses the Files Approval URL Prefix field (custbody_extend_approval_url), the link relies only on the UUID. The approval page then loads every order that shares that UUID.
Solution
Note: These steps apply when you use the default approval fields on Estimates (Quotes) and Sales Orders. If you use approvals on other record types or use alternative fields, check your eXtendFiles Configuration for the fields that apply to you.
Starting in eXtendFiles 1.9, eXtendFiles clears the configured Public Upload, Approval, and file reference fields when you copy a record. Each copied order gets its own UUID and approval link. No setup is needed. See eXtendFiles 1.9 Release Notes.
Use the Files Approval URL field
We recommend using the Files Approval URL field (custbody_extend_approval_url_formula) in all approval emails and forms. This field adds the record ID and record type to the link, so the approval page always loads the correct order, even when the UUID is shared. The page also loads faster.
| Field | Field ID | Example link |
| Files Approval URL Prefix | custbody_extend_approval_url | …/v1/approval/order/<UUID> |
| Files Approval URL | custbody_extend_approval_url_formula | …/v1/approval/order/<UUID>?id=<id>&rectype=<rectype> |
To update an email template:
- Go to Documents → Templates → Email Templates.
- Edit the template you use to send approval links.
- Replace
${transaction.custbody_extend_approval_url}with${transaction.custbody_extend_approval_url_formula}. If the link also ends with?id=${transaction.id}&rectype=${transaction.type}, remove that part, since the new field already includes it. - Click Save.
To update a transaction form:
- Go to Customization → Forms → Transaction Forms and edit the form.
- On the Screen Fields subtab, show Files Approval URL and hide Files Approval URL Prefix.
- Click Save.
Frequently Asked Questions (FAQs)
Q: Does upgrading to eXtendFiles 1.9 fix orders I copied before the upgrade?
A: No. Those orders keep the shared UUID. Send their approval links with the Files Approval URL field instead.
Q: Does this also work with the eXtendOrders Copy Order button?
A: Yes. In eXtendFiles 1.9 and above, the fields are cleared for both NetSuite's Make Copy and the eXtendOrders Copy Order button.
Q: Does Make Copy uncheck the Files Generate Approval URL checkbox?
A: No. The checkbox stays checked so eXtendFiles generates a new approval link on the copied order.