uploadFile

將本機電腦中的檔案上傳到服務。此命令用來上傳包含資料、中繼資料、規則定義、維度定義、對映交易、範本及備份快照的檔案。

此命令不會覆寫環境中的現有檔案。如果上傳之檔案的名稱與上傳位置中檔案的名稱相同,則 EPM Automate 會顯示錯誤。

適用於

PlanningPlanning 模組FreeFormFinancial Consolidation and CloseTax ReportingAccount ReconciliationProfitability and Cost ManagementEnterprise Profitability and Cost ManagementOracle Enterprise Data Management CloudNarrative ReportingSales PlanningStrategic Workforce Planning

必要角色

服務管理員、指派給「移轉管理員」應用程式角色的超級使用者

用法

epmautomate uploadFile "FILE_NAME" [UPLOAD_LOCATION],其中:
  • FILE_NAME 是檔案名稱,而且如果檔案不在您執行的目錄中,則包括絕對路徑 EPM Automate
  • UPLOAD_LOCATION 是 (選擇性) Oracle Enterprise Performance Management Cloud 的位置,您會將檔案上傳到此處。如果要將檔案上傳到預設上傳位置,則請勿指定上傳位置。如需詳細資訊,請參閱預設檔案位置。支援的值包括:
    • inbox 將檔案上傳到收件匣。除了 Profitability and Cost ManagementEPM Cloud 商業程序會在此位置尋找要處理的檔案。
    • profitinbox 上傳檔案以供 Profitability and Cost Management 處理。
    • to_be_imported,上傳 Narrative Reporting 快照,該快照會在環境的下一次每日維護期間匯入。
    • inbox/directory_name,將檔案上傳到收件匣中的目錄,等候資料管理進行處理。
    • outbox,將檔案上傳到商業程序 (不包括 Profitability and Cost Management) 使用的寄件匣。
    • profitoutbox,將檔案上傳至 Profitability and Cost Management 使用的寄件匣。

範例

  • 將快照上傳至預設位置:

    epmautomate uploadFile "C:/snapshots/backup_snapshot.zip"

  • 將檔案上傳至資料管理收件匣:

    epmautomate uploadFile "C:/pbcsdata/quarterlydata.csv" inbox

  • 將檔案上傳至收件箱中的檔案夾 (用於資料管理):

    epmautomate uploadFile "C:/fdmee_data/data.zip" inbox/dm_folder

  • 將檔案上傳至 profitinbox (Profitability and Cost Management):

    epmautomate uploadFile "C:/profitability_data/data.zip" profitinbox

  • Narrative Reporting 快照從 C:\temp 目錄上傳至 to_be_imported 位置:

    epmautomate uploadFile "C:\temp\EPRCS_Backup.tar.gz" to_be_imported