Use the Rollback Invoices command line utility to roll back the most recent invoices for all the accounts defined by invoice group (-g groupname). You can optionally limit the rollback to only the accounts in a specific business unit ( -b businessunitid). This utility runs in batch.
Note: The rollback works only for invoices that were created by a successful invoice bill run for the invoice group.
The syntax for using the rollback.bat (Windows) command follows.
rollback -g groupname -b businessunitid
Specifies the name of the invoice group that defines the accounts whose most recent invoices you want to roll back.
Important! This parameter is required.
Specifies the business unit ID of the accounts--in the named invoice group--whose most recent invoices are being rolled back. If you omit this parameter, the most recent invoices for the accounts in the specified invoice group for all business units are rolled back.
For Windows, the rollback.bat file is located in the USM_HOME\accounting\scripts folder.
Examples
The following command rolls back the most recent invoices for all accounts in the InternationalAccounts invoice group, in all business units:
rollback -g InternationalAccounts
The following command rolls back the most recent invoices for only the accounts in the InternationalAccounts invoice group that belong to the ForwardInc business unit:
rollback -g InternationalAccounts -b ForwardInc
Copyright © 2013 CA.
All rights reserved.
|
|