---
schema_version: "1"
id: 12c5926b249a624665e372b9c4e18c4fd2e4f442db32d3c8aff4e86a7ef93250
title: NetSuite OpenAir Connector
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/netsuite-openair-connector/latest/index.md
canonical_url: https://docs.mulesoft.com/jp/netsuite-openair-connector/latest/
source_site: docs.mulesoft.com
content_type: documentation
content_hash: e6578e8c1f89fcacdf74de4ec1aa710e898ccb3951266894346f521a989095db
description: MuleSoft Documentation Site
release: "2.0"
latest: true
---
# NetSuite OpenAir Connector

NetSuite OpenAir Connector v2.0

NetSuite OpenAir 用 Anypoint Connector (NetSuite OpenAir Connector) は、クローズドソースエンタープライズコネクタで、OpenAir とサードパーティソフトウェア間の接続を提供します。

リリースノート: [NetSuite OpenAir Connector リリースノート](https://docs.mulesoft.com/jp/release-notes/connector/netsuite-openair-connector-release-notes-mule-4)​  
Exchange: [NetSuite OpenAir Connector](https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule-netsuite-openair-connector/)

## [](#始める前に)始める前に

この情報を使用するには、NetSuite OpenAir、Mule Runtime Engine (Mule)、Anypoint Connector、Anypoint Studio、Mule の概念、Mule フローの要素、グローバル要素に精通している必要があります。

このコネクタを使用するには次が必要です。

- NetSuite OpenAir インスタンス
- ユーザー名、パスワード、会社 ID、API 名前空間、キーを含む有効なログイン情報セット。
- MuleSoft Enterprise ライセンス

OpenAir 複合型は、一部の OpenAir 操作に制限されています。 オブジェクト種別については、OpenAir ドキュメントを参照してください。たとえば、オブジェクト ​`oaActualCost`​ は ​`read`​、​`add`​、​`modify`​、​`upsert`​ の各メソッドで使用できますが、オブジェクト ​`oaApproval`​ を使用できるのは ​`submit`​ メソッドのみです。

## [](#pom-ファイル情報)POM ファイル情報

```xml
<dependency>
  <groupId>com.mulesoft.connectors</groupId>
  <artifactId>mule-netsuite-openair-connector</artifactId>
  <version>x.x.x</version>
  <classifier>mule-plugin</classifier>
</dependency>
```

`x.x.x`​ を使用しているコネクタに対応するバージョンに置き換えます。

最新の ​`pom.xml`​ ファイル情報を取得するには、​ [Anypoint Exchange](https://www.mulesoft.com/exchange/)​ でコネクタにアクセスし、​**\[Dependency Snippets (連動関係スニペット)\]**​ をクリックします。

### [](#互換性)互換性

OpenAir Connector は、次のものと互換性があります。

<table class="tableblock frame-all grid-all fit-content spread">
<colgroup>
<col>
<col>
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">アプリケーション/サービス</th>
<th class="tableblock halign-left valign-top">バージョン</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Mule</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">EE 4.1.0 以降</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Anypoint Studio</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">7.1 以降</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">Java</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">JDK 8</p></td>
</tr>
</tbody>
</table>

## [](#プロジェクトへのコネクタの追加)プロジェクトへのコネクタの追加

Anypoint Studio には、Studio プロジェクトにコネクタを追加する 2 つの方法があります。Studio タスクバーの Exchange ボタンから追加するか、\[Mule Palette (Mule パレット)\] ビューから追加します。

### [](#exchange-を使用してコネクタを追加する)Exchange を使用してコネクタを追加する

1. Studio で Mule プロジェクトを作成します。
2. Studio タスクバーの左上にある Exchange アイコン ​**(X)**​ をクリックします。
3. Exchange で、​**\[Login (ログイン)\]**​ をクリックし、Anypoint Platform のユーザー名とパスワードを指定します。
4. Exchange で、「OpenAir」を検索します。
5. コネクタを選択して ​**\[Add to project (プロジェクトに追加)\]**​ をクリックします。
6. 画面の指示に従ってコネクタをインストールします。

### [](#studio-でコネクタに追加する)Studio でコネクタに追加する

1. Studio で Mule プロジェクトを作成します。
2. \[Mule Palette (Mule パレット)\] ビューで、​**\[(X) Search in Exchange ((X) Exchange 内を検索)\]**​ をクリックします。
3. **\[Add Modules to Project (モジュールをプロジェクトに追加)\]**​ で、検索項目に「OpenAir」と入力します。
4. **\[Available modules (使用可能なモジュール)\]**​ で、このコネクタの名前をクリックします。
5. **\[Add (追加)\]**​ をクリックします。
6. **\[Finish (完了)\]**​ をクリックします。

## [](#studioconfig)Studio で設定する

1. コネクタ操作を Studio キャンバスにドラッグします。
2. コネクタのグローバル要素を設定します。
    
    ![\[Account (アカウント)\] タブの \[Global Element Properties (グローバル要素プロパティ)\] ウィンドウ](_images/netsuite-openair-anypoint-config.png)
3. 必要に応じて接続を設定します。
    
    ![\[Connection (接続)\] タブの \[Global Element Properties (グローバル要素プロパティ)\] ウィンドウ](_images/netsuite-openair-anypoint-connect.png)
    
    1. 自動再接続機能を有効にします。
    2. Studio から OpenAir グローバル要素の設定ウィンドウにアクセスします。
    3. **\[Advanced (詳細)\]**​ タブ (\[Connection (接続)\] の横) をクリックします。
    4. \[Reconnection Strategy (再接続戦略)\] で、​**\[Standard (標準)\]**​ オプションを選択します。
    5. **\[Frequency (ms) (頻度 (ミリ秒))\]**​ 項目と ​**\[Reconnection Attempts (再接続試行回数)\]**​ 項目を適宜調整します。

## [](#http-要求と応答の記録)HTTP 要求と応答の記録

コネクタと NetSuite OpenAir の HTTP インタラクションを記録するには、Mule アプリケーションの log4j2.xml ファイルを次のように設定し、プロジェクトで Logger コンポーネントを使用して結果を表示します。

```xml
<AsyncLogger name="org.mule.service.http" level="DEBUG"/>
```

## [](#関連情報)関連情報

- [NetSuite OpenAir SOAP API Guide (NetSuite OpenAir SOAP API ガイド) (PDF)](http://www.openair.com/download/NetSuiteOpenAirSOAPAPIGuide.pdf)
- [MuleSoft ヘルプセンター](https://help.mulesoft.com)