It is easy to associate a serial with an order in Hikashop, so rather than associating the serial directly with the criteria used to build the product, the serial would instead reference a Hikashop order, and the order details would in turn provide the breakdown of the criteria.
The Hikashop Orders and Order Details database tables can easily be extended with your custom fields, and together with the existing Products and Variants capabilities in Hikashop, you can probably accomplish your goals with minimal or zero custom programming this way.
Hope this helps,
Jeff