MCRSalesStatsCustTable::salesStatsAffected Method
Invoiced sales lines will affect the stats for a given customer, therefore, this customer's stats should be flagged as dirty so the user knows the stats may not be current when they are viewing at them.
Syntax
client server public static void salesStatsAffected(CustAccount _custAccount, [boolean _updateOrderDates])
Run On
Called
Parameters
- _custAccount
Type: CustAccount Extended Data Type
Mark the passed in parameter's customer sales statistics as dirty.
- _updateOrderDates
Type: boolean
When the parameter is true, the system will update the first and last order dates on the customer statistics.