The following table delineates the Transaction Detail summary.
Only create record if individual_id is available, bill_to_email_id (since anonymous TRN are useless for RPI) to safe space.
Table name: dbo.TRANSACTION_DETAIL_SUMMARY
|
Column name |
Column description |
Data type |
Business rule |
|---|---|---|---|
|
|
Uniquely identifies transaction detail record at the line item level. |
|
Distinct |
|
|
Date time when transaction occurred. |
|
|
|
|
Uniquely identifies transaction such as RETAIL SALES, RETAIL RETURNS, WEB SALES, WEB RETURNS. |
|
|
|
|
Transaction number at the source system. |
|
|
|
|
Either web order id of the customer's order generated by eCommerce system or a combination of transaction ID, store ID, and other data that makes a purchase unique within POS system. |
|
|
|
|
Transaction number generated by POS system. |
|
|
|
|
Register identifier used for placing an order. |
|
|
|
|
Uniquely identifies a Location where transaction took place (location can be a store or website). |
|
|
|
|
Transaction number at the source system. |
|
|
|
|
Defines the type of location (could have more types). Examples:
|
|
|
|
|
Location's city name. |
|
|
|
|
Location's postal code. |
|
|
|
|
Location's postal code. |
|
|
|
|
Latitude of the store where transaction took place. |
|
|
|
|
Longitude of the store where transaction took place. |
|
|
|
|
Location's state code. |
|
|
|
|
Location's country code. |
|
|
|
|
Value that uniquely identifies invoice in the fulfillment system. |
|
|
|
|
Identifies unique association between an individual and business unit. |
|
|
|
|
Uniquely identifies a type of transaction. Examples:
|
|
|
|
|
Numeric ID of the source of this record. |
|
|
|
|
Name ID of the source of this record. |
|
|
|
|
Feed ID of the transaction header record. |
|
|
|
|
Name of the system that is the authoritative data source for the transaction. |
|
|
|
|
Uniquely identifies the individual associated with transaction. |
|
|
|
|
Identifies unique association between an individual and business unit associated with transaction. |
|
|
|
|
The age of the individual associated with transaction, calculated at the time the summary record created. |
|
Calculated based upon birthdate AS |
|
|
A code that identifies individual's gender ( |
|
Join to |
|
|
Date of birth of the individual associated with transaction. |
|
Join to |
|
|
Identifies customer profile associated with transaction. |
|
|
|
|
Identifies customer profile within legacy system associated with transaction. |
|
|
|
|
Identifies customer account associated with transaction. |
|
|
|
|
Identifies customer account within legacy system associated with transaction. |
|
|
|
|
Identifies loyalty account associated with transaction. |
|
|
|
|
Identifies loyalty account within legacy system associated with transaction. |
|
|
|
|
Uniquely identifies bill to email associated with transaction. |
|
|
|
|
An email domain is the web address that comes after the |
|
|
|
|
ISO standard code for bill to email. |
|
|
|
|
Uniquely identifies the standardized phone or fax number. |
|
|
|
|
Bill to city or local name. |
|
|
|
|
Bill to postal code. |
|
|
|
|
Latitude of bill to address. |
|
|
|
|
Longitude of bill to address. |
|
|
|
|
ISO standard code for bill to country. |
|
|
|
|
Standard 2-character country code for bill to cell phone number. |
|
|
|
|
Customer's bill to cell phone number, including area code. |
|
|
|
|
Standard 2-character country code for bill to home phone number. |
|
|
|
|
Customer's bill to home phone number, including area code. |
|
|
|
|
Standard 2-character country code for bill to work phone number. |
|
|
|
|
Customer's bill to work phone number, including area code. |
|
|
|
|
Standard 2-character country code for bill to other phone number. |
|
|
|
|
Customer's bill to "other" phone number, including area code. |
|
|
|
|
The type of the phone such as billing, shipping, home, work, primary, mobile, or other, as defined in the reference data worksheet. |
|
|
|
|
Total number of line items included in the transaction. |
|
|
|
|
Standard date of the transaction ( |
|
|
|
|
Number of the fiscal day of the fiscal year. |
|
|
|
|
Fiscal year displayed (e.g., |
|
|
|
|
Fiscal quarter number (i.e., |
|
|
|
|
Fiscal month number ( |
|
|
|
|
Fiscal week number ( |
|
|
|
|
Fiscal week of fiscal year number ( |
|
|
|
|
Total transaction amount in USD. |
|
|
|
|
Total transaction amount in local currency. |
|
|
|
|
Total non-merchandise amount (including GC purchases, Shipping, Restock Fees, etc.), decimal not included, (e.g., $1 = 100) in USD. |
|
|
|
|
Non-merchandise amount (including Shipping and Restock Fee, Delivery Fee, any services fee, etc.) in local currency. |
|
|
|
|
Subtotal amount of the transaction before taxes and fees in USD. |
|
|
|
|
Subtotal amount of the transaction before taxes and fees. |
|
|
|
|
Total amount of all discounts applied for entire purchase in USD. |
|
|
|
|
Total amount of all discounts applied for entire purchase. |
|
|
|
|
Total tax amount in USD. |
|
|
|
|
Total tax amount |
|
|
|
|
Additional tax amount in USD. |
|
|
|
|
Additional tax amount as per source system. |
|
|
|
|
Shipping method used, such as air, ground, store pickup, expedited, etc. |
|
|
|
|
Description of a code that identifies a shipping method used such as air, ground, store pickup, etc. |
|
|
|
|
The ID of an associate who helped/processed customer's transaction. |
|
|
|
|
The code that identifies the original source of the transaction (purchase order), such as a particular call center, particular store (when items were purchased online but from a particular B&M store location), an app, etc. |
|
|
|
|
When customer is also an employee, contains employee number. |
|
|
|
|
The status of the line item. |
|
|
|
|
Line item number identifies transaction's line number that corresponds to the actual line on the receipt where the item appears. |
|
|
|
|
Uniquely identifies a product in Stock-Keeping Unit (SKU) notation. |
|
|
|
|
Uniquely identifies a product in Universal Product Code (UPC) notation. |
|
|
|
|
Item quantity. |
|
|
|
|
Identifies a product in the transaction line; references product hierarchy. |
|
|
|
|
Name of the product. |
|
|
|
|
A description of the product. |
|
|
|
|
Identifies merchandise class that groups similar products together that share specific qualities. For example, women's evening wear can be broken down into floor length dresses and street length dresses. |
|
|
|
|
Name of merchandise class that groups similar products together that share specific qualities. For example, women's evening wear can be broken down into floor length dresses and street length dresses. |
|
|
|
|
A code that identifies business subdivisions. |
|
|
|
|
Description of the division code. |
|
|
|
|
This is a free text field and has no lookups. The data type is |
|
|
|
|
This is a free text field and has no lookups. The data type is |
|
|
|
|
Whatever defines the size in the source system. |
|
|
|
|
Whatever defines the name of the size in the source system. |
|
|
|
|
When |
|
|
|
|
Name of sub-departments, such as outwear in the clothing department. |
|
|
|
|
Descriptive name of sub-department code, such as men's or women's shoes and clothing. |
|
|
|
|
Product status code, such as active, discontinued, pending, etc. |
|
|
|
|
A description of the product status code. |
|
|
|
|
Whatever defines style in the source system. |
|
|
|
|
A description of the product style. |
|
|
|
|
Product material ID. |
|
|
|
|
Defines a product's brand. |
|
|
|
|
A description of the brand. |
|
|
|
|
The type is a classification of the entity. |
|
|
|
|
Product category description. |
|
|
|
|
When |
|
Set to |
|
|
The final price the customer paid, after all markdowns, discounts, or coupons have been applied in USD. |
|
|
|
|
The final price the customer paid, after all markdowns, discounts, or coupons have been applied in local currency. |
|
|
|
|
The price the before markdowns, discounts, or coupons have been applied in USD ( |
|
|
|
|
The price the before markdowns, discounts, or coupons have been applied in local currency ( |
|
|
|
|
Line item total discount amount in USD. For example, $10 discount based on a coupon + $5 based on store sale will be $15. |
|
|
|
|
Line item total discount amount in local currency. For example, $10 discount based on a coupon + $5 based on store sale will be $15. |
|
|
|
|
The cost to produce the SKU in USD. Should be populated 99% of the time; will only be null if merch credit, gift card, MTM, or the like. |
|
|
|
|
The amount of value of an item or a service. |
|
|
|
|
The price in USD originally assigned to an item before any markdowns, discounts, or coupons have been applied. Should be populated 99% of the time; will only be null if merch credit, gift card, MTM, or the like. |
|
|
|
|
The price in USD/CAD originally assigned to an item before any markdowns, discounts, or coupons have been applied. |
|
|
|
|
The price in USD assigned to an item after corporate markdowns, but before discounts or coupons are applied. This is currently |
|
|
|
|
The amount of value of an item or a service. |
|
|
|
|
The amount of value an item or a service in USD. |
|
|
|
|
The amount of value an item or a service per source system. |
|
|
|
|
Additional tax amount in USD. |
|
|
|
|
Additional tax amount as per source system. |
|
|
|
|
When |
|
|
|
|
Unique ID for GCs purchased (only for SVS). Card number for physical or virtual gift card purchase or original order card number for price adjustments and returns. Left-adjusted with trailing blanks. |
|
|
|
|
Taxable status:
|
|
|
|
|
A three-byte code that matches the reason why an item was returned. |
|
|
|
|
Original purchase order ID. |
|
|
|
|
Original transaction location ID in the source system. |
|
|
|
|
Original transaction number. |
|
|
|
|
Date time when original transaction occurred. |
|
|
|
|
Register identifier used for placing an order. |
|
|
|
|
Net price per unit * quantity ordered; for price adjustments only. Decimal not included (i.e., $1 = 100) in USD; may be blank. |
|
|
|
|
Net price per unit * quantity ordered; for price adjustments only. Decimal not included (i.e., 1 = 100); may be blank. |
|
|
|
|
Final price plus discount; for price adjustments only . Decimal not included (i.e., $1 = 100) in USD; may be blank. |
|
|
|
|
Final price plus discount; for price adjustments only. Decimal not included (i.e., 1 = 100); may be blank. |
|
|
|
|
Line item discount amount; for price adjustments only. Decimal not included (i.e., $1 = 100) in USD; may be blank. |
|
|
|
|
Line item discount amount; for price adjustments only. Decimal not included (i.e., 1 = 100); may be blank. |
|
|
|
|
Line item tax amount; for price adjustments only. Decimal not included (i.e., $1 = 100) in USD; may be blank. |
|
|
|
|
Line item tax amount; for price adjustments only. Decimal not included (i.e., 1 = 100); may be blank as per source system. |
|
|
|
|
Line item tax amount; for price adjustments only. Decimal not included (i.e., $1 = 100) in USD; may be blank. |
|
|
|
|
Line item tax amount; for price adjustments only. Decimal not included (i.e., 1 = 100); may be blank as per source system. |
|
|
|
|
Date time when the record was created in the CDP. |
|
|
|
|
Date time when the record was last updated in the CDP. |
|
|