deleteFile

從預設上傳位置、收件匣或寄件匣、資料管理資料夾或從 profitinbox/profitoutbox 刪除檔案或快照。

若要從預設上傳位置以外的位置刪除檔案,您必須指定檔案位置。

如果在進行產生或封存程序時執行此命令以刪除快照,您將會收到以下其中一個錯誤:

  • 找不到檔案 - 如果正在產生快照,會收到此錯誤 (找不到檔案)
  • Archieve process is in progress. Unable to Rename or Delete - 如果正在封存快照,會收到此錯誤 (封存程序正在進行中。無法重新命名或刪除)

適用於

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

必要角色

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

用法

epmautomate deleteFile FILE_NAME

註:

您必須指定檔案名稱 (包含副檔名);例如,data.csvdata.zip (如果適用)。您可以刪除快照,而不指定其副檔名 (.ZIP)。但是,此用法已過時。如果檔案不在預設位置,您應該指定檔案的位置。如需詳細資訊,請參閱預設檔案位置。支援的位置包括 inboxprofitinboxoutboxprofitoutboxto_be_importedinbox/directory_name

範例

  • 從預設上傳位置刪除檔案:

    epmautomate deleteFile data.csv

  • 從收件匣中刪除檔案:

    epmautomate deleteFile inbox/data.csv

  • 從寄件匣刪除檔案:

    epmautomate deleteFile outbox/data.csv

  • 刪除使用移轉建立的快照:
    • epmautomate deleteFile "Backup 18-06-12.zip"
    • epmautomate deleteFile "Backup 18-06-12" (已過時)
  • 從 Profitinbox 刪除 (Profitability and Cost Management):

    epmautomate deleteFile profitinbox/data.csv

  • 從 Profitoutbox 刪除 (Profitability and Cost Management):

    epmautomate deleteFile profitoutbox/data.csv

  • 資料管理上傳資料夾刪除:

    epmautomate deleteFile inbox/dm_data/data.csv

  • 資料管理資料夾刪除:

    epmautomate deleteFile outbox/dm_data/data.csv