purgeTmTransactions

Account Reconciliation 中删除匹配的事务。

适用于

Account Reconciliation

所需角色

服务管理员超级用户用户查看者

具有超级用户用户查看者预定义角色的用户可能需要其他应用程序角色。

用法

epmautomate purgeTmTransactions matchType age [filterOperator=VALUE] [filterValue=VALUE] [logFilename=FILE_NAME],其中:
  • matchType 是应删除匹配事务的匹配类型的标识符 (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 的所有匹配事务。

示例

  • 为匹配类型 cashrecon 清除 180 天或更早的匹配事务:

    epmautomate purgeTMTransactions cashrecon 180 logFile=tmlogs.log

  • 为帐户 101-120102-202 清除匹配类型 cashrecon180 天或更早的匹配事务:

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

  • 为包含字符串 11 的任何帐户清除匹配类型 cashrecon180 天或更早的匹配事务:

    epmautomate purgeTMTransactions cashrecon 180 filterOperator=contains filterValue=11