RE: How to get serial/lot number from inventory detail field(item fulfillment record) using script
We want to have serial/lot number in layouts for this we want to get serial/lot number in custom field from inventory detail field. Inventory detail field is of type “summary”
Add this to the written query method (columns) :
search.createColumn({
name: ‘inventorynumber’,
join: ‘inventoryDetail’,
summary: ‘GROUP’,
})