In Item fulfillment and Item receipt, we can select or add the Serial/Lot Number in the Inventory Details sub-record in the item line.
But the field id for the Serial/Lot number field is different in both Item Fulfillment and Item Receipt.
Field id for Serial/Lot number field in Item Fulfillment: “issueinventorynumber”
Field id for Serial/Lot number field in Item Receipt: “receiptinventorynumber”