> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upflow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# NetSuite - Common error messages and solutions

> Reference of frequent NetSuite integration errors in Upflow with concrete fixes, covering concurrency limits, permissions, and sync issues you may hit.

#### In this article, you will find the most common error message you can come across when using our NetSuite integration.

To easily find the error you're looking for, we recommend using Command or Control + F on your keyboard, and keywords from your error.

## Concurrency limits

If you're facing concurrency limits with Upflow, we might need you to:

* Confirm how many are allocated to Upflow
* To increase them

#### Solution

| Step                                                                                  | Screenshot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| In NetSuite, go to the **Manage Integrations** page                                   | <img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487770530449.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=1bf96823c2f0a5143bd9f5338a454a4c" width="320" alt="NetSuite global search for Manage Integrations" data-path="images/45487770530449.png" />                         |
| Click on **Upflow SuiteApp**                                                          | <img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487770630929.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=b43193b95903dd65a55afe9dd33b9943" width="640" alt="Integrations list with Upflow SuiteApp row" data-path="images/45487770630929.png" />                             |
| Send us the same screenshot from your instance                                        | <img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487775137297.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=e6a115399276f3954d53f69ffbfe278a" width="640" alt="Integration detail view for Upflow SuiteApp" data-path="images/45487775137297.png" />                            |
| Then, click on **Edit**                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Add the concurrency limit value to the **Concurrency limit** field and click **Save** | <img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487761175185.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=36324f38b0588b73d5112ab02d62416c" width="640" alt="Editing the Concurrency limit field on the Upflow SuiteApp integration" data-path="images/45487761175185.png" /> |

***

## You cannot edit this transaction.

#### This is likely because the accounting period is closed

#### Error messages

* You cannot edit this transaction. This is likely because the accounting period is closed, or you do not have sufficient permissions.
* You do not have permissions to edit this transaction.,Are you sure you want to enter an unapplied payment for this customer?

#### Explanation

This error occurs when Upflow can't update a transaction in NetSuite, often due to restrictions on modifying older transactions or closed accounting periods.

#### Potential solutions

1. **In NetSuite:** go to **Setup > Accounting > Manage Accounting Periods**.
2. **Edit Period:** Find and edit the accounting period for the transaction's date.
3. **Enable Non-G/L Changes:** Check the "Allow Non-G/L Changes" box within the period settings.

***

## Payment/Payout sync issue

### Unsynced payout

If a payout hasn't been synced to NetSuite yet, the first step is to try to Export it back to NetSuite.

From your Payouts list view, click the payout's three dots, then Export back to NetSuite:

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487743001105.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=ea32dc902f30d0e2d498ab76f422340c" width="320" style={{ width:"37%" }} data-path="images/45487743001105.png" />

It will then be either successful (nothing else to do), or fail.

### Payout sync error/failure

If a payout is flagged as unsynced or shows an error, hover over the Error message (on the payout or related transactions(s) for more information, and if the related message isn't present in this article, contact our Support team for more insights.

### Payment export error

You can identify payment export errors from your Payments list view, by filtering on "NetSuite status contains Error". Then hover over the Error status to know more, or add the column "NetSuite message" to display the error reason.

Once you've fixed the cause in NetSuite or Upflow, head back to the payments list, and click "Export back to NetSuite". The status should turn from Error to Succeeded.

If it fails again, or displays a default error message such as "We couldn't export this payment to NetSuite. Please contact [support@upflow.io](mailto:support@upflow.io)." or "Synchronization failed. Please contact [support@upflow.io](mailto:support@upflow.io)", then please contact us with as much details as possible from the button at the top right.

***

## Unable to set the payment method

#### Error messages

* Unable to set the payment method. Please remove this optional setting in Upflow or change your NetSuite settings.
* You do not have permission to set a value for element paymentmethod due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.

#### Explanation

This error occurs when the element payment method is required when creating or editing a transaction in NetSuite (e.g. payment or refund). This is often related to global settings or custom forms.

#### Solutions

Option 1) Remove the payment method from the Upflow configuration: `/settings/payments-by-upflow`

Option 2) Edit the preferred form in NetSuite to show the payment method

* Find the Preferred Form set for your users or for the Upflow basic role
* Edit the preferred form such that payment methods are `shown`
  * Navigate to screen Fields > Payment Method > Show ✔️

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487771049361.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=24fff4eabfddef7d36dd150c8b8d5e76" width="320" data-path="images/45487771049361.png" />

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487775799697.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=b9ad55b120aff48e539deea9dd6047f3" width="602" data-path="images/45487775799697.png" />

***

## Application failed due to insufficient invoice balance

#### Error messages

* Application failed due to insufficient invoice balance. Adjust the invoice in NetSuite or check for duplicate payment syncs.
* Unable to find a matching line for sublist apply with key: \[doc,line] and value: \[1634092,null].

#### Explanation

This error message indicates a problem with applying a transaction in NetSuite due to a discrepancy in the amounts.

#### Solution

The invoice you are attempting to apply the payment to has an insufficient "Amount Remaining." The invoice's remaining balance must be equal to or greater than the payment amount. The error \[ID] such as "4629556" corresponds to the internal ID of the affected invoice in NetSuite. To fix this, adjust the invoice in NetSuite to ensure its "Amount Remaining" is sufficient to cover the payment.

⚠️ Note that this issue is often caused by duplicate payment applications, for example, in the presence of both Upflow and SuiteSync data synchronization. In this case, you will need to delete or reverse the duplicates

***

## Required fields missing in NetSuite: "Department, Class, Location".

This error occurs if "Department, Class, Location" are set as mandatory classifications in NetSuite.

#### Solution

Ensure that Departments are not a mandatory classification in NetSuite:

1. In NetSuite, go to Setup > Accounting > **Accounting Preferences**
2. Under Classifications, disable **Make Departments Mandatory**

***

## Required fields missing in NetSuite: Refund method. Please remove mandatory settings.

This error occurs if the refund form used by the integration user/role has mandatory fields in NetSuite that the Upflow integration doesn't support.

#### Solution

Ensure the "preferred forms" used by the "Upflow Basic Role" don't require a mandatory refund method:

1. In NetSuite, go to Customization > Forms > Transaction Forms.
2. Create a custom refund form by clicking "Customize" next to NetSuite's "Standard Customer Refund" form.
3. Give the custom form a name, and make sure it is assigned as "preferred" for the "Upflow Basic Role" in the "Roles" tab:

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487761912209.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=acb6a9147667e7f64aa67fbc4f96890c" width="640" data-path="images/45487761912209.png" />

Then, in the Screen Fields > Refund Method tab, make sure "Refund Method" is not mandatory:

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487776234513.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=2e16896ee367a8e067eb920b084a19bd" width="640" style={{ width:"70%" }} data-path="images/45487776234513.png" />

Save the custom form, and re-sync the refund manually from Upflow using the manual "Export back to NetSuite" functionality:

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487762139153.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=3e19d5358fd2ad8b00e75236beb31aaa" width="320" style={{ width:"36%" }} data-path="images/45487762139153.png" />

which may take a few seconds to display when you refresh your page.

***

## Record has been locked by a user-defined workflow

#### Explanation

The root cause is a "lock" on such records in your NetSuite instance, somewhere inside a workflow.

#### Solution

The fix is very quick & easy with the following steps:

1. Go to your Lock Record workflow action and click on the condition button.
   <img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487776504849.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=efce5c271bf6367e952d522a9e305470" width="640" data-path="images/45487776504849.png" />
2. Set the fields below:
   * Field: User Role
   * Compare Type: None Of
   * Selection: Upflow Basic Role
     <img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487743950225.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=20fa5323079cd9afa97a9f9048ed56fd" width="320" data-path="images/45487743950225.png" />
3. Save. The workflow action will not execute anymore when the User Role viewing the record is an Upflow Basic Role.
4. Once this is done, [contact our Support team](https://support.upflow.io/hc/en-us/requests/new) so we can run a quick check on your data sync.

***

## You cannot make changes to this period without the Allow Non-G/L Changes permission

If you see the following error on a recent payout or transaction, you must enable the "Allow Non-G/L Changes" option in NetSuite for your payment to be re-exported successfully.

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487788065041.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=8ebbdb0a76e068e411450c49ef3735c8" width="320" style={{ width:"48%" }} data-path="images/45487788065041.png" />

Once this is done, head back to Upflow and export the transactions back to NetSuite:

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487788163601.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=ecdc4168e680db929a3654af65169090" width="320" style={{ width:"48%" }} data-path="images/45487788163601.png" />

***

## Error while accessing a resource (...)

<img src="https://mintcdn.com/upflow-04dc27cd/8J-Jf3EzWBUuWUtX/images/45487805772561.png?fit=max&auto=format&n=8J-Jf3EzWBUuWUtX&q=85&s=8a4cd0268870f36c68f203d09e12b3a1" width="320" style={{ width:"56%" }} data-path="images/45487805772561.png" />

***Error while accessing a resource. You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist.***

#### Explanation

This is most likely due to one (or more) payment/refund of the payout being already deposited and preventing the deposit from being created. This is usually because the GL account used is not UNDEPOSITED FUNDS.

#### Solution

1. Check NetSuite records to see if a payment/refund is posted on a Bank GL account or on undeposited funds.
2. Manually change the GL account of the payment/refund so that it is undeposited in NetSuite
3. Retry the payment export or delete it if it was manually created in NetSuite in the meantime.

<img src="https://mintcdn.com/upflow-04dc27cd/2qhrUMUVDO3Bt9n_/images/45487743001105.png?fit=max&auto=format&n=2qhrUMUVDO3Bt9n_&q=85&s=ea32dc902f30d0e2d498ab76f422340c" width="320" style={{ width:"43%" }} data-path="images/45487743001105.png" />

Any questions, feedback, or error messages that are not listed here? Please [submit a Support request](https://support.upflow.io/hc/en-us/requests/new).
