Customer Refund

The internal ID for this record is customerrefund.

For help working with this record in the UI, see Customer Refunds.

See the SuiteScript Records Browser for all internal IDs associated with this record.

Note:

For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser in the NetSuite Help Center.

For information about scripting with this record in SuiteScript, see the following help topics:

Supported Script Types

The customer refund record is scriptable in server SuiteScript only.

Supported Functions

The customer deposit record is fully scriptable. It can be created, updated, copied, deleted, and searched using SuiteScript.

Usage Notes

The following table provides usage notes for specific fields on this record.

Field Internal ID

Field UI Label

Note

Body Fields

ccnumber

Credit Card #

To prevent users from accessing sensitive information such as password and credit card data, this field cannot be read in beforeSubmit user event scripts for external role users (for example, shoppers, online form users (anonymous users), customer center).

estgrossprofit

Est. Gross Profit

When this field is on the body of the form in edit mode, this field is scriptable and can be returned in a transaction search.

When this field appears on the sublist line level, this field is not scriptable.

estgrossprofitpercent

Est. Gross Profit Percent

When this field is on the body of the form in edit mode, this field is scriptable and can be returned in a transaction search.

When this field appears on the sublist line level, this field is not scriptable.

totalcostestimate

Est. Extended Cost

When this field is on the body of the form in edit mode, this field is scriptable and can be returned in a transaction search.

The Deposits sublist is a list sublist.

Using the Payee Address Sublist

As of 2019.2, payee address data is stored in a subrecord instead of a text field. On the Customer Refund form in the UI, address information is now displayed in a sublist instead of a single field. SuiteScript includes specialized APIs that you must use to script with subrecord data. You should use these subrecord APIs to script with payee address data.

For details about scripting subrecords with SuiteScript 2.x, see:

Warning:

This change may impact existing scripts that reference customer refund payee address data. You should review these scripts to determine whether updates are needed.

Related Topics

Customer Refunds
Working with the SuiteScript Records Browser
SuiteCloud Supported Records
Transactions

General Notices