i created a custom field for items. what coding wo...
# advancedpdf
x
i created a custom field for items. what coding would i need to implement on my packing list to have it appear?
l
Can you show the code of the section where you print out the items?
x
message has been deleted
l
so you would need to create the corresponding <td> tags for the table, and then inside them you can call your custom field in the same format as you have in the code your shared, i.e. ${item.custom_field_id}. Hope that helps.
x
does this seem correct??? {item.custom_field_id33}
l
I guess I should have asked this first, did you create a transaction line field and added it to your sales orders to source the data of your item custom field?
@x-out Take a look at Answer Id: 18083. While it's not exactly what you're dealing with, this explains the process of sourcing fields from other records into the item fulfillment record so it can be displayed in the packing slip. For you, you need to create a transaction line field and in the sourcing & filtering tab, source list should be item, and source from should the custom field you created in the item record.
x
@Lalo i didn't create one for the transaction line field or sales order. it was only added as a custom item field to the inventory item.
l
You won't be able to display the field unless it appears in the sales order / item fulfillment record.
x
i think i'm understanding now. it must be created as a transaction body field and then it must appear in the sales order before it can be applied as a field to the picking ticket
l
Not transaction body field, it should be transaction line field 🙂 but yes, that is correct. That creates the link between the two tables.
x
ahh yes. that was a fast finger mistake. i think i'm now on the right path 🙂 thank you so much for your help
👍 1