
Ds_customer_a Database Table
Fields
- Cid
- #100, Datatype: Integer
- physkey
- #101, Datatype: String 44 bytes
- CalcDt
- #102, Datatype: DateTime
- FirstSaleDt
- #130, Datatype: DateTime
- LastSaleDt
- #131, Datatype: DateTime
- TotalSales
- #132, Datatype: Integer
Total number of individual sales transactions to this customer. This includes non sales such as account payments - TotalProductSales
- #133, Datatype: Integer
Total number of sales transactions to this customer excluding sales that are only account payments or similar. - ParetoRankTurnover
- #134, Datatype: Integer
Pareto style rank of this customer using raw turnover - ParetoRankSales
- #135, Datatype: Integer
Pareto style rank of this customer using raw number of product sales - ParetoRankGP
- #136, Datatype: Integer
Pareto style rank of this customer using raw gross profit - TotalProductSalesValue
- #137, Datatype: Money/Currency
Raw total of sales transactions to this customer excluding items that are only account payments or similar. - PredictedNextSaleDt
- #140, Datatype: DateTime
When is the next sale expected. Financial only sales are not included in this calculation - PredictedNextSaleMethod
- #141, Datatype: Integer
Method used to estimate the next sale date - PredictedNextSaleAlpha
- #142, Datatype: Double
Alpha component of prediction. Valid only for some estimation methods - PredictedNextSaleBeta
- #143, Datatype: Double
Beta component of prediction. Valid only for some estimation methods - StoreCount
- #150, Datatype: Integer
Number of different stores customer has shopped at (excluding financial type sales) - StoreMostFrequent
- #151, Datatype: Integer
The store the customer has used the most - StoreMostRecent
- #152, Datatype: Integer
The most recent store the customer used - StoreMostFrequentCount
- #153, Datatype: Integer
The number of visits to most frequent store - StoreMostRecentCount
- #154, Datatype: Integer
The number of visits in consequative order to the most recent store - gp
- #160, Datatype: Money/Currency
Total gross profit - SaleLinesTotal
- #200, Datatype: Integer
Total number of individual sale lines over all non financial sales. This figure isn't especially useful by itself as how sales are processed can affect this number, but it is required to create percentages from some of the other statistics - SaleLinesDiscounted
- #201, Datatype: Integer
Number of salelines that had a discount applied - SaleLinesPricemap
- #202, Datatype: Integer
Number of salelines that used a pricemap - SaleLinesMarkdown
- #203, Datatype: Integer
Number of salelines for items that were being sold using markdown pricing - SaleLinesKits
- #204, Datatype: Integer
Number of salelines that used a kit/combo offer