# Get Record

> `UiPath.OracleNetSuite.Activities.GetRecord`

`UiPath.OracleNetSuite.Activities.GetRecord`

The **Get Record** activity uses the the NetSuite [get](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3488543.html) operation to retrieve a specific record (**internalid**).

After retrieving the record, the activity outputs the record details in a `DataRow` object (**Results**) and the status of the request (success/failure information) in a `ResponseStatus` object (**NetSuiteStatus**).

## How it works

The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/netsuite-setup) steps.
2. Add the [Oracle NetSuite Application Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/oracle-netsuite-scope) activity to your project.
3. Add the **Get Record** activity inside the **Oracle NetSuite Application Scope** activity.
4. Click the **Configure** button inside the **Get Record** activity (this opens the **Object Wizard**).
5. Select the **Object** that you want to retrieve and enter, at a minimum, the **internalid** of the record.
6. Create and enter a `DataRow` variable and a `ResponseStatus` variable for the **Output** properties.
   * Your input property values are sent to the [get](https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3488543.html) operation.
   * The operation returns the `DataRow` and `ResponseStatus` value to your output property variables.

     ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/legacy-integrations-docs-image-180008-e52436c1-c31495ec.webp)

### In the Body of the Activity

To enter your **Get Record** property values, you must use the **Object Wizard** by clicking the **Configure** button.

To learn more, see the [Wizards](https://docs.uipath.com/activities/other/latest/legacy-integrations/netsuite-about) section in the **About** page.

* **Internalid** - The **internalid** of the NetSuite record that you want to delete
  :::note
  The Record output parameter will return a generic NetSuite `Record` object. You can convert this to a specific NetSuite object by using an Assign Activity. For example if you were retrieving a SupportCase object and your output variable from the NetSuite Get Record activity was named *RecordOuput* , you would use the following as the (**To**) parameter of the Assign Activity: CType(RecordOutput,UiPath.OracleNetSuite.com.netsuite.webservices.SupportCase)
  :::

## Properties

### Common

* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **ResponseStatus** - The status of the request (success/failure information). Enter a `ResponseStatus` variable (*UiPath.BAF.Models.ResponseStatus*). The `ResponseStatus` object includes three properties that you can use in other activities.
  + **Success** - `Boolean` - Specifies whether the API request was successful.
  + **ErrorCode** - `String` - The response error if the API request is unsuccessful (**Success**=*False*).
  + **Message** - `String` - The error message.
