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

# NSQuoteVersionWorkflowState

> Information about possible button actions for the quote version dialog.

Information about possible button actions for the quote version dialog.

## Constructors

### NSQuoteVersionWorkflowState()

```crmscript theme={null}
NSQuoteVersionWorkflowState
```

Initializes a new instance of the NSQuoteVersionWorkflowState class.

## Methods

## GetActionButtons()

```crmscript theme={null}
NSQuoteVersionButtonState[] GetActionButtons()
```

**Returns:** [CRMScript.NetServer.NSQuoteVersionButtonState](CRMScript.NetServer.NSQuoteVersionButtonState)\[] - Array of visible buttons with defined actions in the quote version dialog.

**Example:**

```crmscript theme={null}
NSQuoteVersionWorkflowState thing;
NSQuoteVersionButtonState[] actionButtons = thing.GetActionButtons();
```

## GetStateImage()

```crmscript theme={null}
NSQuoteVersionButtonState GetStateImage()
```

**Returns:** [CRMScript.NetServer.NSQuoteVersionButtonState](CRMScript.NetServer.NSQuoteVersionButtonState) - Information about the state image for the current quote version.

**Example:**

```crmscript theme={null}
NSQuoteVersionWorkflowState thing;
NSQuoteVersionButtonState stateImage = thing.GetStateImage();
```

## GetStatus()

```crmscript theme={null}
NSQuoteVersionStatusInformation GetStatus()
```

**Returns:** [CRMScript.NetServer.NSQuoteVersionStatusInformation](CRMScript.NetServer.NSQuoteVersionStatusInformation) - Status information for the Quote Version.

**Example:**

```crmscript theme={null}
NSQuoteVersionWorkflowState thing;
NSQuoteVersionStatusInformation status = thing.GetStatus();
```

## GetUpdatePricesButton()

```crmscript theme={null}
NSQuoteVersionButtonState GetUpdatePricesButton()
```

**Returns:** [CRMScript.NetServer.NSQuoteVersionButtonState](CRMScript.NetServer.NSQuoteVersionButtonState) - Information about the action for the update prices button.

**Example:**

```crmscript theme={null}
NSQuoteVersionWorkflowState thing;
NSQuoteVersionButtonState updatePricesButton = thing.GetUpdatePricesButton();
```

## SetActionButtons(NSQuoteVersionButtonState\[])

```crmscript theme={null}
Void SetActionButtons(NSQuoteVersionButtonState[] actionButtons)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersionWorkflowState thing;
NSQuoteVersionButtonState[] actionButtons;
thing.SetActionButtons(actionButtons);
```

## SetStateImage(NSQuoteVersionButtonState)

```crmscript theme={null}
Void SetStateImage(NSQuoteVersionButtonState stateImage)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersionWorkflowState thing;
NSQuoteVersionButtonState stateImage;
thing.SetStateImage(stateImage);
```

## SetStatus(NSQuoteVersionStatusInformation)

```crmscript theme={null}
Void SetStatus(NSQuoteVersionStatusInformation status)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersionWorkflowState thing;
NSQuoteVersionStatusInformation status;
thing.SetStatus(status);
```

## SetUpdatePricesButton(NSQuoteVersionButtonState)

```crmscript theme={null}
Void SetUpdatePricesButton(NSQuoteVersionButtonState updatePricesButton)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSQuoteVersionWorkflowState thing;
NSQuoteVersionButtonState updatePricesButton;
thing.SetUpdatePricesButton(updatePricesButton);
```


## Related topics

- [NSQuoteAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteAgent.md)
- [Get Quote Version Workflow State](/en/api/reference/restful/agent/quote_agent/get-quote-version-workflow-state.md)
- [Get Quote Version Workflow Button States](/en/api/reference/restful/agent/quote_agent/get-quote-version-workflow-button-states.md)
- [Get Quote Version Workflow Image State](/en/api/reference/restful/agent/quote_agent/get-quote-version-workflow-image-state.md)
- [SuperOffice.WebApi.Data.QuoteVersionWorkflowState](/en/api/reference/webapi/SuperOffice.WebApi.Data.QuoteVersionWorkflowState.md)
- [SuperOffice.WebApi.Data.Quote GetQuoteVersionWorkflowStateRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_GetQuoteVersionWorkflowStateRequest.md)
