CStoreOffice® Support & Learning

Altria Scan Data Program

With this report, you can set up the transaction-level scan data export to the Altria Group Distribution Company (AGDC) (previously named Philip Morris Companies Inc.) on a weekly basis through the Altria SFTP server. This information is used to validate the Altria promotion participation.

This report is only available for the cash registers with the PJR files enabled. For more information, see Enabling PJR Files

Before You Begin

Before you start configuring the Scan Data reports for your locations:

  • Make sure you have an active Scan Data subscription. If a location does not have an active Scan Data subscription, such location is disabled in the report and cannot be configured. If the location's Scan Data subscription has been expired, the report's data is not sent for this location.
  • For collecting and sending your data files, the Altria Group Distribution Company cooperates with the third-party client - IRI. Before starting to set up the scan data export settings, make sure the following conditions are met:
    • Your cash register is compatible with the scan data program.
    • Your CStoreOffice® account settings are configured properly and data files can be collected and sent from CStoreOffice® to IRI.
  • If you have not already filled out a Scan Data Discovery form, please choose the form that best fits your company structure:
    • Altria One account number for entire company, follow this link or scan QR code below:

    • Altria One account number for each location or a combination of locations, follow this link or scan QR code below:

Opening the Report

You can find the report at Reports > Accounting > Export Data > Altria Scan Data Program.

Setting Up Data Export

Adding a Chain

A chain represents the top-level parent entity for retail accounts grouped under a single account registration in Altria. It is used to aggregate multi-store retail sales for accurate promotion and buydown reconciliations.

To add a chain, click Add new chain on top of the report and then follow the steps in the setup form.

  1. In the Chain settings step, enter your Altria account number in the Altria Account Number field.
  2. To submit report data to the Altria SFTP server automatically, switch on Enable automatic Scan Data submission and configure the scope, connection, and schedule:
  1. Select CR Departments and Categories for the items to be included into the report. Mind the following conditions to be met:
    • You can set up both or only one of the above parameters, CR Department or Category.
    • When both CR Departments and Categories are set up, only the items matching both fields will be included in the report. See details in the example below.

    To remove a department or category, expand the list and clear the checkbox to the left of the name. To clear the filter completely, click the cross icon in grey badge showing the number of selected items in the dropdown.

  2. Specify the username and password received from the scan data help desk for the account. Leave the SFTP Host parameter unchanged for correct data flow.

    SFTP is the default and recommended as the best method of data transferring for Scan Data reports.

  3. Before the chain export is configured and scheduled, it may be wise to check the correctness of connection settings. This will help you proactively troubleshoot the most common export problems that may be related to invalid credentials, insufficient permissions, or a typo in the domain or path where the report will be exported.

    Click Test FTP connection. CStoreOffice® will try to establish the connection to the host using the provided credentials.

    If successful, the "Connected" message is displayed. Otherwise, you will get one of the following errors:

    Message Reason Troubleshooting

    Unable to establish the connection. The server is unreachable.

    Invalid host name or the host is down.

    Verify the value in the Host field. If it is valid, contact the scan data help desk.

    Access denied because username and/or password is invalid.

    Invalid login, bad password or unsupported user.

    Verify the values in Username and Password fields. Click the eye icon next to the Password field to show the password.

    The requested path was rejected by the server.

    Invalid or missing path.

    Verify the value in the Path field. If it is valid, contact the scan data help desk.

    Destination folder access denied.

    You are not allowed to access the provided path on the host.

    Contact the scan data help desk.

    The connectivity check may take a while. However, you can click the Test FTP connection button and continue configuring the export.

  4. Select the path on the Altria SFTP server where report files are exported, depending on the current phase of the Altria onboarding process:
  5. Phase Path Description
    Testing /Onboarding_Validation During this stage, Altria will validate that your files are submitted in the correct format and notify you of any formatting issues.
    Certification /Onboarding_Validation

    After successful completion of the testing phase, Altria will perform a detailed review of each week’s data and will notify you if resubmissions are required due to inaccurate data.

    Altria will need at least two weeks of consecutive data for review.

    Production /Production

    After providing two weeks of consistent and accurate data submissions to Altria, you will be notified by Altria that you have successfully completed onboarding.

    The entire process from testing to production will take a minimum of 4 weeks.

  6. Click Show advanced settings to configure a submission schedule. The report is sent once a week.
  7. Specify the day of week and time when the report is sent. Make sure the day and time are set before Wednesday at 05:00 PM as it is required by third-parties.
  8. If you are accepting your shifts manually, make sure you have enough time to accept your shifts for weekend in Monday. Otherwise, your data will not have the appropriate ending day and will be rejected.

  9. The Number of resubmission retries specifies the number of attempts that CStoreOffice® must make to send the report to the destination. After the last failed attempt, CStoreOffice® sends an email notification with the error description to the system administrator. For more details, see File Sending Control.
  10. The Waiting in minutes for repeat field (30 minutes by default) specifies the time interval between attempts to send the report to the destination. If CStoreOffice® fails to send the report for some reason, it waits for the specified period of time and then makes a new attempt.
  11. In the Report period>From and To fields, specify the time period of the exported data. We highly recommend leaving the default value (entire week, from Sunday to Saturday).
  12. Specify email addresses that will receive notifications on automated export errors. Click Add to configure multiple recipients.
  13. In the Set up locations step, click Fetch locations from Altria to automatically retrieve locations for the specified Altria Account Number, or enter credentials and the Altria RCN (the unique location identifier provided by Altria representatives) manually for each location. Selected locations stay in this chain. Unselected locations are saved as independent locations.
  14. If every location of this account already belongs to a chain, a message is displayed instructing you to open the existing setup from the program page to make changes.

  15. Click the Save button to remember chain export settings.

Editing a Chain

  • To change the chain export settings, click Settings next to the chain name, and configure the export in the right pane. Refer to the Adding a Chain section for details on configuration settings.
  • To fetch or refresh the locations associated with this chain from Altria, click Fetch locations.
  • To change the location's Altria RCN (the unique identifier assigned to a physical retail store location by Altria), enter the new identifier in the Altria RCN column.
  • To override automatic submission for individual locations in a chain, toggle the Auto-submit switch in the corresponding row. To toggle automatic submission for the entire chain, turn the Auto-submit switch on or off in the table header.
  • To update the location information in a chain, expand the location (click the + icon)
  • You can activate/deactivate additional features for each location in a chain (requires signed consent at ADGC):

    • Price promotions: Turn on to receive Altria price promotions for the location.
    • Loyalty promotions: Turn on to pull Altria loyalty promotions for the location.
  • To remove the location from the chain, expand the location (click the + icon) and click the Detach from chain button.

To save updated chain settings, click the Save button on top of the report.

When all locations are deleted from the chain, you can delete it.

Configuring Independent locations

Locations that are not included in chains appear in the Independent locations section of the report.

To change the location's Altria RCN (the unique identifier assigned to a physical retail store location by Altria), enter the new identifier in the Altria RCN column.

To automatically submit location data to the Altria SFTP server, toggle the Auto-submit switch in the corresponding row. To toggle automatic submission for all independent locations, turn the Auto-submit switch on or off in the table header.

To configure location export properties, expand it (click the + icon) and fill in the following fields:

  • Specify the username and password received from the scan data help desk for this location. Leave the SFTP Host parameter unchanged for correct data flow.

    SFTP is the default and recommended as the best method of data transferring for Scan Data reports.

  • Before the location export is configured and scheduled, it may be wise to check the correctness of connection settings. This will help you proactively troubleshoot the most common export problems that may be related to invalid credentials, insufficient permissions, or a typo in the domain or path where the report will be exported.

    Click Test FTP connection. CStoreOffice® will try to establish the connection to the host using the provided credentials.

    If successful, the "Connected" message is displayed. Otherwise, you will get one of the following errors:

    Message Reason Troubleshooting

    Unable to establish the connection. The server is unreachable.

    Invalid host name or the host is down.

    Verify the value in the Host field. If it is valid, contact the scan data help desk.

    Access denied because username and/or password is invalid.

    Invalid login, bad password or unsupported user.

    Verify the values in Username and Password fields. Click the eye icon next to the Password field to show the password.

    The requested path was rejected by the server.

    Invalid or missing path.

    Verify the value in the Path field. If it is valid, contact the scan data help desk.

    Destination folder access denied.

    You are not allowed to access the provided path on the host.

    Contact the scan data help desk.

    The connectivity check may take a while. However, you can click the Test FTP connection button and continue configuring the export.

  • Select the path on the Altria SFTP server where report files are exported, depending on the current phase of the Altria onboarding process:
  • Phase Path Description
    Testing /Onboarding_Validation During this stage, Altria will validate that your files are submitted in the correct format and notify you of any formatting issues.
    Certification /Onboarding_Validation

    After successful completion of the testing phase, Altria will perform a detailed review of each week’s data and will notify you if resubmissions are required due to inaccurate data.

    Altria will need at least two weeks of consecutive data for review.

    Production /Production

    After providing two weeks of consistent and accurate data submissions to Altria, you will be notified by Altria that you have successfully completed onboarding.

    The entire process from testing to production will take a minimum of 4 weeks.

  • Click Show advanced settings to configure a submission schedule. The report is sent once a week.
  • Specify the day of week and time when the report is sent. Make sure the day and time are set before Wednesday at 05:00 PM as it is required by third-parties.
  • If you are accepting your shifts manually, make sure you have enough time to accept your shifts for weekend in Monday. Otherwise, your data will not have the appropriate ending day and will be rejected.

  • The Number of resubmission retries specifies the number of attempts that CStoreOffice® must make to send the report to the destination. After the last failed attempt, CStoreOffice® sends an email notification with the error description to the system administrator. For more details, see File Sending Control.
  • The Waiting in minutes for repeat field (30 minutes by default) specifies the time interval between attempts to send the report to the destination. If CStoreOffice® fails to send the report for some reason, it waits for the specified period of time and then makes a new attempt.
  • In the Report period>From and To fields, specify the time period of the exported data. We highly recommend leaving the default value (entire week, from Sunday to Saturday).
  • Specify email addresses that will receive notifications on automated export errors. Click Add to configure multiple recipients.
  • You can activate/deactivate additional features for a location (requires signed consent at ADGC):
  • Price promotions: Turn on to receive Altria price promotions for the location.
  • Loyalty promotions: Turn on to pull Altria loyalty promotions for the location.

Click the Save button to remember location export settings.

To join a location to the chain, click the Connect to chain button in the expanded location block.

Exported File Structure

The report exports the data in the TXT file with the pipe "|" separator. The data in the file is grouped into the following sections:

File Header

The first row in the file contains the following data:

  • The number of transactions in the file.
  • The number of items in the file.
  • The total cost of all items in the file.

For example, the file presented in the image below contains the information about 3459 transactions, 4086 items. The total cost of all items in the file equals to 23446.17.

Transaction Details Section

The Transaction Details section contains the following data:

  • [1] Management Account Number: A five-digit Management Account Number (Chains), or a six-digit Retail Control Number (Independents). This number is unique to AGDC systems and will be provided to you by your AGDC representative. In the report form, this value is taken from the Altria Account Number or Altria RCN field.
  • [2] Week Ending Date: The last calendar day of the time period associated with data submitted in each file. The format is YYYYMMDD. In the report form, this value is taken from the Report period > To field.
  • [3] Transaction Date: The actual date of the transaction's record. The format is YYYYMMDD.
  • [4] Transaction Time: The actual transaction's time. 24-hour format is used. The format is HH:MM:SS.
  • [5] Transaction ID Code: A unique identifier that separates purchase transactions from each other. The format is Station ID + Transaction ID.
  • Please note that the transaction ID code which contains the data on the sales of multiple different items will be repeated for each item as a separate record in the file.

For example, the file presented in the image below contains the following data in the first row of the Transaction Details section:

  • Management Account Number (Altria Account Number / RCN): 518129
  • Week Ending Date: 20210717
  • Transaction Date: 20210717
  • Transaction Time: 23:47:15
  • Transaction ID Code: 11151016729 = 1115 (Station ID) + 1016729 (Transaction ID).

Store Section

The Store section contains the following data:

  • [6] Store Number: A unique store identifier. Once assigned to the store, it must remain unchanged. In CStoreOffice®, this value is taken from the Station ID field.
  • [7] Store Name: The retail store name. The store name may include the store number. In CStoreOffice®, this value is taken from the Station Name field.
  • [8] Store Address: The physical street address of the retail store. In CStoreOffice®, this value is taken from the Station Street field.
  • [9] Store City: The name of the city where the retail store is located. In CStoreOffice®, this value is taken from the Station City field.
  • [10] Store State: The name of the state where the retail store is located. The format is SS (two characters). In CStoreOffice®, this value is taken from the Station State Abbreviation field.
  • [11] Store ZIP + 4 Code: The valid nine-digit ZIP code in which the retail store is located. This value is separated from 4 Code value by hyphen.
  • For more information about where to find the station data in CStoreOffice® and how to configure them, see General Station Options.

For example, the file presented in the image below contains the following data in the first row of the Store section:

  • Store Number: 1115
  • Store Name: Aramingo
  • Store Address: 2750 Aramingo Avenue
  • Store City: Philadelphia
  • Store State: PA
  • Store ZIP + 4 Code: 19134-0000

Item Section

The Item section contains the following data:

  • [12] Category: A unique identifier of the type of the products sold. In CStoreOffice®, this value is taken from the items Category field.
  • [13] Manufacturer Name: The name of the manufacturer of the UPC sold as it is reported in your system. For each manufacturer, the corresponding loyalty code is assigned in accordance with the format from the table below:
  • Manufacturer Loyalty Code
    USSTC 073100070013
    PM USA 028200197214
    Helix 840095781008

    The loyalty codes, if any, can be found in the MFG Deal Name fields. For more information about these fields, see Manufacturer-Funded Discounts Section.

  • [14] SKU Code: A unique code or number that identifies SKU in your chain or retail store. This value may coincide with the UPC Code value.
  • [15] UPC Code: The 12-digit UPC code assigned by the manufacturer. No spaces, hyphens or other special characters are allowed.
  • [16] UPC Description: The description of the UPC code.
  • [17] Unit of Measure: The description of the form in which the product was sold. The default value is equal to Each. Other possible values are: 2 Pack, 3 Pack, Roll, Carton and so on. The maximum length of the field is 15 symbols.
  • [18] Quantity Sold: The number of units sold in the defined units of measure.
  • [19] Consumer Units: The number of individual consumer units for the defined unit of measure. Depending on the defined unit of measure, the consumer units value may take the following values:
  • Unit of Measure Consumer Units
    Each 1
    2 Pack 2
    3 Pack 3
    Roll 5
    Carton 10

    The list of possible values presented in the table above is not exhaustive. Additional values may be provided for both Unit of Measure and Consumer Units.

For example, the file presented in the image below contains the following data in the first row of the Item section:

  • Category: Cigarettes
  • Manufacturer Name: RJ Reynolds
  • SKU Code: 00012300000932
  • UPC Code: 1230000093
  • SKU/UPC Description: CAMEL CRUSH MENT
  • Unit of Measure: Each
  • Quantity Sold: 1
  • Consumer Units: 1

Multi-Pack Discounts Section

The Multi-Pack Discounts section contains the following data:

  • [20] Multi-Pack Indicator: Indicates a transaction with the account funded discount offered for purchasing multiple units. May have the following values:
  • Y: This value indicates that the item was sold with the discount within the promotion of the Multi-Pack Discounts type.
  • N: This value is used in all other cases.
  • [21] Multi-Pack Required Quantity: The number of Consumer Units (packs) that receive discounts funded by the manufacturer as part of multi-unit purchase promotions.
  • The value in this field may not match the total quantity of purchased items. For example, when a customer purchases 4 packs, but the promotion applies only to 3, this field's value will be 3 (the number of discounted items).

  • [22] Multi-Pack Discount Amount: The total amount of discounts funded by the manufacturer for items included in multi-unit purchase promotions (field 21, Multi-Pack Required Quantity).
  • This field provides the overall discount value rather than per-item discount.

For example, the file presented in the image below contains the following data in the first row of the Multi-Pack Discounts section:

  • Multi-Pack Indicator: Y
  • Multi-Pack Required Quantity: 2
  • Multi-Pack Discount Amount: 1.00

Retailer-Funded Discount Section

The Retailer-Funded Discount section contains the following data:

  • [23] Retailer-Funded Discount Name: The name of the Retailer-Funded discount. In the report, this value is equal to the Promotion Name in case the promotion type is equal to Retailer-Funded Discount.
  • [24] Retailer-Funded Discount Amount: The amount of the Retailer-Funded discount.

In case there is no Retailer-Funded discount applied to the items, these values will be empty.

Manufacturer-Funded Discounts Section

The Manufacturer-Funded Discounts section contains the following data:

  • [25] Coupon Discount Name: This field is used to identify a discount provided in support of the Manufacturer-Funded promotion. The maximum length of this field is 50 symbols.
  • [26] Coupon Discount Amount: The dollar amount of the Manufacturer-Funded discount applied to the Quantity Sold amount.
  • [27] Other Manufacturer Discount Name: This field is used to identify a discount provided in support of the Manufacturer-Funded promotion.
  • [28] Other Manufacturer Discount Amount: The dollar amount of the Manufacturer-Funded discount applied to the Quantity Sold amount.
  • [29] Loyalty Discount Name: The loyalty codes for three Altria companies which are populated in accordance with the following format:
  • Manufacturer Loyalty Code
    USSTC 731000*
    PM USA 28200*
    Helix 855022*
  • [30] Loyalty Discount Amount: The dollar amount of the loyalty discount applied to the Quantity Sold amount.
  • [31] Final Sales Price

In case there is no Manufacturer-Funded discount applied to the items, these values will be empty.

Optional Information Section

The Optional Information section contains the following data:

  • [32] Store Telephone: The retail store telephone number if available. No spaces, pluses, hyphens, or special characters are allowed.
  • [33] Store Contact Name: Retail store contact (manager) name.
  • [34] Store Contact Email: Retail store contact (manager) e-mail.
  • [35] Product Grouping Code: A Retailer defined code or number assigned to a product.
  • [36] Product Grouping Name: The description of the Product Grouping code or number.
  • [37] Loyalty ID / Rewards Number: An unique loyalty or "rewards" number of the customer making a purchase. When a retailer uses an adult tobacco consumer mobile phone number as the loyalty ID in, the system automatically truncates the value in this field to the last 6 digits (same as field 38, Truncated (6-digit) Adult Tobacco Consumer Mobile Phone Number).
  • [38] Truncated (6-digit) Adult Tobacco Consumer Mobile Phone Number: Last 6 digits of adult tobacco consumer mobile phone number.
  • [39] Age Validation Method: The field indicates which method was used to age verify the consumer. It should be one of three following values:
  • manual = Manual Entry
  • scanned = Scanned ID
  • skipped = Other
  • [40] Manufacturer Offer Name
  • [41] Manufacturer Offer Amount
  • [42] Purchase Type
  • [43] This field is reserved for future use.
  • [44] This field is reserved for future use.
  • [45] This field is reserved for future use.

Location Events

Messages about relevant events in the location appear in the Location events column.

The messages about these events may appear in this column:

  • Successful report submission: shows submission date and time and which week the report was submitted for.
  • Failed report submission: shows date and time when the issue occurred and which week the report was not submitted for. The following issues may occur:
  • Connection issue: the system stopped report submissions because of connection issues.
  • No data: appears in case if the data is absent for the station.
  • User-initiated credential update: appears when the user updated the credentials for the location (for example, Report submission credentials updated).
  • Report delivery subscription expiration: a notification when the report delivery subscription expired.

To view details on the latest submission and download the file submitted to the Altria SFTP server, expand the location and check the Latest submission section.

To view the complete history of submission events for the selected date range, switch to the Submission history tab. Expand the event to see the full submission log.

In case of any issues with data export, see the following troubleshooting guides:

To export submission history in machine-readable format (Microsoft Excel) for automated analysis and audit trail, click the Convert to Excel button above the list.

Change Log

To view the complete history of export configuration changes for the selected date range, switch to the Change log tab.

To export configuration changes in machine-readable format (Microsoft Excel) for automated analysis and audit trail, click the Convert to Excel button above the list.

Data Export Control

To download report data for manual submission or analysis or re-send failed reports to Altria, click the Resubmit or download data button on top of the report.

Submission Cap Guidelines

Altria limits the number of report submissions (regardless of the outcome) for each store during a promotional period. This number, known as the Submission Cap, is limited by the number of weeks in the promotion period multiplied by 2. Broadly speaking, you are allowed to re-submit each weekly report only once to fix an error or adjust the data. If the number of submissions exceeds the Submission Cap, the retailer will not earn a Scan Data Promotional Fund payment from Altria for the promotion period.

Re-Submit Reports

To re-send the reports to Altria, switch to the Resubmit data tab in the right pane, specify locations and a date range, and click the Resubmit data button:

Weekly reports that match the specified date range are re-generated and uploaded to the Altria SFTP server using the configured data export settings.

The reports will always be generated for full weeks (from Sunday to Saturday), even if the range does not cover the entire week.

Report generation may take a while. You can close the page and check submission history later.

Download reports

To download reports, switch to the Download reports tab in the right pane, specify locations and a date range, and click the Download reports button:

Weekly reports that match the specified date range are re-generated, packed into a ZIP archive, and downloaded to your local machine.

The reports will be generated for the exact date range specified in the parameters, even if the range does not cover the entire week.

File Sending Control

CStoreOffice® allows you to control if the required reports are generated and sent successfully to the destination by schedule. To do this, CStoreOffice® leverages the File Sending Control service that is responsible for the following activities: