Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Charting Folder | Summary of Elements in this Folder | wm.tn.charting:purgeTransactionSummaryData
 
wm.tn.charting:purgeTransactionSummaryData
Purges records from the dashboard tables.
Input Parameters
afterDays
String The time frame to consider before purging records from the dashboard tables. This service purges records starting from the first record up to all records present in the table n days prior to the current day, where n is the number of days you specify for the parameter.
For example, if afterDays = 5, this service purges all records starting from the first record up to all records present in the table 5 days prior to the current day. For more details about purging records, see Usage Notes.
Output Parameters
success
String Whether the records are purged. Valid values are:
*true - Records are successfully purged.
*false - Error occurred while purging records from the table.
Usage Notes
If afterDays = 5, current date is September 05, 2014, and if the service is run at 10:40 GMT, the service purges all records starting from the first record up to the records present in the table until 10.29 GMT of August 31st, 2014. The records whose timestamp is between 10.30 GMT and 10:40 GMT of August 31st are retained in the table because the purge service purges records on a half hour basis.