CreateSchema
Generates a schema definition of a table in Oracle Fusion Cloud Procurement, supporting consistent data structures.
CreateSchema
データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。
スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。
本製品 はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリが本製品 のデータモデルに追加されます。
Input
| Name | Type | Description |
| TableName | String | The name of the table for which the schema is being generated. This input is used to specify the table whose structure needs to be defined in the schema. |
| SchemaName | String | The name of the schema to which the table belongs. This input helps define the database context in which the table's schema will be created. |
| FileName | String | The full file path and name of the schema to generate (for example, 'C:\\scripts\\Accounts.rsd'). This input is used to specify where the generated schema file should be saved. |
| SimplifyNames | String | Determines whether to output simplified column names in the generated schema. By default, this is set to simplify the names for easier reading and use. |
Result Set Columns
| Name | Type | Description |
| Result | String | Indicates whether the schema was successfully generated and downloaded. This output helps confirm whether the schema creation process completed without errors. |
| FileData | String | The generated schema encoded in Base64 format. This output is returned only if neither 'FileName' nor 'FileStream' is specified, providing the schema data in a portable, encoded format. |