CreateSchema
Builds a schema file for a specified table or view, supporting documentation and metadata-driven development.
CreateSchema
データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。
スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。
connector はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリがconnector のデータモデルに追加されます。
Input
| Name | Type | Description |
| TableName | String | The name of the table or view. |
| FileName | String | The name of the schema file that is generated, leaving this field blank returns a base64 encoded binary output. To change the default schema directory, update the Locations property Ex : Locations='C:\\Users\\User\\Desktop\\SageIntacct\\CustomSchemaDirectory\\'. |
| DocParId | String | Name of a document type. Used to retrieve custom fields for that document type |
Result Set Columns
| Name | Type | Description |
| Result | String | Returns Success or Failure. |
| FileData | String | The generated schema encoded in base64. Only returned if FileName is not set. |