AX has the concept of creating attributes that you can assign to batches. This is often useful to describe information about the batch. This could be for example chemical composition information about the batch. Details about the status or condition of the ingredients. You can define these as strings, integers, decimals, date or a list (enumeration).
Once attributes as tagged to the batches in inventory then you can use these to search inventory for specific batches. This might be useful if you need to find a specific batch withing a tolerance that a customer is expecting.
Here is a quick overview of setting one up.
AX2012 R3 CU10.
What is nice is that you can assign these values in the quality module, after you do a test for example. A topic for a follow-up video.