CreateSchema
Generates schema definitions for tables in Oracle Fusion Cloud SCM manufacturing.
CreateSchema
データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。
スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。
本製品 はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリが本製品 のデータモデルに追加されます。
Input
| Name | Type | Description |
| TableName | String | Specifies the name of the table for which the schema is generated. This should match the table name in the database. |
| SchemaName | String | Defines the name of the schema that contains the table. Use the exact schema name from the database. |
| FileName | String | The complete file path and name where the generated schema is saved (for example, 'C:\\scripts\\Accounts.rsd'). This field takes priority for file-based outputs. |
| SimplifyNames | String | Indicates whether column names should be simplified in the output. By default, names are simplified to remove special characters or formatting. |
Result Set Columns
| Name | Type | Description |
| Result | String | Returns a success or failure status indicating whether the schema generation process completed successfully. |
| FileData | String | Provides the generated schema encoded in Base64 format. This output is available only if FileName and FileStream are not specified. |