Skip to content
P4 Software P4 Software / logisticaHQ-en

Add these docs to Claude

Ask Claude questions about these docs. Claude reads the published pages and links you back to them. Copy this address:

https://p4-software.opendocs.page/mcp

In claude.ai or Claude Desktop: open Settings, then Connectors, choose Add custom connector and paste the address.

In Claude Code, run:

claude mcp add --transport http docs https://p4-software.opendocs.page/mcp

ABC codes

ABC codes
← Back to Products

Every product has an ABC code from A to F. It ranks Products by how much they are picked: A is the small group of Products that make up most of the units you pick, F is Products that were not picked at all. logisticaHQ works the codes out every night, and you can choose a code by hand for any product.

The code is on Product details (the ABC code row) and in the ABC column of the Products list, where the ABC codes card counts the Products in each class.

How the code is worked out

  1. For each product, logisticaHQ adds up the units picked over the last 90 days, from order picks and production-order picks.
  2. It ranks each client's Products among themselves, most picked first. A 3PL client with a few Products gets its own A items, even next to a client that ships far more.
  3. Going down that list, it adds up the units. A product's class depends on how much of the client's total units picked comes before it:
CodeThe product
Ais among the Products that make up the first 50% of the units picked
Bcomes after 50%, up to 75%
Ccomes after 75%, up to 90%
Dcomes after 90%, up to 97%
Ewas picked, but comes after 97%
Fwas not picked at all in the period

For example, if one product makes up 70% of a client's units picked, it is an A on its own: nothing came before it. The next product starts at 70%, so it is a B.

The unit cost does not count. The codes say how much each product moves through the Warehouse, so only units picked count. A product with no unit cost ranks the same as one with a cost.

When the codes change

  • Every night, after 01:00 in your company's time zone, logisticaHQ ranks all Products again.
  • Right away, when you press Recalculate ABC codes at the top of the Products list. Use it after changing the settings below. A message says how many Products got each code.
  • A code chosen by hand never changes until you hand it back (below).

Choosing a code by hand

  1. Open the product (Setup > Products, then the product).
  2. In the ABC code row, choose a letter from A to F. The line under the row says the code is chosen by hand.
  3. Press Update. From now on the nightly ranking leaves this product alone.

To hand it back, choose Automatic in the same row and press Update. The product keeps its current letter until the next ranking, which may give it a different one.

When the code is automatic, the row reads Automatic (C) with the current letter, and the line under it says when it was ranked and how many units were picked over the period.

The Products list

The ABC column shows each product's letter. A pin next to the letter means the code was chosen by hand. You can sort by the column and filter it like any other, for example to list only the A Products. The column is included when you export the list to Excel.

The ABC codes card above the list shows how many Products are in each class, A to F; each arc is that class's share of the Products in the list. The line under it says how many codes were chosen by hand and how many new Products are not ranked yet. After Recalculate ABC codes, the card shows the new counts.

Cycle counts by ABC code

The Counts due list (Analytics > Cycle Count > Counts due) uses the codes to plan cycle counts: a bin or pallet holding an A product is counted every 30 days, and one holding only F Products once a year.

Import and export

Exporting the Products list to Excel includes the ABC column. The product import and export of the logisticaHQ API (the sheet integrations and the client portal use) has two columns for the code:

ColumnOn exportOn import
AbcCodeThe product's letterA letter from A to F chooses that code by hand. Blank leaves the code as it is. Anything else skips the row with a message.
AbcCodeManualTrue when the code was chosen by handFalse hands the product back to the nightly ranking. True keeps the code chosen by hand.

Because both columns are exported, re-importing an exported sheet leaves every product as it was: an automatic code stays automatic. A sheet imported from the client portal, or by a user who belongs to a client, does not change ABC codes, which belong to the Warehouse. To set many codes by hand from the office, choose them on each product, or import a sheet through the API with an office key.

Settings

In Setup > Configuration, Business › Products, under ABC codes:

SettingDefaultWhat it does
Nightly RankingOnSwitches the nightly ranking on or off. Off, the codes stay as they are; Recalculate ABC codes still works.
Period Days90How many days of picking are added up.
Class Limits50,75,90,97Where classes A, B, C and D end, as four increasing percentages separated by commas. A value that cannot be read is ignored and the defaults are used.

Troubleshooting

What you seeWhy, and what to do
The row says "Not ranked yet"The ranking has not run since the product was created. Press Recalculate ABC codes on the Products list, or wait for the night.
The ABC codes card says some Products are not ranked yetThey were created after the last ranking. Press Recalculate ABC codes, or wait for the night.
Every product is FNothing was picked in the period, or the period is very short. Check the period setting.
A product keeps its letter after the rankingIts code was chosen by hand (the pin in the list). Choose Automatic on the product to hand it back.
The line under the row says the ranking is switched offThe nightly ranking setting is off. Switch it on in Configuration, under Products.

Was this page helpful?