Share via


SalesTable.tmsDisplayRoute Method

Displays the Route associated with the Sales order, if applicable.

Syntax

display TMSRouteCode tmsDisplayRoute()

Run On

ClientOrServer

Return Value

Type: TMSRouteCode Extended Data Type
The Route code if there is only one associated with the order, otherwise an empty string or "Multiple".

Remarks

Unfortunately we cannot cache this display method by either decorating this method with the [SysClientCacheDataMethodAttribute(true)] attribute or adding this method to the cache on the Sales Table Form. Reason behind is that it triggers many database calls for retrieving tmsDisplayRoute data for all Sales orders that are in current query. Instead, custom cache is implemented in the SaleTableForm class.

See Also

Reference

SalesTable Table