Order and Product Reports

Order and product reports are features of the current mageb2b/sublogin base package. There is no separate Reports add-on to install. The base package replaces and conflicts with the retired mageb2b/sublogin-report package name.

Choose who may open reports

Open Stores > Configuration > MageB2B > Sublogin > Report settings.

Setting Default Effect
Enable reports for customer Yes Makes the report screens available to the main customer account.
Enable reports for sublogin No Makes report screens available during a sublogin session.

Keep sublogin access disabled when company-wide purchasing data should remain visible only to the main account. If you enable it, sign in as a restricted buyer and confirm the data scope matches your policy.

Available views

The base module provides order and product reporting in Magento Admin and customer-account areas. Admin roles also need the matching Sublogin report ACL resources.

Use the reports to answer practical questions such as which sublogin placed an order or which products were ordered through the company account. Reports do not replace an accounting export or a general analytics platform.

Upgrade from the former package

If an older installation still lists MageB2B_SubloginReport:

  1. take a database and code backup;
  2. update mageb2b/sublogin to a version that includes reports;
  3. let Composer remove the retired package according to the resolved dependency set;
  4. run php bin/magento setup:upgrade;
  5. review report configuration and administrator ACL;
  6. test the customer and Admin report routes.

Do not force both package names into the same Composer installation.

Related: Configuration and Multi-Account Management.