# Microsoft Dynamics 365 Finance & Operations

> Query and manage public Finance and Operations data entities using your environment’s OData catalog.

App · 7 actions. Web page: https://docs.lodol.com/docs/integrations/microsoft-dynamics-365-finance-operations

## Actions

### Create record

Create a record in a Finance and Operations data entity from the field values you give. Returns the new record.

**Inputs**

- Entity (`entity`, text, required): Entity.
- Record (`record`, object, required): Record.

**Outputs**

- `data` (object): Microsoft Dynamics 365 Finance & Operations response data.

**Example output**

```json
{
  "data": {}
}
```

### Delete record

Delete one record from a Finance and Operations data entity, by its primary key values.

**Inputs**

- Entity (`entity`, text, required): Entity.
- Key (`key`, object, required): Primary key fields and values from your entity metadata, for example {"dataAreaId":"USMF","CustomerAccount":"C-001"}.

**Outputs**

- `data` (object): Microsoft Dynamics 365 Finance & Operations response data.

**Example output**

```json
{
  "data": {}
}
```

### Get record

Get one record of a Finance and Operations data entity by its primary key values. Returns the record's fields.

**Inputs**

- Entity (`entity`, text, required): Entity.
- Key (`key`, object, required): Primary key fields and values from your entity metadata, for example {"dataAreaId":"USMF","CustomerAccount":"C-001"}.

**Outputs**

- `data` (object): Microsoft Dynamics 365 Finance & Operations response data.

**Example output**

```json
{
  "data": {}
}
```

### List entities

List the data entities available in the Finance and Operations environment, such as customers or vendors. Returns each entity's name, which the record actions need.

**Inputs**: None.

**Outputs**

- `data` (object): Microsoft Dynamics 365 Finance & Operations response data.

**Example output**

```json
{
  "data": {
    "value": []
  }
}
```

### List entity fields

Read field names, types and primary keys from the environment’s OData metadata.

**Inputs**

- Entity (`entity`, text): Entity.

**Outputs**

- `data` (object): Microsoft Dynamics 365 Finance & Operations response data.

**Example output**

```json
{
  "data": {
    "fields": []
  }
}
```

### List records

List records of one Finance and Operations data entity, with an optional filter, sort order, chosen fields and records from all legal entities. Returns the matching records.

**Inputs**

- Entity (`entity`, text, required): Entity.
- Top (`top`, number): Top. From 1 to 1000. Default: `100`.
- Next page token (`skiptoken`, text): Use next_page_token from the preceding result; leave empty for the first page.
- Filter (`filter`, text): Filter.
- Cross company (`cross_company`, true/false): Cross company.
- Select (`select`, text): Select.
- Order by (`order_by`, text): Order by.

**Outputs**

- `data` (object): Microsoft Dynamics 365 Finance & Operations response data.

**Example output**

```json
{
  "data": {
    "@odata.nextLink": "example",
    "next_page_token": "example",
    "value": []
  }
}
```

### Update record

Change the named fields of one Finance and Operations record, found by its entity and primary key values.

**Inputs**

- Entity (`entity`, text, required): Entity.
- Key (`key`, object, required): Primary key fields and values from your entity metadata, for example {"dataAreaId":"USMF","CustomerAccount":"C-001"}.
- Changes (`changes`, object, required): Changes.

**Outputs**

- `data` (object): Microsoft Dynamics 365 Finance & Operations response data.

**Example output**

```json
{
  "data": {}
}
```
