Adding Serial No(s) to the Stock Entry Print Format

Hi,

I need to know the Serial No of items in a Stock Entry and have them printed on a PDF. This was possible in V14 and earlier in the default Print Format for a Stock Entry.

Since an upgrade to V15 the Serial No information is inside a Serial and Batch Bundle and therefore isn’t in the default Print Format. I see no way to add this information to the Print Format without using custom HTML to reproduce the Items table. Is the custom HTML for the default implementation of the Items table documented somewhere? If it is then it would be easier to customise to add the Serial No to the Print Format instead of starting from scratch.

Hi

The Print format builder in V15 offers to add Serial Numbers without writing HTML code.
You have to configure item table in print format builder as following;

By default item serial numbers are also being printed in Description field automatically which you can get printed separately by configuring item table in print format builder without html support.

Hi

I can tell you that it doesn’t work on my installation.
image

image

I guess I’ll file a support ticket.

I’m not getting any responses on my support ticket (40432), so I’ll ask here instead.

Has anyone seen issues with Serial No in Print Formats after an upgrade from v14 to v15? I know the underlying data structures have changed so I’d expect there is something which needs to be updated, but I don’t know where - particularly as I’m on a Frappe Cloud install.

Even on the default Print Format nothing shows up for a Serial No which is part of a Serial and Batch Bundle. It does show up when I turn off that feature and use the legacy fields. (That’s not a sustainable solution for our processes).

Hey fishter,

Are you using the new print format builder? If you are the link URL show be something like this /print-format-builder-beta/. I tried it with that and I was able to get the serial number for an individual item to show. I also did it with the old print format just fine as well. I went into the item and clicked “Use Serial No / Batch Fields” and typed my serial number into that field. It did show using both builders. Not sure what your issue is but I would do a custom HTML print format with Jinja. It’s super easy and customizable once you have something solid. I’m not a fan of the default print formats since it doesn’t ever meet what we need.

On your picture you seem to have selected every box related to serial numbers. Maybe just try adding the “Use Serial No / Batch Fields” field and save.