archiveTmTransactions

封存帳齡等於或早於指定帳齡的配對交易,包括支援和調整詳細資料。配對的交易會記錄在 ZIP 檔中。

您可以使用此命令根據您組織的交易保留原則,將舊的配對交易封存後再清除,讓 Account Reconciliation 應用程式大小保持在最佳狀態。

適用於

Account Reconciliation

必要角色

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

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

用法

epmautomate archiveTmTransactions matchType age [filterOperator=VALUE][filterValue=VALUE] [logFilename=FILE_NAME] [filename=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。如果指定多個值,則會從符合任何篩選運算子和篩選值組合的科目選取交易來進行封存。

    Note:

    如果未指定 filterOperatorfilterValue,則會從指定 matchType 的所有科目中,封存所有早於或等於 age 的配對交易。
  • logFilename (選擇性) 是日誌檔的名稱,用於記錄有關命令活動的資訊。如果未指定檔案名稱,則會自動產生名為 Archive_Transactions_matchType_JOBID.log 的日誌檔。
  • filename (選擇性) 是應包含所封存交易的 .ZIP 檔案名稱。如果未指定,則命令預設會建立 Archived_Transactions_matchType_JOBID.zip。請使用 downloadFile 命令將此檔案下載到本機電腦。

Note:

此命令會使用您指定的參數執行「封存 TM 交易」工作。命令輸出中會傳回工作 ID 以便與 purgeArchivedTmTransactions 命令搭配使用。您可以從「工作主控台」監視工作。

範例

  • 不使用篩選條件但使用自訂日誌和 .ZIP 檔案名稱來封存舊的配對交易:

    epmautomate archiveTmTransactions cashrecon 180 logFile=tmlogs.log filename=trans.zip

  • 使用篩選條件來封存舊的配對交易:
    • epmautomate archiveTmTransactions cashrecon 180 filterOperator=equals filterValue=101-120 FilterValue=102-202

    • epmautomate archiveTmTransactions cashrecon 180 filterOperator=contains filterValue=11