Sim Greenbaum
12/15/2022, 10:23 PM<!-- start items --> <#list record.item as item><#if item_index==0> error message error on line 197 at column 74: StartTag: invalid element name
David B
12/15/2022, 10:42 PMrecord.item
or record.items
David B
12/15/2022, 10:43 PM?xml=T
trick?
☝️ this just shows it as items
tooDavid B
12/15/2022, 10:47 PMTemplateRenderer.addRecord
. You should be able to get that to work, but if not, you can always try via a search-based pdf template (similar to this: Label Printing for Inbound Shipment)Sim Greenbaum
12/16/2022, 5:46 PMSim Greenbaum
12/16/2022, 5:46 PMSim Greenbaum
12/16/2022, 6:15 PMinboundShipment.selectNewLine({
sublistId: "items",
});
inboundShipment.setCurrentSublistValue({
sublistId: "items",
fieldId: "purchaseorder",
value: POid,
});
Sim Greenbaum
12/20/2022, 4:24 PMSim Greenbaum
12/20/2022, 4:37 PMStartTag: invalid element name