Skip to main content

MSAi reporting: setting it up

The MSAi reporting app (msa_reporting) prepares, checks and files the weekly MultiCat shipment file a tobacco distributor sends to MSAi. It needs Inventory, Sales and Customers switched on. Switching it off hides the screens, the job and the signal; the weeks and profiles stay, and come back when it is switched on again.

"MSAi" means the reporting service. It is not the customer field MSA classification, which records a manufacturer's standing under the Master Settlement Agreement.

Settings (Settings → Apps → MSAi reporting)​

SettingWhat it doesDefault
msa.distributor_idYour distributor id with MSAi, exactly as MSAi gave it. Letters and digits, at most 32 (a storage bound, not MSAi's width). No week can be prepared without it.blank
msa.project_idThe project the file is sent under.TOB
msa.site_idsWhich warehouses file a week, and each one's MSAi site id: MAIN=0001, EAST=0002 (the left side is the warehouse's code under Inventory → Locations). A site or an id named twice is refused. A warehouse not listed files nothing.blank
msa.programsThe programs you report under: any of altria, rjr, itg, swisher, swedish_match. Recorded on each week; one file per warehouse covers all of them.blank
msa.transmissiontest or live. Stay on test until MSAi has accepted a test week.test

The same five are listed in All settings under Compliance, where changing them needs compliance_settings.manage (or setting.manage).

The week runs Sunday to Saturday; that is fixed, not a setting.

Permissions​

PermissionWho has itWhat it allows
msa_submission.readManager, Accounting, Read only (and Admin)See weeks, validation reports, worklists, stores' MSAi profiles
msa_submission.manageManager, Accounting (and Admin)Prepare, check, file, reject, amend; keep stores' profiles

Preparing a week also reads the shelf, the addresses and the customers, so it needs stock.read, address.read and customer.read; filing attaches the file, so it needs attachment.write. Manager and Accounting hold all of them. A custom role given only the MSAi pair is refused naming the permission it lacks.

Product data​

Eight product attributes in the MSAi group, on every product:

  • MSAi category code — defaults from the product's regulated category (cigarettes 003231, cigars 003251, little cigars 003252, premium cigars 003227, moist snuff 003211, vapour products 003292). Set it on a product only to override the default. A code a program adds later is an option you add to the field under Custom fields — no release needed. Nicotine pouches have no default, so a pouch you report needs its code set.
  • MSAi description — fifty characters. Left blank, the file carries one built from brand, name, flavour, strength and the selling unit.
  • MSAi shipper flag (S / C), manufacturer promotion code, manufacturer item code, and the two promotion fields the product already had.
  • Items per selling unit (override) — the one place a person may type the count; otherwise it is derived from units per package × packages per base unit × the selling unit's pack size, and a week that uses an override warns. A product filed as a nicotine pouch is counted by the can: its units per package (the pouches) are left out, so a five-can roll is 5.

The older MSA Category and MSA Manufacture Code fields stay visible until a later release retires them; nothing reads them.

A tobacco product with no code is not left off the file: it goes on with a blank code and the week refuses it. A product is on the file when it has a code or when its regulated category is PACT-covered and needs a tobacco or cigarette licence.

Store profiles​

A store's banner name, store number, cash-and-carry and state tax jurisdiction are kept in the app's own profiles — for an account, or for one of its stores. A store with no profile reads its account's. Where the customer hierarchy is on, a banner on a parent account is not inherited: type it on each child. The state tax jurisdiction is an override; blank, the store's own jurisdiction is used, then the customer's.

The Monday job and the signal​

  • msa.weekly_submission, daily at 05:00 company time: from the Monday after a week ends, prepares and checks each mapped warehouse's last three weeks that have none. It never files. A warehouse that fails does not stop the others; with no distributor id the job does nothing.
  • msa.submission_needs_attention, for msa_submission.manage: a week that failed its checks, a week MSAi rejected and nobody amended, a week not filed three working days after it ended (Monday to Friday — public holidays are counted as working days), or a week nobody prepared once due. Only from the first week a warehouse has any submission.

Filing, and the layout​

Filing needs the MultiCat byte layout from the ITG Brands kit. This release does not have it, so File is disabled with the reason and every week can be prepared, checked, rejected and amended. When the layout is installed, the file's extension must be in attachments.allowed_extensions. Uploading the file to MSAi stays manual (MFT).

Where the screens are​

Compliance → MSAi weeks and Compliance → MSAi worklists. The Compliance app itself is shown today only where Excise tax is on, and only to someone who may read tax. A company with MSAi reporting and no excise still has the screens, just not the menu: open <your address>/finance/msa for the weeks and <your address>/finance/msa/worklists for the worklists, and bookmark them or send the link to whoever files.

How it interacts with other apps​

  • Inventory — the product's net contents and pack sizes feed the count; its regulated category feeds the code; the shelf at the week's end comes from the stock ledger.
  • Sales — shipments (by ship date), posted invoices (their value), and credit memos for returns.
  • Customers — stores and their shipping addresses; nothing is added to the customer record.