CData Python Connector for NetSuite

Build 25.0.9440

CreateSchema

Produces a schema file outlining the structure of the specified table or view, supporting data analysis and integration.

CreateSchema

データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。

スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。

本製品 はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリが本製品 のデータモデルに追加されます。

Input

Name Type Description
TableName String The name of the table or view for which the schema will be generated. Provide the exact name as it appears in NetSuite.
FileName String The complete file path and name for the generated schema. Start by selecting a parent directory set in the Location property. Then, append a directory matching the schema type (such as SuiteTalk), followed by a .rsd file named after the target table. For example: 'C:\\Users\\User\\Desktop\\NetSuite\\SuiteTalk\\table.rsd'

Result Set Columns

Name Type Description
FileData String The binary content of the generated schema file, returned only if FileName and FileStream are not provided.
Result String Indicates whether the schema generation was successful or failed.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440