purgeTmTransactions

Account Reconciliation 中移除配對的交易。

適用於

Account Reconciliation

必要角色

服務管理員超級使用者使用者檢視者

具備超級使用者使用者檢視者預先定義角色的使用者可能需要取得其他應用程式角色。

用法

epmautomate purgeTmTransactions matchType age [filterOperator=VALUE] [filterValue=VALUE] [logFilename=FILE_NAME],其中:
  • matchType 是指配對類型的 ID (TextID),應從其中刪除配對的交易。
  • age 會識別交易比對後的天數。早於或等於此值的配對交易將被刪除。
  • filterOperator (選擇性) 是以下篩選條件之一,用於識別包含配對交易的科目以進行刪除。此值與 filterValue 搭配使用以識別應從哪一個科目清除配對的交易:
    • equals
    • not_equals
    • starts_with
    • ends_with
    • contains
    • not_contains
  • filterValue (選擇性) 是一個篩選值,用於識別要清除的交易。如果 filterOperatorequalsnot_equals,您可以使用空格分隔的清單來指定多個值;例如,filterValue=101-120 filterValue=102-202。如果指定了多個值,則將選取來自與任何篩選運算子和篩選值組合配對之科目的交易以進行清除。
  • logFilename (選擇性) 是日誌檔的名稱,用於記錄有關命令活動的資訊。如果未指定檔案名稱,則會自動產生名為 PurgeTransactions_JOB_ID 的日誌檔。

Note:

如果未指定 filterOperatorfilterValue,則會從指定 matchType 的所有科目中,清除所有早於或等於 age 的配對交易。

範例

  • 清除 180 天或更早,且配對類型為 cashrecon 的配對交易:

    epmautomate purgeTMTransactions cashrecon 180 logFile=tmlogs.log

  • 為科目 101-120102-202 清除 180 天或更早,且配對類型為 cashrecon 的配對交易:

    epmautomate purgeTMTransactions cashrecon 180 filterOperator=equals filterValue=101-120 FilterValue=102-202

  • 針對任何包含字串 11 的科目,清除 180 天或更早,且配對類型為 cashrecon 的配對交易:

    epmautomate purgeTMTransactions cashrecon 180 filterOperator=contains filterValue=11