AL Tracking - User guide
How to set up and use the app in Business Central.
1. Concepts in one minute
- Standard Business Central tracks Lot, Serial and Package. AL Tracking adds two more dimensions: Pallet No. (the SSCC) and External Lot No. (the supplier's lot/carton number). On the lines it brings all five, with the standard Package No.
- Tracking is switched on per area in the Tracking Setup: the extra fields and actions appear only on the areas you enable (sales, purchases, transfers, journals, physical inventory, production, warehouse).
- Which dimensions an item uses is decided by its Item Tracking Code, exactly as for the standard Lot/Serial: the code gains Pallet and External Lot sections with the same specific-tracking and per-document requirements.
- On posting, the dimensions flow into the Item Ledger Entries and Warehouse Entries, so stock and history can be filtered and navigated by pallet and external lot as well as by lot and serial.
- Pallet No. Information and External Lot No. Information records are the master data of the new dimensions, and are created automatically at posting when missing.
2. Prerequisites
- Microsoft Dynamics 365 Business Central, version 29.0 or higher, online (SaaS) and on-premises. AppSource covers online environments; on-premises is distributed and installed directly by AppLibra, through the AppLibra License Manager.
- The dependencies installed: AL License and Trial Management, AL Message Passing, AL Role Center, AL Foundation App.
- Permissions: two assignable permission sets. Give ALPTRK-USER (AL Tracking - User) to whoever assigns tracking on documents, journals and warehouse activities: it reads the setup without changing it. Give ALPTRK-ADMIN (AL Tracking - Administrator) to whoever configures the app: it includes the user role and adds the setup and the right to delete a pallet or external lot card. Blocking a card is a change like any other, and the user role can make it too, as with the lot information of the standard. A user who opens the Tracking Setup action from the role center without the administrator role gets a permission error, which is the expected behaviour. Both roles include the user role of AL License (ALPLIC-USER), which the license check needs.
- Upgrading from an earlier version: the old permission set of the app (AL TRACKING, or AL ADVANCED LOT up to version 25) disappears with the upgrade. Every user who had it, directly or through a permission set of your own that included it, receives ALPTRK-ADMIN automatically, because the old set granted full access. One case has to be redone by hand: if the old set was among the permission sets given to new users by license (License Configuration page), replace it there with ALPTRK-ADMIN or ALPTRK-USER.
You reach the app from Tell Me: search the page name (for example "Tracking Setup (TRK)") or simply the tag "TRK" to list every page of the app.
3. Setup
3.1 Activate the license
Open Tracking Setup (TRK) (the record is created on first open). Use Add License to enter a license when you have one; a trial is available for evaluation.
3.2 Enable the areas to track
On Tracking Setup (TRK), turn on the areas where the extra dimensions must appear:
- Sales Line Tracking, Purchase Line Tracking, Transfer Line Tracking;
- Item Journal Tracking (its warehouse version too), Item Reclass. Journal Tracking, Phys. Inventory Journal Tracking (the warehouse physical inventory journal too);
- Consumption Journal Tracking, Output Journal Tracking: the second also governs the lines of released production orders, and the production journal shows the fields when at least one of the two is on;
- Warehouse Receipt Tracking, Warehouse Shipment Tracking, Warehouse Pick Tracking, Whse. Internal Pick Tracking, Whse. Internal Put-away Tracking, Internal Movement Tracking;
- Item Tracking Lines Tracking (the extended Item Tracking Lines) and Item Tracking Code Tracking (the extended Item Tracking Code card).
Use Select All to enable everything at once. Until the setup is opened for the first time, every area counts as off. An area that stays off keeps the standard Business Central behavior: the fields and the Assign Tracking action of AL Tracking do not appear, and the standard columns they replace come back (lot, serial and package in the consumption and output journals); in the physical inventory journal, Calculate Inventory no longer splits its lines by tracking. The Item Tracking Lines are the one exception: there the pallet and the external lot appear even with their area off when the tracking code of the item tracks them, because posting can require them and that is where they are entered.
The Receipt group also holds Clear Vendor Shipment No. after Receipt, off by default and left alone by Select All, because it changes the posting and not what is shown. On, after each posted receipt the Vendor Shipment No. is cleared on the purchase order, on its warehouse request and on a warehouse receipt or inventory put-away that remains open, together with the external lots the delivery note had proposed on the lines still to be received: at the next delivery the delivery note is typed again, and it always belongs to the goods arriving. Off, Business Central keeps the delivery note after the receipt: leave it off if one delivery note is received in more postings.
The Journals group holds Delete Journal Tracking without Confirmation, off by default and left alone by Select All. When lines of the item journals are deleted (item, item reclassification, physical inventory, consumption, output and production journals), Business Central asks on every line with item tracking whether to delete it too, and a no keeps the line: with many lines it is one click per line. On, the lines are deleted with their item tracking and without the question. It only concerns the tracking of the unposted lines being deleted: posted entries are not touched, and sales lines, purchase lines and the other documents keep the question.
The Loose Goods group holds the Loose Goods No.: the package and pallet number of the goods that are in no package or pallet, on the items whose item tracking code tracks the package or the pallet as specific. By default it is SCIOLTA. On goods coming in, AL Tracking writes it where nobody gave a unit: if you write the lot and leave the package or the pallet blank, Assign Tracking fills them with this number, and the same holds for the goods read by apps such as AL Logistic and AL Catch Weight Management. If you forgot to write a real package or pallet the goods come in as loose goods, and you move them later with a reclassification. Taking goods out of a package or a pallet is a reclassification to this number (4.1). No real package or pallet can have this number, and it cannot change once goods are posted with it.
3.3 Configure the Item Tracking Code
Open the Item Tracking Code of the item (with Item Tracking Code Tracking enabled in the setup, the card shows two new sections):
- Pallet Tracking - Pallet Specific Tracking works like the standard lot-specific tracking: on outbound you must state which existing pallet you handle. The Inbound and Outbound groups let you require the pallet number per document type (purchase, sales, positive/negative adjustment, assembly, manufacturing), plus Pallet Warehouse Tracking and Pallet Transfer Tracking. Pallet No. Info. Must Exist wants an information card for every pallet: if it is missing at posting, it is created. To stop a pallet, use the Blocked flag of its card.
- External Lot Tracking - the same set of options for the supplier's external lot: External Lot Specific Tracking, per-document requirements, warehouse and transfer tracking, and External Lot No. Info. Must Exist. On every page of lines with the AL Tracking columns the External Lot No. column can be typed where the posting of the line requires the external lot: with the specific tracking, or with the requirement of its document type alone, for example on purchase inbound or on the output of production. A warehouse line follows the document line it comes from; a line that has none, such as an internal movement or a warehouse journal line, lets you type it if the item requires the external lot in at least one movement. Under the same condition the Item Tracking Lines of the line show the column.
These settings say where the pallet and the external lot are required, not where they are forbidden, as the standard does with the lot: with no pallet setting at all, the pallet stays optional, recorded when it is given and never asked for. The same goes for the external lot. This holds for what you write on the lines yourself. A value read by another app, such as a weighing of AL Catch Weight Management, is recorded only if the code tracks that dimension in at least one movement. An expiration date is recorded only if the code uses expiration dates.
The standard Serial No. section has one more flag, Assign Consecutive Serial Nos., off by default: turn it on for the items whose serial numbers follow each other, for example the ones you number yourself in production. How it works is explained in 4.1.
Assign the tracking code to the items as usual.
What to set. As a setting we suggest specific tracking for the lot, the package and the pallet. With specific tracking every movement names the value, and goods go out only against goods that came in with the same value: that is what lets you read the stock by lot, by package and by pallet. Tracking asked only on some movements, for example the pallet only on purchase receipts, is information: AL Tracking guarantees that the value is there where the code asks for it, but you cannot rely on the stock by that value, because the outbound movements do not have to name it. It makes sense as an attribute of a specific lot: from a customer complaint you go back to the shipment, to the lot, to its receipt and to the external lot of the supplier.
With a specific package or pallet, the goods that are in no package or pallet take the Loose Goods No. of the setup (3.2). The information card of the package or pallet with that number shows the stock of the loose goods: it is created by the first posting where the code wants the card (5.3), otherwise you create it.
To bring to a specific package or pallet the items that already have entries, see 3.5.
Open the code to review the settings per document type: enabling Pallet Specific Tracking switches on the whole pallet section (warehouse, purchase, sales, adjustments, transfer, assembly and manufacturing), and the external lot section behaves the same way.
3.4 Decide how lot numbers are made (Lot Types)
A lot type says how the lot numbers of an item are composed and how far they have to be free. Items inherit it from the item tracking code they already carry. Open Lot Types (TRK) and create the types you need:
- Composition - which rule makes the number. Number Series is what Business Central does on its own, and is the default. External Lot No. names the lot after the lot the supplier gave, so the same number is on the delivery note and in your warehouse. If the item tracking code uses expiration dates, External Lot No. makes one lot for each external lot and expiration date, because the external lot is usually the lot of the manufacturer, and different vendors can deliver it with different expiration dates: the lot is the external lot followed by a progressive (ABC1, ABC2, from 1 to 9 and then from A to Z), the same external lot with the same expiration date takes the lot that is already there, whatever vendor it comes from, and a new expiration date takes the first progressive nobody uses. In this case the item tracking code has to have Man. Expir. Date Entry Reqd. turned on, the expiration date has to be written before the lot is assigned, and to have all 35 progressives Max Composition Attempts has to be raised to 35. With Lot No. Uniqueness set to Item and Variant every arrival takes a lot of its own instead.
- Lot Nos. - the number series used by Number Series. Left empty, the number series of the item is used, exactly as before.
- Lot Not Editable on Inbound - on a line that brings new stock of the item (a purchase, a receipt, an output, a by-product, a positive adjustment), the lot number comes only from the composition and cannot be typed: on the item tracking lines it is given by Assign Lot No. A return keeps the lot it brings back. The lock holds where the rule composes the lot of the line: where it has nothing to compose, for example because the external lot is empty, or because the rule reads a purchase line and the line is a stock journal, the lot is typed, and it is the one of the label or of the previous system. The expiration date stays writable, and on lines that take stock out the lot is chosen as usual. The lot type has to name its own rule, so the flag needs a composition other than Number Series, or Number Series with its own lot nos. At a purchase receipt, also from a purchase invoice, a warehouse receipt or an inventory put-away, the posting checks that every lot received is one the lot type composes for the line, and stops otherwise: this also covers lots that come from an API, a scanner or another app, which no page sees. If the posting stops, delete the item tracking of the line and assign it again; the cause is usually something the lot is composed from, such as the external lot or the expiration date, changed after the assignment. With Number Series there is no such check, nor on drop shipments, whose lot is chosen on the sales line.
- Lot No. Uniqueness - None (default) assigns the number as it comes. Item and Variant checks the number is free for that item before assigning it, looking at the lot information, the entries, the tracking of documents not yet posted and the lines still on screen. The check is never made across items: the same number on a semi-finished item and on the finished product made from it is a chain, not a collision.
- Max Composition Attempts - when a number is already used, the rule is asked for another one, and told which attempt this is, so it can tell the two lots apart. After this many attempts the assignment stops with an error instead of assigning a number that is not free.
- External Lot No. Suggestion - where the external lot number comes from when the supplier did not give one: Vendor Shipment No., the delivery note number, or Vendor and Shipment No., which puts the vendor in front, because a delivery note number is unique for the vendor who wrote it and not in the world.
The External Lot No. composition needs an item tracking code that tracks the external lot in at least one movement, for example on purchase inbound: without it the code cannot take the lot type, and a message says what to turn on. The reason is that the lot the same goods already have is found by their external lot. Where the code does not track it, an external lot read by another app, such as AL Catch Weight Management, is not written, and every reading of the same supplier lot could take a different lot. Where you turn the external lot on, it becomes required on that movement: every line has to have it, read from the label, typed or suggested by the lot type. On the code of an item that already has entries the settings by movement can be turned on; the specific tracking of the external lot cannot.
On the Item Tracking Code card, Lot Type Code names the type to use. Left empty, lots behave as they do in Business Central and nothing changes.
When the item has a lot type, Assign Tracking composes the lot on lines that bring new stock: purchases, warehouse receipts, released production order lines, output, by-products, positive adjustments. If the lot of the line is empty, the rule of the lot type composes it; if one is typed, the typed lot wins. With Lot Not Editable on Inbound on, where the rule composes the lot it is always composed, and whatever is in the column does not count; where the rule has nothing to compose, the lot written is the lot. So it is enough to write on the line what the rule needs (the external lot for External Lot No., nothing for Number Series) and run Assign Tracking. If nothing is written on the line and the rule has nothing to compose, for example because the external lot is empty, the line is like any line without values: Assign Tracking of the line stops and names it, and the one of the whole order or journal leaves it as it is and assigns the others.
On the item tracking lines, Assign Lot No. composes the lot in the same way, on lines that bring new stock; on a return it gives the next number of the lot number series of the item, as in Business Central. If the lot composed is already on the lines with the same tracking values, for example at the second delivery of the same lot, the quantity is added to that line instead of opening another one. With several lines selected and a rule that reads the line, such as External Lot No., each line gets the lot composed from its own data; the lines the rule has nothing to compose for get one number of the series, as always. With Number Series all the selected lines get the same number, as in Business Central.
Two habits worth keeping. Give the lot type the same code as the item tracking code when you want the two to coincide. Share one lot type between several tracking codes when you want those lots to resemble each other, never to save a line of master data: changing a shared lot type changes the numbering of every class of items that uses it.
The delivery note that counts is the one of the document the goods are received with: the warehouse receipt, if the line is on a warehouse receipt that has one, otherwise the order. When the delivery note is typed or corrected, the External Lot No. of the lines still to be received is updated: the order lines if it is on the order, the warehouse receipt lines if it is on the warehouse receipt; a line added later takes it when its item is chosen. When the warehouse receipt is created the proposal moves to its lines, and the order lines leave it, because from then on the warehouse receipt is worked on; a value typed on the order line stays. This works with the Purchase Line Tracking and Warehouse Receipt Tracking areas enabled. The value from the delivery note is a proposal: if the supplier gives its own lot, for example on the label, that one is written, and the posting does not stop on the proposal left in the column.
About the suggestion, three things it does not do. It never replaces a number somebody typed: it only updates an external lot that is empty or still holds the value of the previous delivery note. It does not replace the check that the external lot is there: if the external lot is required by the tracking code and it is neither written nor given by the delivery note, Assign Tracking stops and asks for the delivery note or the external lot. And it never shortens a value to make it fit: if vendor and delivery note number together pass the 50 characters of the field, the assignment stops and says so, because a cut number looks good and no longer leads back to the supplier.
One thing to know before you choose it: either suggestion needs an item tracking code that requires the external lot on the purchase receipt, that is with External Lot Purchase Tracking turned on in the Inbound group, or with the specific tracking of the external lot. Without it the code cannot take the lot type, and a lot type already in use cannot take the suggestion: a message says which setting to turn on, and on which code. As long as the lot type is that one, the setting cannot be turned off. So the external lot is required to post a receipt of those items, taken from the delivery note or written, for example from the label of the supplier: a fallback that leans on an empty field is not a fallback. If all the tracking has its external lot, the receipt posts without a Vendor Shipment No., for example from a purchase invoice, which does not show the field. The delivery note number has to be typed before the tracking is assigned: tracking already assigned is no longer filled afterwards.
3.5 Bring items that already have entries to a specific package or pallet
Business Central does not let you turn on specific tracking on a code used by items that have entries, and does not let you change the item tracking code of an item that has them. To bring to a specific package or pallet the items that are already in use, AL Tracking has a migration.
- Create a new item tracking code, equal to the one the items have today, with Package Specific Tracking, Pallet Specific Tracking or both in addition.
- On the card of the new code run Migrate Items to This Code. It opens the list of the items that can come to that code: those whose code differs from the new one only for the package or the pallet that becomes specific. Each line shows the stock of the item and, in the Stops the Migration column, what prevents its migration for now.
- Select the lines and run Migrate.
For each item migrated, where the package or the pallet that becomes specific is blank, its entries and the tracking of its open lines take the Loose Goods No. of the setup (3.2), and the item takes the new code. From then on the goods that were in no package or pallet are loose goods: to put them in a package or on a pallet you post a reclassification with the number of the unit as the new value (4.1). The packages and pallets the entries already had stay theirs.
An item is not migrated while work of the warehouse is open on it: warehouse picks, put-aways and movements not registered yet, goods read and not posted yet, and what the other AppLibra apps have open on it. The Stops the Migration column says what is there: close it and try again. The items stopped stay as they were, and the others of the selection are migrated all the same. Open documents that already have their tracking assigned do not stop the migration: their tracking takes the Loose Goods No.
To know before you start:
- The migration cannot be undone, and needs the AL Tracking - Administrator role. Run it when the warehouse is still. It works one item at a time, and an item with many entries can take a few minutes.
- It covers only a package or a pallet that takes specific tracking: if the two codes differ for anything else, for example the lot or the serial number, the item is not on the list.
- An item whose entries already carry real packages or pallets, written as information, and that has goods in bins is not migrated: the bins do not know which unit they hold.
- A physical inventory calculated before the migration and not posted yet has to be calculated again afterwards.
- An item with the Specific costing method is not migrated.


4. Daily use
4.1 Item journal and reclassification
With Item Journal Tracking enabled, the item journal lines show the tracking fields directly on the line: Lot No., Serial No., Package No., Pallet No. and External Lot No. (each visible only if at least one tracking code uses that dimension). On each line you can type only the dimensions that the tracking code of its item tracks specifically, plus the external lot where the posting of the line requires it (see 3.3); the other columns stay locked. This holds for every page of lines with the AL Tracking columns: documents, journals and warehouse. A value the code does not ask for, for example an external lot on a positive adjustment, is written on the Item Tracking Lines of the line, if the Item Tracking Lines Tracking area is on in the Tracking Setup (TRK): there the pallet and the external lot can be typed for every item with a tracking code, and what you type goes on the entries.
- Enter the journal line as usual.
- Fill the tracking fields: type the values, or, on lines that take stock out of inventory, use the assist button on each field to pick from the existing combinations in inventory. On inbound lines, such as a positive adjustment or a purchase, the list only shows what is available and the value is typed. From the serial number field the list shows the serial numbers, and the choice brings to the line the serial number with its lot; from the other fields it shows the lots and the combinations without a serial number. If other values are already written on the line, for example the pallet, the list opens filtered on them and shows only the goods on that pallet; to see all the stock, remove the filter from the list.
- Run Assign Tracking: the lot, serial, package, pallet and external lot written become the tracking of the line in one step, with expiration date and quantity, and the fields are emptied. On a line that takes goods out, with nothing written, Assign Tracking takes the tracking of the goods in stock when there is one combination only; with more it stops and lists them, with expiration date and quantity, and it is enough to write on the line the values that tell them apart. When the line takes all the goods of those combinations, with values written or without, Assign Tracking takes them all, each one whole, and splits the tracking of the line: there is nothing to choose. If the line asks for more than there is, it stops, so the shortage shows.
- Post: the dimensions land in the item ledger entries.
A serial number is one piece. On a line of more pieces the serial number written goes to one piece only, and the rest of the line stays to be assigned: write the next serial number and run Assign Tracking again. If the item tracking code of the item has Assign Consecutive Serial Nos. turned on, on inbound lines (for example purchases, positive adjustments, output) the serial number written is the first of a run: Assign Tracking creates one serial number for each piece still without tracking, raising the final number by 1 (SN001, SN002, SN003), all with the lot, package, pallet, external lot and expiration date written. It is what the standard Create Customized SN action does with increment 1, with the same checks: the serial number must end with a number, and the serial number series of the item, if there is one, must allow manual numbers. On outbound lines and in the reclassification the serial number always goes to one piece only, because serial numbers come from the stock.
If a line reaches posting with values written and not assigned, posting stops on that line and says which values are not assigned. The journal batch has the Assign Tracking at Posting flag: when it is on, posting runs Assign Tracking itself on the lines that do not have it yet, as if you had pressed the button: for example, a second lot written on a line whose quantity you raised takes the quantity added. If the values written find no room left, because the line is already fully assigned to something else, posting stops anyway. Warehouse journal batches have the same flag. Documents (sales, purchases, transfers, warehouse shipments and receipts) have no such flag and posting always stops, because how much of a line goes out is decided by whoever posts it.
The Item Reclassification Journal works the same way and carries the old and new values, so a reclassification can move quantity from one pallet or external lot to another. A new value left blank keeps the current one. If no current value is written on the line, Assign Tracking takes the goods in stock when they are on one combination only; with more combinations it stops and shows them, and the values that tell them apart are written on the line; if the line takes all the goods of those combinations, it takes them all, each one whole. To take goods off a package or a pallet, write the Loose Goods No. of the Tracking Setup (TRK) as the new value.
4.2 Physical inventory by traceability
On the Physical Inventory Journal (area Phys. Inventory Journal Tracking), the calculation is the standard Calculate Inventory: the app splits by tracking the lines the standard writes.
- Run Calculate Inventory (Functions group), with the usual filters and options.
- The standard writes one line per item and location, or per bin. The app splits each one into one line per tracking combination - lot, serial, package, pallet, external lot - with its calculated quantity and the expiration date of its goods, on both standard and bin-managed locations.
- Count and enter the physical quantities per combination. The lines with a difference need their tracking assigned: run Assign Tracking, or turn on Assign Tracking at Posting on the batch (see 4.1).
- Post: the differences are written per tracking combination.
The lines are split by the full tracking key, not by a single dimension: the same pallet carrying two different lots produces two lines, so a mixed pallet is counted lot by lot. The split follows the dimensions the item tracking code of the item tracks specifically; in a bin, only those also tracked in the warehouse. It also applies to Calculate Counting Period, which runs the same calculation.
Some lines stay as the standard writes them:
- the zero lines of the Items Not on Inventory option: whoever finds goods writes their tracking on the line;
- the lines whose stock by tracking does not add up to the calculated quantity. This happens when the entries of the item have more than one value of the dimension chosen in By Dimensions or filtered on the request page, or when goods were posted in the meantime. At the end of the calculation a notification tells how many they are, and Show the lines opens the journal filtered on them: there the tracking is written by hand.
On locations with directed put-away and pick, the count is made in the Warehouse Physical Inventory Journal with the standard Calculate Inventory. The standard makes one line per serial, lot and package; the app splits it by pallet and external lot, where the item tracking code of the item tracks them specifically and in the warehouse, one line for each pair with its own calculated quantity: two pallets of the same lot in the same bin give two lines, and so does one pallet with two external lots. If the stock read does not add up to the quantity the standard calculated, for instance because another app narrowed the count, the line is left whole, without pallet and without external lot.
4.3 Sales, purchase and transfer lines
With the corresponding areas enabled, the document lines show the tracking dimensions and an assignment action:
- Sales order and Purchase order lines: Assign Tracking assigns the dimensions for the quantity to handle now, that is to ship on a sale and to receive on a purchase (the other way round on returns), so a partial delivery carries the tracking of what leaves or arrives. It assigns only what has no tracking yet: run again, it assigns nothing and says so; to split the line on two lots, assign the first, raise the quantity to handle and assign the second. If the quantity to ship or to receive is empty, fill it before assigning. On the header of the Purchase order the same action assigns in one step every line that has something to assign, and leaves the others as they are. On purchase lines, and on warehouse receipt lines, the lot expiration date sits next to the lot: Assign Tracking gives it to the lot, for items that use expiration dates; left empty, the expiration date is set as Business Central does.
- Transfer order lines: Assign Tracking assigns the dimensions to the shipment, for the quantity to ship now, and the receipt takes them from the shipment, as in the standard item tracking lines. The same goes from the warehouse shipment, for the quantity to ship of the shipment, and from the warehouse receipt of a purchase for its quantity to receive; nothing is assigned from the warehouse receipt of a transfer, because its tracking already comes from the shipment.
- The assist button on the tracking fields filters the existing combinations for the item, and for the values already written on the other fields of the line; from the serial number field it shows the serial numbers. A value is picked on lines that take stock out, such as a sales order line or a purchase return order line; on inbound lines, such as a purchase order line, the list only shows what is available. When the warehouse handles the tracking of the line, for example once a pick exists, the lot is picked on the warehouse document. When the line has a bin, the list also shows how much of each lot is in that bin.
4.4 Consumption and output journals
With Consumption Journal Tracking and Output Journal Tracking enabled, the production journals carry the same tracking fields and the Assign Tracking action:
- Consumption Journal: assign which lot/package/pallet/external lot is consumed by the production order components.
- Output Journal: assign the tracking of the finished output.
- The same fields and action are available on the Production Journal.
- On the released production order lines, Assign Tracking assigns the values of the line for the quantity still to produce, and the Production Journal brings them onto the output of the last operation, the one that puts the item into inventory, as Explode Routing does in the Output Journal: intermediate operations post capacity, not goods, and take no tracking.
4.5 Warehouse
The warehouse documents and journals enabled in the setup (receipt, shipment, warehouse journals, internal picks and put-aways) carry the same dimensions, and the extended Item Tracking Lines and Warehouse Item Tracking Lines show the pallet and external lot columns alongside the standard ones.
In the Warehouse Item Journal and the Warehouse Physical Inventory Journal, Assign Tracking looks at the direction of the line. A line that brings goods into the bin (a positive quantity, or in the inventory a counted quantity above the calculated one) takes the values written as they are, for the quantity still without tracking: a new pallet or lot is assigned although it is not in stock, and a pallet already there takes all the quantity that comes in. A line that takes goods out looks for them in the stock, as the other warehouse lines do: with nothing written it takes the tracking of the goods in its bin, with the rules of 4.1. The same holds in the internal movement and in the internal pick and put-away. For serial numbers, what 4.1 says applies.
On goods coming in a lot has one expiration date, where the item tracking code uses expiration dates. If for a lot you write an expiration date other than the one it already has, in its entries or on another line that receives it, the assignment stops and names the lot and the two dates: give the goods the date of the lot, or another lot. An expiration date left blank takes the one of the lot. If the quantity to receive now has all its tracking already, and you write on the line the same lot, or the same external lot, with another expiration date, Assign Tracking of the line and of the order stop, and so does the posting: the goods would be received with the date of the tracking that is already there. Take that quantity off the tracking of the line and assign it again.
When a line that takes goods out finds them in the stock, it takes all their tracking and dates: an external lot written alone brings the lot and the pallet it is stored with, which the posting asks for. This holds when the stock has one combination only for the values written. With more combinations the line takes only the values on which they all agree, and the others stay blank: whoever has the goods in front chooses them, and the posting says what is missing. The same holds on warehouse documents and journals, where the expiration date is the one of the lot. The stock does not count the goods that a pick not registered yet takes for another line. An expiration date typed on the line stays when you write the AL Tracking columns; if the stock of those values has an expiration date, the line takes it. In the Warehouse Item Tracking Lines, once a pallet or an external lot already in stock is written, the expiration date is the one of the stock and cannot be changed, as the standard does for the lot.
On the warehouse pages the AL Tracking fields have no assist button: the values are typed on the line, or chosen in the item tracking lines the page opens, as in the standard.
On a location that asks for an inventory pick or put-away, the pallet and the external lot assigned on the activity line stay on the posted line: the posted inventory pick, put-away and registered movement carry both, so the history of what was moved is complete and can be searched.
The pallet and the external lot also show, read only, where they used to be stored without showing: in the Warehouse Entries, on the registered lines of warehouse picks, put-aways and movements, on the posted lines of inventory picks and put-aways and the registered lines of inventory movements, in the project ledger entries, and on the open lines of warehouse put-aways and movements and of inventory picks, put-aways and movements. On those open lines they come from the tracking of the source document; they are chosen on the warehouse pick only. As the other columns, they show when at least one item tracking code uses that dimension.
4.6 Find the entries of a pallet or of an external lot
From Pallet No. Information List (TRK) and External Lot No. Information List (TRK), the Find entries action opens the standard Navigate page on the entries of that pallet or of that external lot: ledger entries, reservations, warehouse activities and warehouse entries, exactly as Find entries does for a lot.
The same search can be started from Navigate itself (Tell Me): next to Serial No. and Lot No. you can type Pallet No., External Lot No. and Package No., alone or together with the standard ones. Like serial and lot, what you type comes back in its field the next time you open the page, and the search uses what the fields show; opened from a pallet or external lot card, the page shows and searches the value of the card.
4.7 Lines with staging tracking lines of other apps
Some AppLibra apps carry the goods of a line with their own records, called staging tracking lines here: the weighings of AL Catch Weight Management and the packages of the missions of AL Logistic. On those lines AL Tracking writes the tracking from the staging tracking lines: lot, package, pallet, external lot and expiration date are decided when the staging tracking line is created, and the tracking of the line stays the same as its staging tracking lines.
- The quantity to ship or to receive of the line is the sum of what its tracking handles now, and AL Tracking writes it again at every alignment. To leave part of the goods behind, set its quantity to handle to zero in the Item Tracking Lines of the line.
- In the Item Tracking Lines of such a line only the quantity to handle changes, to zero or to the whole; Assign Tracking leaves the line to its staging tracking lines and says so. The tracking is corrected in the app that created the staging tracking lines.
- Before posting, AL Tracking checks that the line starts as its staging tracking lines say. If it does not, posting stops, and the message carries the Synchronize with Staging Tracking Lines action, which brings the line back in line; then post again. Posting a line without staging tracking lines stops if it takes out goods that the staging tracking lines of other lines hold, and the message says who holds them.
- On a purchase line, and on the line of its Warehouse Receipt when there is one, the tracking columns written by the office are where the weighing starts from. When the weighings are aligned on the line, the columns are cleared, as after Assign Tracking.
- In production the order line is weighed for the output and the component for the consumption, subcontracting included. The output lines of the last operation and the consumption lines that Explode Routing, the Production Journal and Calculate Consumption create start with the quantity weighed and its tracking; whoever posts can change it.


5. Master data
5.1 Pallet No. Information
Open Pallet No. Information List (TRK) (Tell Me). Each record identifies one pallet (SSCC) for an item/variant and carries description, country/region, a Blocked flag, comments and the calculated Inventory and Expired Inventory - filterable by location and bin, with the warehouse quantity alongside. When the card is born from a posting it also carries the expiration date and, in the Origin group, the entry type, the document, the dates and the source of that posting; the list shows the expiration date.
Where the pallet or the external lot shows, in the item ledger entries, the warehouse entries and the item tracing, clicking the value opens its card. The comments of a card are its own only, even when a lot has the same number. If the Inventory Setup gives the pallet or the external lot a name of your own, cards and lists use it in their title, as the columns do.
5.2 External Lot No. Information
External Lot No. Information List (TRK) is the same master data for the supplier's external lot: one record per item/variant/external lot, with the same descriptive fields, blocking, comments and calculated inventory.
5.3 Automatic creation
You do not need to create the records by hand. When you post a pallet or an external lot that has no information card yet, the app creates it if the item tracking code makes that dimension required for the movement, or if it asks for the card with the Must Exist flags: for AL Tracking a required card is a card that makes itself. The standard Create Tracking Information action of the purchase order and invoice creates them too, where the item tracking code wants them. To stop a pallet or an external lot, use the Blocked flag of its card.
In a reclassification onto a pallet or an external lot that has no card yet, the new card is a copy of the card of the source, as the goods are the same; if the source has no card, it is made from the posting as the others.
5.4 Change the expiration date of a lot
On the Lot No. Information Card the Change Expiration Date action changes the expiration date of a lot that is in stock. It asks for the new date and reclassifies all the goods of the lot, in every location and bin: the goods go out with the date they had and come back with the new one, in the same place and with the same lot, package, pallet and external lot. The entries of the past keep their date, and the tracking of the open lines that name the lot takes the new one.
The action changes the whole lot or nothing. It stops, says what holds the goods and changes nothing when a part of the lot is in transit on a transfer order, which is to be received first; when it is reserved for a document, and then the reservation is cancelled and made again after the change; when it is in a location with directed put-away and pick, which this action does not reach.
It works for the items whose item tracking code has lot specific tracking and uses expiration dates. The action posts through the Item Reclassification Journals, in a batch of its own that it creates, and the new entries take the default dimensions of the item.
The cards and the lists of the lot, serial number and package information show the Expiration Date of the goods in stock, read from the entries: after the change it is the new one, and it is blank when there are no goods in stock.

6. Where to find it
- Tell Me: search "TRK", or directly "Tracking Setup (TRK)", "Lot Types (TRK)", "Pallet No. Information List (TRK)", "External Lot No. Information List (TRK)".
- On documents and journals: the Assign Tracking action on sales, purchase and transfer order lines and on the purchase order header, item/reclassification/physical inventory journals, consumption and output journals, warehouse documents. On the physical inventory journal, the standard Calculate Inventory writes its lines already split by tracking.
- Item Tracking Code: the Pallet Tracking and External Lot Tracking sections, the Lot Type Code field, and the Migrate Items to This Code action.
- Lot No. Information Card: the Change Expiration Date action.
- Find entries: the action on the pallet and external lot lists, and the Pallet No., External Lot No. and Package No. fields on the Navigate page.
- Role center: the Tracking (TRK) group carries Tracking Setup (TRK), Lot Types (TRK) and the two master data lists.
7. FAQ and limits
- What exactly is the Pallet No.? The SSCC of the pallet: 18 digits, 20 with the identifier (00) in front. The field takes up to 50 characters and does not check them, so pallet numbers that do not follow the GS1 standard fit too.
- What is the External Lot No.? The lot or carton number assigned by the supplier, kept alongside your internal lot.
- I do not see the tracking fields on a page. The dimensions must be enabled per area in Tracking Setup (TRK), and a field shows only if at least one item tracking code uses that dimension, also in some movements only, for example only on the purchase receipt. Check both.
- The Pallet/External Lot sections are missing on the Item Tracking Code. Enable Item Tracking Code Tracking in the setup.
- Find entries on a pallet opens an empty window. It did until version 28.0.26.09251527: Navigate could only search by serial, lot and package. From the next version the pallet and the external lot are searched like the others, from the cards and by typing them on the Navigate page.
- My lot numbers still come from the number series. That is the default. A lot number is made differently only where the item tracking code names a lot type whose composition says so.
- Posting a receipt asks for the external lot or the Vendor Shipment No. One of the items on the document has a lot type that takes the external lot number from the delivery note, and its tracking has no external lot. Type the delivery note on the document you receive with, the order or the warehouse receipt, before assigning the tracking: the lines still to be received take it as their external lot. Or write the external lot of the supplier on the line or on the item tracking lines.
- I cannot change the item tracking code of an item, or turn on specific tracking of the package or the pallet on its code. Business Central does not allow it when the item has entries. Create a new code with the specific package or pallet and migrate the items from its card, with Migrate Items to This Code: see 3.5.
- Do other AppLibra apps use these dimensions? Yes: AL Tracking is the traceability engine of the platform, and the other apps assign tracking through its functions. AL GS1 reads the barcodes and publishes the values on the AL Message Passing bus; AL Logistic and AL WM pick them up and assign them with the functions of AL Tracking. AL Catch Weight Management calls them directly.
8. Support and resources
- Publisher: AppLibra - https://applibra.com
- Apps catalog: https://applibra.com/apps
- Privacy policy: https://applibra.com/privacy-policy
- License agreement (EULA): https://applibra.com/eula